]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
[gnu-emacs] / lisp / ChangeLog
1 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4 chose face.
5 (log-edit-empty-buffer-p): Don't require a space after a header.
6
7 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8
9 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
10
11 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
12 a proper minor-mode.
13
14 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
15
16 2012-09-29 Glenn Morris <rgm@gnu.org>
17
18 * winner.el (winner-mode): Remove variable (let define-minor-mode
19 handle it).
20 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
21 Doc fixes.
22 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
23 (winner-mode): Use define-minor-mode.
24
25 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
26 the full definition in loaddefs, rather than duplicating it.
27
28 * help-macro.el (three-step-help): No need to autoload defcustom.
29
30 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
31 (inferior-lisp-program, inferior-lisp-load-command)
32 (inferior-lisp-prompt, inferior-lisp-mode-hook):
33 No need to autoload defcustoms.
34
35 * hippie-exp.el (hippie-expand-try-functions-list)
36 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
37 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
38 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
39 (hippie-expand-only-buffers): No need to autoload defcustoms.
40 * progmodes/vhdl-mode.el (vhdl-line-expand):
41 Explicitly load hippie-exp, so it does not get autoloaded
42 while hippie-expand-try-functions-list is let-bound.
43
44 2012-09-28 Glenn Morris <rgm@gnu.org>
45
46 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
47
48 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
49 Only "cl.el" counts as cl these days.
50
51 2012-09-28 Juri Linkov <juri@jurta.org>
52
53 Display archive errors in the echo area instead of inserting
54 to the file buffer.
55
56 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
57 to STDERR-TEST that can be a regexp matching a successful output.
58 Create a temporary file and redirect stderr to it. Search for
59 STDERR-TEST in the stderr output and display it in the echo area
60 if no match is found.
61 (archive-extract-by-file): New function like
62 `archive-extract-by-stdout' but extracting archives to files
63 and looking for successful matches in stdout. Function body is
64 mostly copied from `archive-rar-extract'.
65 (archive-rar-extract): Use `archive-extract-by-file'.
66 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
67
68 2012-09-28 Leo Liu <sdl.web@gmail.com>
69
70 * pcomplete.el (pcomplete-show-completions): Use
71 minibuffer-message to make pcomplete usable in minibuffer.
72
73 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
74
75 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * type-break.el: Use lexical-binding.
78 (type-break-mode): Use define-minor-mode.
79
80 * emacs-lisp/pcase.el (pcase--mark-used): New.
81 (pcase--u1): Use it (bug#12512).
82
83 * custom.el (load-theme): Set buffer-file-name so the load is recorded
84 in load-history with the right file name.
85
86 2012-09-28 Tassilo Horn <tsdh@gnu.org>
87
88 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
89 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
90 (doc-view-get-bounding-box): Make bounding box slicing work for
91 ODF and DVI documents.
92
93 2012-09-28 Glenn Morris <rgm@gnu.org>
94
95 * type-break.el (type-break-mode, type-break-interval)
96 (type-break-good-rest-interval, type-break-keystroke-threshold):
97 No need to autoload.
98 (type-break-good-rest-interval, type-break-keystroke-threshold):
99 Add :set-after.
100
101 2012-09-28 Chong Yidong <cyd@gnu.org>
102
103 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
104 Add :version tag.
105
106 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
109
110 2012-09-27 Glenn Morris <rgm@gnu.org>
111
112 * faces.el (x-display-name): Declare (for without-x builds).
113
114 * linum.el (linum-format): Don't autoload it. Improve :type.
115
116 * progmodes/tcl.el: Don't require outline when compiling.
117 (outline-regexp, outline-level): Declare.
118 * textmodes/sgml-mode.el: Don't require outline when compiling.
119 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
120
121 * term.el (term-ansi-reset):
122 Try setting term-ansi-face-already-done to nil. (Bug#11785)
123
124 * vc/vc.el (vc-next-action): Only gripe about committing read-only
125 files for RCS and SCCS. (Bug#9781)
126
127 2012-09-27 Chong Yidong <cyd@gnu.org>
128
129 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
130 change; value should be t.
131
132 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * image-mode.el: Use lexical-binding.
135 (image-mode-winprops): Use t to stand for the window of
136 a buffer that's not displayed.
137 * doc-view.el (doc-view-new-window-function): Handle the new
138 t in winprops.
139 (doc-view-enlarge): Make it a real nop if the size is not changed.
140 (doc-view-display): Handle the case where the buffer is not (yet?)
141 displayed in any window.
142 (doc-view-saved-settings): New var.
143 (doc-view-mode): Use it.
144 (doc-view-fallback-mode): Set it.
145
146 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
147 Set lexical-binding.
148 (minibuffer-eldef-shorten-default): New var.
149 (minibuffer-default-in-prompt-regexps): Use it for new default.
150 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
151
152 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
153
154 * international/uni-bidi.el:
155 * international/uni-category.el:
156 * international/uni-name.el:
157 * international/uni-numeric.el: Regenerate.
158
159 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
160 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * profiler.el: New file.
163
164 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
167 (testcover-reinstrument): Simplify with CSE.
168
169 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
170
171 * window.el (temp-buffer-window-setup): Fix typo in docstring.
172
173 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
174
175 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
176 (verilog-auto-input, verilog-auto-insert-lisp)
177 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
178 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
179 (verilog-auto-unused, verilog-auto-wire)
180 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
181 newline. Reported by Andrew Jones.
182 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
183 Reported by Brad Dobbie.
184 (verilog-batch-delete-trailing-whitespace):
185 Create verilog-batch-delete-trailing-whitespace.
186 Reported by Brad Dobbie.
187 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
188 parameters from another module. Reported by Dan Katz.
189 (verilog-auto, verilog-auto-assign-modport)
190 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
191 AUTOINOUTMODPORT for UVM interface module shell generation.
192 Reported by Brad Dobbie.
193 (verilog-auto-inst-interfaced-ports): Make default nil, as more
194 standard behavior.
195 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
196 Reported by Matt Martin.
197
198 2012-09-25 Martin Rudalics <rudalics@gmx.at>
199
200 * window.el (window--resize-child-windows): When resizing child
201 windows proportionally, process them in reverse order to
202 preserve the "when splitting a window the new one gets the odd
203 line" behavior.
204 (window--resize-root-window-vertically): When resizing the
205 minibuffer window try to affect only windows at the bottom of the
206 frame. (Bug#12419)
207
208 2012-09-25 Chong Yidong <cyd@gnu.org>
209
210 * subr.el (declare): Doc fix.
211
212 * help-fns.el (help-fns--obsolete): Handle macros properly.
213
214 2012-09-25 Chong Yidong <cyd@gnu.org>
215
216 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
217 this function obsolete.
218
219 * calendar/cal-x.el (calendar-two-frame-setup)
220 (calendar-only-one-frame-setup, calendar-one-frame-setup):
221 * calendar/calendar.el (american-calendar, european-calendar)
222 (calendar-for-loop):
223 * comint.el (comint-dynamic-simple-complete)
224 (comint-dynamic-complete-as-filename, comint-unquote-filename):
225 * desktop.el (desktop-load-default):
226 * dired-x.el (dired-omit-here-always)
227 (dired-hack-local-variables, dired-default-directory):
228 * emacs-lisp/derived.el (derived-mode-class):
229 * emacs-lisp/timer.el (timer-set-time-with-usecs):
230 * emacs-lock.el (toggle-emacs-lock):
231 * epa.el (epa-display-verify-result):
232 * epg.el (epg-sign-keys, epg-start-sign-keys)
233 (epg-passphrase-callback-function):
234 * eshell/esh-util.el (eshell-for):
235 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
236 (eshell-add-to-window-buffer-names):
237 * files.el (locate-file-completion):
238 * imenu.el (imenu-example--create-c-index)
239 (imenu-example--create-lisp-index)
240 (imenu-example--lisp-extract-index-name)
241 (imenu-example--name-and-position):
242 * international/mule-cmds.el (princ-list):
243 * international/mule-diag.el (decode-codepage-char):
244 * international/mule-util.el (detect-coding-with-priority):
245 * iswitchb.el (iswitchb-read-buffer):
246 * mail/mailalias.el (mail-complete):
247 * mail/sendmail.el (mail-sent-via):
248 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
249 (mouse-major-mode-menu):
250 * password-cache.el (password-read-and-add):
251 * pcomplete.el (pcomplete-parse-comint-arguments):
252 * progmodes/sh-script.el (sh-maybe-here-document):
253 * replace.el (query-replace-regexp-eval):
254 * savehist.el (savehist-load):
255 * simple.el (choose-completion-delete-max-match):
256 * term.el (term-dynamic-simple-complete):
257 * vc/ediff-init.el (ediff-check-version):
258 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
259 * vc/vc.el (vc-diff-switches-list):
260 * view.el (view-return-to-alist-update): Likewise.
261
262 * subr.el (eval-next-after-load, makehash, insert-string)
263 (assoc-ignore-representation, assoc-ignore-case): Use declare to
264 mark obsolete.
265 (mode-line-inverse-video): Variable deleted.
266
267 * international/mule-util.el (string-to-sequence): Remove.
268
269 * calendar/calendar.el (calendar-version):
270 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
271 (icalendar-convert-diary-to-ical):
272 * cus-edit.el (custom-mode):
273 * ansi-color.el (ansi-color-unfontify-region):
274 * international/latin1-disp.el (latin1-char-displayable-p):
275 * progmodes/cwarn.el (turn-on-cwarn-mode):
276 * progmodes/which-func.el (which-func-update-1):
277 Use define-obsolete-function-alias.
278
279 * net/newst-backend.el (newsticker-cache-filename):
280 * net/newst-treeview.el (newsticker-groups-filename):
281 Fix incorrect obsolescence declaration.
282
283 * allout.el (allout-passphrase-hint-string): Likewise.
284 (allout-init): Use a declare form to mark obsolete.
285
286 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
287 this applies to functions.
288
289 * iswitchb.el (iswitchb-read-buffer): Move code of
290 iswitchb-define-mode-map here, and delete that obsolete function.
291
292 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
293 font-lock-reference-face.
294
295 2012-09-25 Glenn Morris <rgm@gnu.org>
296
297 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
298 Doc fixes.
299
300 * eshell/em-term.el (eshell-term-name):
301 Default to term-term-name. (Bug#12485)
302
303 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
304
305 * progmodes/python.el (python-shell-send-buffer): Better handling
306 of "if __name__ == '__main__':" conditionals when sending the buffer.
307
308 2012-09-24 Glenn Morris <rgm@gnu.org>
309
310 * eshell/esh-cmd.el (eshell-find-alias-function):
311 Tighten up file-name regexp. (Bug#12499)
312
313 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
314
315 Enhancements for triple-quote string syntax.
316 * progmodes/python.el (python-quote-syntax): Remove.
317 (python-syntax-propertize-function): New value.
318 (python-syntax-count-quotes, python-syntax-stringify):
319 New functions.
320
321 2012-09-24 Chong Yidong <cyd@gnu.org>
322
323 * mail/supercite.el (sc-version): Remove obsolete function.
324 (sc-describe): Don't mark as obsolete, since it is bound.
325 (sc-submit-bug-report): Remove.
326
327 * vc/log-edit.el (cvs-changelog-full-paragraphs)
328 (cvs-commit-buffer-require-final-newline): Remove.
329 (log-edit-require-final-newline)
330 (log-edit-changelog-full-paragraphs): Default to t.
331
332 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
333 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
334 * vc/vc.el (vc-checkout-carefully): Likewise.
335
336 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
337 (emerge-version): Remove.
338
339 * progmodes/compile.el (compile-internal): Remove.
340 (compilation-parse-errors-function): Fix typo.
341
342 * international/mule.el (set-char-table-default): Remove.
343 (set-coding-priority, make-coding-system, generic-char-p)
344 (charset-list, charset-bytes, charset-id): Use declare to mark
345 functions as obsolete.
346
347 * vc/pcvs-defs.el (cvs-buffer-name-alist)
348 (cvs-invert-ignore-marks): Remove references to obsolete vars.
349 * vc/vc-hooks.el (vc-default-registered): Don't use
350 vc-master-templates.
351
352 * font-lock.el (font-lock-reference-face):
353 Use define-obsolete-variable-alias.
354
355 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
356 * calendar/calendar.el (calendar-font-lock-keywords):
357 * calendar/diary-lib.el (diary-font-lock-keywords)
358 (diary-fancy-font-lock-keywords):
359 * textmodes/reftex-sel.el (reftex-insert-docstruct):
360 * textmodes/reftex-index.el (reftex-insert-index):
361 * textmodes/reftex-cite.el (reftex-format-bib-entry):
362 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
363 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
364 * progmodes/prolog.el (prolog-font-lock-keywords):
365 * progmodes/idlwave.el (idlwave-idl-keywords):
366 * progmodes/ada-mode.el (ada-font-lock-keywords):
367 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
368
369 2012-09-24 Glenn Morris <rgm@gnu.org>
370
371 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
372
373 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
374
375 * progmodes/python.el (python-indent-line): More consistent cursor
376 movement behavior.
377
378 2012-09-23 Stefan Merten <smerten@oekonux.de>
379
380 * textmodes/rst.el: Fix compiler warning.
381
382 2012-09-23 Roland Winkler <winkler@gnu.org>
383
384 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
385 Transcribe also LaTeX hyphenation.
386 (bibtex-reformat): Bug fix. Do not quote twice the elements of
387 bibtex-reformat-previous-options.
388
389 2012-09-23 Roland Winkler <winkler@gnu.org>
390
391 * proced.el (proced-renice-command): New variable.
392 (proced-marked-processes): New function.
393 (proced-with-processes-buffer): New macro.
394 (proced-send-signal): Use them.
395 (proced-renice): New command bound to r.
396
397 2012-09-23 Roland Winkler <winkler@gnu.org>
398
399 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
400 ibuffer-saved-filter-groups has one element, shortcut the call of
401 completing-read. (Bug#12331)
402
403 2012-09-23 Chong Yidong <cyd@gnu.org>
404
405 * bindings.el (mode-line-toggle-read-only):
406 * bs.el (bs-toggle-readonly):
407 * buff-menu.el (Buffer-menu-toggle-read-only):
408 * dired.el (dired-toggle-read-only):
409 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
410
411 2012-09-23 Chong Yidong <cyd@gnu.org>
412
413 * image.el (image-type-available-p): Adapt to init-image-library
414 argument changes.
415
416 2012-09-22 Juri Linkov <juri@jurta.org>
417
418 * dired.el (dired-mode-map): Add [remap read-only-mode] for
419 `dired-toggle-read-only'. (Bug#12462)
420
421 2012-09-22 Martin Rudalics <rudalics@gmx.at>
422
423 * subr.el (temp-output-buffer-show): New function.
424 (with-output-to-temp-buffer): Call temp-output-buffer-show
425 instead of internal-temp-output-buffer-show.
426
427 2012-09-22 Chong Yidong <cyd@gnu.org>
428
429 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
430 (Bug#12462).
431
432 * repeat.el (repeat): Doc fix (Bug#12348).
433
434 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
435 (Bug#10909).
436
437 * simple.el (shell-command-on-region): Doc fix.
438 (read-only-mode): Doc fix.
439
440 2012-09-22 Eli Zaretskii <eliz@gnu.org>
441
442 * emacs-lisp/timer.el (run-with-idle-timer)
443 (timer-activate-when-idle): Warn against reinvoking an idle timer
444 from within its own timer action. (Bug#12447)
445
446 2012-09-22 Martin Rudalics <rudalics@gmx.at>
447
448 * cus-start.el (window-combination-limit): Add new optional
449 values.
450 * window.el (temp-buffer-window-show)
451 (window--try-to-split-window): Handle new values of
452 window-combination-limit (Bug#1806).
453 (split-window): Test window-combination-limit for t instead of
454 non-nil.
455 (display-buffer-at-bottom): New buffer display action function.
456 * help.el (temp-buffer-resize-regexps): New option.
457 (temp-buffer-resize-mode): Rewrite doc-string.
458 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
459 Don't resize reused window. Suggested by Glenn Morris.
460
461 2012-09-22 Stefan Merten <smerten@oekonux.de>
462
463 * textmodes/rst.el: Revamp section title faces.
464 (rst-official-version)
465 (rst-package-emacs-version-alist): Sync with official version
466 V1.4.0.
467 (rst-faces-defaults, rst-set-level-default)
468 (rst-level-face-max, rst-level-face-base-color)
469 (rst-level-face-base-light, rst-level-face-format-light)
470 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
471 (rst-adornment-faces-alist): Match new setup.
472 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
473 (rst-level-5, rst-level-6): New faces.
474
475 2012-09-22 Chong Yidong <cyd@gnu.org>
476
477 * simple.el (undo): Handle indirect buffers (Bug#8207).
478
479 2012-09-21 Leo Liu <sdl.web@gmail.com>
480
481 IDO: Disable match re-ordering for buffer switching.
482 * ido.el (ido-buffer-disable-smart-matches): New variable.
483 (ido-set-matches-1): Use it. (Bug#2042)
484
485 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
486
487 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
488 Fix 2011-05-17 change. (Bug#12418)
489
490 2012-09-21 Leo Liu <sdl.web@gmail.com>
491
492 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
493
494 2012-09-21 Glenn Morris <rgm@gnu.org>
495
496 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
497 Be more robust about locating simple.el.
498
499 2012-09-21 Glenn Morris <rgm@gnu.org>
500
501 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
502
503 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
504
505 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
506
507 2012-09-20 Juri Linkov <juri@jurta.org>
508
509 * replace.el (query-replace-read-from): Use `read-regexp' instead
510 of `read-from-minibuffer' when `regexp-flag' is non-nil.
511 (occur-read-primary-args): Use `read-regexp' instead of
512 `read-string'.
513 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
514 `read-from-minibuffer'.
515 * isearch.el (isearch-occur): Use `read-regexp' instead of
516 `read-string'.
517 * dired.el (dired-read-regexp): Use `read-regexp' instead of
518 `read-from-minibuffer'.
519 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
520 of `read-string'. (Bug#7567)
521
522 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
523 and allow accepting a list of strings prepended to a list of
524 standard default values. Doc fix. (Bug#12321)
525
526 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
527
528 * replace.el (read-regexp): Don't add ": " when PROMPT already
529 ends with a colon and space. (Bug#12321)
530
531 2012-09-20 Tassilo Horn <tsdh@gnu.org>
532
533 * doc-view.el (doc-view-display): Better fix for the cl-assertion
534 error.
535
536 2012-09-20 Stefan Merten <smerten@oekonux.de>
537
538 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
539 Fixes feature request bug#11711.
540 (rst-mode): Create `imenu-create-index-function'.
541 (rst-get-stripped-line): Delete after refactoring.
542 (rst-section-tree, rst-section-tree-rec)
543 (rst-section-tree-point): Refactor and document properly.
544 (rst-imenu-find-adornments-for-position)
545 (rst-imenu-convert-cell, rst-imenu-create-index):
546 New function.
547
548 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
551 (macroexp--expand-all): Use it.
552 (macroexp--funcall-and-return): Remove by folding it into its sole
553 caller (macroexp--warn-and-return).
554 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
555 Use macroexp--obsolete-warning.
556
557 * calc/calc.el: Fix last change by removing the whole chunk, since it
558 was only needed back when Calc was not bundled.
559
560 2012-09-20 Martin Rudalics <rudalics@gmx.at>
561
562 * emacs-lisp/debug.el (debug): Restore assignment to
563 debugger-old-buffer removed on 2012-09-08.
564
565 2012-09-20 Juri Linkov <juri@jurta.org>
566
567 * dired-aux.el (dired-diff): Remove (require 'diff) since
568 `diff-latest-backup-file' is now autoloaded.
569
570 2012-09-20 Chong Yidong <cyd@gnu.org>
571
572 * vc/diff.el (diff-latest-backup-file): Autoload.
573
574 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * calc/calc.el: Remove redundant autoload shape check.
577 (sel-mode): Don't defvar.
578 (calc-get-stack-element): Add `sel-mode' arg instead.
579 (calc-top, calc-top-list): Pass it this additional argument.
580 * calc/calc-store.el (calc-store-map):
581 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
582 (calc-map-equation, calc-outer-product, calc-inner-product):
583 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
584
585 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
586
587 2012-09-19 Juri Linkov <juri@jurta.org>
588
589 * dired-aux.el (dired-diff): Add (require 'diff) because
590 `diff-latest-backup-file' is not autoloaded.
591 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
592 of `dired-get-filename' to t to not report error when there is
593 no default file on the current line.
594
595 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
596
597 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
598 macroexp--eval-if-compile.
599 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
600 (macroexp--expand-all): Use them (bug#12371).
601
602 * doc-view.el (doc-view-guess-paper-size)
603 (doc-view-scale-bounding-box): Fix unbound `caddr'.
604
605 2012-09-19 Tassilo Horn <tsdh@gnu.org>
606
607 New feature: set optimal slice from BoundingBox information.
608 * doc-view.el (doc-view-mode-map): Add keybinding.
609 (doc-view-menu): Add menu entry.
610 (doc-view-set-slice): Adapt docstring.
611 (doc-view-get-bounding-box, doc-view-guess-paper-size)
612 (doc-view-scale-bounding-box)
613 (doc-view-set-slice-from-bounding-box): New functions.
614 (doc-view-paper-sizes): New defvar.
615
616 2012-09-19 Glenn Morris <rgm@gnu.org>
617
618 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
619 (byte-compile-log-warning): Autoload. (Bug#12371)
620
621 * calendar/calendar.el (calendar-american-month-header)
622 (calendar-european-month-header, calendar-iso-month-header)
623 (calendar-month-header): New options.
624 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
625 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
626
627 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
628
629 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
630
631 2012-09-18 Juri Linkov <juri@jurta.org>
632
633 * dired-aux.el (dired-diff): Restore original functionality of
634 getting the default value, but keep new feature of using the
635 latest existing backup file (`diff-latest-backup-file').
636
637 2012-09-18 Juri Linkov <juri@jurta.org>
638
639 * dired.el (dired-mark): If the region is active in Transient Mark
640 mode, mark all files in the active region. Doc fix.
641 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
642 Doc fix. (Bug#10624)
643
644 2012-09-18 Juri Linkov <juri@jurta.org>
645
646 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
647 attributes for M-n are pulled from the file at point.
648 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
649 Suggested by Drew Adams. (Bug#10624)
650
651 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
652
653 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
654 whitespace after "end".
655 (ruby-do-end-to-brace): Collapse block to one line if it fits
656 within fill-column.
657
658 2012-09-18 Martin Rudalics <rudalics@gmx.at>
659
660 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
661 value.
662 (debug): Don't remove debugger window when debugger is expected
663 to be back.
664
665 2012-09-18 Chong Yidong <cyd@gnu.org>
666
667 * custom.el (defface): Doc fix.
668
669 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
670
671 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
672
673 * progmodes/compile.el (compilation-start): Use compilation-always-kill
674 to initialize query-on-exit; then test that instead (bug#12288).
675
676 2012-09-17 Stefan Merten <smerten@oekonux.de>
677
678 * textmodes/rst.el: Add support for `testcover'.
679 (rst-defcustom-testcover, rst-testcover-add-compose)
680 (rst-testcover-add-1value): New functions.
681 (rst-portable-mark-active-p): Replace by `use-region-p'.
682 (rst-update-section, rst-classify-adornment)
683 (rst-find-title-line): Mark `1value' forms.
684 (rst-classify-adornment): Remove superfluous form.
685 (rst-update-section, rst-get-adornments-around)
686 (rst-adornment-complete-p, rst-get-next-adornment)
687 (rst-adjust, rst-promote-region)
688 (rst-display-adornments-hierarchy, rst-straighten-adornments)
689 (rst-find-pfx-in-region, rst-section-tree-rec)
690 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
691 (rst-toc-node, rst-toc, rst-forward-section)
692 (rst-iterate-leftmost-paragraphs)
693 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
694 (rst-bullet-list-region)
695 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
696 (rst-compile-find-conf, rst-compile)
697 (rst-repeat-last-character): Fix style.
698
699 2012-09-17 Chong Yidong <cyd@gnu.org>
700
701 * comint.el (comint--complete-file-name-data): Don't add a space
702 if the status is `sole'; that adds a gratuitous space in the
703 completion-cycling case (Bug#12092).
704
705 * pcomplete.el (pcomplete-completions-at-point): Likewise.
706
707 2012-09-17 Richard Stallman <rms@gnu.org>
708
709 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
710 only in the mime-shown mode, not in raw mode.
711 (rmail-mime): Toggle off mime by displaying the message without
712 mime processing. (Bug#12305)
713
714 * mail/rmail.el (rmail-retry-failure):
715 Turn off mime processing first. (Bug#12037)
716
717 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
718
719 2012-09-17 Chong Yidong <cyd@gnu.org>
720
721 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
722 (shell-dynamic-complete-functions): Convert to defcustom.
723 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
724
725 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
726 * comint.el (comint-prompt-read-only):
727 * custom.el (defcustom):
728 * hi-lock.el (hi-lock-mode):
729 * ibuffer.el (ibuffer-formats):
730 * ielm.el (ielm-prompt-read-only):
731 * novice.el (disable-command):
732 * saveplace.el (toggle-save-place):
733 * speedbar.el (speedbar-supported-extension-expressions):
734 * startup.el (auto-save-list-file-prefix, init-file-user)
735 (after-init-hook, inhibit-startup-echo-area-message):
736 * strokes.el (strokes-help):
737 * time-stamp.el (time-stamp):
738 * calendar/calendar.el (calendar, diary-file):
739 * calendar/diary-lib.el (diary-mail-entries, diary)
740 (diary-list-entries-hook):
741 * calendar/holidays.el (holidays, calendar-holidays):
742 * calendar/lunar.el (lunar-phases):
743 * calendar/solar.el (sunrise-sunset):
744 * emulation/edt.el (edt-load-keys):
745 * emulation/viper.el (viper-mode):
746 * eshell/em-alias.el (eshell-command-aliases-list):
747 * eshell/esh-util.el (eshell-convert-numeric-arguments):
748 * international/ogonek.el (ogonek-information):
749 * net/tramp-cmds.el (tramp-bug):
750 * net/quickurl.el (quickurl-reread-hook-postfix):
751 * play/decipher.el (decipher-font-lock-keywords):
752 * progmodes/cc-styles.el (c-set-style):
753 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
754 * progmodes/inf-lisp.el (inferior-lisp-prompt):
755 * progmodes/octave-mod.el (octave-mode):
756 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
757 * progmodes/verilog-mode.el (verilog-read-defines):
758 * textmodes/two-column.el (2C-mode): Likewise.
759
760 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
761
762 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
763 that holds many addresses.
764
765 2012-09-16 Chong Yidong <cyd@gnu.org>
766
767 * align.el (align-areas): Call the indication function with
768 positions instead of markers for arguments (Bug#12343).
769
770 * files.el (parse-colon-path): Use split-string (Bug#12351).
771
772 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
773 (display-buffer-function): Mark as obsolete.
774
775 * progmodes/compile.el (compilation-parse-errors): Accept list
776 values similar to font-lock-keywords (Bug#12136).
777 Suggested by Oleksandr Manzyuk.
778 (compilation-error-regexp-alist): Doc fix.
779
780 2012-09-15 Glenn Morris <rgm@gnu.org>
781
782 * version.el (emacs-bzr-version-bzr): New function.
783 (emacs-bzr-get-version): Add optional EXTERNAL argument.
784
785 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
786 checkouts, check the parent dirstate matches the branch.
787 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
788 empty string.
789
790 * version.el (emacs-bzr-version): Doc fix.
791 (emacs-bzr-version-dirstate): New function.
792 (emacs-bzr-get-version): For lightweight checkouts, if the parent
793 is local try and check that it matches the branch. If not, just
794 use dirstate information. (Bug#12441)
795
796 2012-09-14 Juri Linkov <juri@jurta.org>
797
798 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
799 (Bug#12399)
800
801 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
802
803 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
804
805 * emacs-lisp/edebug.el: Miscellaneous cleanup.
806 Remove obsolete byte-compiler hack that tried to silence some warnings.
807 (edebug-submit-bug-report): Remove.
808 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
809 Remove aliases, use the un-prefixed name instead.
810 (edebug-pop-to-buffer): Consider other frames.
811 (edebug-original-read):: Make it more obvious that it's always defined.
812 (edebug--make-form-data-entry, edebug--form-data-name)
813 (edebug--form-data-begin, edebug--form-data-end): Rename from the
814 single-dashed name, and implement with cl-defstruct.
815 (edebug-set-form-data-entry): Use the standard accessors.
816 (edebug-make-top-form-data-entry): Use push.
817 (edebug-no-match): Drop useless `funcall'.
818 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
819 to functions.
820 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
821 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
822 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
823 (easy-menu-define, with-custom-print): Remove redundant specs.
824 (edebug-outside-overriding-local-map)
825 (edebug-outside-overriding-terminal-local-map): Remove, unused.
826 (edebug--display): Bind unread-command-events directly to nil rather
827 than binding it to unread-command-events and later setting it to nil.
828 (edebug--display): Kill edebug-eval-buffer here...
829 (edebug--recursive-edit): ...rather than here.
830 Bind standard-output and standard-input.
831 (edebug-eval): Check cl-macroexpand-all is fboundp.
832 (edebug-temp-display-freq-count): Fix last change.
833
834 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
835 * subr.el (noreturn, 1value): Add `debug' spec.
836 * emacs-lisp/advice.el: Require cl-lib.
837 (ad-copy-tree): Remove, use copy-tree instead.
838 (ad-dolist): Remove use dolist or cl-dolist instead.
839 (ad-do-return): Remove, use cl-return instead.
840 (defadvice): Add `debug' spec.
841
842 2012-09-13 Juri Linkov <juri@jurta.org>
843
844 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
845 (Bug#12399)
846
847 2012-09-13 Glenn Morris <rgm@gnu.org>
848
849 * calc/calc.el (math-compose-expr):
850 * calc/calc-ext.el (math-compose-expr):
851 * progmodes/cc-defs.el (cl-macroexpand-all):
852 * progmodes/cc-langs.el (delete-duplicates, mapcan)
853 (cl-macroexpand-all): Update declarations.
854
855 * vc/vc.el: No need to require ediff.
856 (ediff-load-version-control): Declare.
857 (ediff-vc-internal): Fix declaration.
858 (vc-version-ediff): Require ediff.
859
860 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
861
862 Use a more backwards-compatible timer format (Bug#12430).
863 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
864 being right after USECS, as that better supports old code that
865 inadvisedly looked directly at the timer vector.
866
867 2012-09-13 Kenichi Handa <handa@gnu.org>
868
869 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
870 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
871 `coding-priority' property of these language environment.
872
873 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
874
875 Fix glitches caused by addition of psec to timers (Bug#12430).
876 * image.el (image-animate-timer):
877 * time.el (display-time-world-timer):
878 Use timer--function and timer--args rather than raw access to
879 timer vector.
880
881 2012-09-13 Glenn Morris <rgm@gnu.org>
882
883 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
884 If not compiling a file, try using load-file-name.
885
886 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
889 Fix last change.
890 (edebug-update-eval-list): Use `push'.
891
892 * emacs-lisp/edebug.el: Use lexical-binding.
893 Remove the "edebug-" prefix from non-dynamically-scoped variables.
894 Mark unused args with underscore.
895 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
896 (edebug-form-data): Use defvar-local.
897 (edebug-make-before-and-after-form, edebug-make-after-form):
898 Use backquote.
899 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
900 Not dynamically scoped any more.
901 (edebug--enter-trace): Add arguments `function' and `args'.
902 Rename from edebug-enter-trace.
903 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
904 (edebug--update-coverage): Add `after-index' and `value' args.
905 Rename from edebug-update-coverage.
906 (edebug-slow-after): Call it accordingly.
907 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
908 edebug-recursive-edit.
909 (edebug--display): Call it accordingly. Add args `value',
910 `offset-index', and `arg-mode'. Rename from edebug-display.
911 (edebug-debugger, edebug): Call it accordingly.
912 (edebug-eval-display-list): Use dolist.
913
914 2012-09-12 Juri Linkov <juri@jurta.org>
915
916 * info.el (Info-search): Don't check for isearch-mode and
917 isearch-regexp before let-binding search-spaces-regexp to
918 Info-search-whitespace-regexp.
919 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
920 search-whitespace-regexp if isearch-lax-whitespace or
921 isearch-regexp-lax-whitespace is non-nil.
922 (Info-mode): Don't set local variable search-whitespace-regexp.
923 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
924
925 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
928 (debugger-env-macro): Remove support for unread-command-char.
929
930 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
931 the temporary map re-appearing on emulation-mode-map-alists.
932
933 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
934 since 22.1.
935
936 * ehelp.el (with-electric-help): Accept functions in
937 electric-help-form-to-execute.
938 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
939 And replace unread-command-char -> unread-command-events.
940
941 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
942
943 Sync with Tramp 2.2.6.
944
945 * net/tramp.el (tramp-accept-process-output): Don't use
946 JUST-THIS-ONE in the XEmacs case.
947
948 * net/trampver.el: Update release number.
949
950 2012-09-12 Martin Rudalics <rudalics@gmx.at>
951
952 * emacs-lisp/debug.el (debugger-previous-window-height):
953 New variable.
954 (debug): When debugger-jumping-flag is non-nil try to restore
955 height of debugger window. (Bug#8789)
956
957 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
960 overriding-local-map and pre/post-command-hook here.
961 (edebug-recursive-edit): Do it here instead (bug#12345).
962 (edebug-outside-unread-command-char): Remove all uses of
963 unread-command-char.
964
965 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
966 inhibit-debugger is bound instead.
967
968 2012-09-11 Bastien Guerry <bzg@gnu.org>
969
970 * subr.el (set-temporary-overlay-map): Add a docstring.
971 (Bug#12346)
972
973 2012-09-11 Bastien Guerry <bzg@gnu.org>
974
975 * minibuffer.el (completion-table-subvert): Fix docstring.
976 (Bug#12347)
977
978 2012-09-11 Bastien Guerry <bzg@gnu.org>
979
980 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
981
982 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
983
984 * progmodes/sql.el: Version 3.1
985 (sql-db2-escape-newlines): New variable.
986 (sql-escape-newlines-filter): Use it.
987
988 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
989
990 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
991
992 2012-09-10 Dan Nicolaescu <dann@gnu.org>
993
994 * vc/diff-mode.el (diff-mode-menu):
995 Bind diff-remove-trailing-whitespace.
996
997 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1000 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1001 (emacs-lisp-byte-code-mode): New functions.
1002 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1003 (eval-defun-2): Remove bogus interactive spec.
1004 (lisp-indent-line): Remove redundant whole-exp code, now done in
1005 indent-according-to-mode.
1006 (save-match-data): Remove redundant indent data.
1007
1008 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1009 Use `declare'.
1010
1011 2012-09-09 Juri Linkov <juri@jurta.org>
1012
1013 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1014 (replace-lax-whitespace, query-replace-regexp)
1015 (query-replace-regexp-eval, replace-regexp): Doc fix.
1016 (perform-replace, replace-highlight): Let-bind
1017 isearch-lax-whitespace to replace-lax-whitespace and
1018 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1019
1020 * isearch.el (isearch-query-replace): Let-bind
1021 replace-lax-whitespace to isearch-lax-whitespace and
1022 replace-regexp-lax-whitespace to
1023 isearch-regexp-lax-whitespace. (Bug#10885)
1024
1025 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1028
1029 2012-09-09 Alan Mackenzie <acm@muc.de>
1030
1031 * progmodes/cc-engine.el (c-state-cache-init):
1032 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1033 (c-record-parse-state-state):
1034 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1035
1036 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1037
1038 * register.el (register-separator): Rename from
1039 separator-register. All uses changed. Doc fix.
1040 (register): Fix version.
1041
1042 2012-09-09 Chong Yidong <cyd@gnu.org>
1043
1044 * replace.el (query-replace-map): Bind four new symbols for
1045 requesting window scrolling.
1046
1047 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1048 query-replace-map (Bug#8948).
1049
1050 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1051
1052 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1053 since they are now in query-replace-map.
1054
1055 * window.el (scroll-other-window-down): Make the arg optional.
1056
1057 2012-09-09 Chong Yidong <cyd@gnu.org>
1058
1059 * files.el (hack-local-variables-confirm): Use quit-window to kill
1060 the *Local Variables* buffer.
1061
1062 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1063
1064 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1065 not just expect to be at its beginning. Adjust callees.
1066 Succeed when do-end block has no space before the pipe character.
1067 (ruby-brace-to-do-end): When the original block is one-liner,
1068 convert to multiline. Reindent the result.
1069
1070 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1071
1072 * register.el (register): New group.
1073 (register-separator): New user option.
1074 (increment-register): Route it to `append-to-register', if
1075 register contains text. Implication is that `C-x r +' can now be
1076 used for appending to a text register (bug#12217).
1077 (append-to-register, prepend-to-register): Add separator based on
1078 `register-separator.
1079
1080 2012-09-08 Alan Mackenzie <acm@muc.de>
1081
1082 AWK Mode: make auto-newline work when there's "==" in the pattern.
1083 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1084 correctly.
1085 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1086 Test more rigorously for "=" token.
1087
1088 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1089
1090 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1091 Only fail when reached LIMIT.
1092
1093 2012-09-08 Chong Yidong <cyd@gnu.org>
1094
1095 * dired.el (dired-mode-map): Don't bind M-=.
1096
1097 * dired-aux.el (dired-diff): Use backup file as default.
1098
1099 2012-09-08 Drew Adams <drew.adams@oracle.com>
1100
1101 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1102
1103 2012-09-08 Chong Yidong <cyd@gnu.org>
1104
1105 * subr.el (syntax-after, syntax-class): Doc fix.
1106
1107 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1108
1109 * window.el (display-buffer-in-previous-window): New buffer
1110 display action function.
1111
1112 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1113 (debugger-previous-window): New variable.
1114 (debug): Rewrite using display-buffer-in-previous-window,
1115 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1116
1117 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1120
1121 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1122
1123 * progmodes/python.el (python-shell-send-string):
1124 When default-directory is remote, create temp file on remote
1125 filesystem.
1126 (python-shell-send-file): When file is remote, pass local view of
1127 file paths to remote Python interpreter. (Bug#12340)
1128
1129 2012-09-07 Chong Yidong <cyd@gnu.org>
1130
1131 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1132
1133 * files.el (after-find-file): Don't fail on a read-only buffer if
1134 require-final-newline is `visit' or `visit-save' (Bug#11156).
1135
1136 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1137
1138 * userlock.el (ask-user-about-supersession-threat):
1139 Use read-char-choice (Bug#12093).
1140
1141 2012-09-07 Chong Yidong <cyd@gnu.org>
1142
1143 * subr.el (buffer-narrowed-p): New function.
1144
1145 * ses.el (ses-widen):
1146 * simple.el (count-words--buffer-message):
1147 * net/browse-url.el (browse-url-of-buffer): Use it
1148
1149 * simple.el (count-words-region): Don't signal an error if there
1150 is a non-nil prefix arg and the mark is not set.
1151
1152 * help.el (describe-key-briefly): Allow the message to be seen
1153 when invoked from the minibuffer (Bug#7014).
1154
1155 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1156
1157 * progmodes/ruby-mode.el (ruby-end-of-defun)
1158 (ruby-beginning-of-defun): Simplify, allow indentation before
1159 block beginning and end keywords.
1160 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1161 (ruby-end-of-defun): Expect that the point is at the beginning of
1162 the defun.
1163
1164 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1165
1166 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1167 (bug#12367).
1168 (cl--make-usage-args): Strip _ from argument names.
1169
1170 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1171
1172 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1173 obsolete alias speedbar-key-map.
1174 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1175 (vhdl-index-menu-init): Don't use obsolete variable
1176 font-lock-maximum-size.
1177
1178 2012-09-06 Chong Yidong <cyd@gnu.org>
1179
1180 * frame.el (window-system-version): Mark as obsolete.
1181
1182 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1183 of obsolete variable speedbar-key-map.
1184
1185 2012-09-06 Juri Linkov <juri@jurta.org>
1186
1187 * replace.el (replace-lax-whitespace): New defcustom.
1188 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1189 (replace-string, replace-regexp): Mention it in docstrings.
1190 (perform-replace, replace-highlight): Let-bind
1191 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1192 to the values of replace-lax-whitespace and regexp-flag.
1193 Don't let-bind search-whitespace-regexp. (Bug#10885)
1194
1195 * isearch.el (isearch-query-replace): Let-bind
1196 replace-lax-whitespace instead of let-binding
1197 replace-search-function and replace-re-search-function.
1198 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1199 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1200 (isearch-toggle-symbol): Set isearch-regexp to nil
1201 in isearch-word mode (like in isearch-toggle-word).
1202
1203 2012-09-06 Juri Linkov <juri@jurta.org>
1204
1205 * replace.el (replace-search-function)
1206 (replace-re-search-function): Set default values to nil.
1207 (perform-replace): Let-bind isearch-related variables based on
1208 replace-related values, call `isearch-search-fun' and let-bind
1209 the result to `search-function'. Remove code that sets
1210 `search-function' and `search-string' separately for
1211 `delimited-flag'.
1212 (replace-highlight): Add new argument `delimited-flag' and
1213 rename other arguments to the names used in `perform-replace'.
1214 Let-bind `isearch-word' to the argument `delimited-flag'.
1215 (Bug#10885, bug#10887)
1216
1217 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1218
1219 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1220 ruby-beginning-of-indent, simplify, allow all keywords to have
1221 indentation before them.
1222 (ruby-beginning-of-indent): Adjust for above. Search until the
1223 found point is not inside a string or comment.
1224 (ruby-font-lock-keywords): Allow symbols to start with "@"
1225 character, give them higher priority than variables.
1226 (ruby-syntax-propertize-function)
1227 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1228 matchers. Expression expansions are not comments when inside a
1229 string, and there comment syntax status is irrelevant.
1230 (ruby-match-expression-expansion): New function. Check that
1231 expression expansion is inside a string, and it's not escaped.
1232 (ruby-font-lock-keywords): Use it.
1233
1234 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1235
1236 * help.el (temp-buffer-max-height): New default value.
1237 (temp-buffer-resize-frames): New option.
1238 (resize-temp-buffer-window): Optionally resize frame.
1239
1240 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1241 (fit-frame-to-buffer): New function.
1242
1243 2012-09-05 Glenn Morris <rgm@gnu.org>
1244
1245 * emulation/cua-rect.el (cua--init-rectangles):
1246 * textmodes/picture.el (picture-mode-map):
1247 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1248 like forward-char and backward-char. (Bug#12317)
1249
1250 2012-09-05 Leo Liu <sdl.web@gmail.com>
1251
1252 * progmodes/flymake.el (flymake-warning-re): New variable.
1253 (flymake-parse-line): Use it.
1254
1255 2012-09-05 Glenn Morris <rgm@gnu.org>
1256
1257 * calendar/holidays.el (holiday-christian-holidays):
1258 Rename an entry. (Bug#12289)
1259
1260 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1263 (bug#12222).
1264
1265 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * loadup.el: Load macroexp. Remove hack.
1268 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1269 (macroexp--expand-all): Use it to get better warnings.
1270 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1271 (internal-macroexpand-for-load): New functions.
1272 (macroexp--pending-eager-loads): New var.
1273 (emacs-startup-hook): New hack to replace one in loadup.el.
1274 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1275 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1276 (cl-psetf): Simplify.
1277 (cl-defstruct): Add indent rule.
1278
1279 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1280
1281 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1282 over `user-mail-address' for the SMTP MAIL FROM envelope.
1283 (smtpmail-via-smtp): Ditto.
1284
1285 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 * progmodes/ruby-mode.el: Clean up keybindings.
1288 (ruby-mode-map): Don't bind ruby-electric-brace,
1289 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1290 backward-kill-word, reindent-then-newline-and-indent.
1291 (ruby-mark-defun): Remove.
1292 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1293 (ruby-mode): Set local beginning-of-defun-function and
1294 end-of-defun-function values.
1295
1296 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1297
1298 * window.el (temp-buffer-window-setup-hook)
1299 (temp-buffer-window-show-hook): New hooks.
1300 (temp-buffer-window-setup, temp-buffer-window-show)
1301 (with-temp-buffer-window): New functions.
1302 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1303 (special-display-popup-frame): Make sure the window used shows BUFFER.
1304
1305 * help.el (temp-buffer-resize-mode): Fix doc-string.
1306 (resize-temp-buffer-window): New optional argument WINDOW.
1307
1308 * files.el (recover-file, save-buffers-kill-emacs):
1309 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1310
1311 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1312
1313 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1314 remote definition of `default-directory', ensure we can connect.
1315
1316 2012-09-02 Juri Linkov <juri@jurta.org>
1317
1318 Toggle whitespace matching mode with M-s SPC.
1319 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1320
1321 * isearch.el (search-whitespace-regexp): Doc fix.
1322 Remove cons cell customization.
1323 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1324 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1325 New variables.
1326 (isearch-forward, isearch-forward-regexp): Doc fix.
1327 (isearch-toggle-lax-whitespace): New command.
1328 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1329 (re-search-forward-lax-whitespace)
1330 (re-search-backward-lax-whitespace): New functions.
1331 (isearch-whitespace-regexp): Remove function.
1332 (isearch-query-replace): Let-bind replace-search-function and
1333 replace-re-search-function.
1334 (isearch-occur): Let-bind search-spaces-regexp according to the
1335 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1336 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1337 condition for C-q SPC.
1338 (isearch-search-fun-default): Use new functions mentioned above.
1339 (isearch-search-forward, isearch-search-backward): Remove functions.
1340 (isearch-search): Don't let-bind search-spaces-regexp.
1341 (isearch-lazy-highlight-space-regexp): Remove variable.
1342 (isearch-lazy-highlight-lax-whitespace)
1343 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1344 (isearch-lazy-highlight-new-loop): Use them.
1345 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1346
1347 2012-09-02 Chong Yidong <cyd@gnu.org>
1348
1349 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1350
1351 2012-09-02 Glenn Morris <rgm@gnu.org>
1352
1353 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1354
1355 2012-09-01 Glenn Morris <rgm@gnu.org>
1356
1357 * term.el: Tidy up menu definitions.
1358 (term-mode-map): Use easymenu for In/Out, Complete menus.
1359 (term-pager-break-map): Initialize in the defvar.
1360 (term-terminal-menu, term-signals-menu): Define with easymenu.
1361 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1362 (term-pager-menu): New, extracted from term-process-pager.
1363 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1364 (term-update-mode-line): Propertize line/char and page items.
1365 (term-process-pager): Move keymap initialization elsewhere.
1366
1367 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1368
1369 * window.el (switch-to-prev-buffer): Handle additional values of
1370 BURY-OR-KILL argument. Don't switch in minibuffer window.
1371 (switch-to-next-buffer): Don't switch in minibuffer window.
1372 (quit-restore-window): New function based on quit-window.
1373 Handle additional values of former KILL argument.
1374 (quit-window): Call quit-restore-window with appropriate
1375 interpretation of KILL argument.
1376 (display-buffer-below-selected): New buffer display action
1377 function.
1378
1379 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * minibuffer.el (completion-at-point-functions): Complete docstring
1382 (bug#12254).
1383
1384 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1385
1386 Better seed support for (random).
1387 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1388 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1389 * play/mpuz.el, play/tetris.el, play/zone.el:
1390 * calc/calc-comb.el (math-init-random-base):
1391 * play/blackbox.el (bb-init-board):
1392 * play/life.el (life):
1393 * server.el (server-use-tcp):
1394 * type-break.el (type-break):
1395 Remove unnecessary call to (random t).
1396 * net/sasl.el (sasl-unique-id-function):
1397 Change (random t) to (random), now that the latter is more random.
1398 * play/life.el (life-initialized): Remove no-longer-needed var.
1399
1400 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1401
1402 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1403 Consider frame's buffer predicate when choosing the buffer.
1404 (Bug#12081)
1405
1406 2012-08-30 Richard Stallman <rms@gnu.org>
1407
1408 * simple.el (special-mode-map): Delete binding for `z'.
1409
1410 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1411
1412 * progmodes/compile.el (compilation-always-kill): Doc fix.
1413
1414 2012-08-30 Chong Yidong <cyd@gnu.org>
1415
1416 * window.el (display-buffer-reuse-frames): Make the obsolescence
1417 message more informative.
1418
1419 2012-08-30 Glenn Morris <rgm@gnu.org>
1420
1421 * paren.el (show-paren-delay):
1422 Add a :set function. Doc fix. (Bug#12297)
1423
1424 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1425
1426 * progmodes/compile.el (compilation-always-kill): New var.
1427 (compilation-start): Use it.
1428
1429 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1432 * files.el (read-only-mode): Move to simple.el.
1433
1434 * files.el (read-only-mode): New minor mode.
1435 (toggle-read-only): Use it and mark obsolete.
1436 (find-file--read-only):
1437 * vc/vc.el (vc-next-action, vc-checkout):
1438 * vc/vc-cvs.el (vc-cvs-checkout):
1439 * obsolete/vc-mcvs.el (vc-mcvs-update):
1440 * ffap.el (ffap--toggle-read-only): Update callers.
1441
1442 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1443
1444 * eshell/esh-ext.el (eshell-external-command): Do not examine
1445 remote shell scripts.
1446 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1447
1448 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1449 "/usr/local/sbin".
1450
1451 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1454
1455 2012-08-28 Leo Liu <sdl.web@gmail.com>
1456
1457 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1458 completion-at-point. (Bug#12220)
1459
1460 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1461
1462 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1463
1464 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1467 be buffer-local; add delete-trailing-whitespace (bug#12259).
1468
1469 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1470
1471 * progmodes/hideif.el (hif-compress-define-list):
1472 Fix typo. (Bug#11951)
1473
1474 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1475
1476 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1477 buffer local setting.
1478
1479 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1480 rcirc-encode-coding-system.
1481
1482 2012-08-28 Leo Liu <sdl.web@gmail.com>
1483
1484 * net/rcirc.el (rcirc-split-message): New function.
1485 (rcirc-send-message): Use it. (Bug#12051)
1486
1487 2012-08-28 Juri Linkov <juri@jurta.org>
1488
1489 * info.el (Info-fontify-node): Hide empty lines at the end of
1490 the node. (Bug#12272)
1491
1492 2012-08-27 Drew Adams <drew.adams@oracle.com>
1493
1494 * dired.el (dired-pop-to-buffer): Make window start at beginning
1495 of buffer (Bug#12281).
1496
1497 2012-08-26 Chong Yidong <cyd@gnu.org>
1498
1499 * window.el (special-display-regexps, special-display-frame-alist)
1500 (special-display-buffer-names, special-display-function)
1501 (display-buffer-reuse-frames): Mark as obsolete.
1502
1503 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1504
1505 * help.el (help-print-return-message): Don't treat
1506 display-buffer-reuse-frames specially.
1507
1508 2012-08-26 Chong Yidong <cyd@gnu.org>
1509
1510 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1511 New variable, replacing gdb-frame-parameters.
1512 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1513 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1514 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1515 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1516 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1517 the functions directly with gdb-display-buffer-other-frame-action.
1518 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1519 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1520 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1521 (gdb-display-registers-buffer): Define directly.
1522 (def-gdb-display-buffer): Macro deleted.
1523 (gdb-display-buffer): Remove second and third args, callers don't
1524 use them. Defer to the default display-buffer behavior, apart
1525 from making windows dedicated.
1526 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1527
1528 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1529
1530 * window.el (display-buffer-pop-up-frame): Handle a
1531 pop-up-frame-parameters alist entry.
1532 (display-buffer): Document it.
1533
1534 2012-08-26 Chong Yidong <cyd@gnu.org>
1535
1536 * isearch.el (search-whitespace-regexp): Make string and nil
1537 values apply to both ordinary and regexp search. Allow a cons
1538 cell value to distinguish between the two.
1539 (isearch-whitespace-regexp, isearch-search-forward)
1540 (isearch-search-backward): New functions.
1541 (isearch-occur, isearch-search-fun-default, isearch-search)
1542 (isearch-lazy-highlight-new-loop): Use them.
1543 (isearch-forward, isearch-forward-regexp): Doc fix.
1544
1545 2012-08-26 Chong Yidong <cyd@gnu.org>
1546
1547 * faces.el (help-argument-name): Always inherit from italic
1548 (Bug#12213).
1549
1550 2012-08-25 Martin Rudalics <rudalics@gmx.at>
1551
1552 * window.el (window--even-window-heights): Even heights when
1553 WINDOW and the selected window form a vertical combination.
1554 (display-buffer-use-some-window): Provide that window used gets
1555 sized back by quit-window. (Bug#11880) and (Bug#12091)
1556
1557 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1558
1559 Fix file time stamp problem with bzr and CVS (Bug#12001).
1560 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1561 in the file's time stamp, since the version control system loses
1562 that information.
1563
1564 2012-08-22 Juri Linkov <juri@jurta.org>
1565
1566 * info.el (Info-fontify-node): Hide the suffix of the
1567 Info file name in the header line. (Bug#12187)
1568
1569 2012-08-22 Glenn Morris <rgm@gnu.org>
1570
1571 * calendar/cal-tex.el (cal-tex-weekly-common):
1572 Restore leading blank page.
1573
1574 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
1575
1576 * misc.el (forward-to-word, backward-to-word): Activate or extend
1577 the region under `shift-select-mode'. (Bug#12231)
1578
1579 2012-08-22 Bastien Guerry <bzg@gnu.org>
1580
1581 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1582 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1583 gives details on why the space is never needed.
1584
1585 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1586
1587 * window.el (walk-window-tree, window-with-parameter):
1588 New optional argument MINIBUF to control whether these functions
1589 should run on the minibuffer window.
1590 (window-at-side-list): Don't operate on minibuffer window.
1591 (window-in-direction): Simplify and rewrite doc-string.
1592 (window--size-ignore): Rename to window--size-ignore-p.
1593 Update callers.
1594 (display-buffer-in-atom-window, window--major-non-side-window)
1595 (window--major-side-window, display-buffer-in-major-side-window)
1596 (delete-side-window, display-buffer-in-side-window):
1597 New functions.
1598 (window--side-check, window-deletable-p, delete-window)
1599 (delete-other-windows, split-window): Handle side windows and
1600 atomic windows appropriately.
1601 (window--display-buffer): Call display-buffer-record-window also
1602 when the window buffer did not change.
1603
1604 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1605
1606 * help-fns.el (help-fns--key-bindings):
1607 Abbreviate non-symbol remap targets. (Bug#12174)
1608
1609 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1610
1611 * dired.el (dired-mark-remembered): Don't clobber point.
1612 (Bug#11795)
1613
1614 2012-08-22 Glenn Morris <rgm@gnu.org>
1615
1616 * progmodes/bug-reference.el (bug-reference): New custom group.
1617 (bug-reference-bug-regexp): Make it a defcustom.
1618
1619 2012-08-22 Daiki Ueno <ueno@unixuser.org>
1620
1621 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1622 (js-paren-indent-offset, js-square-indent-offset)
1623 (js-curly-indent-offset): Add :safe (Bug#12257).
1624
1625 2012-08-22 Edward O'Connor <hober0@gmail.com>
1626
1627 * json.el (json-key-format): Add error properties.
1628 (json-encode-key): New function.
1629 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1630 Use json-encode-key.
1631
1632 2012-08-22 Glenn Morris <rgm@gnu.org>
1633
1634 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1635 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1636 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1637 Update for above change.
1638
1639 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1640
1641 * cus-face.el (custom-face-attributes): Fix customize type for the
1642 :underline attribute. (Bug#11805)
1643
1644 2012-08-21 Martin Rudalics <rudalics@gmx.at>
1645
1646 * window.el (window-point-1, set-window-point-1): Remove.
1647 (window-in-direction, record-window-buffer)
1648 (set-window-buffer-start-and-point, split-window-below)
1649 (window--state-get-1, display-buffer-record-window):
1650 Replace calls to window-point-1 and set-window-point-1 by calls to
1651 window-point and set-window-point respectively.
1652
1653 2012-08-21 Glenn Morris <rgm@gnu.org>
1654
1655 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1656 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1657 Use it.
1658
1659 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1660 (cal-tex-shortday): New function.
1661 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1662 (cal-tex-cursor-filofax-daily): Use the above.
1663
1664 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1665 New functions.
1666 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1667 (cal-tex-cursor-filofax-week): Use them.
1668
1669 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1670 New constants.
1671 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1672 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1673
1674 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1675 (cal-tex-end-document): Don't rely on buffer name.
1676
1677 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1678 Use cal-tex-vspace.
1679 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1680 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1681 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1682 Use cal-tex-arg.
1683
1684 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1685 (cal-tex-cursor-week, cal-tex-cursor-week2)
1686 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1687 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1688 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1689 (cal-tex-insert-preamble, cal-tex-b-document)
1690 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1691 Improve cal-tex-cmd usage.
1692
1693 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1694 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1695 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1696 (cal-tex-weekly-paper): New function.
1697 (cal-tex-cursor-week, cal-tex-cursor-week2)
1698 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1699 (cal-tex-cursor-day): Use it.
1700
1701 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1702 (cal-tex-cursor-filofax-week): Remove leading blank page.
1703
1704 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1705 Add autoload cookie. For now at least, don't use color, since
1706 no other cal-tex function does.
1707
1708 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1709 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1710 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1711
1712 2012-08-21 Juri Linkov <juri@jurta.org>
1713
1714 * info.el (Info-file-attributes): New variable.
1715 (info-insert-file-contents): Add file attributes to
1716 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1717 `Info-toc-nodes' when previous modtime of the Info file is less
1718 than new modtime.
1719 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1720 of info.el. (Bug#12230)
1721
1722 2012-08-20 Glenn Morris <rgm@gnu.org>
1723
1724 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1725 * calendar/holidays.el (calendar-holiday-list):
1726 Report errors with display-warning rather than beep'n'sleep.
1727
1728 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * net/tramp.el (tramp-accept-process-output): Accept only output
1731 from PROC. Otherwise, process filters and sentinels might be
1732 confused. (Bug#12145)
1733
1734 2012-08-20 Chong Yidong <cyd@gnu.org>
1735
1736 * descr-text.el (describe-text-properties-1): Use overlays-in to
1737 report on empty overlays (Bug#3322).
1738
1739 2012-08-20 Glenn Morris <rgm@gnu.org>
1740
1741 * mail/rmailout.el (rmail-output-read-file-name):
1742 Trap and report errors in rmail-output-file-alist elements.
1743
1744 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1745 since most non-font-lock faces are not also variables).
1746
1747 2012-08-20 Edward Reingold <reingold@iit.edu>
1748
1749 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1750 New function. (Bug12160)
1751
1752 2012-08-19 Glenn Morris <rgm@gnu.org>
1753
1754 * mail/rmailout.el (rmail-output-read-file-name):
1755 Fix previous change (when the alist is nil or does not match).
1756
1757 2012-08-19 Chong Yidong <cyd@gnu.org>
1758
1759 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1760 (Bug#12228).
1761
1762 2012-08-18 Chong Yidong <cyd@gnu.org>
1763
1764 * simple.el (yank-handled-properties): New defcustom.
1765 (yank-excluded-properties): Add font-lock-face and category.
1766 (yank): Doc fix.
1767
1768 * subr.el (remove-yank-excluded-properties):
1769 Obey yank-handled-properties. The special handling of font-lock-face
1770 and category is now done this way, instead of being hard-coded.
1771 (insert-for-yank-1): Remove font-lock-face handling.
1772 (yank-handle-font-lock-face-property)
1773 (yank-handle-category-property): New function.
1774
1775 2012-08-17 Glenn Morris <rgm@gnu.org>
1776
1777 * mail/rmailout.el (rmail-output-read-file-name):
1778 Check rmail-output-file-alist against the full message body
1779 in the correct rmail buffer. (Bug#12214)
1780
1781 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
1782
1783 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1784 Eliminate superfluous prompt. (Bug#12203)
1785
1786 2012-08-17 Chong Yidong <cyd@gnu.org>
1787
1788 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1789 font spec, set the font directly (Bug#3228).
1790
1791 2012-08-17 Martin Rudalics <rudalics@gmx.at>
1792
1793 * window.el (delete-window): Fix last fix.
1794
1795 2012-08-16 Martin Rudalics <rudalics@gmx.at>
1796
1797 * window.el (window-valid-p): Move to window.c.
1798 (window-child, window-child-count, window-last-child)
1799 (window-normalize-window, window-combined-p)
1800 (window-combinations, window-atom-root, window-min-size)
1801 (window-sizable, window-sizable-p, window-size-fixed-p)
1802 (window-min-delta, window-max-delta, window--resizable)
1803 (window--resizable-p, window-resizable, window-total-size)
1804 (window-full-height-p, window-full-width-p, window-body-size)
1805 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1806 (minimize-window, window-deletable-p, delete-window)
1807 (delete-other-windows, set-window-buffer-start-and-point)
1808 (next-buffer, previous-buffer, split-window, balance-windows-2)
1809 (set-window-text-height, window-buffer-height)
1810 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1811 (truncated-partial-width-window-p): Minor code adjustments.
1812 In doc-strings state whether the argument window has to denote a
1813 live, valid or any window.
1814
1815 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1816
1817 * progmodes/subword.el (subword-forward-function)
1818 (subword-backward-function, subword-forward-regexp)
1819 (subword-backward-regexp): New variables.
1820 (subword-forward, subword-forward-internal, subword-backward-internal):
1821 Use new variables, eg so that different "word" definitions
1822 can be easily used. (Bug#11411)
1823
1824 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1827 for composite selectors.
1828 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1829 operation just because we can't find a previous revision.
1830
1831 2012-08-15 Chong Yidong <cyd@gnu.org>
1832
1833 * frame.el (set-frame-font): Accept font objects.
1834
1835 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1838
1839 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1840
1841 * man.el (Man-overstrike-face, Man-underline-face)
1842 (Man-reverse-face): Remove variables.
1843 (Man-overstrike, Man-underline, Man-reverse): New faces.
1844 (Man-fontify-manpage): Use them instead of the variables.
1845 (Man-cleanup-manpage): Comment change.
1846 (Man-ansi-color-map): New variable.
1847 (Man-fontify-manpage): Use it.
1848 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1849
1850 Implement ANSI SGR parameters 22-27 (bug#12146).
1851 * ansi-color.el (ansi-colors): Doc fix.
1852 (ansi-color-context, ansi-color-context-region): Doc fix.
1853 (ansi-color--find-face): New function.
1854 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1855 Rename the local variable `face' to `codes' since it is now a list of
1856 ansi codes. Doc fix.
1857 (ansi-color-get-face): Remove.
1858 (ansi-color-parse-sequence): New function, derived from
1859 ansi-color-get-face.
1860 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1861 codes 22-27.
1862
1863 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * subr.el (read-passwd): Allow use from a minibuffer.
1866
1867 2012-08-14 Eli Zaretskii <eliz@gnu.org>
1868
1869 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1870 inside comments and strings as identifiers.
1871
1872 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1873 expression to evaluate. This allows to evaluate expressions with
1874 embedded whitespace.
1875 (gud-tooltip-tips): Add a blank before the newline in the
1876 message-box text, for the benefit of message-box emulation on
1877 MS-Windows.
1878
1879 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1880 messages from GDB, pop them up in a tooltip to give feedback to
1881 user.
1882 (gdb-tooltip-print-1): Quote the expression to evaluate.
1883 This allows to evaluate expressions with embedded whitespace.
1884 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1885 if the TTY name is nil or empty (which happens when communicating
1886 with the inferior via pipes, e.g. on MS-Windows).
1887 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1888 don't send that to the GUD buffer.
1889
1890 2012-08-14 Glenn Morris <rgm@gnu.org>
1891
1892 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1893 Optimize away setq-default with no args, as for setq. (Bug#12195)
1894
1895 2012-08-14 Chong Yidong <cyd@gnu.org>
1896
1897 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1898
1899 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1900 (Bug#12085).
1901
1902 2012-08-14 Glenn Morris <rgm@gnu.org>
1903
1904 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1905
1906 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1909 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1910 Use cached shell name.
1911
1912 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1913
1914 * progmodes/python.el (python-shell-send-string):
1915 (python-shell-send-setup-code): Do not use `format' with `message'.
1916
1917 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1918
1919 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1920 (ruby-percent-literal-beg-re): New constant.
1921 (ruby-syntax-general-delimiters-goto-beg): Rename to
1922 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1923 (ruby-syntax-propertize-general-delimiters): Rename to
1924 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1925 popular term. Adjust comments everywhere.
1926 (ruby-syntax-propertize-percent-literal): Only propertize when not
1927 inside a simple string or comment. When the literal is unclosed,
1928 leave the text after it unpropertized.
1929 (ruby-syntax-methods-before-regexp): New constant.
1930 (ruby-syntax-propertize-function): Use it to recognize regexps.
1931 Don't look at the text after regexp, just use the whitelist.
1932
1933 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1934
1935 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1936 non-nil always load the compiled file if it exists. (Bug#12197)
1937
1938 2012-08-14 Chong Yidong <cyd@gnu.org>
1939
1940 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1941 (hi-lock-set-pattern): When deciding whether to use font lock or
1942 overlays, look at font-lock-mode instead of font-lock-fontified
1943 (Bug#12168).
1944 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1945 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1946
1947 2012-08-14 Daiki Ueno <ueno@unixuser.org>
1948
1949 * subr.el (internal--after-with-selected-window): Fix typo
1950 (Bug#12193).
1951
1952 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1953
1954 Use `completion-table-dynamic' for completion functions.
1955 * progmodes/python.el
1956 (python-shell-completion--do-completion-at-point)
1957 (python-shell-completion--get-completions):
1958 Remove functions.
1959 (python-shell-completion-complete-at-point): New function.
1960 (python-completion-complete-at-point): Use it.
1961
1962 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
1963
1964 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1965 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1966
1967 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * subr.el (function-get): Refine `autoload' arg so it can also
1970 autoload functions for gv.el (bug#12191).
1971 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1972 autoloads macros.
1973
1974 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1975 Prefer pcase-let over destructuring-bind.
1976 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1977 Also, remove whitespace as we go, rather than after accumulating the
1978 various places.
1979
1980 * subr.el (internal--before-with-selected-window)
1981 (internal--after-with-selected-window): Fix typo seleted->selected.
1982 (with-selected-window): Adjust callers.
1983 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1984
1985 2012-08-13 Bastien Guerry <bzg@gnu.org>
1986
1987 * window.el (special-display-popup-frame): Minor docstring
1988 enhancement. (Bug#12172)
1989
1990 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1991
1992 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1993 type 1-6.
1994 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1995 extended headers.
1996
1997 * files.el (hack-local-variables-filter): Remove useless eval.
1998
1999 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2000
2001 * subr.el (with-selected-window): Fix last change.
2002
2003 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * subr.el (internal--before-with-seleted-window)
2006 (internal--after-with-seleted-window): New functions.
2007 (with-selected-window): Use them, to replace dependency on
2008 tty-top-frame.
2009
2010 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2011
2012 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2013 binding for `newline'.
2014 (ruby-move-to-block): When moving backward, stop at block opening,
2015 not indentation.
2016 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2017 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2018 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2019 `ruby-toggle-block'.
2020
2021 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * ibuffer.el (ibuffer-do-toggle-read-only):
2024 * dired.el (dired-toggle-read-only):
2025 * buff-menu.el (Buffer-menu-toggle-read-only):
2026 * bindings.el (mode-line-toggle-read-only):
2027 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2028
2029 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2030
2031 * descr-text.el (describe-char): Put the overlays over the
2032 "displayed as" character.
2033
2034 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2035
2036 * calc/calc-units.el (math-default-units-table): Give an
2037 initial value.
2038 (math-put-default-units): Add options to put composite units and
2039 unit systems in the default units table.
2040 (calc-convert-units): Send composite units to
2041 `math-put-default-units' when appropriate.
2042
2043 2012-08-11 Glenn Morris <rgm@gnu.org>
2044
2045 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2046
2047 * tutorial.el (help-with-tutorial):
2048 * emacs-lisp/copyright.el (copyright-update-directory):
2049 * emacs-lisp/autoload.el (autoload-find-generated-file)
2050 (autoload-find-file): Disable local eval: (for insurance).
2051
2052 * files.el (hack-local-variables-filter): If an eval: form is not
2053 known to be safe, and enable-local-variables is :safe, then ignore
2054 the form totally, as is done for non-eval forms. (Bug#12155)
2055 This is CVE-2012-3479.
2056
2057 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2060 (rx-form): Simplify.
2061
2062 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2063
2064 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2065 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2066 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2067 (ruby-syntax-propertize-function): Adjust for changes in
2068 `ruby-syntax-propertize-heredoc'.
2069
2070 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2071
2072 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2073 binding (use `M-;' instead).
2074 (ruby-singleton-class-p): New function.
2075 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2076
2077 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2080
2081 2012-08-10 Chong Yidong <cyd@gnu.org>
2082
2083 * progmodes/python.el (python-shell-get-process-name): Don't mess
2084 with same-window-buffer-names.
2085
2086 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2087 (eshell-remove-from-window-buffer-names): Make obsolete.
2088 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2089 (eshell): Just use pop-to-buffer-same-window instead.
2090
2091 2012-08-10 Chong Yidong <cyd@gnu.org>
2092
2093 * bindings.el: Bind M-= back to count-words-region.
2094
2095 * simple.el (count-words-region): Accept a prefix arg for acting
2096 on the entire buffer.
2097 (count-words--buffer-message): New helper function.
2098
2099 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2102 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2103 (event-start, event-end): Use posn-at-point to return a more
2104 informative posn.
2105 (posnp): New function.
2106 * mouse.el (popup-menu-normalize-position): Use it.
2107
2108 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2109
2110 * mouse.el (popup-menu-normalize-position): New function.
2111 (popup-menu): Use `popup-menu-normalize-position' to normalize
2112 the form for POSITION argument.
2113
2114 * term/x-win.el (x-menu-bar-open):
2115 Use the value returend from (posn-at-point) as position
2116 passed to `popup-menu'.
2117
2118 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2119
2120 * calc/calccomp.el (math-compose-expr): Add extra argument
2121 indicating that parentheses should be put around products in
2122 denominators. Give multiplication precedence over division during
2123 composition.
2124
2125 2012-08-09 Chong Yidong <cyd@gnu.org>
2126
2127 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2128 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2129 (Man-untabify-command, manual-program): Convert to defcustom
2130 (Bug#10429).
2131
2132 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2133
2134 * descr-text.el (describe-char): Don't insert extra newlines
2135 (Bug#10127).
2136
2137 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2138 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2139
2140 * align.el (align-region): Delete temporary markers (Bug#10047).
2141 Plus some code cleanups.
2142
2143 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2144
2145 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2146 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2147 (python-shell-internal-last-output): Use make-local-variable
2148 instead of make-variable-buffer-local.
2149
2150 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2151
2152 * progmodes/python.el: Enhancements to forward-sexp.
2153 (python-nav-forward-sexp): Rename from
2154 python-nav-forward-sexp-function.
2155 (python-nav--forward-sexp, python-nav--backward-sexp):
2156 New functions.
2157
2158 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2159
2160 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2161 modes and simplification modes.
2162
2163 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * delsel.el (delete-selection-pre-hook): Don't propagate the
2166 file-supersession signals (bug#12161).
2167
2168 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2171 (cl-map-extents): Add compatibility aliases (bug#12135).
2172
2173 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2174
2175 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2176 tests by `ignore-error'.
2177 (tramp-find-shell): Open also a new shell, when cache is already
2178 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2179
2180 2012-08-08 Juri Linkov <juri@jurta.org>
2181
2182 * bookmark.el: Add `defaults' property to the bookmark record.
2183 (bookmark-current-buffer): Doc fix.
2184 (bookmark-make-record): Add `defaults' property with default values
2185 to the bookmark record.
2186 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2187 with `bookmark-insert-current-bookmark'.
2188 (bookmark-set): Get `defaults' property from the bookmark record
2189 and use it in `read-from-minibuffer'.
2190 (bookmark-insert-current-bookmark): Remove function.
2191
2192 * info.el (Info-bookmark-make-record): Add `defaults' property
2193 with values of canonical Info node name, the current Info file
2194 name and the current Info node name. (Bug#12107)
2195
2196 2012-08-08 Juri Linkov <juri@jurta.org>
2197
2198 * files.el (basic-save-buffer): Use `buffer-name' as the default
2199 of `read-file-name' when buffer is not visiting a file (bug#12128).
2200
2201 2012-08-08 Juri Linkov <juri@jurta.org>
2202
2203 * info.el (Info-isearch-search): Doc fix.
2204 (Info-search): Change search-failed message from "initial node" to
2205 "end of node" (bug#12078).
2206 (Info-isearch-search): Change `isearch-string-state' to
2207 `isearch--state-string'.
2208
2209 2012-08-08 Glenn Morris <rgm@gnu.org>
2210
2211 * language/persian.el: Remove file.
2212 * language/misc-lang.el: Move unique part of persian.el here.
2213 * loadup.el: Remove language/persian.
2214
2215 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2216
2217 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2218
2219 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2220
2221 * progmodes/python.el Fixed defsubst warning.
2222 (python-syntax-context) Rename from python-info-ppss-context.
2223 (python-syntax-context-type): Rename from
2224 python-info-ppss-context-type.
2225 (python-syntax-comment-or-string-p): Rename from
2226 python-info-ppss-comment-or-string-p.
2227
2228 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2229
2230 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2231
2232 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2233
2234 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2235 a defcustom that is quoted with backquote.
2236
2237 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2238 Fix handling of interactive spec when the body uses return.
2239 (math-do-arg-check, math-define-function-body): Use backquote forms.
2240 * calc/calc-ext.el (math-defcache): Likewise.
2241 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2242 * allout.el (allout-new-exposure): Likewise.
2243 * calc/calcalg2.el (math-tracing-integral): Likewise.
2244 * info.el (Info-last-menu-item): Likewise.
2245 * emulation/vip.el (vip-loop): Likewise.
2246 * textmodes/artist.el (artist-funcall): Likewise.
2247 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2248 Construct menu-item directly.
2249
2250 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2251 Don't declare.
2252
2253 2012-08-07 Chong Yidong <cyd@gnu.org>
2254
2255 * simple.el (deactivate-mark): Preserve text properties when
2256 saving the primary selection (Bug#8384).
2257
2258 2012-08-07 Kevin Ryde <user42@zip.com.au>
2259
2260 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2261 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2262 and continue processing (Bug#12110).
2263
2264 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2267 syntax-propertize-function (bug#10095).
2268
2269 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2272 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2273 describe-function-1.
2274 (describe-function-1): Use them. Move compiler macro after sig.
2275 (help-fns--compiler-macro): Use function-get. Assume we're already in
2276 standard-output. Adjust layout to new call order.
2277
2278 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2279 re-binding a symbol that has a symbol-macro (bug#12119).
2280
2281 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2282
2283 * language/persian.el: New file. (Bug#11812)
2284 * loadup.el: Add language/persian.el.
2285
2286 2012-08-06 Chong Yidong <cyd@gnu.org>
2287
2288 * window.el (window--maybe-raise-frame): New function.
2289 (window--display-buffer): Split off from here.
2290 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2291 (display-buffer-pop-up-window, display-buffer-use-some-window):
2292 Obey an inhibit-switch-frame action alist entry.
2293 (display-buffer): Update doc.
2294
2295 * replace.el (occur-after-change-function): Avoid losing focus by
2296 using the inhibit-switch-frame display parameter (Bug#12139).
2297
2298 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2299
2300 Make internal shell process buffer names start with space.
2301 * progmodes/python.el (python-shell-make-comint): Add optional
2302 argument INTERNAL.
2303 (run-python-internal): Use it.
2304 (python-shell-internal-get-or-create-process): Check for new
2305 internal buffer names.
2306
2307 2012-08-06 Glenn Morris <rgm@gnu.org>
2308
2309 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2310 Do less getting and setting of environment variables.
2311
2312 2012-08-05 Chong Yidong <cyd@gnu.org>
2313
2314 * proced.el (proced): Add substitution string to docstring to
2315 trigger autoloading of the proced library on C-h f (Bug#1768).
2316
2317 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2318 Don't show defvars which have no second argument (Bug#8638).
2319
2320 * imenu.el (imenu-generic-expression): Move documentation here
2321 from imenu--generic-function.
2322 (imenu--generic-function): Refer to imenu-generic-expression.
2323
2324 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2325
2326 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2327 indentation declaration.
2328 (viper-loop): Add indentation declaration (Bug#7025).
2329
2330 2012-08-05 Chong Yidong <cyd@gnu.org>
2331
2332 * help-fns.el (describe-variable): Add hyperlink for
2333 directory-local variables files. Improve buffer-local and
2334 permanent-local reporting; suggested by MON KEY (Bug#6644).
2335
2336 * help-mode.el (help-dir-local-var-def): New button type.
2337
2338 * files.el (kill-buffer-hook): Provide a defvar.
2339
2340 2012-08-05 Glenn Morris <rgm@gnu.org>
2341
2342 * eshell/esh-ext.el (eshell/addpath):
2343 Also update eshell-path-env. (Bug#12013)
2344
2345 2012-08-05 Chong Yidong <cyd@gnu.org>
2346
2347 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2348
2349 * fringe.el (fringe-styles): Add docstring.
2350 (fringe--check-mode): New function.
2351 (set-fringe-mode, set-fringe-style): Use it.
2352 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2353
2354 * files.el (set-auto-mode): Fix invalid setq call.
2355
2356 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * isearch.el: Misc simplification; use defstruct.
2359 (isearch-mode-map): Dense maps now work like sparse ones.
2360 (isearch--state): New defstruct.
2361 (isearch-string-state, isearch-message-state, isearch-point-state)
2362 (isearch-success-state, isearch-forward-state)
2363 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2364 (isearch-wrapped-state, isearch-barrier-state)
2365 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2366 replaced by defstruct's accessors.
2367 (isearch--set-state): Rename from isearch-top-state and change
2368 calling convention.
2369 (isearch-push-state): Use new isearch--get-state.
2370 (isearch-toggle-word): Disable regexp when enabling word.
2371 (isearch-message-prefix): Remove unused arg _c-q-hack.
2372 (isearch-message-suffix): Remove unused arg _ellipsis.
2373
2374 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2375
2376 * simple.el (list-processes--refresh): For a server use :host or
2377 :local as the address.
2378 (list-processes): Doc fix.
2379
2380 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
2381
2382 * lisp/mpc.el: Support password in host argument.
2383 (mpc--proc-connect): Parse and use new password element.
2384 Set mpc-proc variable instead of returning process.
2385 (mpc-proc): Adjust accordingly.
2386
2387 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2388
2389 * whitespace.el (whitespace-display-mappings): Use Unicode
2390 codepoints, instead of emacs-mule codepoints. See
2391 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2392 for the details.
2393
2394 * files.el (file-truename): Don't skip symlink-chasing part on
2395 windows-nt. Incorporate the resolution of 8+3 short aliases on
2396 Windows into the loop that recursively chases symlinks.
2397 Compare directory and its parent case-insensitively on MS-Windows and
2398 MS-DOS.
2399
2400 2012-08-03 Chong Yidong <cyd@gnu.org>
2401
2402 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2403
2404 * sort.el (sort-regexp-fields): Doc fix.
2405
2406 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2407
2408 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2409 labels regex position point at the expected place.
2410
2411 2012-08-03 MON KEY <monkey@sandpframing.com>
2412
2413 * net/imap.el (imap-interactive-login, imap-authenticate)
2414 (imap-mailbox-lsub, imap-mailbox-list)
2415 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2416 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2417 (imap-parse-response): Doc fix.
2418
2419 2012-08-03 João Távora <joaotavora@gmail.com>
2420
2421 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2422 if sexp scanning does not move point (Bug#5734).
2423
2424 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2425
2426 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2427 Add listings, minted, and ctable packages.
2428 (reftex-label-alist-builtin): Move listings, minted, and ctable
2429 entries before LaTeX.
2430 (reftex-label-alist): Docfix.
2431
2432 2012-08-02 Bastien Guerry <bzg@gnu.org>
2433
2434 * replace.el (occur): Fix docstring (bug#12122).
2435
2436 2012-08-02 Glenn Morris <rgm@gnu.org>
2437
2438 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2439
2440 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2441
2442 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2443 * international/mule-cmds.el: Create
2444 inactivate-current-input-method-function as an obsolete alias for
2445 deactivate-current-input-method-function. See Katsumi Yamaoka in
2446 <http://bugs.gnu.org/10150#46>.
2447
2448 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2449
2450 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2451 of nested `if's.
2452
2453 2012-08-01 Glenn Morris <rgm@gnu.org>
2454
2455 * progmodes/autoconf.el (autoconf-definition-regexp):
2456 Add AH_TEMPLATE, adjust submatch numbering.
2457 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2458 (autoconf-current-defun-function): Update for above change.
2459 (autoconf-current-defun-function): First skip to end of current word.
2460
2461 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2462
2463 * calendar/cal-html.el (cal-html-insert-agenda-days):
2464 Fix typo. (Bug#12018)
2465
2466 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2467
2468 Shell processes: enhancements to startup and CEDET compatibility.
2469 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2470 (python-shell-make-comint): accept-process-output at startup.
2471 (run-python-internal): Set inferior-python-mode-hook to nil.
2472 (python-shell-internal-get-or-create-process): call sit-for.
2473 (python-preoutput-result): Add obsolete alias.
2474 (python-shell-internal-send-string): Use it.
2475 (python-shell-send-setup-code): Remove call to
2476 accept-process-output.
2477
2478 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2479
2480 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2481 (Bug#12108)
2482
2483 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2484
2485 * calc-mode.el (calc-basic-simplification-mode): Rename from
2486 `calc-limited-simplification-mode'.
2487 (calc-alg-simplification-mode): New function.
2488 (calc-set-simplify-mode): Adjust message.
2489
2490 * calc.el (calc-set-mode-line): Adjust mode line display for
2491 basic simplification mode.
2492
2493 * calc-help.el (calc-m-prefix-help): Update help message.
2494
2495 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2496 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2497
2498 2012-07-31 Bastien Guerry <bzg@gnu.org>
2499
2500 * man.el (man): Fix comment. (bug#12101)
2501
2502 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2503
2504 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2505 Don't return a non-nil value when no suitable buffer was found.
2506
2507 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2508
2509 * progmodes/python.el (run-python-internal): Disable font lock for
2510 internal shells.
2511
2512 2012-07-30 Stefan Merten <smerten@oekonux.de>
2513
2514 * textmodes/rst.el: Silence `checkdoc-ispell'.
2515 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2516 (rst-official-version, rst-official-cvs-rev)
2517 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2518 (rst-mode-map): New key binding.
2519
2520 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2521
2522 Update .PHONY listings in makefiles.
2523 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2524 autoloads, update-subdirs, updates, bzr-update, update-authors,
2525 compile-onefile, compile-calc, backup-compiled-files,
2526 compile-after-backup, compile-one-process, mh-autoloads,
2527 bootstrap-clean, distclean, maintainer-clean.
2528
2529 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2530
2531 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2532 (calc-set-mode-line): Don't display "AlgSimp ".
2533
2534 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2535 (calc-lim-simplify-mode): New function.
2536 (calc-set-simplify-mode): Default to 'alg.
2537 (calc-default-simplify-mode): Make algebraic simplifications
2538 the default.
2539
2540 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2541 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2542
2543 * calc/calc-help.el (calc-m-prefix-help): Change messages to
2544 indicate new simplification modes.
2545
2546 * calc/README: Mention new default simplification mode.
2547
2548 * calc/calc.el (math-normalize-error): New variable.
2549 (math-normalize): Set `math-normalize-error' to t
2550 when there's an error.
2551
2552 * calc/calc-alg.el (math-simplify): Don't simplify when
2553 `math-normalize' returns an error.
2554
2555 2012-07-29 Eli Zaretskii <eliz@gnu.org>
2556
2557 * international/mule-cmds.el (set-locale-environment): Revert last
2558 change, since display-graphic-p returns nil when this function is
2559 called during startup. Instead...
2560
2561 * term/w32console.el (terminal-init-w32console): ...setup the
2562 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2563
2564 2012-07-29 Juri Linkov <juri@jurta.org>
2565
2566 * simple.el (goto-line): Don't display default line number in the
2567 prompt because it should be displayed by `read-number' (bug#9952).
2568 Add the current line number to the defaults of `goto-line' to
2569 allow its easier modification by users with `M-n' (bug#9201).
2570
2571 * subr.el (read-number): Support multiple default values like in
2572 other minibuffer reading functions. Replace `read' with
2573 `string-to-number' for consistency with `number-to-string'.
2574
2575 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2576
2577 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2578 * emulation/viper-init.el (viper-deactivate-input-method-action):
2579 Rename from viper-inactivate-input-method-action.
2580 (viper-deactivate-input-method):
2581 Rename from viper-inactivate-input-method.
2582 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2583 * international/mule-cmds.el (deactivate-input-method):
2584 Rename from inactivate-input-method.
2585 Also run input-method-deactivate-hook.
2586 (deactivate-current-input-method-function):
2587 Rename from inactivate-current-input-method-function.
2588 (input-method-deactivate-hook): New hook.
2589 (input-method-inactivate-hook): Mark obsolete.
2590 (inactivate-input-method): Mark obsolete.
2591
2592 * international/quail.el (quail-activate):
2593 Also run quail-deactivate-hook.
2594 (quail-deactivate): Rename from quail-inactivate.
2595 * international/robin.el (robin-activate):
2596 Also run robin-deactivate-hook.
2597 (robin-deactivate): Rename from robin-inactivate.
2598
2599 2012-07-29 Chong Yidong <cyd@gnu.org>
2600
2601 * simple.el (indicate-copied-region): New function.
2602 (kill-ring-save): Split off from here.
2603
2604 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2605 (kill-rectangle): Set deactivate-mark to t on read-only error.
2606
2607 * register.el (copy-to-register, copy-rectangle-to-register):
2608 Deactivate the mark, and use indicate-copied-region (Bug#10056).
2609 (append-to-register, prepend-to-register):
2610 Call 2012-07-29 Juri Linkov <juri@jurta.org>
2611
2612 * simple.el (async-shell-command-buffer): New defcustom.
2613 (shell-command): Use it. (Bug#4719)
2614
2615 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2616
2617 * international/mule-cmds.el (set-locale-environment): In a
2618 console session on MS-Windows, set up keyboard and terminal
2619 encoding from the OEM codepage, not the ANSI codepage.
2620 (Bug#12055)
2621
2622 2012-07-28 Chong Yidong <cyd@gnu.org>
2623
2624 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2625 gdb-get-location.
2626
2627 2012-07-28 Leo Liu <sdl.web@gmail.com>
2628
2629 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2630 the alist (bug#12029).
2631
2632 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2633
2634 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2635 (compile-always, compile-first)
2636 ($(lisp)/calendar/cal-loaddefs.el)
2637 ($(lisp)/calendar/diary-loaddefs.el)
2638 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2639 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2640 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2641 instead of on update-subdirs.
2642 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2643
2644 2012-07-28 Chong Yidong <cyd@gnu.org>
2645
2646 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2647 directory if vc-deduce-backend returns nil (Bug#7350).
2648
2649 * simple.el (delete-trailing-lines): New option.
2650 (delete-trailing-whitespace): Obey it (Bug#11879).
2651
2652 2012-07-28 David Engster <deng@randomsample.de>
2653
2654 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2655 Explanation of new 'symbol-qnames feature in doc-strings.
2656 (xml-maybe-do-ns): Return expanded names as plain symbols if
2657 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2658 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2659
2660 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2661
2662 Consistent completion in inferior python with emacs -nw.
2663 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2664 binding in inferior-python-mode-map with "\t".
2665 (python-shell-completion-complete-at-point)
2666 (python-completion-complete-at-point): Remove interactive spec.
2667
2668 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2669
2670 * calc/calccomp.el (math-compose-expr): Undo previous change.
2671
2672 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2673
2674 * progmodes/python.el (python-mode-map): Add keybinding for
2675 run-python.
2676 (python-shell-make-comint): Fix pop-to-buffer call.
2677 (run-python): Autoload. New arg SHOW.
2678 (python-shell-get-or-create-process): Do not pop python process
2679 buffer.
2680
2681 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
2682
2683 * notifications.el (notifications-on-action-signal)
2684 (notifications-on-closed-signal): Use also the bus address for the map.
2685 (notifications-notify, notifications-close-notification)
2686 (notifications-get-capabilities): Add optional argument BUS.
2687
2688 2012-07-27 Tassilo Horn <tsdh@gnu.org>
2689
2690 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2691 Add support for the lstlisting and minted environments, and for the
2692 ctable macro.
2693 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2694 labels written in keyvals syntax.
2695
2696 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2697
2698 * calc/calccomp.el (math-compose-expr): Use parentheses when
2699 there is a product in the denominator of a fraction.
2700
2701 2012-07-26 Eli Zaretskii <eliz@gnu.org>
2702
2703 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2704 ($(lisp)/calendar/diary-loaddefs.el)
2705 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2706 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2707 Fixes failures in parallel bootstrap because subdirs.el is being
2708 rewritten while the autoload files are built at the same time,
2709 which needs to load subdirs.el.
2710
2711 2012-07-26 Martin Rudalics <rudalics@gmx.at>
2712
2713 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2714 (mouse-drag-line): Don't exit tracking when a switch-frame or
2715 switch-window event occurs (Bug#12006).
2716
2717 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * mouse.el (popup-menu): Fix last change.
2720
2721 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 Autoload from Lisp with more care. Follow aliases when looking for
2724 function properties.
2725 * subr.el (autoloadp): New function.
2726 (symbol-file): Use it.
2727 (function-get): New function.
2728 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2729 autoload-do-load.
2730 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2731 (lisp-indent-function):
2732 * emacs-lisp/gv.el (gv-get):
2733 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2734 * emacs-lisp/byte-opt.el (byte-optimize-form):
2735 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2736 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2737 Use function-get.
2738 * emacs-lisp/cl.el: Don't propagate function properties any more.
2739
2740 * speedbar.el (speedbar-add-localized-speedbar-support):
2741 * emacs-lisp/disass.el (disassemble-internal):
2742 * desktop.el (desktop-load-file):
2743 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2744 (describe-function-1):
2745 * emacs-lisp/find-func.el (find-function-noselect):
2746 * emacs-lisp/elp.el (elp-instrument-function):
2747 * emacs-lisp/advice.el (ad-has-proper-definition):
2748 * apropos.el (apropos-safe-documentation, apropos-macrop):
2749 * emacs-lisp/debug.el (debug-on-entry):
2750 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2751 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2752 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2753
2754 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2755
2756 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2757 function, not an obsolete variable (Bug#12046).
2758
2759 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2760
2761 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2762
2763 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2764
2765 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2766 window only if it is still live (Bug#12034).
2767
2768 2012-07-25 Martin Rudalics <rudalics@gmx.at>
2769
2770 * subr.el (redirect-frame-focus): Add advertised calling
2771 convention (Bug#12030).
2772
2773 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2774
2775 Prefer typical American spelling for "acknowledgment".
2776 * vc/add-log.el (change-log-acknowledgment): Rename from
2777 change-log-acknowledgement, with an alias for the old name.
2778
2779 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2780
2781 * calc-alg.el (math-simplify-divide): Don't cross multiply
2782 in an equation when the lhs is a variable.
2783
2784 2012-07-24 Julien Danjou <julien@danjou.info>
2785
2786 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2787 Remove, unused.
2788
2789 2012-07-23 Eli Zaretskii <eliz@gnu.org>
2790
2791 * startup.el (command-line): Don't display an empty user name in
2792 the error message about non-existent home directory, when
2793 init-file-user was set to an empty string. See
2794 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2795 for the details and context.
2796
2797 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2798
2799 * ses.el (ses-cell-formula-aset): New macro.
2800 (ses-cell-references-aset): New macro.
2801 (ses-cell-p): New function.
2802 (ses-rename-cell): Do no longer rely on complex operations like
2803 ses-cell-set-formula or ses-set-cell to change the cell and handle
2804 the undo at the same time, but rather use lower level new macros
2805 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2806 the undo directly. Refresh the mode line.
2807
2808 2012-07-21 Leo Liu <sdl.web@gmail.com>
2809
2810 * progmodes/cc-cmds.el (c-defun-name):
2811 Use match-string-no-properties instead for consistency.
2812
2813 2012-07-20 Leo Liu <sdl.web@gmail.com>
2814
2815 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2816 (Bug#7879)
2817
2818 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2819
2820 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2823 * progmodes/bug-reference.el, misearch.el: Provide themselves
2824 (bug#11915).
2825
2826 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2827 of narrowed buffer (bug#11966).
2828
2829 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2830
2831 * ses.el (ses-rename-cell): Set new name also in reference list of
2832 cells of which the renamed cell depends.
2833
2834 2012-07-20 Masatake YAMATO <yamato@redhat.com>
2835
2836 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2837 to check whether menu-bar is shown or not. If not shown,
2838 show the menu-bar as a popup menu instead of using tmm.
2839 * mouse.el (popup-menu): Accept `point' as `position' argument.
2840
2841 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2842
2843 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2844 up inside string symbol literal (bug#11923).
2845
2846 2012-07-20 Eli Zaretskii <eliz@gnu.org>
2847
2848 * startup.el (fancy-startup-text): Read the whole tutorial, not
2849 just its first 256 bytes. Prevents gibberish in display of the
2850 tutorial title.
2851
2852 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2853
2854 Drop idle buffer compaction due to an absence of the
2855 proved efficiency.
2856 * compact.el: Remove.
2857
2858 2012-07-19 Sam Steingold <sds@gnu.org>
2859
2860 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2861 vc-bzr-pull & vc-bzr-merge-branch.
2862 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2863 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2864 for consistency with compilation-error-regexp-alist.
2865 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2866 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2867 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2868 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2869
2870 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2871
2872 * emacs-lisp/chart.el: Use lexical-binding.
2873 (chart-emacs-storage): Don't hardcode the list of entries.
2874
2875 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2876
2877 Next round of tweaks caused by Fgarbage_collect changes.
2878 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2879
2880 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2881
2882 Compact buffers when idle.
2883 * compact.el: New file.
2884
2885 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2886
2887 * subr.el (eventp): Presume that if it looks vaguely like an event,
2888 it's an event (bug#10190).
2889
2890 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2891
2892 Enhancements to ppss related code (thanks Stefan).
2893 * progmodes/python.el (python-indent-context)
2894 (python-indent-calculate-indentation, python-indent-dedent-line)
2895 (python-indent-electric-colon, python-nav-forward-block)
2896 (python-mode-abbrev-table)
2897 (python-info-assignment-continuation-line-p): Simplify checks
2898 for ppss context.
2899 (python-info-continuation-line-p): Cleanup.
2900 (python-info-ppss-context): Do not catch 'quote.
2901 (python-info-ppss-context-type)
2902 (python-info-ppss-comment-or-string-p): Simplify.
2903
2904 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2905
2906 * progmodes/python.el: Enhancements to eldoc support.
2907 (python-info-current-symbol): New function.
2908 (python-eldoc-at-point): Use python-info-current-symbol.
2909 (python-info-current-defun): Fix cornercase on first defun scan.
2910 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2911 and signal error when no inferior python process is available.
2912
2913 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2914
2915 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2916 assume it's always t.
2917 (vc-git-registered): Remove caching, the function is only called
2918 once.
2919 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2920
2921 2012-07-18 Chong Yidong <cyd@gnu.org>
2922
2923 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2924
2925 * simple.el (count-words): Report on narrowing (Bug#9959).
2926
2927 * bindings.el: Bind M-= to count-words.
2928
2929 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2930
2931 2012-07-18 Masatake YAMATO <yamato@redhat.com>
2932
2933 * progmodes/sh-script.el (sh-imenu-generic-expression):
2934 Capture a function with `function' keyword and without parentheses
2935 like "function FOO" (bug#11856).
2936
2937 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2938
2939 * window.el (split-window-sensibly): Make WINDOW argument
2940 optional.
2941
2942 2012-07-18 Chong Yidong <cyd@gnu.org>
2943
2944 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2945
2946 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2947 and make C-x 8 RET exit isearch (Bug#11439).
2948
2949 * international/iso-transl.el: Move isearch-mode-map key
2950 definitions to isearch.el.
2951
2952 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2955 (eieio-defclass): Use gv-define-setter when possible.
2956
2957 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2958
2959 Reflect recent changes in Fgarbage_collect.
2960 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2961 reflect new format of data returned by Fgarbage_collect.
2962
2963 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2964
2965 New utility functions + python-info-ppss-context fix (Bug#11910).
2966 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2967 (python-info-ppss-comment-or-string-p): New functions.
2968 (python-info-ppss-context): Small fix for string check.
2969
2970 2012-07-17 Juri Linkov <juri@jurta.org>
2971
2972 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2973 (dired-do-async-shell-command): Don't add `*' at the end of the
2974 command (Bug#11815).
2975 (dired-do-shell-command): Doc fix.
2976 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2977 Join the individual commands using either "&" or ";" as the
2978 separator depending on the values of these trailing characters.
2979 At the end re-add the trailing "&". (Bug#10598)
2980
2981 * simple.el (async-shell-command): Sync the interactive spec with
2982 `shell-command'. Doc fix.
2983 (shell-command): Doc fix.
2984
2985 2012-07-17 Juri Linkov <juri@jurta.org>
2986
2987 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2988
2989 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2990
2991 Final renames and doc fixes for movement commands (bug#11899).
2992 * progmodes/python.el (python-nav-beginning-of-statement):
2993 Rename from python-nav-statement-start.
2994 (python-nav-end-of-statement): Rename from
2995 python-nav-statement-end.
2996 (python-nav-beginning-of-block): Rename from
2997 python-nav-block-start.
2998 (python-nav-end-of-block): Rename from python-nav-block-end.
2999
3000 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3001
3002 * progmodes/python.el (python-shell-send-string-no-output):
3003 Allow accept-process-output to quit, keeping shell process ready for
3004 future interactions (Bug#11868).
3005
3006 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3009
3010 * emacs-lisp/elint.el (elint-find-args-in-code):
3011 Use help-function-arglist, so as to handle lexical byte-code.
3012
3013 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3014 change (bug#11826).
3015
3016 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3019 Avoid spuriously marking the buffer as modified because of c-is-sws.
3020
3021 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3022 as not-a-comment (bug#11946).
3023
3024 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3025 for uninterned vars.
3026
3027 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3028 Use read-event since we don't really want to read chars but bytes.
3029
3030 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3031 $$..$$ but also $..$ using regexps (bug#11953).
3032 Use tex-verbatim for \url and \path.
3033 (tex-font-lock-keywords): Define as defconst like the others.
3034 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3035
3036 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3037
3038 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3039 alias for insert-char.
3040
3041 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3042
3043 * progmodes/python.el: Simplified imenu implementation.
3044 (python-nav-jump-to-defun): Remove command.
3045 (python-mode-map): Use `imenu' instead.
3046 (python-nav-list-defun-positions-cache)
3047 (python-imenu-include-defun-type, python-imenu-make-tree)
3048 (python-imenu-subtree-root-label, python-imenu-index-alist):
3049 Remove vars.
3050 (python-nav-list-defun-positions, python-nav-read-defun)
3051 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3052 (python-imenu-make-tree, python-imenu-create-index):
3053 Remove functions.
3054 (python-mode): Update to interact with imenu by setting
3055 `imenu-extract-index-name-function' only.
3056
3057 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3058
3059 * progmodes/python.el: Enhancements to navigation commands.
3060 (python-nav-backward-sentence)
3061 (python-nav-forward-sentence): Remove.
3062 (python-nav-backward-statement, python-nav-forward-statement)
3063 (python-nav-statement-start, python-nav-statement-end)
3064 (python-nav-backward-block, python-nav-forward-block)
3065 (python-nav-block-start, python-nav-block-end)
3066 (python-nav-forward-sexp-function)
3067 (python-info-current-line-comment-p)
3068 (python-info-current-line-empty-p): New functions.
3069 (python-indent-context): Use `python-nav-statement-start'.
3070
3071 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3072
3073 * eshell/em-ls.el (eshell/ls): Use `apply'.
3074
3075 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3076 multi-hops, instead of Tramp internals.
3077
3078 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3079
3080 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3081 when F1 and F2 are located on different hosts.
3082
3083 2012-07-14 Chong Yidong <cyd@gnu.org>
3084
3085 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3086 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3087 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3088 (xterm-mouse--read-event-sequence-1000)
3089 (xterm-mouse--read-event-sequence-1006): New functions. For old
3090 mouse protocol, handle M-mouse-X events correctly.
3091 (xterm-mouse-event): New arg specifying mouse protocol.
3092 (turn-on-xterm-mouse-tracking-on-terminal)
3093 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3094 sequence to toggle extended coordinates on newer XTerms.
3095 This appears to be harmless on terminals which do not support this.
3096
3097 2012-07-14 Leo Liu <sdl.web@gmail.com>
3098
3099 Add fringe bitmap indicators for flymake. (Bug#11253)
3100 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3101 (flymake-make-overlay): New arg BITMAP.
3102 (flymake-error-bitmap, flymake-warning-bitmap)
3103 (flymake-fringe-indicator-position): New user variables.
3104
3105 * fringe.el: New bitmap exclamation-mark.
3106
3107 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3108
3109 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3110 also (Bug#7879).
3111
3112 2012-07-14 Chong Yidong <cyd@gnu.org>
3113
3114 * electric.el (electric-pair-post-self-insert-function): Fix pair
3115 insertion in empty-region case (Bug#11520).
3116
3117 2012-07-14 Chong Yidong <cyd@gnu.org>
3118
3119 * bindings.el: Consolidate ctl-x-r-map bindings.
3120 Bind copy-rectangle-as-kill to C-x r w.
3121
3122 * rect.el, register.el: Move bindings to bindings.el.
3123
3124 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3125
3126 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3127
3128 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3129
3130 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3131
3132 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3133
3134 * bindings.el (top): Use `mapc' instead of `mapcar'.
3135
3136 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3137
3138 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3139
3140 * progmodes/sql.el (sql-comint): Suppress the check for program on
3141 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3142 (Bug#11908)
3143
3144 2012-07-13 Chong Yidong <cyd@gnu.org>
3145
3146 * bindings.el: Assign a non-nil permanent-local property to
3147 per-buffer variables which lack a default value (Bug#11930).
3148
3149 * help-fns.el (describe-variable): In the "automatically becomes
3150 local" notice, take note of permanent-local variables.
3151
3152 2012-07-13 Chong Yidong <cyd@gnu.org>
3153
3154 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3155 to allow printing the message when called from Lisp.
3156
3157 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3158 Remove toggle-read-only.
3159
3160 * bs.el (bs-toggle-readonly):
3161 * buff-menu.el (Buffer-menu-toggle-read-only):
3162 Remove with-no-warnings around toggle-read-only.
3163
3164 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3165 Remove with-no-warnings around toggle-read-only.
3166 (ffap-read-only, ffap-read-only-other-window)
3167 (ffap-read-only-other-frame): Callers changed.
3168
3169 * help-mode.el: Don't require view package.
3170 (help-mode-finish): Set buffer-read-only instead of calling
3171 toggle-read-only.
3172
3173 * bindings.el (mode-line-toggle-read-only):
3174 * dired.el (dired-toggle-read-only):
3175 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3176 with non-nil second arg.
3177
3178 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3179 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3180 directly.
3181
3182 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3183
3184 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3185 not incf.
3186
3187 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 More CL cleanups and reduction of use of cl.el.
3190 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3191 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3192 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3193 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3194 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3195 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3196 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3197 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3198 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3199 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3200 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3201 * eshell/em-cmpl.el, eshell/em-banner.el:
3202 * calendar/parse-time.el: Use cl-lib.
3203 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3204 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3205 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3206 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3207 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3208 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3209 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3210 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3211 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3212 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3213 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3214 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3215 `lambda' rather than with `quote'.
3216 (eshell-do-opt): Adjust accordingly.
3217 (eshell-process-option): Simplify.
3218 * eshell/esh-var.el:
3219 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3220 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3221 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3222 to `pcase--dontcare'.
3223 * emacs-lisp/cl.el (labels): Mark obsolete.
3224 (cl--letf, letf): Move to cl-lib.
3225 (cl--letf*, letf*): Remove.
3226 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3227 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3228 (cl-progv): Rewrite.
3229 (cl--letf, cl-letf): Move from cl.el.
3230 (cl-letf*): New macro.
3231 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3232
3233 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3236
3237 2012-07-11 Chong Yidong <cyd@gnu.org>
3238
3239 * vc/log-edit.el (log-edit-vc-backend): New variable.
3240 (log-edit): Doc fix.
3241
3242 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3243 argument of log-edit to set up all local variables.
3244 (vc-start-logentry): New optional arg specifying VC backend.
3245
3246 * vc/vc.el (vc-checkin): Use it.
3247 (vc-deduce-fileset): Handle Log Edit buffers.
3248 (vc-diff): Make first argument optional too.
3249
3250 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3251
3252 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3253
3254 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3255 command, just in case. The function is not needed anymore.
3256 (eshell-external-command): Do not call `eshell-remote-command'.
3257
3258 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3259
3260 Reduce use of (require 'cl).
3261 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3262 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3263 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3264 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3265 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3266 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3267 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3268 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3269 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3270 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3271 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3272 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3273 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3274 (byte-compile-unfold-bcf, byte-compile-check-variable):
3275 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3276 (byte-compile-nilconstp):
3277 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3278 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3279
3280 * emacs-lisp/gv.el (cond): Make it a valid place.
3281 (if): Simplify slightly.
3282
3283 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3284 (pcase--self-quoting-p): New function.
3285 (pcase--u1): Use it.
3286
3287 2012-07-10 Glenn Morris <rgm@gnu.org>
3288
3289 * emacs-lisp/authors.el (authors-fixed-entries):
3290 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3291
3292 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3293
3294 Rename configure.in to configure.ac (Bug#11603).
3295 * emacs-lisp/authors.el (authors-canonical-file-name):
3296 * progmodes/autoconf.el (autoconf-mode):
3297 Prefer configure.ac to configure.in.
3298
3299 2012-07-08 Chong Yidong <cyd@gnu.org>
3300
3301 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3302 Implement the mouse-1-click-follows-link handling properly.
3303
3304 * info.el (Info-link-keymap): Use follow-link mechanism for
3305 header-line links (Bug#374).
3306
3307 * simple.el (deactivate-mark): Do not set the primary selection
3308 if another program has acquired it (Bug#11772).
3309
3310 2012-07-07 Kevin Ryde <user42@zip.com.au>
3311
3312 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3313 (woman-decode-region): Replace escaped-escapes without destroying
3314 bold or underline (Bug#11552).
3315 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3316
3317 2012-07-07 Chong Yidong <cyd@gnu.org>
3318
3319 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3320 (interprogram-cut-function, interprogram-paste-function):
3321 Mention that we typically mean the clipboard.
3322
3323 2012-07-06 Glenn Morris <rgm@gnu.org>
3324
3325 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3326
3327 * files.el (toggle-read-only): Restrict message to interactive use.
3328
3329 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3330
3331 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3332
3333 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3334
3335 2012-07-06 Glenn Morris <rgm@gnu.org>
3336
3337 * Makefile.in (compile-one-process): Rename from "recompile".
3338
3339 * Makefile.in (bzr-update): "compile" is the same as "recompile
3340 autoloads", but parallelizable, so use that instead.
3341
3342 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3343
3344 * window.el (quit-window): Always restore window height when
3345 it's saved in quit-restore parameter (Bug#11810).
3346
3347 2012-07-06 Glenn Morris <rgm@gnu.org>
3348
3349 * simple.el (kill-whole-line): Doc tweak.
3350
3351 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3352
3353 * files.el (file-relative-name): Compare file names
3354 case-insensitively if on MS-Windows or MS-DOS, or if
3355 read-file-name-completion-ignore-case is non-nil. Don't use
3356 case-fold-search for this purpose. (Bug#11827)
3357
3358 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3359
3360 * calendar/cal-dst.el (calendar-current-time-zone):
3361 Return calendar-current-time-zone-cache if non-nil.
3362
3363 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3364 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3365
3366 * calendar/cal-dst.el (calendar-current-time-zone):
3367 Return calendar-current-time-zone-cache if non-nil.
3368
3369 2012-07-06 Glenn Morris <rgm@gnu.org>
3370
3371 * Makefile.in (cvs-update): Remove old alias.
3372
3373 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3374
3375 Sync with Tramp 2.2.6-pre.
3376
3377 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3378 compatible declaration.
3379
3380 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3381 Protect `list-load-path-shadows' call.
3382
3383 * net/tramp-compat.el (top): Require packages, which aren't
3384 autoloaded anymore for XEmacs. Protect call of
3385 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3386 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3387 it hurts at least for SXEmacs.
3388 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3389 standard-value for `temporary-file-directory'.
3390
3391 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3392 Redirect stderr to /dev/null.
3393 (tramp-sh-handle-write-region): uid and gid can be floats.
3394 Reported by Russell Sim <russell.sim@gmail.com>.
3395 (tramp-sh-handle-vc-registered): Hide errors.
3396 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3397 and `start-file-process'.
3398 (tramp-maybe-open-connection): Check also whether `non-essential'
3399 is bound.
3400
3401 2012-07-04 Chong Yidong <cyd@gnu.org>
3402
3403 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3404 (xml-parse-tag): Likewise, and avoid changing entity tables.
3405 (xml-syntax-table): Define from scratch, making sure not to give
3406 x2000 and other Unicode spaces whitespace syntax, since those are
3407 not spaces in XML.
3408 (xml-parse-fragment): Delete unused function.
3409 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3410 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3411 (xml-entity-ref, xml-pe-reference-re)
3412 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3413 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3414 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3415 (xml-entity-value-re): Use syntax references in regexps where
3416 possible; no need to define inside a let-binding.
3417 (xml-parse-dtd): Use xml-pe-reference-re.
3418 (xml-entity-or-char-ref-re): New defconst.
3419 (xml-parse-string, xml-substitute-special): Use it.
3420
3421 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3424 (find-file--read-only): New function.
3425 (find-file-read-only, find-file-read-only-other-window)
3426 (find-file-read-only-other-frame): Use it.
3427 (insert-file-contents-literally): Don't `fset'.
3428 (get-free-disk-space): Use locate-dominating-file.
3429
3430 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3431 function is already compiled.
3432
3433 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3434
3435 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3436
3437 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3438 files on the same host.
3439
3440 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3441
3442 * help-fns.el (describe-function-1): Only call
3443 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3444
3445 2012-07-03 Chong Yidong <cyd@gnu.org>
3446
3447 * xml.el: Protect parser against XML bombs.
3448 (xml-entity-expansion-limit): New variable.
3449 (xml-parse-string, xml-substitute-special): Use it.
3450 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3451
3452 2012-07-03 Glenn Morris <rgm@gnu.org>
3453
3454 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3455 Allow linking to specific messages in debbugs reports (eg 123#5).
3456
3457 2012-07-02 Chong Yidong <cyd@gnu.org>
3458
3459 * xml.el: Fix entity and character reference expansion, allowing
3460 them to expand into markup as per XML spec.
3461 (xml-default-ns): New variable.
3462 (xml-entity-alist): Use XML spec definitions for lt and amp.
3463 (xml-parse-region): Make first two arguments optional.
3464 Discard text properties.
3465 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3466 All callers changed.
3467 (xml-parse-tag): Call xml-parse-tag-1. For backward
3468 compatibility, this function should not modify buffer contents.
3469 (xml-parse-tag-1): Fix opening-tag regexp.
3470 (xml-parse-string): Rewrite, handling entity and character
3471 references properly.
3472 (xml--entity-replacement-text): Signal an error if a parameter
3473 entity is undefined.
3474
3475 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * comint.el (comint-output-filter): Filter out repeated prompts.
3478
3479 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3480 and file-name-absolute-p.
3481 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3482 internal calls.
3483
3484 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3485
3486 Spelling fixes.
3487 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3488 Rename from byte-compile--refiy-function. All uses changed.
3489
3490 2012-07-01 Chong Yidong <cyd@gnu.org>
3491
3492 * xml.el (xml--parse-buffer): New function. Move most of
3493 xml-parse-region here.
3494 (xml-parse-region): Copy region into a temporary buffer, since
3495 parameter entity substitution requires changing buffer contents.
3496 Use xml--parse-buffer.
3497 (xml-parse-file): Use xml--parse-buffer.
3498 (xml-parse-dtd): Make parameter entity substitution work right.
3499 Use proper regexps for ELEMENT declarations (Bug#7172).
3500
3501 2012-06-30 Glenn Morris <rgm@gnu.org>
3502
3503 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3504
3505 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3506 Remove outdated and unnecessary dbus declarations.
3507
3508 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3509
3510 * emacs-lisp/timer.el (timer-until): Subtract results of
3511 float-time, instead of taking float-time of the result of
3512 time-subtract, since float-time signals an error for negative time
3513 arguments.
3514
3515 2012-06-30 Chong Yidong <cyd@gnu.org>
3516
3517 * xml.el (xml-*-re): Convert defvars into defconsts, and
3518 eval-and-compile them so eval-and-compile works on derivatives.
3519 (xml--entity-replacement-text): Use eval-and-comple.
3520
3521 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3522
3523 * vc/vc-git.el (vc-git-registered): Use cache property
3524 `git-registered'.
3525 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3526 `vc-git-working-revision' in order to benefit from the cache.
3527 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3528
3529 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3530
3531 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3532 removed (likely outside Emacs). (Bug#11757)
3533
3534 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * emacs-lisp/cl-lib.el: Require macroexp.
3537
3538 2012-06-30 Chong Yidong <cyd@gnu.org>
3539
3540 * xml.el: Implement XML parameter entities.
3541 (xml-parameter-entity-alist): New variable.
3542 (xml-parse-region, xml-parse-fragment): Preserve previous values
3543 of xml-entity-alist and xml-parameter-entity-alist, so that
3544 repeated calls on different documents do not change them.
3545 (xml-parse-tag): Fix doctype regexp.
3546 (xml--entity-replacement-text): New function.
3547 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3548 properly requires url retrieval which is unimplemented.
3549 (xml-escape-string): Doc fix.
3550
3551 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3554
3555 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3556
3557 * fringe.el (fringe-mode): Doc fix.
3558
3559 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
3560
3561 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3562 is non-nil.
3563 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3564 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3565
3566 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3567
3568 * calendar/cal-dst.el (calendar-current-time-zone):
3569 Return calendar-current-time-zone-cache if non-nil.
3570
3571 2012-06-29 Masatake YAMATO <yamato@redhat.com>
3572
3573 * progmodes/which-func.el (which-func-format):
3574 Add mouse-face. (Bug#11698)
3575
3576 2012-06-29 Leo Liu <sdl.web@gmail.com>
3577
3578 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3579
3580 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 * minibuffer.el (minibuffer-confirm-exit-commands):
3583 Add completion-at-point (bug#11725).
3584
3585 2012-06-29 Glenn Morris <rgm@gnu.org>
3586
3587 * progmodes/f90.el (f90-font-lock-keywords-2):
3588 Add some preprocessor elements. (Bug#10499)
3589
3590 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3593 Use syntax-propertize (bug#11739).
3594
3595 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
3596
3597 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3598
3599 2012-06-28 Julien Danjou <julien@danjou.info>
3600
3601 * term.el (term-handle-colors-array): Use a set of new faces to
3602 color the terminal. Also uses :inverse-video property.
3603 (term-default-fg-color): Set to nil by default, deprecate in favor
3604 of `term-face'.
3605 (term-default-bg-color): Set to nil by default, deprecate in favor
3606 of `term-face'.
3607 (term-current-face): Use `term-face' by default.
3608 (term-bold-attribute): Variable deleted.
3609
3610 2012-06-28 Glenn Morris <rgm@gnu.org>
3611
3612 * simple.el (completion-list-mode-finish):
3613 Don't use toggle-read-only. (Since completion-list-mode has
3614 a special mode-class, it wasn't doing anything extra anyway.)
3615
3616 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 Make inlining of other-mode interpreted functions work (bug#11799).
3619 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3620 (byte-compile): Use it to fix compilation of lexical-binding closures.
3621 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3622 function, if needed.
3623
3624 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * help-mode.el (help-make-xrefs): Don't just withstand
3627 cyclic-variable-indirection but any error in documentation-property.
3628
3629 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3630 memory use.
3631 * bindings.el (bindings--define-key): New function.
3632 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3633 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3634 * bindings.el: Use it to purecopy define-key bindings.
3635
3636 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3637
3638 * emacs-lisp/cl.el (flet): Mark obsolete.
3639 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3640 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3641 * progmodes/js.el (js-c-fill-paragraph):
3642 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3643 (ebrowse-switch-member-buffer-to-derived-class):
3644 * play/5x5.el (5x5-solver): Use cl-flet.
3645
3646 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3647 (cl--symbol-function): New macro.
3648 (cl--letf, cl--letf*): Use it.
3649
3650 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3651 Strip "toggle-" if any.
3652
3653 2012-06-27 Glenn Morris <rgm@gnu.org>
3654
3655 * info.el (Info-default-directory-list): Move here from paths.el.
3656 * paths.el: Remove file, which is now empty.
3657 * loadup.el: No longer load "paths".
3658
3659 * custom.el (custom-initialize-delay): Doc fix.
3660
3661 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3662 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3663 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3664 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3665 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3666 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3667 * eshell/eshell.el (eshell-defgroup): Remove alias.
3668
3669 2012-06-27 Chong Yidong <cyd@gnu.org>
3670
3671 * help.el (help-enable-auto-load): New variable.
3672
3673 * help-fns.el (help-fns--autoloaded-p): New function.
3674 (describe-function-1): Refer to a function as "autoloaded" if it
3675 was autoloaded at any time in the past. Perform autoloading if
3676 help-enable-auto-load is non-nil.
3677
3678 2012-06-26 Eli Zaretskii <eliz@gnu.org>
3679
3680 * makefile.w32-in (compile, compile-always): Depend on
3681 update-subdirs, not on subdirs.el. Otherwise, several different
3682 sub-targets of 'bootstrap' running in parallel could
3683 simultaneously write to subdirs.el, producing a garbled file.
3684
3685 2012-06-26 Sam Steingold <sds@gnu.org>
3686
3687 * files.el (file-name-base): New convenience function.
3688 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3689 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3690 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3691 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3692 * textmodes/ispell.el, textmodes/reftex-ref.el:
3693 * textmodes/tex-mode.el: Use it.
3694 Did not touch cedet and org because they are maintained elsewhere.
3695
3696 2012-06-26 Martin Rudalics <rudalics@gmx.at>
3697
3698 * calendar/calendar.el (calendar-exit): Don't try to delete or
3699 iconify last frame. See:
3700 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3701
3702 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3703
3704 * server.el (server-process-filter): Remember dir in the
3705 process's `server-client-directory' properties.
3706
3707 2012-06-24 Chong Yidong <cyd@gnu.org>
3708
3709 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3710 non-tag text.
3711
3712 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
3713
3714 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3715
3716 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * help-fns.el (describe-variable): Don't croak when doc is not found.
3719 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3720 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3721 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3722 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3723 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3724 ((lambda ..) ..).
3725 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3726
3727 2012-06-23 Chong Yidong <cyd@gnu.org>
3728
3729 * info.el (Info-mouse-follow-link): Accept symbol values of
3730 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
3731 (Info-fontify-node): Use Info-link-keymap for all navigation
3732 buttons, with link-args property to perform the desired action.
3733 (Info-link-keymap): Doc fix.
3734 (Info-next-link-keymap, Info-prev-link-keymap)
3735 (Info-up-link-keymap): Delete now-unused keymaps.
3736
3737 2012-06-23 Chong Yidong <cyd@gnu.org>
3738
3739 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3740
3741 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3742 system abbrevs.
3743
3744 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3745
3746 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3749 (bug#11719).
3750
3751 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3752 the requote function doesn't work properly (bug#11714).
3753
3754 2012-06-23 Glenn Morris <rgm@gnu.org>
3755
3756 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3757
3758 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 Further GV/CL cleanups.
3761 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3762 gv-expander.
3763 (gv--defun-declaration): New function.
3764 (defun-declarations-alist): Use it.
3765 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3766 (gv-place): Autoload.
3767 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3768 original definition of dotimes and dolist.
3769 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3770 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3771 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3772 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3773 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3774 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3775 to the function's definition.
3776 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3777 * window.el:
3778 * files.el:
3779 * faces.el:
3780 * env.el: Don't use CL.
3781
3782 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3783
3784 Support higher-resolution time stamps (Bug#9000).
3785
3786 * calendar/time-date.el (with-decoded-time-value): New arg
3787 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3788 (encode-time-value): New optional arg PICO. New type 3.
3789 (time-to-seconds) [!float-time]: Support the new picoseconds
3790 component if it's used.
3791 (seconds-to-time, time-subtract, time-add):
3792 Support ps-resolution time stamps as well.
3793
3794 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3795 (timerp): Timer vectors now have length 9, not 8.
3796 (timer--time): Support new-style (4-part) time stamps.
3797 (timer-next-integral-multiple-of-time): Time stamps now have
3798 picosecond resolution, so take a bit more care about rounding.
3799 (timer-relative-time, timer-inc-time): New optional arg psecs.
3800 (timer-set-time-with-usecs): Set psecs to 0.
3801 (timer--activate): Check psecs component, too.
3802
3803 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3804
3805 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3808 Move the non-essential binding to the post/pre-command-hook where it is
3809 more obviously correct.
3810
3811 * subr.el (read-passwd): Don't use a history at all.
3812 * savehist.el (savehist-save): Remove password saved accidentally
3813 because of the above bug.
3814
3815 2012-06-22 Bastien Guerry <bzg@gnu.org>
3816
3817 * files.el (toggle-read-only): Display a message telling whether
3818 the buffer is read-only or not (bug#11726).
3819
3820 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * emacs-lisp/gv.el: New file.
3823 * subr.el (push, pop): Extend to generalized variables.
3824 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3825 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3826 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3827 gv-define-simple-setter, and gv-define-expander.
3828 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3829 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3830 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3831 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3832 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3833 gv-letplace.
3834 (cl-defstruct): Don't define setf-method any more.
3835 * emacs-lisp/cl.el (flet): Don't autoload.
3836 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3837 (define-setf-expander, defsetf, define-modify-macro)
3838 (cl-struct-setf-expander): Move from cl-lib.el.
3839 * emacs-lisp/syntax.el:
3840 * emacs-lisp/ewoc.el:
3841 * emacs-lisp/smie.el:
3842 * emacs-lisp/cconv.el:
3843 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3844 (timer--time): Use gv-define-simple-setter.
3845 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3846 to avoid coding-system problems in subr.el. Adjust all users.
3847 (macroexp--maxsize, macroexp-small-p): New functions.
3848 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3849 * scroll-bar.el (scroll-bar-mode):
3850 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3851 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3852 * winner.el (winner-configuration, winner-make-point-alist)
3853 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3854 * files.el (locate-file-completion-table): Avoid list*.
3855
3856 2012-06-22 Chong Yidong <cyd@gnu.org>
3857
3858 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3859 (dired-create-files): Doc fix (Bug#11329).
3860 (dired-do-copy): Doc fix (Bug#11334).
3861 (dired-mark-read-string): Doc fix (Bug#11553).
3862
3863 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3864 Doc fix (Bug#11326).
3865 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3866 (dired-dwim-target): Doc fix.
3867
3868 * wdired.el (wdired-mode): Doc fix.
3869
3870 2012-06-22 Glenn Morris <rgm@gnu.org>
3871
3872 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3873 (pcmpl-rpm-cache-stamp-file): New constant.
3874 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3875 (pcmpl-rpm-packages): Optionally cache list of packages.
3876
3877 * pcmpl-rpm.el (pcmpl-rpm): New group.
3878 (pcmpl-rpm-query-options): New option.
3879 (pcmpl-rpm-packages): No need to inline it.
3880 Use pcmpl-rpm-query-options.
3881
3882 * calendar/calendar.el (calendar-in-read-only-buffer):
3883 Avoid some needless mode changes.
3884
3885 2012-06-21 Chong Yidong <cyd@gnu.org>
3886
3887 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3888 (desktop-path): Remove . from the default value (Bug#10977).
3889 (desktop-read): Use user-emacs-directory if desktop-path is nil.
3890
3891 2012-06-20 Chong Yidong <cyd@gnu.org>
3892
3893 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3894
3895 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3896
3897 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3898 (bug#11201).
3899
3900 2012-06-20 Chong Yidong <cyd@gnu.org>
3901
3902 * term.el (term-window-width): Handle the case of a missing right
3903 fringe (Bug#8837).
3904 (term-check-size): Use window-text-height (Bug#5445).
3905 (term-mode): Use define-derived-mode. Minor cleanups.
3906 Set font-lock-defaults (Bug#7692).
3907 (term-move-columns, term-insert-char, term-emulate-terminal)
3908 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3909
3910 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
3911
3912 * net/ange-ftp.el (ange-ftp-get-passwd):
3913 Bind `enable-recursive-minibuffers'.
3914 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3915
3916 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3917
3918 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3919
3920 2012-06-19 Glenn Morris <rgm@gnu.org>
3921
3922 * progmodes/python.el (python-mode): Derive from prog-mode.
3923
3924 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3925
3926 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3927 (edt-user-menu-bar-update-buffers): New functions.
3928 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3929
3930 2012-06-19 Chong Yidong <cyd@gnu.org>
3931
3932 * subr.el (with-selected-window): Preserve the selected window's
3933 terminal's top-frame (Bug#4702).
3934
3935 * window.el (save-selected-window): Likewise.
3936
3937 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * progmodes/python.el (python-rx-constituents): Move backquote.
3940 (python-skeleton-define, python-define-auxiliary-skeleton):
3941 Use `declare'.
3942
3943 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
3944
3945 * minibuffer.el (read-file-name-default): Revert the patch from
3946 2012-06-17.
3947
3948 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3951 (pcase--u1, pcase--q1): Don't use apply-partially.
3952
3953 2012-06-18 Glenn Morris <rgm@gnu.org>
3954
3955 * progmodes/python.el (python-proc, python-buffer)
3956 (python-send-receive, python-send-string): Fix obsolete versions.
3957
3958 2012-06-18 Martin Rudalics <rudalics@gmx.at>
3959
3960 * window.el (special-display-p): Completely remove stringp
3961 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3962
3963 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
3964
3965 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3966
3967 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3968
3969 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3970 * net/tramp-sh.el (tramp-maybe-open-connection):
3971 Throw if `non-essential' is non-nil.
3972
3973 2012-06-17 Martin Rudalics <rudalics@gmx.at>
3974
3975 * window.el (special-display-p): Signal an error if BUFFER-NAME
3976 is not a string (Bug#11713).
3977
3978 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3979
3980 * progmodes/python.el (python-info-beginning-of-backslash):
3981 Rename from python-info-beginning-of-backlash, as a spelling fix.
3982
3983 2012-06-17 Chong Yidong <cyd@gnu.org>
3984
3985 * term.el (term-emulate-terminal): If term-check-size is called,
3986 move point to the process mark without resetting point (Bug#4635).
3987
3988 2012-06-17 Glenn Morris <rgm@gnu.org>
3989
3990 * international/mule-cmds.el (mule-menu-keymap)
3991 (set-language-environment, set-locale-environment): Doc tweaks.
3992
3993 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3994
3995 * cus-face.el (custom-face-attributes): Add wave-style underline
3996 attribute.
3997 * faces.el (set-face-attribute): Update docstring to describe
3998 wave-style underline attribute.
3999
4000 2012-06-16 Chong Yidong <cyd@gnu.org>
4001
4002 * term/xterm.el (terminal-init-xterm): Discard input before
4003 querying background mode (Bug#10959).
4004
4005 2012-06-16 Stefan Merten <smerten@oekonux.de>
4006
4007 * textmodes/rst.el: Added and corrected some comments.
4008 (rst-re-alist-def): Improve symbol syntax.
4009 (rst-mode-syntax-table): Correct syntax entries.
4010 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4011 (rst-official-version, rst-official-cvs-rev): Update version
4012 information.
4013
4014 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4015
4016 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4017 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4018
4019 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4020
4021 * progmodes/python.el: New python.el merge.
4022 (python-guess-indent): Obsolete var.
4023 (python-indent-guess-indent-offset): New defcustom.
4024 (python-indent): Obsolete var.
4025 (python-indent-offset): New defcustom.
4026 (python-python-command, python-jython-command): Delete var.
4027 (python-shell-interpreter): New defcustom.
4028 (python-pdbtrack-do-tracking-p): Delete var.
4029 (python-pdbtrack-activate): New defcustom.
4030 (python-use-skeletons): Obsolete var.
4031 (python-skeleton-autoinsert): New defcustom.
4032 (inferior-python-filter-regexp, python-continuation-offset)
4033 (python-honour-comment-indentation, python-indent-string-contents)
4034 (python-jython-packages, python-mode-hook)
4035 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4036 (python-shell-prompt-alist)
4037 (python-source-modes): Delete defcustoms.
4038 (python-check-buffer-name, python-eldoc-setup-code)
4039 (python-eldoc-string-code, python-ffap-setup-code)
4040 (python-ffap-string-code, python-fill-comment-function)
4041 (python-fill-decorator-function, python-fill-paren-function)
4042 (python-fill-string-function, python-imenu-include-defun-type)
4043 (python-imenu-make-tree, python-imenu-subtree-root-label)
4044 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4045 (python-shell-compilation-regexp-alist)
4046 (python-shell-completion-module-string-code)
4047 (python-shell-completion-pdb-string-code)
4048 (python-shell-completion-setup-code)
4049 (python-shell-completion-string-code)
4050 (python-shell-enable-font-lock, python-shell-exec-path)
4051 (python-shell-extra-pythonpaths)
4052 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4053 (python-shell-process-environment)
4054 (python-shell-prompt-block-regexp)
4055 (python-shell-prompt-output-regexp)
4056 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4057 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4058 (python-shell-virtualenv-path): New defcustoms.
4059 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4060 (inferior-python-mode-syntax-table, python--prompt-regexp)
4061 (python-buffer, python-command python-python-command)
4062 (python-default-template, python-imports, python-indent-index)
4063 (python-indent-list, python-indent-list-length)
4064 (python-mode-running, python-pdbtrack-is-tracking-p)
4065 (python-preoutput-continuation, python-preoutput-leftover)
4066 (python-preoutput-result, python-preoutput-skip-next-prompt)
4067 (python-prev-dir/file, python-recursing)
4068 (python-saved-check-command, python-version-checked)
4069 (python-which-func-length-limit)
4070 (view-return-to-alist): Delete vars.
4071 (python-check-custom-command, python-dotty-syntax-table)
4072 (python-imenu-index-alist, python-indent-current-level)
4073 (python-indent-dedenters, python-indent-levels)
4074 (python-nav-beginning-of-defun-regexp)
4075 (python-nav-list-defun-positions-cache)
4076 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4077 (python-shell-internal-buffer)
4078 (python-skeleton-available): New vars.
4079 (def-python-skeleton): Delete macro.
4080 (python-skeleton-define): New macro.
4081 (python-define-auxiliary-skeleton, python-rx): New macros.
4082 (python-insert-class): Delete command.
4083 (python-skeleton-class): New command.
4084 (python-insert-def): Delete command.
4085 (python-skeleton-def): New command.
4086 (python-insert-for): Delete command.
4087 (python-skeleton-for): New command.
4088 (python-insert-if): Delete command.
4089 (python-skeleton-if): New command.
4090 (python-insert-try/except, python-insert-try/finally): Delete commands.
4091 (python-skeleton-try): New command.
4092 (python-insert-while): Delete command.
4093 (python-skeleton-while): New command.
4094 (python-backspace): Delete command.
4095 (python-indent-dedent-line-backspace): New command.
4096 (python-electric-colon): Delete command.
4097 (python-indent-electric-colon): New command.
4098 (python-guess-indent): Delete command.
4099 (python-indent-guess-indent-offset): New command.
4100 (python-shift-left): Delete command.
4101 (python-indent-shift-left): New command.
4102 (python-shift-right): Delete command.
4103 (python-indent-shift-right): New command.
4104 (python-find-function): Delete command.
4105 (python-nav-jump-to-defun): New command.
4106 (python-next-statement): Delete command.
4107 (python-nav-forward-sentence): New command.
4108 (python-previous-statement): Delete command.
4109 (python-nav-backward-sentence): New command.
4110 (python-fill-paragraph): Delete command.
4111 (python-fill-paragraph-function): New command.
4112 (python-send-buffer): Delete command.
4113 (python-shell-send-buffer): New command.
4114 (python-send-defun): Delete command.
4115 (python-shell-send-defun): New command.
4116 (python-send-region, python-send-region-and-go): Delete commands.
4117 (python-shell-send-region)
4118 (python-shell-switch-to-shell): New commands.
4119 (python-send-string): Delete command.
4120 (python-shell-send-string): New command.
4121 (python-switch-to-python): Delete command.
4122 (python-shell-switch-to-shell): New command.
4123 (python-describe-symbol): Delete command.
4124 (python-eldoc-at-point): New command.
4125 (python--set-prompt-regexp, python-args-to-list)
4126 (python-after-info-look, python-check-version)
4127 (python-check-comint-prompt, python-find-imports)
4128 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4129 (python-unload-function, python-expand-template)
4130 (python-maybe-jython, python-preoutput-filter)
4131 (python-pdbtrack-get-source-buffer)
4132 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4133 (python-pdbtrack-toggle-stack-tracking)
4134 (python-pdbtrack-track-stack-file, python-initial-text)
4135 (python-first-word, python-comment-line-p, python-send-command)
4136 (python-setup-brm, python-sentinel, python-set-proc)
4137 (python-skip-out, python-input-filter, python-outdent-p)
4138 (python-outline-level, python-backslash-continuation-line-p)
4139 (python-end-of-block, python-end-of-statement, python-mark-block)
4140 (python-beginning-of-block, python-beginning-of-statement)
4141 (python-blank-line-p, python-beginning-of-string)
4142 (python-open-block-statement-p): Delete functions.
4143 (python-indent-line, python-indent-line-1): Delete functions.
4144 (python-indent-line): New function.
4145 (python-indentation-levels): Delete function.
4146 (python-indent-calculate-levels): New function.
4147 (python-proc): Delete function.
4148 (python-shell-get-process): New function.
4149 (python-send-receive): Delete function.
4150 (python-shell-send-string-no-output): New function.
4151 (python-module-path): Delete function.
4152 (python-ffap-module-path): New function.
4153 (python-completion-at-point)
4154 (python-symbol-completions): Delete functions.
4155 (python-completion-complete-at-point): New function.
4156 (python-load-file): Delete function.
4157 (python-shell-send-file): New function.
4158 (python-calculate-indentation): Delete function.
4159 (python-indent-calculate-indentation): New function.
4160 (python-skip-comments/blanks): Delete function.
4161 (python-util-forward-comment): New function.
4162 (python-continuation-line-p): Delete function.
4163 (python-info-continuation-line-p): New function.
4164 (python-which-func, python-current-defun): Delete function.
4165 (python-info-current-defun): New function.
4166 (python-beginning-of-defun): Delete function.
4167 (python-nav-beginning-of-defun): New function.
4168 (python-close-block-statement-p)
4169 (python-block-end-p): Delete function.
4170 (python-info-closing-block): New function.
4171 (python-comint-output-filter-function)
4172 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4173 (python-fill-comment, python-fill-decorator, python-fill-paren)
4174 (python-fill-string, python-imenu-make-element-tree)
4175 (python-imenu-make-tree, python-imenu-tree-assoc)
4176 (python-indent-context, python-indent-dedent-line)
4177 (python-indent-line-function)
4178 (python-indent-post-self-insert-function)
4179 (python-indent-toggle-levels)
4180 (python-info-assignment-continuation-line-p)
4181 (python-info-beginning-of-backlash)
4182 (python-info-block-continuation-line-p)
4183 (python-info-closing-block-message)
4184 (python-info-line-ends-backslash-p)
4185 (python-info-looking-at-beginning-of-defun)
4186 (python-info-ppss-context, python-info-ppss-context-type)
4187 (python-nav-list-defun-positions, python-nav-read-defun)
4188 (python-nav-sentence-end, python-nav-sentence-start)
4189 (python-pdbtrack-comint-output-filter-function)
4190 (python-pdbtrack-set-tracked-buffer)
4191 (python-shell-calculate-exec-path)
4192 (python-shell-calculate-process-environment)
4193 (python-shell-completion--do-completion-at-point)
4194 (python-shell-completion--get-completions)
4195 (python-shell-completion-complete-at-point)
4196 (python-shell-completion-complete-or-indent)
4197 (python-shell-get-or-create-process)
4198 (python-shell-get-process-name)
4199 (python-shell-internal-get-or-create-process)
4200 (python-shell-internal-get-process-name)
4201 (python-shell-internal-send-string, python-shell-make-comint)
4202 (python-shell-parse-command, python-shell-send-setup-code)
4203 (python-skeleton-add-menu-items)
4204 (python-util-clone-local-variables, python-util-position)
4205 (run-python-internal, python-indentation-levels)
4206 (python-nav-beginning-of-defun)
4207 (python-completion-complete-at-point): New functions.
4208 (run-python): Change arguments. New API requirements.
4209
4210 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4213 (bug#11649).
4214
4215 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4216 (macroexp--expand-all): Use it.
4217
4218 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4219 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4220 Use `cl-function' instead.
4221
4222 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4223
4224 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4225 Suggested by Stefan Monnier while discussing bug#11657.
4226
4227 2012-06-14 Sam Steingold <sds@gnu.org>
4228
4229 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4230
4231 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4232
4233 * play/doctor.el (doctor-doc): Remove parameter and use
4234 doctor-sent instead of sent.
4235 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4236
4237 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * files.el: Require cl-lib.
4240 (file-name-non-special): Replace case -> cl-case.
4241
4242 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4243
4244 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4245 mapping from #' to function*.
4246
4247 2012-06-13 Chong Yidong <cyd@gnu.org>
4248
4249 * mouse.el (mouse-drag-track): Do not set the mark if the user
4250 releases the mouse without selecting anything (Bug#11588).
4251
4252 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4255 as well (bug#11646).
4256
4257 * loadup.el: Count byte-code functions as well.
4258
4259 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4260 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4261
4262 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4263 (bug#11649). Add cl-defun and cl-defmacro.
4264
4265 2012-06-13 Drew Adams <drew.adams@oracle.com>
4266
4267 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4268 Fix last change.
4269
4270 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4271
4272 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4273 Otherwise, it blocks in batch mode.
4274
4275 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4276
4277 * help-mode.el (bookmark-make-record-default): Declare.
4278
4279 2012-06-13 Chong Yidong <cyd@gnu.org>
4280
4281 * emacs-lisp/package.el (list-packages): Compute a list of
4282 packages that are newly-available since the last list-packages
4283 invocation.
4284 (package-menu--new-package-list): New var.
4285 (package-menu--generate, package-menu--print-info)
4286 (package-menu--status-predicate, package-menu-mark-install):
4287 Handle new status label "new".
4288
4289 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4292 conversion to backquotes.
4293
4294 2012-06-12 Chong Yidong <cyd@gnu.org>
4295
4296 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4297 Rename from gud-inhibit-global-bindings.
4298
4299 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4300
4301 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4302 hook from nxml-glyph-set-hook.
4303
4304 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4305 declaration.
4306
4307 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4308
4309 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4310 Convert to defcustom.
4311
4312 2012-06-12 Drew Adams <drew.adams@oracle.com>
4313
4314 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4315 New functions.
4316 (help-mode): Use them.
4317
4318 2012-06-11 Glenn Morris <rgm@gnu.org>
4319
4320 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4321 Use preprocessor face for directives.
4322 (fortran-directive-re): Doc fix.
4323
4324 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4327 conversion to backquotes (bug#11652).
4328
4329 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4330 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4331 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4332 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4333 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4334 (cl-ninth, cl-tenth): Mark them as inlinable.
4335 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4336 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4337 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4338 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4339 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4340 (cl-list*, cl-adjoin): Don't put an autoload manually.
4341 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4342 (cl--compiler-macro-list*): Add autoload cookie.
4343 (cl--compiler-macro-cXXr): New function.
4344
4345 * help-fns.el (help-fns--compiler-macro): New function extracted from
4346 describe-function-1; follow aliases and use `compiler-macro' property.
4347 (describe-function-1): Use it.
4348
4349 2012-06-11 Chong Yidong <cyd@gnu.org>
4350
4351 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4352 is uninstalled, if imagemagick is installed.
4353
4354 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/cl-lib.el: Use lexical-binding.
4357 (cl-map-extents, cl-maclisp-member): Remove.
4358 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4359 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4360 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4361 * emacs-lisp/cl-extra.el: Use lexical-binding.
4362 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4363 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4364 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4365 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4366 * emacs-lisp/cl-seq.el: Use lexical-binding.
4367 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4368 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4369 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4370 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4371 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4372 CL's internals.
4373
4374 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4375
4376 Sync with Tramp 2.2.6-pre.
4377
4378 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4379 `print-length' and `print-level' to nil, in order to avoid
4380 truncation. Reported by Christopher Schmidt
4381 <christopher@ristopher.com>.
4382
4383 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4384
4385 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4386 New defmacro.
4387 (tramp-compat-copy-directory): Add optional argument
4388 COPY-CONTENTS. It is not handled yet.
4389
4390 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4391 (tramp-ftp-file-name-p): Simplify.
4392
4393 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4394 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4395 connection vector.
4396
4397 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4398 (tramp-methods): Do not use `tramp-password-end-of-line'.
4399 (tramp-completion-function-alist-putty): Handle UNIX case.
4400 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4401 (tramp-do-file-attributes-with-stat)
4402 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4403 gid as real numbers. They could run out of integer range on cygwin.
4404 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4405 (tramp-sh-handle-expand-file-name): Handle hops.
4406 (tramp-open-connection-setup-interactive-shell):
4407 Use `tramp-cleanup'. Move check for busyboxes ...
4408 (tramp-find-shell): ... here. Simplify implementation.
4409 Set "remote-shell" property also for alternative shells.
4410 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4411 If failing, a regular file would be written otherwise.
4412 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4413 (tramp-find-inline-encoding): Cache the coding commands in the
4414 process cache. Apply test command on the remote side, if defined.
4415 (tramp-find-inline-compress): Cache the compress commands in the
4416 process cache.
4417 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4418 when requested. Handle hops.
4419 (tramp-current-connection): New defvar.
4420 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4421 Throw `suppress', if there was a failed connection shortly before.
4422 Handle user interrupt. (Bug#10187)
4423 (tramp-get-inline-compress, tramp-get-inline-coding):
4424 Read connection properties from the process cache.
4425
4426 * net/tramp-smb.el (tramp-smb-server-version)
4427 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4428 New defconsts.
4429 (tramp-smb-prompt): Extend for powershell prompt.
4430 (tramp-smb-file-name-handler-alist): Add handlers for
4431 `process-file', `shell-command' and `start-file-process'.
4432 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4433 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4434 (tramp-smb-file-name-p): Simplify.
4435 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4436 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4437 (tramp-smb-shell-quote-argument): New defuns.
4438 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4439 Implement using "tar". By this, time-stamps are preserved.
4440 (tramp-smb-handle-copy-file): Handle also the case of directories.
4441 (tramp-smb-do-file-attributes-with-stat)
4442 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4443 Use `tramp-get-connection-buffer').
4444 (tramp-smb-handle-rename-file): Use "rename", when source and
4445 target are on the same share.
4446 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4447 Use `tramp-smb-server-version'.
4448 (tramp-smb-wait-for-output): Remove prompt.
4449
4450 * net/tramp.el (top): Require 'cl.
4451 (tramp-methods, tramp-rsh-end-of-line):
4452 Remove `tramp-password-end-of-line' from docstring.
4453 (tramp-save-ad-hoc-proxies): New defcustom.
4454 (tramp-completion-function-alist): Adapt docstring.
4455 (tramp-default-password-end-of-line): Remove defcustom.
4456 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4457 (tramp-user-regexp, tramp-file-name-regexp-unified)
4458 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4459 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4460 (tramp-remote-file-name-spec-regexp): New defconst.
4461 (tramp-file-name-structure): Extend structure for hops.
4462 (tramp-get-method-parameter): Move up.
4463 (tramp-file-name-p, tramp-dissect-file-name)
4464 (with-parsed-tramp-file-name): Handle hops.
4465 (tramp-file-name-hop): New defun.
4466 (tramp-make-tramp-file-name): New optional arg HOP.
4467 (tramp-message-show-progress-reporter-message): New defvar.
4468 (tramp-with-progress-reporter): Use it. We cannot use
4469 `tramp-message-show-message' here, because this suppresses also
4470 error buffers.
4471 (tramp-error-with-buffer): Suppress buffer view, if
4472 `tramp-message-show-message' is nil.
4473 Use `tramp-get-connection-buffer'.
4474 (tramp-cleanup): New defun.
4475 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4476 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4477 an error unchanged.
4478 (tramp-completion-handle-file-name-all-completions): Handle hops.
4479 Fix an error when called from ido.
4480 (tramp-completion-dissect-file-name): Use better local variable
4481 name. Add hop to the vector.
4482 (tramp-handle-insert-file-contents): Use progress-reporter for the
4483 whole scenario.
4484 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4485 to `t'.
4486 (tramp-check-for-regexp): Simplify search.
4487 (tramp-enter-password): Remove it. Move implementation ...
4488 (tramp-action-password): ... here.
4489 (tramp-mode-string-to-int, tramp-local-host-p)
4490 (tramp-make-tramp-temp-file, tramp-read-passwd)
4491 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4492 Set tramp-autoload cookie.
4493
4494 * net/trampver.el: Update release number.
4495
4496 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4497 Michael Albinus <michael.albinus@gmx.de>
4498
4499 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4500 (tramp-parse-group, tramp-parse-file)
4501 (tramp-parse-shostkeys-sknownhosts): New defuns.
4502 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4503 (tramp-parse-shosts-group, tramp-parse-sconfig)
4504 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4505 (tramp-parse-sknownhosts, tramp-parse-hosts)
4506 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4507 Use them.
4508 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4509 (tramp-parse-putty-group): Don't narrow.
4510 (tramp-parse-putty): Make a loop.
4511 (tramp-file-name-handler): Catch the `suppress' signal.
4512
4513 2012-06-11 Chong Yidong <cyd@gnu.org>
4514
4515 * image.el (imagemagick-register-types): Put the ImageMagick entry
4516 at the end of image-type-file-name-regexps.
4517
4518 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4519
4520 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4521 (pcase, pcase-let*, pcase-dolist): Use them.
4522
4523 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4524
4525 * emacs-lisp/pcase.el (pcase--let*): New function.
4526 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4527 (pcase--expand): Use macroexp-let².
4528
4529 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4532 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4533 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4534 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4535 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4536 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4537
4538 2012-06-10 Glenn Morris <rgm@gnu.org>
4539
4540 * mail/rmail.el (rmail-yank-current-message): Leave point at
4541 correct position. (Bug#11660)
4542
4543 2012-06-10 Chong Yidong <cyd@gnu.org>
4544
4545 * allout-widgets.el: Fix code header.
4546
4547 2012-06-10 Chong Yidong <cyd@gnu.org>
4548
4549 * cus-edit.el (customize-changed-options-previous-release):
4550 Bump to 24.1.
4551
4552 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4553
4554 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4555
4556 2012-06-09 Chong Yidong <cyd@gnu.org>
4557
4558 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4559
4560 2012-06-09 Martin Rudalics <rudalics@gmx.at>
4561
4562 * window.el (special-display-popup-frame): Don't use
4563 window--display-buffer (Bug#11651).
4564
4565 2012-06-09 Eli Zaretskii <eliz@gnu.org>
4566
4567 Fix parallel builds: make sure loaddefs.el is not being written
4568 while Lisp files are compiled.
4569 (compile): Don't depend on 'mh-autoloads'.
4570 (compile-CMD, compile-SH): Depend on 'autoloads'.
4571 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4572
4573 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4574
4575 2012-06-09 Chong Yidong <cyd@gnu.org>
4576
4577 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4578 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4579 Doc fixes (Bug#11225).
4580
4581 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4584 a function if there's a clear indication that it has a compiler-macro.
4585 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4586 (macro-declarations-alist): Add arglist to declaration functions.
4587 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4588 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4589 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4590 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4591 Also add autoload to find the compiler macro.
4592 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4593 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4594 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4595 (cl--compiler-macro-get): New functions, replacing calls to
4596 cl-define-compiler-macro.
4597 (cl-typep) [compiler-macro]: Use macroexp-let².
4598
4599 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
4600
4601 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4602 string properly, fixes Bug#11473.
4603
4604 2012-06-08 Chong Yidong <cyd@gnu.org>
4605
4606 * faces.el (set-face-attribute): Doc fix.
4607 (modify-face): Don't use :bold and :italic.
4608 (error, warning, success): Tweak definitions.
4609
4610 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4611 (custom-modified, custom-set, custom-changed, custom-themed)
4612 (custom-saved, custom-button, custom-button-mouse)
4613 (custom-button-pressed, custom-state, custom-comment-tag)
4614 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4615 (custom-group-subtitle): Use new-style face specs.
4616 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4617 (custom-set-face, custom-changed-face, custom-saved-face)
4618 (custom-button-face, custom-button-pressed-face)
4619 (custom-documentation-face, custom-state-face)
4620 (custom-comment-face, custom-comment-tag-face)
4621 (custom-variable-tag-face, custom-variable-button-face)
4622 (custom-face-tag-face, custom-group-tag-face-1)
4623 (custom-group-tag-face): Remove obsolete face alias.
4624
4625 * epa.el (epa-validity-high, epa-validity-medium)
4626 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4627 (epa-field-name, epa-field-body):
4628 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4629 (font-lock-keyword-face, font-lock-builtin-face)
4630 (font-lock-function-name-face, font-lock-variable-name-face)
4631 (font-lock-type-face, font-lock-constant-face):
4632 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4633 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4634 * speedbar.el (speedbar-button-face, speedbar-file-face)
4635 (speedbar-directory-face, speedbar-tag-face)
4636 (speedbar-selected-face, speedbar-highlight-face)
4637 (speedbar-separator-face):
4638 * whitespace.el (whitespace-newline, whitespace-space)
4639 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4640 (whitespace-line, whitespace-space-before-tab)
4641 (whitespace-space-after-tab, whitespace-indentation)
4642 (whitespace-empty):
4643 * emulation/cua-base.el (cua-global-mark):
4644 * eshell/em-prompt.el (eshell-prompt):
4645 * net/newst-plainview.el (newsticker-new-item-face)
4646 (newsticker-old-item-face, newsticker-immortal-item-face)
4647 (newsticker-obsolete-item-face, newsticker-date-face)
4648 (newsticker-statistics-face, newsticker-default-face):
4649 * net/newst-reader.el (newsticker-feed-face)
4650 (newsticker-extra-face, newsticker-enclosure-face):
4651 * net/newst-treeview.el (newsticker-treeview-face)
4652 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4653 (newsticker-treeview-immortal-face)
4654 (newsticker-treeview-obsolete-face)
4655 (newsticker-treeview-selection-face):
4656 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4657 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4658 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4659 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4660 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4661 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4662 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4663 (mpuz-text):
4664 * progmodes/vera-mode.el (vera-font-lock-number)
4665 (vera-font-lock-function, vera-font-lock-interface):
4666 * textmodes/table.el (table-cell): Use new-style face specs, and
4667 don't use the old :bold and :italic attributes.
4668
4669 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4670 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4671 (ebrowse-member-class, ebrowse-progress): Likewise.
4672 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4673 (ebrowse-file-name-face, ebrowse-default-face)
4674 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4675 (ebrowse-progress-face): Remove obsolete faces.
4676
4677 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4678 Inherit from error and warning faces respectively.
4679
4680 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4681 Likewise.
4682 (flyspell-incorrect-face, flyspell-duplicate-face):
4683 Remove obsolete aliases.
4684
4685 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
4686
4687 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4688 Avoid infloop.
4689
4690 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * startup.el (argv, argi): Make lexically scoped.
4693 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4694 * emacs-lisp/cl-macs.el: Use lexical-binding.
4695 Rename cl-bind-* to cl--bind-*.
4696 * files.el: Don't require `cl' since it doesn't use it.
4697 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4698
4699 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
4700
4701 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4702 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4703 instead of calling external sort utility.
4704 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4705
4706 2012-06-08 Eli Zaretskii <eliz@gnu.org>
4707
4708 * descr-text.el (describe-char): Mention how to insert the
4709 character, if the current input method doesn't support it.
4710 See the discussion in this thread for the details:
4711 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4712
4713 2012-06-08 Sam Steingold <sds@gnu.org>
4714
4715 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4716 XF86Back to previous-buffer.
4717 (minibuffer-local-map): Bind them to next-history-element and
4718 previous-history-element respectively.
4719 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4720 help-go-back respectively.
4721 * info.el (Info-mode-map): Bind them to Info-history-forward and
4722 Info-history-back respectively.
4723 These are the keys next to Up on the ThinkPad keyboard.
4724
4725 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4728 * emacs-lisp/cl-macs.el: Provide itself.
4729 (cl--labels-convert-cache): New var.
4730 (cl--labels-convert): New function.
4731 (cl-flet, cl-labels): New implementation with new semantics, relying on
4732 lexical-binding.
4733 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4734 (cl-closure-vars, cl--function-convert-cache)
4735 (cl--function-convert): Move from cl-macs.el.
4736 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4737 rename by removing the "cl-" prefix.
4738 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4739
4740 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4743 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4744 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4745 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4746 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4747 (cl-hash-table-count): Add old compatibility aliases.
4748
4749 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4750 Use macroexpand-all-environment instead.
4751 (cl--old-macroexpand): New var.
4752 (cl--sm-macroexpand): New function.
4753 (cl-symbol-macrolet): Use it during macro expansion.
4754 (cl--function-convert-cache): New var.
4755 (cl--function-convert): New function, extracted from
4756 cl-macroexpand-all.
4757 (cl-lexical-let): Use it.
4758
4759 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4760 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4761 (cl-member): Remove old alias.
4762
4763 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4764 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4765 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4766 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4767 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4768 (cl-macroexpand-cmacs): Remove var.
4769 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4770 Use macroexpand-all instead.
4771
4772 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4775 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4776 (macroexp-copyable-p): New functions and macros.
4777 * emacs-lisp/edebug.el (edebug-unwrap):
4778 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4779 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4780 (pcase--let*): Remove.
4781 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4782 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4783 macroexp-const-p instead.
4784 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4785
4786 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4787 instead of "cl-" for internal definitions. Use macroexp-const-p.
4788 (cl-old-bc-file-form): Remove var.
4789 (cl-const-exprs-p): Remove fun.
4790 (cl-labels, cl-macrolet): Use backquote.
4791 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4792 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4793 (cl-define-setf-expander): Rename from cl-define-setf-method.
4794 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4795
4796 * international/mule-cmds.el: Don't require CL.
4797 (view-hello-file): Don't use `letf'.
4798
4799 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * tmm.el (tmm-prompt): Use string-prefix-p.
4802 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4803 (tmm-add-prompt): Use minibuffer-completion-help.
4804 (tmm-delete-map): Remove.
4805
4806 * subr.el (kbd): Make it its own function.
4807
4808 2012-06-07 Stefan Merten <smerten@oekonux.de>
4809
4810 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4811 Silence compiler warnings. Fix versions.
4812 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4813 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4814 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4815 (rst-package-emacs-version-alist): Correct Emacs version to
4816 represent major merge with upstream.
4817 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4818
4819 2012-06-06 Glenn Morris <rgm@gnu.org>
4820
4821 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4822 Only print environment variables if set.
4823
4824 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4827 (macroexp--cons): Rename from maybe-cons.
4828 (macroexp--accumulate): Rename from macroexp-accumulate.
4829 (macroexp--all-forms): Rename from macroexpand-all-forms.
4830 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4831 (macroexp--expand-all): Rename from macroexpand-all-1.
4832
4833 2012-06-06 Sam Steingold <sds@gnu.org>
4834
4835 * calendar/calendar.el (calendar-in-read-only-buffer):
4836 Call `special-mode' to enable the standard read-only keybindings.
4837
4838 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4841 with "loading" messages (bug#11635).
4842
4843 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
4844
4845 * files.el (enable-remote-dir-locals): New option.
4846 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4847
4848 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4849 Ensure, that the temp directory is local.
4850
4851 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4852 `temporary-file-directory'.
4853
4854 * progmodes/python.el (python-send-region): Ensure, that the
4855 temporary file is created also in the remote case.
4856
4857 2012-06-06 Glenn Morris <rgm@gnu.org>
4858
4859 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4860 (vc-rcs-update-changelog): Use it.
4861
4862 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4863
4864 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4865 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4866 (vc-sccs-diff): Replace use of the external vcdiff script.
4867
4868 2012-06-05 Glenn Morris <rgm@gnu.org>
4869
4870 * ledit.el: Move to obsolete/.
4871
4872 2012-06-05 Sam Steingold <sds@gnu.org>
4873
4874 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4875 patch (Bug#11140).
4876
4877 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * emacs-lisp/cust-print.el: Move to obsolete.
4880
4881 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4882 compiler-macro expansion.
4883
4884 Add native compiler-macro support.
4885 * emacs-lisp/macroexp.el (macroexpand-all-1):
4886 Support compiler-macros directly. Properly follow aliases and apply
4887 the compiler macros more thoroughly.
4888 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4889 macroexpand now properly follows aliases.
4890 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4891 (cl-compiler-macroexpand): Use new prop.
4892 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4893
4894 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4895
4896 2012-06-05 Martin Rudalics <rudalics@gmx.at>
4897
4898 * window.el (get-lru-window, get-mru-window, get-largest-window):
4899 New argument NOT-SELECTED to avoid picking the selected window.
4900 (window--display-buffer-1, window--display-buffer-2): Replace by
4901 new function window--display-buffer
4902 (display-buffer-same-window, display-buffer-reuse-window)
4903 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4904 Use window--display-buffer.
4905 (display-buffer-use-some-window): Remove temporary dedication
4906 hack by calling get-lru-window and get-largest-window with
4907 NOT-SELECTED argument non-nil. Call window--display-buffer.
4908
4909 2012-06-05 Glenn Morris <rgm@gnu.org>
4910
4911 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4912 Replace external vcdiff script.
4913
4914 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4917
4918 2012-06-04 Chong Yidong <cyd@gnu.org>
4919
4920 * image.el (imagemagick-types-inhibit): Revert last change.
4921 Add INFO and M.
4922 (imagemagick-enabled-types): Remove CIN and EPS*.
4923
4924 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * emacs-lisp/cl-lib.el: Rename from cl.el.
4927 * emacs-lisp/cl.el: New compatibility file.
4928 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4929 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4930 to obey the "cl-" prefix.
4931 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4932
4933 2012-06-03 Glenn Morris <rgm@gnu.org>
4934
4935 * emacs-lisp/authors.el (authors-aliases): Addition.
4936
4937 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4938 Fix :version.
4939
4940 2012-06-03 Stefan Merten <smerten@oekonux.de>
4941
4942 * textmodes/rst.el: Add comments.
4943 (rst-transition, rst-adornment): New faces.
4944 (rst-adornment-faces-alist): Make default safe to reevaluate.
4945 Fixes
4946 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4947 Improve customization tags.
4948 (rst-define-level-faces): Clarify meaning.
4949
4950 2012-06-03 Chong Yidong <cyd@gnu.org>
4951
4952 * progmodes/compile.el (compilation-mode-line-fail)
4953 (compilation-mode-line-run, compilation-mode-line-exit):
4954 New faces.
4955 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4956
4957 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4958
4959 * progmodes/which-func.el (which-func-update-ediff-windows):
4960 New function. Use it in ediff-select-hook (Bug#11478).
4961
4962 2012-06-03 Chong Yidong <cyd@gnu.org>
4963
4964 * bindings.el: Remove explicit help text from format-mode-line.
4965 It is now supplied by mode-line-default-help-echo.
4966 (mode-line-front-space, mode-line-end-spaces)
4967 (mode-line-misc-info): New variables.
4968 (mode-line-modes, mode-line-position): Move the default value to
4969 the variable definition.
4970 (mode-line-default-help-echo): New defcustom.
4971 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4972 (mode-line-modified-help-echo): New functions.
4973 (mode-line-mule-info, mode-line-modified): Use them.
4974 (mode-line-eol-desc, propertized-buffer-identification):
4975 Consistency fixes for help text.
4976 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4977 set-buffer-file-coding-system (Bug#289).
4978 (mode-line-mule-info-help-echo): Update help text.
4979
4980 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * simple.el (execute-extended-command): Set real-this-command
4983 (bug#11506).
4984
4985 2012-06-02 Chong Yidong <cyd@gnu.org>
4986
4987 Remove incorrect uses of "modeline" in comments, docstrings, and
4988 function/variable names (Bug#10329).
4989
4990 * cus-edit.el (mode-line):
4991 * dframe.el (dframe-mouse-hscroll):
4992 * emacs-lisp/re-builder.el:
4993 * emacs-lisp/easy-mmode.el (define-minor-mode):
4994 * frame.el (set-frame-name):
4995 * help.el (lookup-minor-mode-from-indicator):
4996 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4997 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4998 (c-toggle-hungry-state):
4999 * progmodes/antlr-mode.el (antlr-language-alist):
5000 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5001 * progmodes/vhdl-mode.el (vhdl-mode):
5002 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5003 * term/ns-win.el (ns-face-at-pos):
5004 * term/sup-mouse.el (sup-mouse-report):
5005 * textmodes/flyspell.el (flyspell-mode-line-string):
5006 * textmodes/ispell.el (ispell-highlight-face):
5007 * textmodes/reftex-global.el:
5008 * vc/vc-arch.el (vc-arch-mode-line-string):
5009 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5010 * vc/vc-git.el (vc-git-mode-line-string):
5011 * vc/vc-hooks.el (vc-display-status)
5012 (vc-default-mode-line-string):
5013 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5014
5015 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5016
5017 * dired.el (dired-sort-set-mode-line): Rename from
5018 dired-sort-set-modeline. All callers changed.
5019
5020 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5021 eshell-status-in-modeline.
5022
5023 * foldout.el (foldout-mode-line-string): Rename from
5024 foldout-modeline-string. All callers changed.
5025 (foldout-update-mode-line): Rename from foldout-update-modeline.
5026
5027 * subr.el (redraw-modeline): Make into obsolete alias.
5028
5029 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5030 timeclock-modeline-display. Make old name an alias.
5031 (timeclock-update-mode-line): Likewise. All callers changed.
5032 (timeclock-mode-line-display): No need to check before using
5033 add-hook.
5034 (timeclock-relative, timeclock-day-over-hook)
5035 (timeclock-use-elapsed, timeclock-mode-string)
5036 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5037
5038 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5039 crisp-mode-modeline-string.
5040
5041 * play/solitaire.el (solitaire-build-mode-line): Rename from
5042 solitaire-build-modeline. All callers changed.
5043
5044 * play/zone.el (zone-hiding-mode-line): Rename from
5045 zone-hiding-modeline. All callers changed.
5046 (zone): Remove unusued `modeline-hidden-level' property.
5047
5048 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5049 xscheme-modeline-initialize. All callers changed.
5050
5051 * strokes.el (strokes-lighter): Rename from
5052 strokes-modeline-string.
5053
5054 * textmodes/sgml-mode.el (html-face-tag-alist)
5055 (html-tag-face-alist): Use mode-line face instead of obsolete
5056 alias modeline.
5057
5058 2012-06-02 Stefan Merten <smerten@oekonux.de>
5059
5060 * textmodes/rst.el: Always require `cl'.
5061 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5062
5063 2012-06-02 Chong Yidong <cyd@gnu.org>
5064
5065 * image.el (imagemagick-enabled-types): Rename from
5066 imagemagick-types-enable. Add many more types.
5067 (imagemagick-types-inhibit): Change default to nil.
5068 (imagemagick-filter-types): Caller changed.
5069
5070 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * emacs-lisp/cl-macs.el: Use backquotes.
5073 (cl-transform-function-property): Use eval-and-compile rather than
5074 abusing `require'.
5075 (defstruct): Use declare-function instead of with-no-warnings.
5076
5077 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5078 (byte-compile-output-docform): Re-add the print-circle bindings.
5079 (byte-compile-fix-header): Use #$ just because it's shorter.
5080 (byte-compile-output-file-form): Remove defun/defmacro.
5081
5082 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5083
5084 * simple.el (choose-completion): Remove now obsolete binding for
5085 owindow.
5086
5087 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5088
5089 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5090 in order to avoid "Stack overflow in regexp matcher".
5091
5092 2012-05-31 Glenn Morris <rgm@gnu.org>
5093
5094 * image.el: For clarity, call imagemagick-register-types at
5095 top-level, rather than relying on a custom :initialize.
5096 (imagemagick-types-enable): New option. (Bug#11557)
5097 (imagemagick-filter-types): New function. (Bug#7406)
5098 (imagemagick-register-types): Use imagemagick-filter-types.
5099 If disabling support, remove elements altogether rather
5100 than using an impossible regexp.
5101 (imagemagick-types-inhibit): Give it the default init function.
5102
5103 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5106 Handle arbitrary file name lengths (Bug#11585).
5107
5108 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5109
5110 * desktop.el (desktop-read): Clear previous and next buffers for
5111 all windows and bury *Messages* buffer (bug#11556).
5112
5113 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 Add `declare' for `defun'. Align `defmacro's with it.
5116 * emacs-lisp/easy-mmode.el (define-minor-mode)
5117 (define-globalized-minor-mode): Don't autoload the var definitions.
5118 * emacs-lisp/byte-run.el: Use lexical-binding.
5119 (defun-declarations-alist, macro-declarations-alist): New vars.
5120 (defmacro, defun): Use them.
5121 (make-obsolete, define-obsolete-function-alias)
5122 (make-obsolete-variable, define-obsolete-variable-alias):
5123 Use `declare'.
5124 (macro-declaration-function): Mark obsolete.
5125 * emacs-lisp/autoload.el: Use lexical-binding.
5126 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5127
5128 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5129
5130 * textmodes/ispell.el (ispell-with-no-warnings):
5131 Define as a macro.
5132 (ispell-kill-ispell, ispell-change-dictionary):
5133 Use `called-interactively-p' for Emacs instead of obsolete
5134 `interactive-p'.
5135
5136 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5139 (macro-declaration-function): Move var from C code.
5140 (macro-declaration-function): Define function with defalias.
5141 * emacs-lisp/macroexp.el (macroexpand-all-1):
5142 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5143 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5144 defun/defmacro any more.
5145 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5146 Provide fallback for unknown arglist.
5147 (byte-compile-arglist-warn): Change calling convention.
5148 (byte-compile-output-file-form): Move print-vars binding.
5149 (byte-compile-output-docform): Simplify accordingly.
5150 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5151 (byte-compile-defmacro-declaration): Remove.
5152 (byte-compile-file-form-defmumble): Generalize to defalias.
5153 (byte-compile-output-as-comment): Return byte-positions.
5154 Simplify callers accordingly.
5155 (byte-compile-lambda): Use `assert'.
5156 (byte-compile-defun, byte-compile-defmacro): Remove.
5157 (byte-compile-file-form-defalias):
5158 Use byte-compile-file-form-defmumble.
5159 (byte-compile-defalias-warn): Remove.
5160
5161 2012-05-29 Stefan Merten <smerten@oekonux.de>
5162
5163 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5164 possible. Fix authors. Improve comments. Improve loading of `cl'.
5165
5166 (rst-mode-abbrev-table): Merge definition.
5167 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5168 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5169
5170 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5171
5172 * calendar/icalendar.el
5173 (icalendar-export-region): Export UID properly.
5174
5175 2012-05-29 Leo Liu <sdl.web@gmail.com>
5176 * calendar/icalendar.el (icalendar-import-format):
5177 Add `icalendar-import-format-uid' (Bug#11525).
5178 (icalendar-import-format-uid): New.
5179 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5180 Export UID.
5181
5182 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5185 different alternative patterns.
5186 (pcase-codegen): Be more careful to preserve identity.
5187 (pcase--u1): Don't forget to mark vars as used.
5188
5189 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5190 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5191 (byte-compile-from-buffer): ...rather than here.
5192
5193 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5194 functions from byte-compile-function-environment.
5195
5196 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5197
5198 * window.el (window-deletable-p): Avoid deleting the root window
5199 of a frame with an active minibuffer.
5200
5201 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5202
5203 * simple.el (choose-completion): Use quit-window (Bug#11567).
5204
5205 2012-05-29 Chong Yidong <cyd@gnu.org>
5206
5207 * whitespace.el (whitespace-cleanup): Fix usage of
5208 whitespace-empty-at-bob-regexp (Bug#11492).
5209
5210 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5211
5212 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5213 revert (Bug#11488).
5214
5215 2012-05-29 Juri Linkov <juri@jurta.org>
5216
5217 * isearch.el (isearch-mode-map): Bind `M-s _' to
5218 `isearch-toggle-symbol'. Bind `M-s c' to
5219 `isearch-toggle-case-fold'.
5220 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5221 (isearch-forward): Add `M-s _' to the docstring.
5222 (isearch-forward-symbol, isearch-toggle-case-fold)
5223 (isearch-symbol-regexp): New functions. (Bug#11381)
5224
5225 2012-05-29 Juri Linkov <juri@jurta.org>
5226
5227 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5228 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5229 a function, call it to get the regexp.
5230 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5231 property `isearch-message-prefix' instead of the string "word ".
5232 (isearch-search-fun-default): For the case of `isearch-word',
5233 return a lambda that calls re-search-forward/re-search-backward
5234 with a regexp returned by `word-search-regexp' or by the function
5235 in `isearch-word'.
5236
5237 2012-05-29 Juri Linkov <juri@jurta.org>
5238
5239 * isearch.el (isearch-search-fun-default): New function.
5240 (isearch-search-fun): Move default part to the new function
5241 `isearch-search-fun-default'.
5242 (isearch-search-fun-function): Set the default value to
5243 `isearch-search-fun-default'. (Bug#11381)
5244
5245 * comint.el (comint-history-isearch-end):
5246 Use `isearch-search-fun-default'.
5247 (comint-history-isearch-search): Use `isearch-search-fun-default'
5248 and remove spacial case for `isearch-word'.
5249 (comint-history-isearch-wrap): Remove spacial case for
5250 `isearch-word'.
5251
5252 * hexl.el (hexl-isearch-search-function):
5253 Use `isearch-search-fun-default'.
5254
5255 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5256 Use `word-search-regexp' for `isearch-word'.
5257
5258 * misearch.el (multi-isearch-search-fun):
5259 Use `isearch-search-fun-default'.
5260
5261 * simple.el (minibuffer-history-isearch-search):
5262 Use `isearch-search-fun-default' and remove spacial case for
5263 `isearch-word'.
5264 (minibuffer-history-isearch-wrap): Remove spacial case for
5265 `isearch-word'.
5266
5267 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5268 Remove spacial case for `isearch-word'.
5269 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5270
5271 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5272
5273 Decrease XEmacs incompatibilities.
5274 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5275 Use `string-match'.
5276 (flyspell-delete-region-overlays): Use alternative definition for
5277 XEmacs.
5278 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5279 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5280 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5281 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5282 `define-obsolete-face-alias' under XEmacs, but old method.
5283
5284 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5285 `with-no-warnings' definition or Emacs alias.
5286 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5287 (ispell-word): Do not use `region-p' if XEmacs.
5288
5289 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5290
5291 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5292 Check for `ispell-dictionary-base-alist' instead of full
5293 `ispell-dictionary-alist'.
5294 (ispell-init-process): Show spellchecker when starting new Ispell
5295 process.
5296
5297 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5300 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5301
5302 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5303
5304 * version.el (motif-version-string, gtk-version-string)
5305 (ns-version-string): Declare.
5306
5307 2012-05-27 Juri Linkov <juri@jurta.org>
5308
5309 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5310 after the `eval-defun-1' specialcaseing
5311 like in `edebug-eval-defun' (bug#10181).
5312
5313 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5314 like in `eval-defun-1'.
5315
5316 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5317
5318 * mail/sendmail.el (mail-yank-region):
5319 Recognize rmail-yank-current-message in addition to insert-buffer.
5320 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5321 a *mail* buffer created through rmail-start-mail with sendmail as
5322 mail-user-agent.
5323
5324 2012-05-27 Chong Yidong <cyd@gnu.org>
5325
5326 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5327 Default to 256 (Bug#11267).
5328
5329 * help.el (describe-mode): Doc fix.
5330
5331 2012-05-26 Glenn Morris <rgm@gnu.org>
5332
5333 * w32-fns.el (w32-init-info): Remove.
5334 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5335
5336 * info.el (info-initialize): For self-contained NS builds, put the
5337 included info/ directory at the front. (Bug#2791)
5338
5339 * paths.el (Info-default-directory-list): Make it a defcustom,
5340 mainly so that we can use custom-initialize-delay.
5341
5342 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * subr.el (buffer-has-markers-at): Mark obsolete.
5345
5346 * subr.el (lambda): Use declare.
5347
5348 * emacs-lisp/lisp-mode.el (lambda):
5349 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5350
5351 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5352
5353 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5354
5355 2012-05-26 Glenn Morris <rgm@gnu.org>
5356
5357 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5358
5359 2012-05-25 Glenn Morris <rgm@gnu.org>
5360
5361 * paths.el: Remove no-byte-compile.
5362 * loadup.el: No need to load paths.el uncompiled.
5363
5364 * image.el (imagemagick-types-inhibit): Doc fix.
5365
5366 * version.el: Remove no-byte-compile and associated formatting.
5367 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5368 is ancient code from when there was an "inc-vers.el".
5369
5370 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * progmodes/gdb-mi.el: Minor style changes.
5373 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5374 Turn into minor modes.
5375 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5376 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5377 (gdb-shell): Remove unneeded let-binding.
5378 (gdb-get-many-fields): Eliminate O(n²) behavior.
5379
5380 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5381
5382 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5383 platforms that don't link in fontset.c.
5384
5385 2012-05-25 Juri Linkov <juri@jurta.org>
5386
5387 Use the same diff color scheme as in modern VCSes (bug#10181).
5388
5389 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5390 to avoid confusion with `diff-added' that now uses green colors.
5391 (diff-removed): Use shades of red.
5392 (diff-added): Use shades of green.
5393 (diff-changed): Leave just the yellow color.
5394 (diff-use-changed-face): New variable.
5395 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5396 how to highlight context diff changes.
5397 (diff-refine-change): Use shades of yellow.
5398 (diff-refine-removed): New face that uses shades of red.
5399 (diff-refine-added): New face that uses shades of green.
5400 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5401 `diff-refine-removed' in the call to `smerge-refine-subst'
5402 depending on the value of `diff-use-changed-face'.
5403
5404 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5405 (smerge-other): Use shades of green.
5406 (smerge-base): Use shades of yellow.
5407 (smerge-refined-change): Empty face.
5408 (smerge-refined-removed): New face that uses shades of red.
5409 (smerge-refined-added): New face that uses shades of green.
5410 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5411 args `props-r' and `props-a', and use them. Doc fix.
5412 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5413 on its value use different faces `smerge-refined-change',
5414 `smerge-refined-removed', `smerge-refined-added' in the call to
5415 `smerge-refine-subst'.
5416
5417 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5418 Add face condition `min-colors 88' with shades of red.
5419 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5420 `min-colors 88' with shades of green.
5421 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5422 `min-colors 88' with shades of yellow.
5423
5424 2012-05-24 Glenn Morris <rgm@gnu.org>
5425
5426 * paths.el (prune-directory-list, remote-shell-program): Move to...
5427 * files.el (prune-directory-list, remote-shell-program): ...here.
5428 For the latter, delay initialization, prefer ssh, just search PATH.
5429
5430 * paths.el (term-file-prefix): Move to faces.el (the only user).
5431 * faces.el (term-file-prefix): Move here, make it a defcustom.
5432
5433 * paths.el (news-directory, news-path, news-inews-program):
5434 Move to gnus/nnspool.el.
5435
5436 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5437
5438 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5439 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5440 Make the latter a defcustom, with a delayed initialization.
5441
5442 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5443 These were deleted from Gnus itself late 2010.
5444
5445 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5446
5447 * progmodes/which-func.el (which-func-ff-hook):
5448 Check against user-error, not error.
5449
5450 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5451 cl-specs.el, which no longer exists.
5452
5453 2012-05-22 Glenn Morris <rgm@gnu.org>
5454
5455 * info.el (info-emacs-bug): New command.
5456 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5457 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5458
5459 2012-05-21 Glenn Morris <rgm@gnu.org>
5460
5461 * makefile.w32-in (update-subdirs-SH):
5462 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5463
5464 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5465
5466 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5467
5468 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5469 Simplify Maven regexp, and make sure the file can't start with a space
5470 (bug#11517).
5471
5472 2012-05-21 Glenn Morris <rgm@gnu.org>
5473
5474 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5475 Scrap superfluous subshells.
5476
5477 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5480 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5481
5482 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5483
5484 * calc/calc.el (calc-ensure-consistent-units): New variable.
5485
5486 * calc/calc-units.el (math-consistent-units-p)
5487 (math-check-unit-consistency): New functions.
5488 (calc-quick-units, calc-convert-units):
5489 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5490 is non-nil.
5491 (calc-extract-units): Fix typo.
5492
5493 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5496
5497 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5498 (flyspell-default-deplacement-commands): Don't spell check after
5499 repeated window/frame switches (e.g. triggered by mouse-movement).
5500 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5501 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5502 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5503 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5504 Remove unused vars.
5505 (flyspell-get-casechars, flyspell-get-not-casechars):
5506 Simplify; Don't bother removing a ] just to add it back.
5507 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5508
5509 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5510
5511 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5512 New functions.
5513 (math-function-table): Add support for more C functions.
5514
5515 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5516
5517 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5518 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5519 Protect delay handling for otherchars against empty otherchars.
5520
5521 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5522
5523 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5524 their respective macro declarations.
5525 * skeleton.el (define-skeleton):
5526 * progmodes/compile.el (define-compilation-mode):
5527 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5528 (define-ibuffer-filter):
5529 * emacs-lisp/generic.el (define-generic-mode):
5530 * emacs-lisp/easy-mmode.el (define-minor-mode)
5531 (define-globalized-minor-mode):
5532 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5533 * emacs-lisp/byte-run.el (defsubst):
5534 * custom.el (deftheme): Add doc-string metadata.
5535
5536 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5539
5540 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5541
5542 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5543
5544 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5545 * emacs-lisp/cl-macs.el: Idem.
5546 * emacs-lisp/cl-specs.el: Remove.
5547
5548 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 Minor renaming of internal CL functions and variables.
5551 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5552 (cl--position): Rename from cl-position.
5553 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5554 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5555 (cl--random-state): Rename from *random-state*.
5556
5557 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5560 parens around the arg list (bug#11499).
5561
5562 2012-05-17 Juri Linkov <juri@jurta.org>
5563
5564 * isearch.el (word-search-regexp, word-search-backward)
5565 (word-search-forward, word-search-backward-lax)
5566 (word-search-forward-lax): Move functions from search.c
5567 (bug#10145, bug#11381).
5568
5569 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5570
5571 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5572 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5573 Delay for otherchars as for normal word components.
5574
5575 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * minibuffer.el (completion--sifn-requote): Fix last change.
5578 (minibuffer-local-must-match-filename-map):
5579 Move define-obsolete-variable-alias before its var.
5580
5581 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5584
5585 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5586 behavior.
5587 (completion--string-equal-p): New function.
5588 (completion--twq-all): Use it to get better assertion failure data.
5589
5590 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5591 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5592 (shell--requote-argument): New functions.
5593 (shell-completion-vars): Use them.
5594 (shell--parse-pcomplete-arguments): Rename from
5595 shell-parse-pcomplete-arguments.
5596 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5597 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5598 Obey comint-file-name-quote-list.
5599
5600 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5601 (smie-indent-keyword): Use it.
5602
5603 2012-05-14 Stefan Merten <smerten@oekonux.de>
5604
5605 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5606
5607 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * net/rlogin.el (rlogin-mode-map): Fix last change.
5610
5611 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
5612
5613 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5614 the following \r\n using a single `process-send-string', since the
5615 Lotus SMTP server refuses to accept any commands if they are sent
5616 with two `process-send-string's (Bug#11444).
5617
5618 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * shell.el (shell-parse-pcomplete-arguments):
5621 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5622
5623 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5624
5625 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5626 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5627 (image-transform-width, image-transform-fit-width): New functions.
5628 (image-transform-properties): Use them.
5629 (image-transform-check-size): New function.
5630 (image-toggle-display-image): Use it (for testing).
5631 (image-transform-set-rotation): Reduce angle mod 360.
5632 Delete obsolete comment.
5633
5634 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5635
5636 * image-mode.el: Fix scaling (bug#11399).
5637 (image-transform-resize): Doc fix.
5638 (image-transform-properties): Default scale is 1 and height should
5639 be an integer.
5640
5641 2012-05-13 Johan Bockgård <bojohan@gnu.org>
5642
5643 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5644 than hard-coding `car', to fix misbehavior when moving forward.
5645
5646 2012-05-13 Chong Yidong <cyd@gnu.org>
5647
5648 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5649 (tabulated-list-entries, tabulated-list-padding)
5650 (tabulated-list-sort-key): Make permanent-local.
5651
5652 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5653 (electric-buffer-list): Put electric buffer menu
5654 command descriptions in this docstring, instead of the docstring
5655 of electric-buffer-menu-mode. Code cleanups.
5656 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5657 Electric-buffer-menu-mode.
5658 (electric-buffer-update-highlight): Minor code cleanup.
5659
5660 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
5661
5662 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5663 (Bug#11447)
5664
5665 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 Move define-obsolete-variable-alias before the var's definition.
5668 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5669 * tooltip.el (tooltip-hook):
5670 * textmodes/reftex-toc.el (reftex-toc-map):
5671 * textmodes/reftex-sel.el (reftex-select-label-map)
5672 (reftex-select-bib-map):
5673 * textmodes/reftex-index.el (reftex-index-map)
5674 (reftex-index-phrases-map):
5675 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5676 * progmodes/meta-mode.el (meta-mode-map):
5677 * novice.el (disabled-command-hook):
5678 * loadhist.el (unload-hook-features-list):
5679 * frame.el (blink-cursor):
5680 * files.el (find-file-not-found-hooks, write-file-hooks)
5681 (write-contents-hooks):
5682 * emulation/tpu-edt.el (GOLD-map):
5683 * emacs-lock.el (emacs-lock-from-exiting):
5684 * emacs-lisp/generic.el (generic-font-lock-defaults):
5685 * emacs-lisp/chart.el (chart-map):
5686 * dos-fns.el (register-name-alist):
5687 * dired-x.el (dired-omit-files-p):
5688 * desktop.el (desktop-enable):
5689 * cus-edit.el (custom-mode-hook):
5690 * buff-menu.el (buffer-menu-mode-hook):
5691 * bookmark.el (bookmark-read-annotation-text-func)
5692 (bookmark-exit-hooks):
5693 * allout.el (allout-mode-deactivate-hook)
5694 (allout-exposure-change-hook, allout-structure-added-hook)
5695 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5696 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5697 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5698 comes before the corresponding variable's definition.
5699
5700 2012-05-12 Chong Yidong <cyd@gnu.org>
5701
5702 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5703 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5704 (Buffer-menu-mode-map): Bind it.
5705 (Buffer-menu--pretty-name): Add a mouse-face property.
5706
5707 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5710 (prolog-upper-case-string, prolog-lower-case-string)
5711 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5712 (prolog-use-smie, prolog-smie-grammar): New vars.
5713 (prolog-smie-forward-token, prolog-smie-backward-token)
5714 (prolog-smie-rules): New funs.
5715 (prolog-comment-indent): Remove.
5716 (prolog-mode-variables): Use default comment indentation instead.
5717 Setup SMIE.
5718 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5719 (prolog-mode): Don't call them any more.
5720 (prolog-electric-colon, prolog-electric-dash)
5721 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5722
5723 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5724
5725 * minibuffer.el (completion--twq-all): Again, allow case differences.
5726
5727 * term.el: Move keymap initialization code to be more idiomatic.
5728 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5729 (term-terminal-menu): Move initialization into declaration.
5730 (term-escape-char): Let the user set it in her .emacs.
5731
5732 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5733 Provide SMIE-based indentation (not enabled by default yet).
5734 (sh-mode-map): Don't bind electric keys.
5735 Use electric-pair-mode instead of skeleton-pair.
5736 (sh-assignment-regexp): Fit within 80 columns.
5737 (sh-indent-supported): Specify actual shell name instead of boolean.
5738 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5739 (sh-maybe-here-document): Use it. Make obsolete.
5740 (sh-electric-here-document-mode) New minor mode.
5741 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5742 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5743 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5744 (sh-smie-rc-grammar, sh-use-smie): New vars.
5745 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5746 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5747 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5748 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5749 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5750 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5751 (sh-set-shell): Use smie-setup if requested.
5752
5753 * term.el (term-set-escape-char): Properly set term-escape-char.
5754 See http://stackoverflow.com/questions/10524656.
5755
5756 2012-05-10 Chong Yidong <cyd@gnu.org>
5757
5758 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5759 Use url-generic-parse-url, and handle host names and Windows
5760 filenames properly.
5761 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5762 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5763 URL schemes to work on.
5764 (ffap--toggle-read-only): New function.
5765 (ffap-read-only, ffap-read-only-other-window)
5766 (ffap-read-only-other-frame): Use it.
5767 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5768 necessary for ffap-url-unwrap-remote.
5769
5770 2012-05-10 Dave Abrahams <dave@boostpro.com>
5771
5772 * cus-start.el (create-lockfiles): Add it.
5773
5774 2012-05-09 Chong Yidong <cyd@gnu.org>
5775
5776 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5777 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5778
5779 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5782
5783 2012-05-09 Chong Yidong <cyd@gnu.org>
5784
5785 * ansi-color.el (ansi-color-process-output): Check for validity of
5786 comint-last-output-start before using it. This avoids a bad
5787 interaction with gdb-mi's input/output buffer.
5788
5789 2012-05-09 Glenn Morris <rgm@gnu.org>
5790
5791 * files.el (dir-locals-read-from-file):
5792 Mention dir-locals in any error message.
5793
5794 2012-05-09 Chong Yidong <cyd@gnu.org>
5795
5796 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5797 package (Bug#11410).
5798
5799 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5800 variables into description.
5801
5802 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5805 shell-delimiter-argument-list (bug#11348).
5806 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5807
5808 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
5809
5810 * textmodes/rst.el: Silence byte-compiler warnings.
5811 (rst-re-alist, rst-reset-section-caches): Move around.
5812 (rst-re): Use `characterp', not `char-valid-p'.
5813 (font-lock-beg, font-lock-end): Declare.
5814
5815 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5816 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5817
5818 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5819
5820 2012-05-08 Glenn Morris <rgm@gnu.org>
5821
5822 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5823
5824 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5825
5826 * vc/log-edit.el: Add GNU coding standards highlighting.
5827 (log-edit-font-lock-gnu-style)
5828 (log-edit-font-lock-gnu-keywords): New vars.
5829 (log-edit-font-lock-keywords): New fun.
5830 (log-edit-mode): Don't fold case in font-lock.
5831 (log-edit-font-lock-keywords): Do not assume case-folding.
5832
5833 * imenu.el: Misc cleanup. Make docstrings out of comments.
5834 Use lexical-binding.
5835 (imenu--index-alist, imenu--last-menubar-index-alist)
5836 (imenu-menubar-modified-tick): Use defvar-local.
5837 (imenu--split-menu): Remove unused var.
5838 (imenu--cleanup-seen): Declare as global.
5839 (imenu--cleanup): Use dolist.
5840
5841 * subr.el (defvar-local): Add debug spec and doc-string position.
5842
5843 2012-05-08 Glenn Morris <rgm@gnu.org>
5844
5845 * language/burmese.el, language/cham.el, language/czech.el:
5846 * language/english.el, language/georgian.el, language/greek.el:
5847 * language/japanese.el, language/khmer.el, language/korean.el:
5848 * language/lao.el, language/misc-lang.el, language/romanian.el:
5849 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5850 * language/thai.el, language/utf-8-lang.el:
5851 Remove no-byte-compile setting.
5852
5853 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5854
5855 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5856
5857 * progmodes/make-mode.el (makefile-browse):
5858 Remove unnecessary interactive. (Bug#11324)
5859
5860 2012-05-07 Glenn Morris <rgm@gnu.org>
5861
5862 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5863
5864 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5865
5866 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * loadup.el: Preload newcomment.el.
5869 * newcomment.el: Move autoload-only code to toplevel.
5870
5871 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5872 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5873 Handle new :right-align column property.
5874 (tabulated-list-print-col): Idem, plus use `display' text-property to
5875 try and preserve alignment for variable pitch fonts.
5876
5877 2012-05-07 Chong Yidong <cyd@gnu.org>
5878
5879 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5880 (tabulated-list-use-header-line): New var.
5881 (tabulated-list-init-header): Use it.
5882 (tabulated-list-print-fake-header): New function.
5883 (tabulated-list-print): Use it.
5884 (tabulated-list-sort-button-map): Add non-header-line commands.
5885 (tabulated-list-init-header): Add column name property to basic
5886 labels as well.
5887 (tabulated-list-col-sort): Handle non-header-line button case.
5888 (tabulated-list--sort-by-column-name): Fix a corner case.
5889
5890 * buff-menu.el (list-buffers--refresh):
5891 Handle Buffer-menu-use-header-line.
5892
5893 2012-05-06 Chong Yidong <cyd@gnu.org>
5894
5895 * buff-menu.el: Convert to Tabulated List mode.
5896 (Buffer-menu-buffer+size-width): Make obsolete.
5897 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5898 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5899 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5900 documentation into docstring of buffer-menu.
5901 (Buffer-menu-toggle-files-only): Add an informative message.
5902 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5903 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5904 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5905 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5906 (Buffer-menu-execute, Buffer-menu-select)
5907 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5908 (Buffer-menu-bury): Use Tabulated List machinery.
5909 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5910 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5911 Delete.
5912 (list-buffers--refresh): New function.
5913 (list-buffers-noselect): Use it.
5914 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5915 (Buffer-menu--pretty-file-name): New helper functions.
5916
5917 * loadup.el: Preload tabulated-list.
5918
5919 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5920 tabulated-list-sort-column.
5921 (tabulated-list-init-header): Add the initial aligning space even
5922 if tabulated-list-padding is zero.
5923
5924 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5925
5926 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5927 whose cdr is not a cons cell correctly (bug#11038).
5928
5929 2012-05-06 Chong Yidong <cyd@gnu.org>
5930
5931 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5932 Accept additional plist in column descriptors.
5933 (tabulated-list-init-header): Obey it.
5934 (tabulated-list-get-entry): New function.
5935 (tabulated-list-put-tag): Use it. Use string-width instead of
5936 length.
5937 (tabulated-list--column-number): New function.
5938 (tabulated-list-print): Use it.
5939 (tabulated-list-print-col): New function.
5940 Set `tabulated-list-column-name' property on each column's text.
5941 (tabulated-list-print-entry): Use it.
5942 (tabulated-list-delete-entry, tabulated-list-set-col):
5943 New functions.
5944 (tabulated-list-sort-column): New command (Bug#11337).
5945
5946 * buff-menu.el (list-buffers): Move C-x C-b binding from
5947 buff-menu.el to bindings.el.
5948
5949 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5950 :advertised-binding feature.
5951
5952 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5953
5954 * progmodes/compile.el (compilation-internal-error-properties):
5955 Calculate start position correctly when end-col is set but
5956 end-line is not (Bug#11382).
5957
5958 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5959
5960 * man.el (Man-unindent): Use text-property-default-nonsticky to
5961 prevent untabify from inheriting face properties (Bug#11408).
5962
5963 2012-05-05 Stefan Merten <smerten@oekonux.de>
5964
5965 * textmodes/rst.el: Major merge with upstream development up to
5966 Docutils SVN r7399 / rst.el V1.2.1.
5967
5968 Clarify maintainership and authors.
5969
5970 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5971 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5972 (rst-official-version, rst-official-cvs-rev, rst-version)
5973 (rst-package-emacs-version-alist): New functions and variables
5974 for version information.
5975
5976 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5977 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5978 (rst-mode-syntax-table, rst-mode): New and corrected functions
5979 and variables representing reStructuredText features.
5980
5981 (rst-re): New function for reStructuredText regexes. Use in
5982 many places.
5983
5984 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5985 (rst-mode-map): Rebind keys.
5986
5987 (rst-mode-lazy, rst-font-lock-keywords)
5988 (rst-font-lock-extend-region)
5989 (rst-font-lock-extend-region-internal)
5990 (rst-font-lock-extend-region-extend)
5991 (rst-font-lock-find-unindented-line-limit)
5992 (rst-font-lock-find-unindented-line-match)
5993 (rst-adornment-level, rst-font-lock-adornment-level)
5994 (rst-font-lock-adornment-match)
5995 (rst-font-lock-handle-adornment-pre-match-form)
5996 (rst-font-lock-handle-adornment-matcher): Major revision of
5997 font-locking. Integrate with other code. Use `jit-lock-mode'.
5998
5999 (rst-preferred-adornments, rst-adjust-hook)
6000 (rst-new-adornment-down, rst-preferred-bullets)
6001 (rst-preferred-bullets, rst-indent, rst-indent-width)
6002 (rst-indent-field, rst-indent-literal-normal)
6003 (rst-indent-literal-minimized, rst-indent-comment): Change,
6004 extend and improve customization.
6005
6006 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6007 (rst-normalize-cursor-position, rst-get-decoration)
6008 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6009 (rst-rstrip, rst-toc-insert-find-delete-contents)
6010 (rst-shift-fill-region, rst-compute-bullet-tabs)
6011 (rst-debug-print-tabs, rst-debug-mark-found)
6012 (rst-shift-region-guts, rst-shift-region-right)
6013 (rst-shift-region-left, rst-use-char-classes)
6014 (rst-font-lock-keywords-function)
6015 (rst-font-lock-indentation-point)
6016 (rst-font-lock-find-unindented-line-begin)
6017 (rst-font-lock-find-unindented-line-end)
6018 (rst-font-lock-find-unindented-line)
6019 (rst-font-lock-adornment-point, rst-font-lock-level)
6020 (rst-adornment-level-alist): Remove functions and variables.
6021
6022 (rst-compare-adornments, rst-get-adornment-match)
6023 (rst-suggest-new-adornment, rst-get-adornments-around)
6024 (rst-adornment-complete-p, rst-get-next-adornment)
6025 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6026 (rst-straighten-adornments): Standardize function names to
6027 use "adornment" instead of "decoration". Correct callers.
6028 Similar standardizing in many places.
6029
6030 (rst-update-section, rst-adjust, rst-promote-region)
6031 (rst-enumerate-region, rst-bullet-list-region)
6032 (rst-repeat-last-character): Correct use of `interactive'.
6033
6034 (rst-classify-adornment, rst-find-all-adornments)
6035 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6036 (rst-find-leftmost-column, rst-repeat-last-character):
6037 Refactor functions.
6038
6039 (rst-find-title-line, rst-reset-section-caches)
6040 (rst-get-adornments-around, rst-adjust-adornment-work)
6041 (rst-arabic-to-roman, rst-roman-to-arabic)
6042 (rst-insert-list-pos, rst-insert-list-new-item)
6043 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6044 New functions.
6045
6046 (rst-all-sections, rst-section-hierarchy)
6047 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6048 New variables.
6049
6050 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6051 configuration instead of only buffer. Change where necessary.
6052
6053 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6054 (rst-shift-region, rst-adaptive-fill): New functions for
6055 indentation and filling.
6056
6057 (rst-comment-line-break, rst-comment-indent)
6058 (rst-comment-insert-comment, rst-comment-region)
6059 (rst-uncomment-region): New functions for handling comments.
6060
6061 (rst-compile): Quote shell arguments.
6062
6063 (rst-compile-pdf-preview, rst-compile-slides-preview):
6064 Delete temporary files after use.
6065
6066 2012-05-05 Glenn Morris <rgm@gnu.org>
6067
6068 * calendar/cal-html.el: Optionally include holidays in the output.
6069 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6070 (cal-html-holidays): New option.
6071 (cal-html-css-default): Add holiday entry.
6072 (holiday-in-range): Autoload it.
6073 (cal-html-htmlify-entry): Add optional class argument.
6074 (cal-html-htmlify-list): Add optional holidays argument.
6075 (cal-html-insert-agenda-days): Include holidays in the output.
6076 (cal-html-one-month): Maybe include holidays.
6077
6078 * calendar/holidays.el (holiday-in-range):
6079 Move here from cal-tex-list-holidays.
6080 * calendar/cal-tex.el (cal-tex-list-holidays):
6081 Make it an obsolete alias for holiday-in-range. Update all callers.
6082
6083 2012-05-05 Chong Yidong <cyd@gnu.org>
6084
6085 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6086 Nextstep.
6087
6088 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6089
6090 * files.el (file-auto-mode-skip): New var.
6091 (set-auto-mode-1): Use it.
6092
6093 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * repeat.el: Use lexical-binding.
6096 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6097 (repeat-undo-count): Remove.
6098 (repeat):
6099 * progmodes/octave-mod.el (octave-abbrev-start):
6100 * progmodes/f90.el (f90-abbrev-start):
6101 * face-remap.el (text-scale-adjust):
6102 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6103
6104 * emacs-lisp/pcase.el (pcase--let*): New function.
6105 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6106 a bit more.
6107 (pcase--split-pred): Be more clever about ruling out overlap between
6108 a predicate and some constant pattern.
6109 (pcase--q1): Use `null' instead of (eq foo nil).
6110
6111 * subr.el (setq-local, defvar-local): New macros.
6112 (kbd): Redefine as an alias.
6113 (with-selected-window): Leave unrelated frames alone.
6114 (set-temporary-overlay-map): New function.
6115
6116 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * subr.el (user-error): New function.
6119 * window.el (switch-to-buffer):
6120 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6121 (smerge-match-conflict):
6122 * simple.el (previous-matching-history-element)
6123 (next-matching-history-element, goto-history-element, undo-more)
6124 (undo-start):
6125 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6126 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6127 (next-file, tags-loop-scan, list-tags, complete-tag):
6128 * progmodes/compile.el (compilation-loop):
6129 * mouse.el (mouse-minibuffer-check):
6130 * man.el (Man-bgproc-sentinel, Man-goto-page):
6131 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6132 (Info-history-forward, Info-follow-reference, Info-menu)
6133 (Info-extract-menu-item, Info-extract-menu-counting)
6134 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6135 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6136 (Info-next-reference, Info-prev-reference, Info-index)
6137 (Info-index-next, Info-follow-nearest-node)
6138 (Info-copy-current-node-name):
6139 * imenu.el (imenu--make-index-alist)
6140 (imenu-default-create-index-function, imenu-add-to-menubar):
6141 * files.el (basic-save-buffer, recover-file):
6142 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6143 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6144 (checkdoc-message-text, checkdoc-defun):
6145 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6146 * cus-edit.el (customize-changed-options, customize-rogue)
6147 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6148 (custom-variable-mark-to-reset-standard)
6149 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6150 (custom-file):
6151 * completion.el (check-completion-length):
6152 * comint.el (comint-search-arg)
6153 (comint-previous-matching-input-string-position)
6154 (comint-previous-matching-input)
6155 (comint-replace-by-expanded-history-before-point, comint-send-input)
6156 (comint-copy-old-input, comint-backward-matching-input)
6157 (comint-goto-process-mark, comint-set-process-mark):
6158 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6159 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6160
6161 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * dabbrev.el (dabbrev--ignore-case-p): New function.
6164 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6165 Use it.
6166
6167 * files.el (automount-dir-prefix): Mark as obsolete.
6168
6169 2012-05-04 Glenn Morris <rgm@gnu.org>
6170
6171 * patcomp.el, play/bruce.el: Move to obsolete/.
6172
6173 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6174
6175 Fix minor Y10k bugs.
6176 * arc-mode.el (archive-unixdate):
6177 * autoinsert.el (auto-insert-alist):
6178 * calc/calc-forms.el (math-this-year):
6179 * emacs-lisp/copyright.el (copyright-current-year)
6180 (copyright-update-year, copyright):
6181 * tar-mode.el (tar-clip-time-string):
6182 * time.el (display-time-update):
6183 Don't assume years have 4 digits.
6184
6185 2012-05-04 Chong Yidong <cyd@gnu.org>
6186
6187 * dos-w32.el (file-name-buffer-file-type-alist)
6188 (direct-print-region-use-command-dot-com):
6189 * ffap.el (ffap-menu-regexp):
6190 * find-file.el (ff-special-constructs):
6191 * follow.el (follow-debug):
6192 * forms.el (forms--debug):
6193 * iswitchb.el (iswitchb-all-frames):
6194 * ido.el (ido-all-frames):
6195 * emacs-lisp/timer.el (timer-max-repeats):
6196 * mail/feedmail.el (feedmail-mail-send-hook)
6197 (feedmail-mail-send-hook-queued):
6198 * mail/footnote.el (footnote-signature-separator):
6199 * mail/mailabbrev.el (mail-alias-separator-string)
6200 (mail-abbrev-mode-regexp):
6201 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6202 * progmodes/idlwave.el (idlwave-libinfo-file)
6203 (idlwave-default-completion-case-is-down)
6204 (idlwave-library-routines): Convert defvars to defcustoms.
6205
6206 * mail/rmail.el (rmail-decode-mime-charset):
6207 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6208 (idlwave-shell-fix-inserted-breaks)
6209 (idlwave-shell-activate-alt-keybindings)
6210 (idlwave-shell-use-breakpoint-glyph):
6211 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6212
6213 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6216
6217 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6218
6219 * progmodes/verilog-mode.el (font-lock-keywords):
6220 Fix mis-highligting auto. Reported by Craig Barner.
6221 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6222 defines from global name space. Reported by Dan Dever.
6223 (verilog-auto-reset, verilog-auto-reset-widths)
6224 (verilog-auto-tieoff): Support using unbased numbers for
6225 AUTORESET and AUTOTIEOFF.
6226 (verilog-submit-bug-report): Update variable list.
6227 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6228 parenthesis from not matching. Reported by Michael Rytting.
6229 (verilog-auto-template-lint): Fix hash error when linting modules
6230 with no used templates.
6231 (verilog-warn, verilog-warn-error)
6232 (verilog-warn-fatal): When non-interactive report multiple
6233 warnings before exiting. Suggested by Brad Dobbie.
6234 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6235 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6236 to report unused template errors. Reported by Brad Dobbie.
6237 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6238 nets, bug438. Reported by Vns Blore.
6239 (verilog-auto-inout-module, verilog-auto-reg)
6240 (verilog-read-decls, verilog-read-sub-decls-sig)
6241 (verilog-signals-edit-wire-reg, verilog-signals-with):
6242 Fix passing of Verilog data types in ANSI input/output ports
6243 such as "output logic" into the AUTOs. Special case "wire" and
6244 "reg" for backwards compatibility presuming Verilog 2001.
6245 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6246 (verilog-preprocess): Fix replication of preprocess output.
6247 Reported by Brad Dobbie.
6248 (verilog-auto-inst-interfaced-ports):
6249 Create verilog-auto-inst-interfaced-ports, bug429.
6250 Reported by Julian Gorfajn.
6251 (verilog-after-save-font-hook)
6252 (verilog-before-save-font-hook): New variable.
6253 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6254 (verilog-save-font-mods): Wrap disabling fontification, reported
6255 by David Rogoff.
6256 (verilog-do-indent, verilog-pretty-declarations-auto)
6257 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6258 Reported by Pierre-David Pfister.
6259 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6260 of class declarations, bug292. Reported by Kevin Heilman.
6261 (verilog-read-decls): Fix 'parameter type' not appearing in
6262 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6263 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6264 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6265 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6266 Reported by David Kravitz.
6267
6268 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6269
6270 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6271 assignment with tests in ifs and for loops.
6272 (verilog-extended-complete-re, verilog-complete-reg): Change so
6273 that DPI inport functions don't look like fuction declarations.
6274 (verilog-pretty-expr): Don't line up assignment
6275 operations to the test and increment in if and for loops
6276 (verilog-extended-complete-re, verilog-complete-reg): Change so
6277 that DPI inport functions don't look like fuction declarations.
6278
6279 2012-05-03 Kenichi Handa <handa@m17n.org>
6280
6281 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6282 decoding, and show a warning message without signaling an error
6283 (Bug#11282).
6284
6285 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * emacs-lisp/bytecomp.el
6288 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6289 since cconv.el might have introduced :fun-body, internal-make-closure,
6290 and friends for bytecomp to handle (bug#11391).
6291 * custom.el (defcustom): Avoid ((λ ..) ..).
6292
6293 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6296
6297 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6298
6299 * notifications.el (dbus-debug):
6300 * term/linux.el (gpm-mouse-enable):
6301 * term/screen.el (xterm-register-default-colors): Declare.
6302
6303 2012-05-02 Chong Yidong <cyd@gnu.org>
6304
6305 * cus-start.el (gc-cons-percentage, exec-suffixes)
6306 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6307 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6308 (make-cursor-line-fully-visible, void-text-area-pointer)
6309 (font-list-limit): Add customization data.
6310
6311 * allout.el (allout-exposure-change-functions)
6312 (allout-structure-added-functions)
6313 (allout-structure-deleted-functions)
6314 (allout-structure-shifted-functions): Rename abnormal hooks from
6315 *-hook, and convert to defcustoms.
6316 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6317 Convert to defcustoms.
6318 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6319
6320 * allout-widgets.el: Hook callers changed.
6321
6322 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6323
6324 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6325 the yanked message in preference to the default value of
6326 buffer-file-coding-system.
6327
6328 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6329
6330 * window.el (display-buffer--action-function-custom-type):
6331 Fix entry.
6332
6333 2012-05-02 Alan Mackenzie <acm@muc.de>
6334
6335 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6336
6337 2012-05-01 Glenn Morris <rgm@gnu.org>
6338
6339 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6340
6341 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6342
6343 * cus-edit.el (custom-variable-documentation): Simplify with format.
6344
6345 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6346 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * simple.el (suggest-key-bindings, execute-extended-command):
6349 Move from keyboard.c.
6350
6351 2012-05-01 Chong Yidong <cyd@gnu.org>
6352
6353 * follow.el: Eliminate advice.
6354 (set-process-filter, process-filter, sit-for): Advice deleted.
6355 (follow-mode-off-hook): Obsolete hook removed.
6356 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6357 Vars deleted.
6358 (follow-auto): Use a :set function.
6359 (follow-mode): Rewritten. Don't advise process filters.
6360 (follow-switch-to-current-buffer-all, follow-scroll-up)
6361 (follow-scroll-down): Assume follow-mode is bound.
6362 (follow-comint-scroll-to-bottom)
6363 (follow-align-compilation-windows): New functions.
6364 (follow--window-sorter): New function.
6365 (follow-all-followers): Use it to explicitly sort windows by their
6366 positions; don't make assumptions about next-window order.
6367 (follow-windows-start-end, follow-delete-other-windows-and-split)
6368 (follow-calc-win-start): Doc fix.
6369 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6370 vertical-motion unnecessarily.
6371 (follow-adjust-window): New function.
6372 (follow-post-command-hook): Use it.
6373 (follow-call-set-process-filter, follow-call-process-filter)
6374 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6375 (follow-stop-intercept-process-output, follow-generic-filter):
6376 Functions deleted.
6377 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6378 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6379 New functions, replacing advice on scroll-bar-* commands.
6380 (follow-mwheel-scroll): New function (Bug#4112).
6381
6382 * comint.el (comint-adjust-point): New function.
6383 (comint-postoutput-scroll-to-bottom): Use it.
6384 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6385
6386 2012-05-01 Glenn Morris <rgm@gnu.org>
6387
6388 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6389 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6390 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6391 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6392 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6393 Remove no-byte-compile setting.
6394
6395 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6398 all-completions code to not return a number in the last cdr.
6399
6400 2012-04-30 Leo Liu <sdl.web@gmail.com>
6401
6402 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6403 read-only error.
6404
6405 2012-04-29 Chong Yidong <cyd@gnu.org>
6406
6407 * follow.el (follow-calc-win-end): Rewrite to handle partial
6408 screen lines correctly (Bug#8390).
6409 (follow-avoid-tail-recenter): Minor cleanup.
6410
6411 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 Avoid the obsolete `assoc' package.
6414 * speedbar.el (speedbar-refresh): Avoid adelete.
6415 (speedbar-file-lists): Simplify and avoid aput.
6416 * man.el (Man--sections, Man--refpages): New vars, replacing
6417 Man-sections-alist and Man-refpages-alist.
6418 (Man-build-section-alist, Man-build-references-alist):
6419 Use them; avoid aput.
6420 (Man--last-section, Man--last-refpage): New vars.
6421 (Man-follow-manual-reference): Use them.
6422 Use the `default' arg of completing-read.
6423 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6424
6425 2012-04-27 Chong Yidong <cyd@gnu.org>
6426
6427 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6428
6429 * startup.el (x-apply-session-resources): New function.
6430
6431 * term/ns-win.el (ns-initialize-window-system):
6432 * term/w32-win.el (w32-initialize-window-system):
6433 * term/x-win.el (x-initialize-window-system): Use it to properly
6434 set menu-bar-mode and other vars from X resources, even if the
6435 initial frame is not a window-system frame (Bug#2299).
6436
6437 * subr.el (read-key): Avoid running filter function when setting
6438 up temporary tool bar entries (Bug#9922).
6439
6440 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6441
6442 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6443 (Bug#11344)
6444
6445 2012-04-27 Chong Yidong <cyd@gnu.org>
6446
6447 * select.el (xselect--encode-string): New function, split from
6448 xselect-convert-to-string.
6449 (xselect-convert-to-string): Use it.
6450 (xselect-convert-to-filename, xselect-convert-to-os)
6451 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6452 returned strings are properly encoded (Bug#11315).
6453
6454 2012-04-27 Chong Yidong <cyd@gnu.org>
6455
6456 * simple.el (delete-active-region): Move to killing custom group.
6457
6458 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6459
6460 * progmodes/which-func.el (which-func-current): Quote %
6461 characters for mode-line processing.
6462
6463 2012-04-27 Chong Yidong <cyd@gnu.org>
6464
6465 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6466 reaching eob (Bug#11286).
6467
6468 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6469
6470 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6471 (gdb): Make it buffer-local and init to zero.
6472 (gdb-control-commands-regexp): New variable.
6473 (gdb-send): Don't wrap in "-interpreter-exec console" if
6474 gdb-control-level is positive. Increment gdb-control-level
6475 whenever the command matches gdb-control-commands-regexp, and
6476 decrement it each time the command is "end". (Bug#11279)
6477
6478 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6479
6480 * window.el (adjust-window-trailing-edge, enlarge-window)
6481 (shrink-window, window-resize):
6482 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6483 windows (Bug#11276).
6484
6485 2012-04-27 Chong Yidong <cyd@gnu.org>
6486
6487 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6488 fix "missing prefix" warning. All callers changed.
6489
6490 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * emacs-lisp/assoc.el: Move to obsolete/.
6493
6494 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6497
6498 * term/ns-win.el (ns-define-service):
6499 * progmodes/pascal.el (pascal-goto-defun):
6500 * progmodes/js.el (js--read-tab):
6501 * progmodes/etags.el (tags-lazy-completion-table):
6502 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6503 * emacs-lisp/ewoc.el (ewoc--wrap):
6504 * emacs-lisp/assoc.el (aput, adelete, amake):
6505 * doc-view.el (doc-view-convert-current-doc):
6506 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6507
6508 2012-04-26 Chong Yidong <cyd@gnu.org>
6509
6510 * image.el (image-type-from-buffer): Only return supported image
6511 type (Bug#9045).
6512
6513 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6514 value, for symmetry with diff-end-of-hunk.
6515 (diff-split-hunk, diff-find-source-location)
6516 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6517 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6518 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6519 compute the relevant hunk or file properly (Bug#6005).
6520 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6521
6522 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * vc/vc-mtn.el:
6525 * vc/vc-hg.el:
6526 * vc/vc-git.el:
6527 * vc/vc-dir.el:
6528 * vc/vc-cvs.el:
6529 * vc/vc-bzr.el:
6530 * vc/vc-arch.el:
6531 * vc/vc.el: Replace lexical-let by lexical-binding.
6532 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6533 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6534 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6535
6536 2012-04-26 Chong Yidong <cyd@gnu.org>
6537
6538 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6539 (diff-mode-shared-map): Bind it to / and [remap undo].
6540
6541 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6542 (ediff-window-setup-function): Use it as the default, to set up
6543 windows based on whether the current frame is graphical (Bug#2138).
6544 (ediff-choose-window-setup-function-automatically): Make obsolete.
6545
6546 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6547
6548 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 * ffap.el: Remove old code for obsolete package.
6551 (ffap-complete-as-file-p): Remove.
6552
6553 Use completion-table-with-quoting for comint and pcomplete.
6554 * comint.el (comint--unquote&requote-argument)
6555 (comint--unquote-argument, comint--requote-argument): New functions.
6556 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6557 (comint-quote-filename): Use regexp-opt-charset.
6558 (comint--common-suffix, comint--common-quoted-suffix)
6559 (comint--table-subvert): Remove.
6560 (comint-unquote-function, comint-requote-function): New vars.
6561 (comint--complete-file-name-data): Use them with
6562 completion-table-with-quoting.
6563 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6564 * pcomplete.el (pcomplete-arg-quote-list)
6565 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6566 (pcomplete-unquote-argument-function): Default to non-nil.
6567 (pcomplete-unquote-argument): Simplify.
6568 (pcomplete--common-quoted-suffix): Remove.
6569 (pcomplete-requote-argument-function): New var.
6570 (pcomplete--common-suffix): New function.
6571 (pcomplete-completions-at-point): Use completion-table-with-quoting
6572 and completion-table-subvert.
6573
6574 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6575 (minibuffer--double-dollars): Preserve properties.
6576 (completion--sifn-requote): New function.
6577 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6578
6579 * minibuffer.el: Add support for completion of quoted/escaped data.
6580 (completion-table-with-quoting, completion-table-subvert): New funs.
6581 (completion--twq-try, completion--twq-all): New functions.
6582 (completion--nth-completion): New function.
6583 (completion-try-completion, completion-all-completions): Use it.
6584
6585 2012-04-25 Leo Liu <sdl.web@gmail.com>
6586
6587 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6588 Use compilation-message if available to find real filename.
6589
6590 2012-04-25 Chong Yidong <cyd@gnu.org>
6591
6592 * vc/diff-mode.el (diff-setup-whitespace): New function.
6593 (diff-mode): Use it.
6594
6595 * vc/diff.el (diff-sentinel):
6596 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6597 Whitespace mode variables based on diff style (Bug#8612).
6598
6599 2012-04-25 Leo Liu <sdl.web@gmail.com>
6600
6601 * progmodes/python.el (python-send-region): Add suffix .py to the
6602 temp file.
6603
6604 * files.el (auto-mode-alist): Use javascript-mode instead.
6605
6606 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6607
6608 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
6609
6610 * net/soap-client.el (soap-resolve-references-for-sequence-type)
6611 (soap-resolve-references-for-array-type): Hack to prevent self
6612 references, see Bug#9.
6613 (soap-parse-envelope): Report the contents of the 'detail' node
6614 when receiving a fault reply.
6615 (soap-parse-envelope): Report the contents of the entire 'detail' node.
6616
6617 * net/soap-inspect.el (soap-sample-value-for-simple-type)
6618 (soap-inspect-simple-type): New function.
6619
6620 * net/soap-client.el (soap-simple-type): New struct.
6621 (soap-default-xsd-types, soap-default-soapenc-types)
6622 (soap-decode-basic-type, soap-encode-basic-type):
6623 support unsignedInt and double basic types.
6624 (soap-resolve-references-for-simple-type)
6625 (soap-parse-simple-type, soap-encode-simple-type): New function.
6626 (soap-parse-schema): Parse xsd:simpleType declarations.
6627
6628 * net/soap-client.el (soap-default-xsd-types)
6629 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6630 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6631 the local name of "soapenc:Array".
6632 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6633 decoding integer, byte and anyURI xsd types.
6634
6635 2012-04-25 Chong Yidong <cyd@gnu.org>
6636
6637 * cus-edit.el (custom-buffer-create-internal): Update header text.
6638
6639 2012-04-25 Eli Zaretskii <eliz@gnu.org>
6640
6641 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6642 settings on 'system-type', not on 'window-system'. On MS-Windows,
6643 set interactive-mode on in GDB.
6644
6645 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6648 (ruby-syntax-propertize-regexp): Remove.
6649 (ruby-syntax-propertize-function): Split regexp into chunks.
6650 Match following code directly.
6651
6652 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6653
6654 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6655 (ruby-syntax-propertize-regexp): New function.
6656 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6657 by a special keyword.
6658
6659 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6660 (ruby-syntax-general-delimiters-goto-beg)
6661 (ruby-syntax-propertize-general-delimiters): New functions.
6662 (ruby-syntax-propertize-function): Use them to handle GDL.
6663 (ruby-font-lock-keywords): Move old handling of GDL...
6664 (ruby-font-lock-syntactic-keywords): .. to here.
6665 (ruby-calculate-indent): Adjust indentation for GDL.
6666
6667 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
6668
6669 * notifications.el (top): Remove unneeded declarations.
6670 (notifications-specification-version): Change to "1.2".
6671 (notifications-interface, notifications-notify-method)
6672 (notifications-close-notification-method): Fix docstring.
6673 (notifications-get-capabilities-method): New defconst.
6674 (notifications-notify): Add :action-items, :resident and
6675 :transient hints. Change "image_data" to "image-data" and
6676 "image_path" to "image-path".
6677 (notifications-get-capabilities): New defun.
6678
6679 2012-04-24 Leo Liu <sdl.web@gmail.com>
6680
6681 * progmodes/python.el: Move hideshow setup to the end.
6682
6683 2012-04-24 Martin Rudalics <rudalics@gmx.at>
6684
6685 * window.el (handle-select-window): Clear echo area since this is
6686 no more done by read_char (Bug#11304).
6687
6688 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6689
6690 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6691 and `/ M' to filter-derived-mode.
6692 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6693 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6694 (ibuffer-mark-by-mode): Use default rather than initial-input.
6695 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6696
6697 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6698
6699 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6700 (ibuffer-filter-by-derived-mode): New filter.
6701 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6702
6703 2012-04-23 Andreas Politz <politza@fh-trier.de>
6704
6705 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6706
6707 2012-04-23 Chong Yidong <cyd@gnu.org>
6708
6709 * cus-edit.el (customize-apropos, customize-apropos-options):
6710 Disable matching of non-option variables (Bug#11176).
6711 (customize-option, customize-option-other-window)
6712 (customize-changed-options): Doc fix.
6713 (customize-apropos-options, customize-apropos-faces)
6714 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6715
6716 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6717 Fix word list splitting (Bug#11132).
6718 (apropos-symbol, apropos-keybinding, apropos-label)
6719 (apropos-property, apropos-function-button)
6720 (apropos-variable-button, apropos-misc-button): New faces.
6721 (apropos-symbol-face, apropos-keybinding-face)
6722 (apropos-label-face, apropos-property-face, apropos-match-face):
6723 Variables removed (Bug#8396).
6724 (apropos-library-button, apropos-format-plist, apropos-print)
6725 (apropos-print-doc, apropos-describe-plist): Callers changed.
6726
6727 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
6728
6729 * net/xesam.el (xesam-mode-map): Use let-bound map in
6730 initialization. (Bug#11292)
6731
6732 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6733
6734 Preserve ispell session localwords when switching back to
6735 original buffer.
6736
6737 * textmodes/ispell.el (ispell-buffer-session-localwords):
6738 New buffer-local variable to hold buffer session localwords.
6739 (ispell-kill-ispell): Add option 'clear to delete session
6740 localwords.
6741 (ispell-command-loop, ispell-change-dictionary)
6742 (ispell-buffer-local-words): Preserve session localwords when
6743 needed.
6744
6745 * textmodes/flyspell.el (flyspell-process-localwords)
6746 (flyspell-do-correct): Preserve session localwords when needed.
6747
6748 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6749
6750 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6751 using obsolete `translation-table-for-input'.
6752 (ispell-word, ispell-process-line, ispell-complete-word):
6753 Use plain `insert' instead of removed `ispell-insert-word'.
6754
6755 2012-04-22 Chong Yidong <cyd@gnu.org>
6756
6757 * cus-edit.el (custom-variable-menu)
6758 (custom-variable-reset-saved, custom-face-menu)
6759 (custom-face-reset-saved): If there is no saved value, make the
6760 "reset-saved" operation bring back the default (Bug#9509).
6761 (custom-face-state): Properly detect themed faces.
6762
6763 * faces.el (face-spec-set): Stop supporting deprecated form of
6764 third arg.
6765
6766 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
6767
6768 Move functions from C to Lisp. Make non-blocking method calls
6769 the default. Implement further D-Bus standard interfaces.
6770
6771 * net/dbus.el (dbus-message-internal): Declare function.
6772 Remove unneeded function declarations.
6773 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6774 (dbus-message-type-method-return, dbus-message-type-error)
6775 (dbus-message-type-signal): Declare variables. Remove local
6776 definitions.
6777 (dbus-interface-dbus, dbus-interface-peer)
6778 (dbus-interface-introspectable, dbus-interface-properties)
6779 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6780 Adapt docstring.
6781 (dbus-interface-objectmanager): New defconst.
6782 (dbus-call-method, dbus-call-method-asynchronously)
6783 (dbus-send-signal, dbus-method-return-internal)
6784 (dbus-method-error-internal, dbus-register-service)
6785 (dbus-register-signal, dbus-register-method): New defuns, moved
6786 from dbusbind.c
6787 (dbus-call-method-handler, dbus-setenv)
6788 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6789 New defuns.
6790 (dbus-call-method-non-blocking): Make it an obsolete function.
6791 (dbus-unregister-object, dbus-unregister-service)
6792 (dbus-handle-event, dbus-register-property)
6793 (dbus-property-handler): Obey the new structure of
6794 `bus-registered-objects'.
6795 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6796 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6797 Use `dbus-call-method'.
6798
6799 2012-04-22 Chong Yidong <cyd@gnu.org>
6800
6801 * cus-edit.el (custom-commands, custom-reset-menu)
6802 (Custom-reset-standard): Tweak labels.
6803 (custom-reset-button-menu): Change default to t.
6804 (custom-buffer-create-internal): For the custom-reset-button-menu
6805 case, put the revert button first.
6806 (custom-group-subtitle): New face.
6807 (custom-group-value-create): Align docstring to a specific column.
6808
6809 * wid-edit.el (widget-documentation-link-add): Don't handle
6810 indentation in this function.
6811 (widget-documentation-string-indent-to): New function.
6812 (widget-documentation-string-value-create): Use it.
6813
6814 * autorevert.el (auto-revert):
6815 * epg-config.el (epg):
6816 * ibuffer.el (ibuffer):
6817 * mpc.el (mpc):
6818 * ses.el (ses):
6819 * eshell/eshell.el (eshell):
6820 * net/ange-ftp.el (ange-ftp):
6821 * progmodes/ebnf2ps.el (postscript):
6822 * progmodes/flymake.el (flymake):
6823 * progmodes/prolog.el (prolog):
6824 * progmodes/verilog-mode.el (verilog-mode):
6825 * progmodes/which-func.el (which-func):
6826 * term/xterm.el (xterm):
6827 * textmodes/picture.el (picture):
6828 * textmodes/tildify.el (tildify):
6829 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6830 customization buffers.
6831
6832 2012-04-22 Alan Mackenzie <acm@muc.de>
6833
6834 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6835 Adding a ) can hide the resulting (..) from searches. Fix it.
6836 Bound the backward search to the position of the existing (.
6837
6838 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
6839
6840 * progmodes/verilog-mode.el (verilog-mode): Check whether
6841 which-func-modes is t before adding verilog-mode.
6842 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6843
6844 2012-04-21 Leo Liu <sdl.web@gmail.com>
6845
6846 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6847
6848 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6849
6850 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6851 filling of the last column of a table (Bug#5635).
6852 (woman-find-next-control-line): New arg, specifying an additional
6853 regexp component for the control line.
6854 (woman2-roff-buffer): Use it.
6855 (woman-break-table): New function.
6856 (woman2-TS): Use it.
6857
6858 2012-04-21 Chong Yidong <cyd@gnu.org>
6859
6860 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6861 (woman-horizontal-escapes, woman-negative-vertical-space)
6862 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6863 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6864
6865 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * minibuffer.el (completion-file-name-table): Complete user names.
6868
6869 2012-04-20 Leo Liu <sdl.web@gmail.com>
6870
6871 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6872 and pcase-let*.
6873
6874 2012-04-20 Chong Yidong <cyd@gnu.org>
6875
6876 * server.el (server-execute): Respect initial-buffer-choice if it
6877 is a string and there are no files to open (Bug#2825).
6878 (server-create-window-system-frame, server-create-tty-frame):
6879 Don't switch buffers here.
6880 (server-process-filter): Only try to open a window system frame if
6881 compiled with graphical support (Bug#8314).
6882
6883 2012-04-20 Dan Nicolaescu <dann@gnu.org>
6884
6885 * battery.el (battery-echo-area-format): Display remaining time
6886 for sysfs backend too (Bug#11269).
6887 (battery-linux-sysfs): Fix conditional for the charge.
6888
6889 2012-04-20 Chong Yidong <cyd@gnu.org>
6890
6891 * progmodes/gdb-mi.el (gdb): Revert previous change.
6892 (gdb-inferior-io--init-proc): New function.
6893 (gdb-init-1): Use it.
6894 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6895 responsible for allocating a new pty and hooking it to gdb when
6896 the old pty gets an EIO due to process exit.
6897 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6898 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6899 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6900
6901 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6902
6903 * window.el (window-min-size, window-sizable, window-min-delta)
6904 (window-max-delta, window--resizable, window-resizable)
6905 (window-total-size, window-full-height-p, window-full-width-p)
6906 (window-in-direction, window--resize-mini-window, window-resize)
6907 (window--resize-child-windows-normal)
6908 (window--resize-child-windows, window--resize-siblings)
6909 (window--resize-this-window, adjust-window-trailing-edge)
6910 (enlarge-window, shrink-window): Doc fixes.
6911
6912 2012-04-20 Chong Yidong <cyd@gnu.org>
6913
6914 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6915 New function to call delete-process on the gdb-inferior buffer's pty.
6916 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6917 pty process (Bug#11273).
6918 (gdb-update): New arg to suppress talking to the gdb process.
6919 (gdb-done-or-error): Use it.
6920 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6921 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6922 sentinel not being called.
6923
6924 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6925
6926 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6927
6928 2012-04-20 Glenn Morris <rgm@gnu.org>
6929
6930 * net/network-stream.el (open-network-stream): Doc fix.
6931
6932 2012-04-20 Chong Yidong <cyd@gnu.org>
6933
6934 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6935
6936 2012-04-20 Alan Mackenzie <acm@muc.de>
6937
6938 Ensure searching for keywords is case sensitive.
6939
6940 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6941 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6942 (c-defun-name, c-mark-function, c-cpp-define-name)
6943 (c-comment-indent, c-scan-conditionals, c-indent-defun)
6944 (c-context-line-break): Bind case-fold-search to nil.
6945
6946 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6947 Bind case-fold-search to nil.
6948
6949 2012-04-20 Chong Yidong <cyd@gnu.org>
6950
6951 * mail/sendmail.el (mail-bury): Call return action with the right
6952 Rmail buffer (Bug#11242).
6953
6954 * server.el (server-process-filter): Handle corner case where both
6955 tty and nowait options are present (Bug#11102).
6956
6957 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6958
6959 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6960 (top level): Put into the executable the ident-style '$Id:' tag on
6961 windows-nt as well.
6962
6963 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * electric.el (electric-indent-post-self-insert-function): Check that
6966 electric-indent-mode is enabled in current buffer.
6967
6968 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * imenu.el (imenu-progress-message): Restore; it is "used" in
6971 erc/erc-imenu.el and net/snmp-mode.el.
6972
6973 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6974
6975 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6976 (mouse-avoidance-nudge-mouse): Remove unused binding.
6977
6978 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6979
6980 * descr-text.el (describe-char):
6981 * progmodes/python.el (python-describe-symbol):
6982 Don't call `toggle-read-only', set `buffer-read-only'.
6983
6984 * imenu.el (imenu-default-goto-function): Mark unused args.
6985 (imenu-progress-message): Remove obsolete macro; all callers changed.
6986
6987 * subr.el (keymap-canonicalize): Remove unused binding.
6988 (read-passwd): Mark unused arg.
6989
6990 * tutorial.el (tutorial--display-changes): Remove unused binding.
6991 (tutorial--save-tutorial-to): Remove unused variable.
6992
6993 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6994 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6995 (package-generate-autoloads, package-menu--generate)
6996 (package-menu--find-upgrades): Remove unused bindings.
6997
6998 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6999 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7000 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7001 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7002 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7003 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7004 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7005 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7006 (cua-delete-char-rectangle): Mark unused args.
7007 (cua-align-rectangle): Remove unused binding.
7008
7009 * mail/rmail.el (compilation--message->loc)
7010 (epa--find-coding-system-for-mime-charset): Declare.
7011
7012 * net/dbus.el (dbus-register-service): Declare.
7013 (dbus-name-owner-changed-handler): Remove unused binding.
7014
7015 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7016 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7017 (nxml-scan-backward-within): Mark unused arg.
7018 (nxml-dynamic-markup-word): Remove unused binding.
7019
7020 * mouse.el (mouse-menu-major-mode-map):
7021 * emacs-lisp/authors.el (authors-scan-change-log)
7022 (authors-add-to-author-list):
7023 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7024 * emacs-lisp/smie.el (smie-auto-fill):
7025 * mail/sendmail.el (mail-bury):
7026 * mail/unrmail.el (unrmail):
7027 * net/tls.el (open-tls-stream):
7028 * textmodes/picture.el (picture-mouse-set-point):
7029 Remove unused bindings.
7030
7031 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7032
7033 * net/tramp.el (tramp-action-password): Let-bind
7034 `enable-recursive-minibuffers' to t.
7035
7036 2012-04-18 Sam Steingold <sds@gnu.org>
7037
7038 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7039 instead of 'string to accommodate values like [f11].
7040 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7041 * progmodes/gdb-mi.el: Likewise.
7042
7043 2012-04-18 Leo Liu <sdl.web@gmail.com>
7044
7045 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7046 current buffer.
7047 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7048 LOCAL is nil.
7049
7050 2012-04-18 Chong Yidong <cyd@gnu.org>
7051
7052 * simple.el (line-move): Use forward-line if in batch mode
7053 (Bug#11053).
7054
7055 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7056
7057 * files.el (after-find-file): Do not try to add a final newline if
7058 the buffer is read-only (Bug#11156).
7059
7060 2012-04-17 Richard Stallman <rms@gnu.org>
7061
7062 * mail/rmail.el (rmail-start-mail):
7063 Pass (rmail-mail-return...) for the return-action.
7064 Pass (rmail-yank-current-message...) for the yank-action.
7065 (rmail-yank-current-message): New function.
7066 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7067 (rmail-reply): Likewise.
7068 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7069
7070 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7071 buffer, not the last. Reject temp buffers. Use the rmail-mode
7072 buffer, not newbuf.
7073
7074 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7075
7076 * server.el (server-ensure-safe-dir): Simplify.
7077
7078 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * emacs-lisp/smie.el: Provide smarter auto-filling.
7081 (smie-auto-fill): New function.
7082 (smie-setup): Use it.
7083
7084 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7085
7086 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7087
7088 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7089 (comment-indent): Use it.
7090
7091 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7092
7093 * ses.el: The overall change is to add cell renaming, that is
7094 setting fancy names for cell symbols other than name matching
7095 "\\`[A-Z]+[0-9]+\\'" regexp .
7096 (ses-localvars): Add ses--renamed-cell-symb-list.
7097 (ses-create-cell-variable): New defun.
7098 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7099 (ses-relocate-formula): Relocate formulas only for cells the
7100 symbols of which are not renamed, i.e. symbols whose names do not
7101 match regexp "\\`[A-Z]+[0-9]+\\'".
7102 (ses-relocate-all): Relocate values only for cells the symbols of
7103 which are not renamed.
7104 (ses-load): Create cells variables as the (ses-cell ...) are read,
7105 in order to check row col consistency with cell symbol name only
7106 for cells that are not renamed.
7107 (ses-replace-name-in-formula): New defun.
7108 (ses-rename-cell): New defun.
7109
7110 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7111
7112 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7113 New option (bug#11118).
7114 (perl-calculate-indent): Respect it.
7115
7116 2012-04-17 Glenn Morris <rgm@gnu.org>
7117
7118 * dired-aux.el (dired-mark-read-string): Doc fix.
7119
7120 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7121
7122 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7123 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7124
7125 2012-04-17 Glenn Morris <rgm@gnu.org>
7126
7127 * mouse.el (mouse-drag-track):
7128 * speedbar.el (speedbar-frame-mode):
7129 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7130
7131 2012-04-16 Leo Liu <sdl.web@gmail.com>
7132
7133 * progmodes/python.el: Trivial cleanup.
7134
7135 2012-04-16 Glenn Morris <rgm@gnu.org>
7136
7137 * vc/vc.el (vc-string-prefix-p):
7138 * vc/pcvs-util.el (cvs-string-prefix-p):
7139 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7140 * mpc.el (mpc-string-prefix-p):
7141 Make all of these into obsolete aliases for string-prefix-p.
7142 Update callers.
7143 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7144
7145 * textmodes/two-column.el: Move custom options to the start.
7146 (frame-width): Remove compat definition.
7147 (2C-associate-buffer, 2C-dissociate):
7148 Use with-current-buffer rather than save-excursion.
7149 (2C-dissociate): Force a mode-line update.
7150 (2C-autoscroll): Use ignore-errors.
7151
7152 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7153 Autoload trivia.
7154
7155 * emacs-lisp/cl-extra.el (*random-state*):
7156 Remove unnecessary declaration.
7157
7158 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7159
7160 * play/cookie1.el (cookie-snarf):
7161 Give an explicit error if input file cannot be read.
7162
7163 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7164
7165 * progmodes/perl-mode.el (c-macro-expand):
7166 Remove unnecessary autoload (it is in loaddefs.el).
7167
7168 * textmodes/picture.el (picture-desired-column)
7169 (picture-update-desired-column): Convert comments to doc-strings.
7170 (picture-substitute): Remove function.
7171 (picture-mode-map): Initialize in the defvar.
7172
7173 * woman.el: Remove eval-after-load for tar-mode.
7174 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7175 (woman-tar-extract-file): Autoload it.
7176
7177 * frame.el (automatic-hscrolling): Make this alias obsolete.
7178
7179 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7180
7181 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7182 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7183 (ispell-dictionary-base-alist): Revert to original XEmacs
7184 friendly version for default. [:alpha:] will be added in
7185 `ispell-set-spellchecker-params' if needed.
7186
7187 2012-04-16 Chong Yidong <cyd@gnu.org>
7188
7189 * image.el (imagemagick--file-regexp): New variable.
7190 (imagemagick-register-types): Use it.
7191 (imagemagick-types-inhibit): Add :set function. Allow new value
7192 of t to inhibit all types.
7193
7194 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7195 so we can preload it.
7196
7197 * loadup.el (fboundp): Preload regexp-opt, needed by
7198 imagemagick-register-types.
7199
7200 2012-04-15 Chong Yidong <cyd@gnu.org>
7201
7202 * frame.el (scrolling): Remove nearly unused customization group.
7203
7204 * scroll-all.el (scroll-all-mode): Move to windows group.
7205
7206 2012-04-15 Chong Yidong <cyd@gnu.org>
7207
7208 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7209
7210 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7213 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7214
7215 2012-04-15 Glenn Morris <rgm@gnu.org>
7216
7217 * simple.el (process-file-side-effects): Doc fix.
7218
7219 2012-04-15 Glenn Morris <rgm@gnu.org>
7220
7221 * international/mule-cmds.el (set-language-environment): Doc fix.
7222
7223 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7224
7225 * server.el (server-auth-key, server-generate-key): Doc fixes.
7226 (server-get-auth-key): Doc fix. Use `string-match-p'.
7227 (server-start): Reflow docstring.
7228
7229 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7230
7231 * server.el (server-generate-key): `called-interactively-p'
7232 requires a parameter.
7233
7234 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7235
7236 * server.el (server-auth-key): New variable.
7237 (server-generate-key, server-get-auth-key): New function.
7238 (server-start): Use the new variable and functions to allow
7239 setting a permanent server key (bug#9423).
7240
7241 2012-04-14 Leo Liu <sdl.web@gmail.com>
7242
7243 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7244
7245 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7246
7247 Spelling fixes.
7248 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7249 Emacs uses American spelling.
7250
7251 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7252
7253 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7254 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7255 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7256 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7257
7258 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * progmodes/which-func.el (which-func-modes): Change default.
7261
7262 2012-04-14 Kim F. Storm <storm@cua.dk>
7263
7264 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7265 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7266
7267 2012-04-14 Chong Yidong <cyd@gnu.org>
7268
7269 * custom.el (custom-theme-set-variables): Doc fix.
7270
7271 2012-04-14 Glenn Morris <rgm@gnu.org>
7272
7273 * international/mule.el (set-auto-coding-for-load): Doc fix.
7274
7275 2012-04-14 Alan Mackenzie <acm@muc.de>
7276
7277 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7278 imenu work again for Objective C Mode. Correct the *-index values,
7279 these having been disturbed by a previous change in 2011-08.
7280
7281 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7282 Correct two search limits.
7283
7284 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7287
7288 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7289
7290 * international/characters.el: Fix sorting.
7291
7292 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7293
7294 * international/characters.el: Add more missing Latin case pairs.
7295
7296 2012-04-14 Glenn Morris <rgm@gnu.org>
7297
7298 * files.el (dir-locals-set-class-variables): Doc fix.
7299
7300 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7301
7302 * international/characters.el: Add set-case-syntax-pair call for
7303 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7304 counterpart. (Bug#11209)
7305
7306 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7307
7308 2012-04-14 Glenn Morris <rgm@gnu.org>
7309
7310 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7311
7312 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7313
7314 * textmodes/ispell.el (ispell-dictionary-base-alist):
7315 Add data for Hebrew.
7316
7317 2012-04-14 Chong Yidong <cyd@gnu.org>
7318
7319 * net/rcirc.el (rcirc-cmd-quit):
7320 Revert 2012-03-18 change (Bug#11192).
7321
7322 2012-04-14 Glenn Morris <rgm@gnu.org>
7323
7324 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7325
7326 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7327
7328 * minibuffer.el (completion-in-region-mode-map):
7329 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7330
7331 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7332
7333 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7334
7335 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7336
7337 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7338 to allow `C-M-f' and `C-M-b' to move to the nearest path
7339 separator (bug#9511).
7340
7341 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7342
7343 * avoid.el: Require cl when compiling. And also move the
7344 `provide' to the end.
7345
7346 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7347
7348 * avoid.el (mouse-avoidance-banish-position): New variable.
7349 (mouse-avoidance-banish-destination): Use it (bug#10165).
7350
7351 2012-04-13 Leo Liu <sdl.web@gmail.com>
7352
7353 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7354
7355 2012-04-13 Ken Brown <kbrown@cornell.edu>
7356
7357 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7358 this is no longer needed now that cygstart understands file:// URLs.
7359 (browse-url-filename-alist): For the same reason, don't modify
7360 file:// URLs on Cygwin.
7361
7362 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7365 the region on shift if the binding is already shifted (bug#11221).
7366
7367 2012-04-12 Glenn Morris <rgm@gnu.org>
7368
7369 * mail/mailpost.el: Move to obsolete/.
7370
7371 2012-04-12 Drew Adams <drew.adams@oracle.com>
7372
7373 * imenu.el (imenu--generic-function): Ignore invisible definitions
7374 (bug#10123).
7375
7376 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7377
7378 * hexl.el (hexl-bits): New variable.
7379 (hexl-options): Mention the variable in the doc string.
7380 (hexl-rulerise, hexl-line-displen): New functions.
7381 (hexl-mode): Mention the new variable.
7382 (hexl-mode, hexl-current-address, hexl-current-address):
7383 Use the displen.
7384 (hexl-ascii-start-column): New function.
7385 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7386 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7387
7388 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7389
7390 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7391 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7392 the encoding, as expected by hunspell.
7393
7394 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * battery.el (battery--linux-sysfs-regexp): New const.
7397 (battery-status-function): Use it. Remove yeeloong special case.
7398 (battery-yeeloong-sysfs): Remove.
7399 (battery-echo-area-format): Remove yeeloong special case.
7400
7401 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7402
7403 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7404 Reported by Noah Friedman.
7405
7406 * subr.el (read-passwd): Use read-string.
7407
7408 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
7410 * vcursor.el (vcursor-move): Increase the priority of the overlay
7411 (bug#9663).
7412
7413 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7414
7415 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7416 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7417
7418 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7419
7420 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7421 define-minor-mode (bug#10760).
7422
7423 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7424
7425 * progmodes/grep.el (rgrep): Tweak the find command line so
7426 that directories matching `grep-find-ignored-files' won't be
7427 pruned (bug#10351).
7428
7429 2012-04-11 Chong Yidong <cyd@gnu.org>
7430
7431 * startup.el (command-line): Remove support for long-obsolete
7432 variable font-lock-face-attributes.
7433
7434 2012-04-11 Glenn Morris <rgm@gnu.org>
7435
7436 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7437
7438 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * window.el (window--state-get-1): Obey window-point-insertion-type.
7441
7442 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7443
7444 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7445 to previous function when point is on the first character of a
7446 function. Take care of that in `narrow-to-defun' (bug#6157).
7447
7448 2012-04-11 Glenn Morris <rgm@gnu.org>
7449
7450 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7451 not just file-errors.
7452
7453 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7454 (vc-bzr-sha1): Use internal sha1.
7455
7456 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7459
7460 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7461
7462 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7463 that start in the middle of the line (bug#10496).
7464
7465 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7466
7467 * battery.el (battery-linux-proc-acpi): Only one battery is
7468 discharged at a time, but that seems to confuse battery.el when
7469 computing `rate-type' for the battery not being discharged
7470 (bug#10332).
7471
7472 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7475
7476 * international/quail.el: Use dolist and simplify.
7477 (quail-define-package, quail-update-keyboard-layout)
7478 (quail-define-rules): Use dolist.
7479 (quail-insert-kbd-layout, quail-get-translation): CSE.
7480
7481 * tmm.el: Use dolist, remove left over hook.
7482 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7483 Use dolist.
7484 (calendar-load-hook): Don't mess with it.
7485
7486 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7487 Use derived-mode-p. Run the diff asynchronously.
7488
7489 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7490
7491 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7492
7493 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7494
7495 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7496 (list-dynamic-libraries--loaded): New function.
7497 (list-dynamic-libraries--refresh): Use it.
7498
7499 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7500
7501 * progmodes/python.el (python-fill-paragraph):
7502 Make python-fill-region in a multiline string work when font-lock is
7503 disabled (bug#7018).
7504
7505 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7506
7507 * language/european.el (cp775): Add oem/legacy (en)coding on
7508 DOS/MS Windows for the Baltic languages. There are still plenty
7509 of texts written in this encoding/codepage (bug#6519).
7510
7511 2012-04-10 Glenn Morris <rgm@gnu.org>
7512
7513 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7514 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7515
7516 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7517
7518 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7519 next-line "n" and previous-line "p" in order to make recentf more
7520 consistent with ibuffer, dired or org-mode (bug#9387).
7521
7522 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7523
7524 * image.el (put-image): Return the overlay created instead of the
7525 optional input string (bug#7834). Note that this may break code
7526 that is (for some reason or other) depending on `put-image'
7527 returning the string.
7528
7529 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7530
7531 * simple.el (zap-to-char): Allow zapping using input methods
7532 (bug#1580).
7533
7534 * textmodes/fill.el (fill-region): Leave point and mark where they
7535 were before filling (bug#5399).
7536
7537 2012-04-09 Glenn Morris <rgm@gnu.org>
7538
7539 * version.el (emacs-bzr-get-version):
7540 Handle lightweight checkouts of local branches.
7541
7542 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7543
7544 * international/characters.el: Recover lost case pairs. (Bug#11209)
7545
7546 2012-04-09 Chong Yidong <cyd@gnu.org>
7547
7548 * custom.el (custom-variable-p): Return nil for non-symbol
7549 arguments instead of signaling an error.
7550 (user-variable-p): Obsolete alias for custom-variable-p.
7551
7552 * apropos.el (apropos-variable):
7553 * files-x.el (read-file-local-variable):
7554 * simple.el (set-variable):
7555 * woman.el (woman-mini-help):
7556 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7557
7558 2012-04-09 Glenn Morris <rgm@gnu.org>
7559
7560 * startup.el (normal-top-level): Don't look for leim-list.el
7561 in places where it will not be found. (Bug#910)
7562
7563 * international/mule-cmds.el (set-default-coding-systems):
7564 * files.el (normal-mode):
7565 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7566 This function was removed with ucs-tables.el in 2008.
7567
7568 2012-04-08 Eli Zaretskii <eliz@gnu.org>
7569
7570 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7571 ispell-encoding8-command to "-i", without a trailing space.
7572 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7573 separate command-line arguments, to specify the encoding, since
7574 that's how hunspell expects it.
7575
7576 2012-04-08 Glenn Morris <rgm@gnu.org>
7577
7578 * loadup.el: Load bindings before cus-start.
7579 This reduces somewhat the number of "rogue" settings in emacs -Q.
7580
7581 2012-04-07 Glenn Morris <rgm@gnu.org>
7582
7583 * version.el (emacs-bzr-get-version): New function.
7584 (emacs-bzr-version): New variable.
7585 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7586 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7587
7588 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7589
7590 * international/uni-bidi.el, international/uni-category.el:
7591 * international/uni-combining.el, international/uni-decimal.el:
7592 * international/uni-decomposition.el, international/uni-digit.el:
7593 * international/uni-lowercase.el, international/uni-mirrored.el:
7594 * international/uni-name.el, international/uni-numeric.el:
7595 * international/uni-titlecase.el, international/uni-uppercase.el:
7596 Update for Unicode 6.1.
7597
7598 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7599
7600 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7601
7602 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7603
7604 * window.el (shrink-window): Mention the `window-min-height'
7605 variable in the doc string.
7606
7607 2012-04-05 Bastien Guerry <bzg@altern.org>
7608
7609 * color.el (color-lighten-name): Fix typo.
7610
7611 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * server.el (server--on-display-p): New function.
7614 (server--on-display-p): Use it.
7615
7616 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7617
7618 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7619 (bug#11145).
7620
7621 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * comint.el (comint--common-quoted-suffix): Check string boundary
7624 before comparing (bug#11158).
7625 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7626
7627 2012-04-04 Chong Yidong <cyd@gnu.org>
7628
7629 * minibuffer.el (completion-extra-properties): Doc fix.
7630
7631 * subr.el (delayed-warnings-hook): Doc fix.
7632
7633 2012-04-04 Daiki Ueno <ueno@unixuser.org>
7634
7635 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7636 selection (Bug#11159).
7637 (epa-insert-keys): Inform that the default public key will be
7638 exported if no key is selected.
7639
7640 2012-04-04 Richard Stallman <rms@gnu.org>
7641
7642 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7643
7644 2012-04-03 Chong Yidong <cyd@gnu.org>
7645
7646 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7647 mail-insert-file, not its obsolete alias mail-attach-file.
7648
7649 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
7650
7651 * notifications.el (notifications-notify): Fix docstring.
7652
7653 2012-04-02 Glenn Morris <rgm@gnu.org>
7654
7655 * emacs-lisp/authors.el (authors-aliases): Another addition.
7656
7657 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7660 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7661 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7662
7663 2012-04-01 Chong Yidong <cyd@gnu.org>
7664
7665 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7666 Handle root directory properly.
7667 (copy-directory): Caller changed.
7668
7669 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7670 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7671
7672 2012-03-31 Glenn Morris <rgm@gnu.org>
7673
7674 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7675
7676 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7677
7678 * calendar/calendar.el (calendar-window-list)
7679 (calendar-hide-window): Restore. (Bug#11140)
7680 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7681
7682 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7683
7684 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7685
7686 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7687 Check if file is a symlink (Bug#10489).
7688
7689 * files.el (copy-directory): Likewise.
7690
7691 2012-03-30 Chong Yidong <cyd@gnu.org>
7692
7693 * image.el (imagemagick-types-inhibit)
7694 (imagemagick-register-types): Doc fix.
7695
7696 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7697
7698 * textmodes/ispell.el (ispell-get-extended-character-mode):
7699 Disable extended-char-mode for hunspell. hunspell does not support it
7700 and treats ~word as ordinary words in pipe mode.
7701
7702 2012-03-30 Glenn Morris <rgm@gnu.org>
7703
7704 * tutorial.el (help-with-tutorial): Ensure local variables don't
7705 happen to make the buffer read-only. (Bug#11127)
7706
7707 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7710 (perl-calculate-indent): Return `noindent' in strings.
7711
7712 2012-03-28 Sam Steingold <sds@gnu.org>
7713
7714 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7715 instead of the broken adhockery which does not prevent calendar
7716 buffers from being displayed at random after exit.
7717 (calendar-window-list, calendar-hide-window): Remove the broken
7718 adhockery.
7719
7720 2012-03-28 Glenn Morris <rgm@gnu.org>
7721
7722 * replace.el (query-replace-map): Doc fix.
7723
7724 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7725
7726 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7727 contents. (Bug#11109)
7728
7729 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7732 (bug#11077).
7733 (avl-tree--check, avl-tree--check-node): New funs.
7734
7735 2012-03-27 Martin Rudalics <rudalics@gmx.at>
7736
7737 * window.el (switch-to-visible-buffer): New option.
7738 (switch-to-prev-buffer, switch-to-next-buffer):
7739 Observe switch-to-visible-buffer. Make sure that checking for a window
7740 showing a buffer already is done on the same frame.
7741
7742 2012-03-27 Glenn Morris <rgm@gnu.org>
7743
7744 * startup.el (mail-host-address): Doc fix.
7745
7746 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7749 than 197 variables.
7750
7751 2012-03-26 Ami Fischman <ami@fischman.org>
7752
7753 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7754
7755 2012-03-26 Glenn Morris <rgm@gnu.org>
7756
7757 * files.el (save-buffers-kill-emacs): Doc fix.
7758
7759 * startup.el (normal-top-level, command-line, command-line-1):
7760 Give them doc strings.
7761
7762 2012-03-25 Eli Zaretskii <eliz@gnu.org>
7763
7764 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7765 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7766
7767 2012-03-25 Chong Yidong <cyd@gnu.org>
7768
7769 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7770 theme if it was previously enabled before (Bug#11031).
7771
7772 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7773 spec with custom-face-get-current-spec if its :shown-value is not
7774 determined yet (Bug#9337).
7775 (customize-create-theme, custom-theme-revert): Doc fixes.
7776
7777 * button.el (button-at): Minor addition to docstring.
7778
7779 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
7780
7781 * vc/vc.el (vc-merge): Fix a prompt.
7782
7783 2012-03-24 Chong Yidong <cyd@gnu.org>
7784
7785 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7786 point (Bug#9623).
7787
7788 * button.el (button-at): Minor addition to docstring.
7789
7790 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * newcomment.el (comment-choose-indent): No space after BOL.
7793
7794 2012-03-22 Sam Steingold <sds@gnu.org>
7795
7796 * window.el (switch-to-prev-buffer): Revert last patch because the
7797 bug turned out to be an advertised feature (Elisp manual 28.14).
7798
7799 2012-03-22 Glenn Morris <rgm@gnu.org>
7800
7801 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7802 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7803
7804 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7805
7806 * net/network-stream.el (network-stream-open-starttls): Make error
7807 message under Windows be less misleading.
7808
7809 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7810
7811 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7812 understands (bug#9942).
7813
7814 2012-03-22 Chong Yidong <cyd@gnu.org>
7815
7816 * simple.el (end-of-visible-line): Handle return value of
7817 next-single-property-change properly (Bug#9371).
7818
7819 2012-03-22 Kenichi Handa <handa@m17n.org>
7820
7821 * international/quail.el (quail-insert-kbd-layout): Fix previous
7822 change. To avoid unwanted bidi reordering, use
7823 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7824
7825 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7826
7827 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7828 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7829 (ruby-beginning-of-indent): Be more careful with the difference
7830 between word-boundary and symbol boundary.
7831 (ruby-mode-syntax-table): Make : a symbol constituent.
7832
7833 2012-03-21 Andreas Politz <politza@fh-trier.de>
7834
7835 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7836
7837 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * progmodes/etags.el (tags-completion-at-point-function):
7840 Improve last fix.
7841
7842 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7843
7844 2012-03-21 Sam Steingold <sds@gnu.org>
7845
7846 * progmodes/etags.el (tags-completion-at-point-function):
7847 Avoid the error when point is inside the pattern.
7848
7849 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7850
7851 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7852 line (Bug#10855).
7853
7854 2012-03-21 Drew Adams <drew.adams@oracle.com>
7855
7856 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7857
7858 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7859
7860 * ido.el (ido-set-current-directory, ido-read-internal)
7861 (ido-choose-completion-string, ido-completion-help): Handle nil
7862 value of ido-completion-buffer (Bug#11008).
7863
7864 2012-03-21 Sam Steingold <sds@gnu.org>
7865
7866 * window.el (switch-to-prev-buffer): Do not switch to a visible
7867 window previous buffer, just like with the frame previous buffers.
7868
7869 2012-03-21 Chong Yidong <cyd@gnu.org>
7870
7871 * faces.el (make-face, make-empty-face, copy-face):
7872 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7873 Doc fixes.
7874
7875 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7878 (widget-complete): Remove broken use of it.
7879
7880 2012-03-20 Chong Yidong <cyd@gnu.org>
7881
7882 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7883 Use string-width and truncate-string-width to handle arbitrary
7884 characters.
7885
7886 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7887
7888 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7889 to draw rectangles, not squares. (Regression introduced by revno
7890 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7891
7892 2012-03-18 Chong Yidong <cyd@gnu.org>
7893
7894 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7895 it is not yet defined (for temacs).
7896
7897 2012-03-18 Leo Liu <sdl.web@gmail.com>
7898
7899 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7900
7901 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7902
7903 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7904 (ispell-choices-win-default-height, ispell-silently-savep)
7905 (ispell-dictionary-alist, ispell-encoding8-command)
7906 (ispell-check-version, ispell-aspell-find-dictionary)
7907 (ispell-valid-dictionary-list, ispell-words-keyword)
7908 (ispell-get-word, ispell-internal-change-dictionary)
7909 (ispell-region, ispell-skip-region-list)
7910 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7911 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7912 (ispell-message-text-end, ispell-message)
7913 (ispell-buffer-local-parsing): Doc fix.
7914
7915 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
7916
7917 * htmlfontify.el: Add support for code block fontification for ODT
7918 export (Bug #9914).
7919 (hfy-optimisations): Define new option
7920 `body-text-only'
7921 (hfy-fontify-buffer): Honor above setting.
7922 (hfy-begin-span, hfy-end-span): New routines factored out form
7923 `hfy-fontify-buffer'.
7924 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7925 that permit insertion of custom tags.
7926 (hfy-fontify-buffer): Use above handlers.
7927 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7928 (hfy-face-to-css): Re-defined to be a variable.
7929 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
7930 over multiple runs. This is made possible by having the caller let
7931 bind a special variable `hfy-user-sheet-assoc'.
7932 (htmlfontify-string): New defun.
7933 (hfy-compile-face-map): Make sure that the last char in the
7934 buffer is correctly fontified.
7935 (hfy-face-resolve-face): Whitespace only change.
7936
7937 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7938
7939 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7940 message more clear.
7941
7942 2012-03-16 Leo Liu <sdl.web@gmail.com>
7943
7944 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7945
7946 2012-03-16 Alan Mackenzie <acm@muc.de>
7947
7948 Further optimise the handling of large macros.
7949
7950 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7951 limit to a call of `c-literal-limits'.
7952 (c-determine-+ve-limit): New function.
7953 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7954 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7955 In CASE 5B, restrict a search limit to 500.
7956 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7957
7958 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7959 Restrict macro bounds to +-500 from after-change's BEG END.
7960
7961 2012-03-16 Leo Liu <sdl.web@gmail.com>
7962
7963 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7964
7965 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7966
7967 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7968 `special-mode' setting of `buffer-read-only'. (Bug#11010)
7969
7970 2012-03-16 Glenn Morris <rgm@gnu.org>
7971
7972 * view.el (view-buffer, view-buffer-other-window)
7973 (view-buffer-other-frame): Doc fixes re special mode-class.
7974
7975 * subr.el (eval-after-load): If named feature is provided not from
7976 a file, run after-load forms. (Bug#10946)
7977
7978 * calendar/calendar.el (calendar-insert-at-column):
7979 Handle non-unit-width characters a bit better. (Bug#10978)
7980
7981 2012-03-15 Chong Yidong <cyd@gnu.org>
7982
7983 * emacs-lisp/ring.el (ring-extend): New function.
7984 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7985
7986 * comint.el (comint-read-input-ring)
7987 (comint-add-to-input-history): Grow comint-input-ring lazily.
7988
7989 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7992 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7993
7994 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7995 (imenu-add-to-menubar): Don't add a redundant index.
7996 (imenu-update-menubar): Handle a dynamically composed keymap.
7997
7998 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7999
8000 * mail/sendmail.el (mail-encode-header):
8001 Bind rfc2047-encode-encoded-words to nil.
8002
8003 2012-03-13 Glenn Morris <rgm@gnu.org>
8004
8005 * calendar/calendar.el (calendar-string-spread):
8006 Handle non-unit-width characters a bit better. (Bug#10978)
8007
8008 2012-03-13 Leo Liu <sdl.web@gmail.com>
8009
8010 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8011 directory and file as argument (Bug#10822).
8012
8013 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8014
8015 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8016 For dynamically generated code, follow $PC.
8017 (gdb-disassembly-handler-custom): Handle no function name case.
8018
8019 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8020
8021 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8022 * emulation/ws-mode.el (ws-query-replace):
8023 * sort.el (sort-regexp-fields):
8024 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8025
8026 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * dabbrev.el: Fix cycle completion order (bug#10963).
8029 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8030 (dabbrev-completion): Don't use an obarray; provide
8031 a cycle-sort-function.
8032
8033 2012-03-12 Leo Liu <sdl.web@gmail.com>
8034
8035 * simple.el (kill-new): Use equal-including-properties for comparison.
8036 (kill-do-not-save-duplicates): Doc fix.
8037
8038 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * dabbrev.el: Fix cycle completion (bug#10963).
8041 Use lexical binding and wrap to 80 columns.
8042 (dabbrev-completion): Delay computing the list of completions.
8043
8044 2012-03-12 Kenichi Handa <handa@m17n.org>
8045
8046 * international/quail.el (quail-insert-kbd-layout): Surround each
8047 row by LRO and PDF instead of inserting many LRMs. Pad the left
8048 and right of each non-spacing marks. Insert invisible space
8049 between lower and upper characters to prevent composition.
8050
8051 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * minibuffer.el (minibuffer-complete): Don't get confused when the
8054 function is run twice via different commands (bug#10958).
8055 (complete-with-action): Fix docstring.
8056
8057 2012-03-12 Chong Yidong <cyd@gnu.org>
8058
8059 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8060 (nxml-completion-at-point-function): New function.
8061 (nxml-mode): Use it.
8062 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8063
8064 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8065 Load generated autoloads file before byte compiling (Bug#10970).
8066 (package--make-autoloads-and-compile): New helper fun.
8067
8068 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8069
8070 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8071
8072 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8073
8074 * autorevert.el (auto-revert-handler): Ensure, that
8075 file-readable-p is applied only for local files or in
8076 auto-revert-tail-mode.
8077
8078 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8079
8080 * server.el (server-eval-at): Handle non-tcp connections.
8081 Decode result string.
8082
8083 * server.el (server-msg-size): New constant.
8084 (server-reply-print): New function.
8085 (server-eval-and-print): Use it.
8086 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8087 Handle -print-nonl.
8088
8089 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8090
8091 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8092 (Bug#10987).
8093
8094 2012-03-11 Chong Yidong <cyd@gnu.org>
8095
8096 * simple.el (goto-line): Doc fix (Bug#9938).
8097
8098 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8099
8100 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8101 when finished (Bug#10963).
8102
8103 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8104
8105 * window.el (split-window-below): Fix bug in case where
8106 split-window-keep-point is nil (Bug#10971).
8107
8108 2012-03-11 Juri Linkov <juri@jurta.org>
8109
8110 * replace.el (replace-highlight): Set isearch-word to nil
8111 unconditionally. (Bug#10887)
8112
8113 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8114
8115 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8116 mairix-replace-illegal-chars; all callers changed. Don't remove
8117 ^, ~, and = characters: they are meaningful in mairix search specs.
8118 (mairix-widget-create-query): Add usage information about mairix
8119 search forms: negating words, searching for substrings, etc.
8120
8121 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8122
8123 * international/fontset.el (font-encoding-alist): Add an entry for
8124 ksx1001 (Bug#5667).
8125
8126 2012-03-10 Richard Stallman <rms@gnu.org>
8127
8128 * mail/sendmail.el (mail-encode-header):
8129 Set rfc2047-encode-encoded-words.
8130
8131 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8132
8133 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8134 view buffer means not swapped.
8135 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8136 (rmail-write-region-annotate): Error if real text has disappeared.
8137
8138 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8139
8140 2012-03-10 Chong Yidong <cyd@gnu.org>
8141
8142 * emulation/cua-rect.el (cua--init-rectangles):
8143 * emulation/cua-base.el (cua--init-keymaps):
8144 Add delete-forward-char to remappings (Bug#9666).
8145
8146 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8147
8148 * speedbar.el (speedbar-unhighlight-one-tag-line):
8149 Avoid unhighlighting due to frame switching (Bug#10275).
8150
8151 2012-03-10 Chong Yidong <cyd@gnu.org>
8152
8153 * minibuffer.el (completion-in-region, completion-help-at-point):
8154 Give the completion field overlay a high priority (Bug#6830).
8155
8156 * dired.el (dired-goto-file): Recognize absolute file name
8157 listings (Bug#7126).
8158 (dired-goto-file-1): New helper function.
8159 (dired-toggle-read-only): Inhibit warnings.
8160
8161 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8162
8163 * net/dbus.el (dbus-property-handler): Return empty array if
8164 there are no properties.
8165
8166 2012-03-09 Leo Liu <sdl.web@gmail.com>
8167
8168 * savehist.el (savehist-printable): Stricter check for string
8169 value (Bug#10937).
8170
8171 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8172
8173 * mail/smtpmail.el (smtpmail-send-it):
8174 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8175 valid mbox format.
8176
8177 2012-03-09 Glenn Morris <rgm@gnu.org>
8178
8179 * files.el (dir-locals-find-file):
8180 Don't check result is regular, readable.
8181 (dir-locals-read-from-file): Demote errors.
8182
8183 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8184
8185 * international/quail.el (quail-insert-kbd-layout):
8186 Insert invisible LRM characters before each character in a keyboard
8187 layout cell, to prevent their reordering by bidi display engine.
8188 For details, see the discussion in
8189 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8190
8191 2012-03-08 Alan Mackenzie <acm@muc.de>
8192
8193 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8194 the starting position; make it extend the marked region when
8195 invoked repeatedly - all under appropriate circumstances.
8196 Fixes bugs #5525, #10906.
8197
8198 2012-03-08 Glenn Morris <rgm@gnu.org>
8199
8200 * files.el (locate-dominating-file, dir-locals-find-file):
8201 Undo 2012-03-06 change.
8202
8203 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8204
8205 * international/quail.el (quail-help):
8206 Force bidi-paragraph-direction be left-to-right. See discussion in
8207 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8208 for the reason.
8209
8210 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8211
8212 Avoid superfluous registering of signals. (Bug#10807)
8213
8214 * notifications.el (notifications-on-action-object)
8215 (notifications-on-close-object): New defvars.
8216 (notifications-on-action-signal, notifications-on-closed-signal):
8217 Unregister the signal if not needed any longer.
8218 (notifications-notify): Register `notifications-action-signal' or
8219 `notifications-closed-signal', if :on-action or :on-close has been
8220 passed as argument.
8221
8222 2012-03-07 Chong Yidong <cyd@gnu.org>
8223
8224 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8225 non-X platforms.
8226
8227 2012-03-06 Glenn Morris <rgm@gnu.org>
8228
8229 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8230 (x-disown-selection-internal, x-get-selection-internal):
8231 Doc fix (add arglist signatures). (Bug#10783)
8232
8233 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8234
8235 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8236 Handle breakpoints with no "type".
8237
8238 2012-03-06 Glenn Morris <rgm@gnu.org>
8239
8240 * files.el (locate-dominating-file): Add optional predicate argument.
8241 (dir-locals-find-file): Make use of above change.
8242
8243 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8244
8245 * info.el (Info-insert-dir): Also try "dir.gz".
8246
8247 2012-03-06 Glenn Morris <rgm@gnu.org>
8248
8249 * files.el (dir-locals-find-file):
8250 Ignore non-readable or non-regular files. (Bug#10928)
8251
8252 * files.el (locate-dominating-file): Doc fix.
8253
8254 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8255
8256 * calendar/calendar.el (calendar-set-mode-line):
8257 `getenv' returns a string. (Bug#10951)
8258
8259 2012-03-05 Leo Liu <sdl.web@gmail.com>
8260
8261 * simple.el (backward-delete-char-untabify): Constrain point to
8262 field (Bug#10939).
8263
8264 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8265
8266 2012-03-05 Chong Yidong <cyd@gnu.org>
8267
8268 * simple.el (count-words): If called from Lisp, return the word
8269 count, for symmetry with `count-lines'. Arglist changed.
8270 (count-words--message): Args changed. Consolidate counting code
8271 from count-words and count-words-region.
8272 (count-words-region): Caller changed.
8273 (count-lines-region): Make it an obsolete alias.
8274
8275 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8276
8277 * saveplace.el (save-place-to-alist)
8278 (save-place-ignore-files-regexp): Allow value nil to disable this
8279 feature.
8280
8281 2012-03-04 Chong Yidong <cyd@gnu.org>
8282
8283 * faces.el (face-spec-reset-face): For the default face, reset the
8284 attributes to default values (Bug#10748).
8285
8286 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8287
8288 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8289 previous patch: Check `message-send-mail-function', and not the
8290 default function (bug#10897).
8291
8292 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8293
8294 * notifications.el (notifications-on-action-signal)
8295 (notifications-on-closed-signal): Check for unique service name of
8296 incoming event. Fix error in removing entry.
8297 (top): Register for signals with wildcard service name.
8298 (notifications-notify): Use daemon unique service name for map entries.
8299
8300 2012-03-04 Chong Yidong <cyd@gnu.org>
8301
8302 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8303
8304 2012-03-04 Glenn Morris <rgm@gnu.org>
8305
8306 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8307 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8308 (expand-abbrev, define-abbrev-table): Doc fixes.
8309
8310 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8311
8312 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8313 `message-default-send-mail-function' and not `send-mail-function'
8314 when doing the prompting for `sendmail-query-once' before sending
8315 in Message buffers (bug#10897).
8316
8317 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8318 This is inconsistent with all the other stream functions, which leave
8319 the setting up to the higher levels (if so wanted) (bug#10931).
8320
8321 2012-03-02 Alan Mackenzie <acm@muc.de>
8322
8323 Depessimize the handling of very large macros.
8324
8325 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8326 (c-macro-cache-syntactic): New variables to implement a one
8327 element macro cache.
8328 (c-invalidate-macro-cache): New function.
8329 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8330 Adapt to use the new cache.
8331 (c-state-safe-place): Use better the cache of safe positions.
8332 (c-state-semi-nonlit-pos-cache)
8333 (c-state-semi-nonlit-pos-cache-limit):
8334 New variables for...
8335 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8336 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8337 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8338 Use c-state-semi-safe-place.
8339
8340 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8341 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8342
8343 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8344
8345 * jka-compr.el (jka-compr-call-process):
8346 Apply `file-accessible-directory-p' only when the default directory is
8347 not remote.
8348
8349 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8350
8351 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8352 access of FILE2, if FILE1 does not exist.
8353
8354 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8355 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8356
8357 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8358 Add "PAGER=" to `process-environment'.
8359
8360 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8361
8362 * progmodes/sql.el: Bug fix
8363 (sql-get-login-ext): Save login values in globals.
8364 (sql-get-login): Use new version of `sql-get-login-ext'.
8365 (sql-interactive-mode): Set global `sql-connection' to nil.
8366 (sql-connect): Set global values for connection.
8367 (sql-product-interactive): Save global values as buffer local.
8368
8369 2012-02-29 Leo Liu <sdl.web@gmail.com>
8370
8371 * abbrev.el (define-abbrevs): Reset sys to nil.
8372
8373 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8374
8375 * files.el (file-equal-p): Rename from `files-equal-p'.
8376 Return nil when one or both files don't exist.
8377 (file-subdir-of-p): Now only top directory must exists,
8378 return nil if it doesn't.
8379 (copy-directory): No need to test with `file-subdir-of-p' after
8380 creating dir.
8381 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8382 to `file-equal-p'.
8383
8384 2012-02-28 Glenn Morris <rgm@gnu.org>
8385
8386 * shell.el (shell-mode):
8387 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8388 * play/landmark.el (landmark-font-lock-face-O):
8389 * play/handwrite.el (handwrite):
8390 * play/gomoku.el (gomoku-O):
8391 * net/browse-url.el (browse-url-browser-display):
8392 * international/mule.el (define-charset):
8393 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8394 * filesets.el (filesets-find-file-delay):
8395 * eshell/em-xtra.el (eshell-xtra):
8396 * eshell/em-unix.el (eshell-grep):
8397 * emulation/viper.el (viper-mode):
8398 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8399 * emacs-lisp/easymenu.el (easy-menu-define):
8400 * calendar/timeclock.el (timeclock-use-display-time):
8401 * bs.el (bs-mode):
8402 * bookmark.el (bookmark-save-flag):
8403 Doc fix (standardize possessive apostrophe usage).
8404
8405 2012-02-27 Chong Yidong <cyd@gnu.org>
8406
8407 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8408 Fix key-binding lookup for ESC key (Bug#9146).
8409
8410 * font-lock.el (font-lock-specified-p): Rename from
8411 font-lock-spec-present. Callers changed.
8412
8413 2012-02-27 Daniel Hackney <dan@haxney.org>
8414
8415 * emacs-lisp/package.el (package-compute-transaction):
8416 Handle holding a package version to t in package-load-list.
8417
8418 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8419
8420 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8421 (tramp-get-inode, tramp-get-device): Use cached values.
8422
8423 2012-02-26 Alan Mackenzie <acm@muc.de>
8424
8425 Check there is a font-lock specification before doing initial
8426 fontification.
8427
8428 * font-core.el (font-lock-mode): Move the conditional from
8429 :after-hook to font-lock-initial-fontify.
8430 (font-lock-default-function): Move the check for a specification
8431 to font-lock-spec-present.
8432
8433 * font-lock.el (font-lock-initial-fontify): Call ...
8434 (font-lock-spec-present): New function.
8435
8436 2012-02-26 Jim Blandy <jimb@red-bean.com>
8437
8438 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8439 (gdb-send): Apply it to the operand of the '-interpreter-exec
8440 console' command, so that we can pass arguments with (say) quotes
8441 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8442
8443 2012-02-26 Chong Yidong <cyd@gnu.org>
8444
8445 * help-fns.el (describe-function-1): Clarify description of
8446 remapping (Bug#10844).
8447
8448 * files.el (files-equal-p): Doc fix.
8449 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8450 and quit the loop once a mismatch is found.
8451
8452 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8453
8454 * bs.el (bs--show-with-configuration): Don't throw an error
8455 if the window cannot be split; otherwise, subsequent calls to
8456 bs-show fail, restoring a stale window config. (Bug#10882)
8457
8458 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8459
8460 * term/ns-win.el (global-map): Bind ns-drag-file to
8461 ns-find-file (Bug#5855, Bug#10050).
8462
8463 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8464
8465 * calendar/parse-time.el (parse-time-string): Allow extractor to
8466 return nil.
8467
8468 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8469
8470 * net/tramp.el (tramp-file-name-for-operation):
8471 Add `files-equal-p' and `file-subdir-of-p'.
8472
8473 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8474 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8475 Add COPY-CONTENTS argument.
8476
8477 2012-02-25 Chong Yidong <cyd@gnu.org>
8478
8479 Add custom groups for VC backends, for consistency with vc-bzr.
8480
8481 * vc/vc-arch.el (vc-arch):
8482 * vc/vc-cvs.el (vc-cvs):
8483 * vc/vc-git.el (vc-git):
8484 * vc/vc-hg.el (vc-hg):
8485 * vc/vc-mtn.el (vc-mtn):
8486 * vc/vc-rcs.el (vc-rcs):
8487 * vc/vc-sccs.el (vc-sccs):
8488 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8489 All relevant defcustoms reassigned.
8490
8491 2012-02-25 Chong Yidong <cyd@gnu.org>
8492
8493 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8494
8495 * term/x-win.el (x-initialize-window-system): Reduce default for
8496 x-selection-timeout to 5 seconds (Bug#8869).
8497
8498 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8499
8500 * files.el (files-equal-p, file-subdir-of-p): New functions.
8501 (copy-directory): Error when trying to copy a directory on itself.
8502 Add missing copy-contents arg to tramp handler.
8503 * dired-aux.el (dired-copy-file-recursive): Same.
8504 (dired-create-files): Modify destination when source is equal to
8505 dest when copying files.
8506 Return also when dest is a subdir of source. (Bug#10489)
8507
8508 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8509
8510 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8511 (Bug#10874)
8512
8513 2012-02-23 Alan Mackenzie <acm@muc.de>
8514
8515 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8516 parameter "after-hook:" to allow the expansion to run code after
8517 the execution of the mode hooks.
8518
8519 * font-lock.el (font-lock-initial-fontify): New function extracted
8520 from font-lock-mode-internal.
8521
8522 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8523 :after-hook.
8524
8525 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8528 (completion--cache-all-sorted-completions): New function.
8529 (completion-all-sorted-completions): Use it.
8530 (completion--do-completion, minibuffer-force-complete):
8531 Use it to re-instate the flush hook.
8532
8533 * icomplete.el (icomplete-completions): Replace last fix with a better
8534 one (bug#10850).
8535
8536 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8537
8538 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8539 when it might call us back infinitely (bug#10797).
8540
8541 2012-02-23 Glenn Morris <rgm@gnu.org>
8542
8543 * minibuffer.el (completion-category-overrides): Doc fix.
8544
8545 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8548 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8549
8550 2012-02-23 Glenn Morris <rgm@gnu.org>
8551
8552 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8553 (authors-obsolete-files-regexps, authors-ignored-files)
8554 (authors-ambiguous-files, authors-renamed-files-alist):
8555 Add more entries.
8556
8557 2012-02-23 Juri Linkov <juri@jurta.org>
8558
8559 * isearch.el (isearch-occur): Sync interactive spec with occur's
8560 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8561
8562 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8563
8564 2012-02-22 Juri Linkov <juri@jurta.org>
8565
8566 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8567 (ucs-insert): Doc fix. Check for hex digits in the string.
8568 Don't display `nil' in the error message. (Bug#10857)
8569
8570 2012-02-22 Alan Mackenzie <acm@muc.de>
8571
8572 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8573
8574 2012-02-22 Glenn Morris <rgm@gnu.org>
8575
8576 * ffap.el (ffap-c-path):
8577 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8578
8579 2012-02-22 Chong Yidong <cyd@gnu.org>
8580
8581 * custom.el (load-theme): Doc fix.
8582
8583 2012-02-22 Glenn Morris <rgm@gnu.org>
8584
8585 * dired-x.el (dired-guess-shell-alist-default):
8586 Remove escape sequences from nroff output. (Bug#172)
8587
8588 2012-02-21 Glenn Morris <rgm@gnu.org>
8589
8590 * vc/emerge.el (emerge-defvar-local):
8591 Set `permanent-local' property rather than unused `preserved'.
8592
8593 * textmodes/picture.el (picture-delete-char): New alias.
8594 (picture-mode-map): Use it. (Bug#10860)
8595 (picture-mode): Doc fix.
8596
8597 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
8598
8599 * newcomment.el (uncomment-region-default): Remove unused binding.
8600
8601 2012-02-21 Glenn Morris <rgm@gnu.org>
8602
8603 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8604 (picture-self-insert, picture-tab-chars): Doc fix.
8605 (picture-mode-map): Fix C-a, C-e.
8606
8607 2012-02-20 Glenn Morris <rgm@gnu.org>
8608
8609 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8610
8611 2012-02-20 Leo Liu <sdl.web@gmail.com>
8612
8613 * icomplete.el (icomplete-completions): Check FROM arg before
8614 passing to substring (Bug#10850).
8615
8616 2012-02-19 Chong Yidong <cyd@gnu.org>
8617
8618 * comint.el: Require ansi-color.
8619 (comint-output-filter-functions): Add ansi-color-process-output.
8620
8621 * ansi-color.el: Don't set comint-output-filter-functions; it is
8622 now in the initial value defined in comint.el.
8623 (ansi-color-apply-face-function): New variable.
8624 (ansi-color-apply-on-region): Use it.
8625 (ansi-color-apply-overlay-face): New function.
8626
8627 * shell.el (shell): No need to require ansi-color.
8628 (shell-mode): Use ansi-color-apply-face-function to highlight
8629 color escapes using font-lock-face property (Bug#10835).
8630
8631 2012-02-19 Chong Yidong <cyd@gnu.org>
8632
8633 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8634 mode-line formats (Bug#10839).
8635
8636 2012-02-18 Glenn Morris <rgm@gnu.org>
8637
8638 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8639
8640 * mail/undigest.el (unforward-rmail-message): Doc fix.
8641
8642 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8643
8644 2012-02-18 Eli Zaretskii <eliz@gnu.org>
8645
8646 * international/characters.el (script-list): Sync with the latest
8647 Unicode Character Database.
8648
8649 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8650
8651 * international/titdic-cnv.el: Remove duplicate coding tag.
8652 * language/cham.el: Likewise.
8653 * language/tai-viet.el: Likewise.
8654
8655 2012-02-18 Glenn Morris <rgm@gnu.org>
8656
8657 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8658 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8659 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8660 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8661 * calendar/holidays.el (holiday-bahai-holidays)
8662 (calendar-holidays, list-holidays):
8663 Use utf-8 Bahá'í in doc-strings, menus, etc.
8664
8665 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8666
8667 * saveplace.el (save-place-ignore-files-regexp): New variable
8668 allowing for excluding files from saving their location of point.
8669 The default value matches the temporary commit message editing
8670 files from Git, SVN, Bazaar, and Mercurial.
8671 (save-place-to-alist): Use it.
8672
8673 2012-02-17 Lawrence Mitchell <wence@gmx.li>
8674 Stefan Monnier <monnier@iro.umontreal.ca>
8675
8676 * newcomment.el (uncomment-region-default): Don't leave extra space
8677 when an arg is provided (bug#8150).
8678
8679 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8680
8681 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8682
8683 2012-02-17 Glenn Morris <rgm@gnu.org>
8684
8685 * net/socks.el: Require network-stream. (Bug#10599)
8686
8687 2012-02-17 Kenichi Handa <handa@m17n.org>
8688
8689 * international/charprop.el:
8690 * international/uni-name.el:
8691 * international/uni-old-name.el:
8692 * international/uni-comment.el: Regenerate.
8693
8694 2012-02-16 Glenn Morris <rgm@gnu.org>
8695
8696 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8697 Interactively in calendar buffer, give an error if not on a date.
8698
8699 2012-02-15 Glenn Morris <rgm@gnu.org>
8700
8701 * shell.el (shell-delimiter-argument-list):
8702 Revert 2011-02-17 change. (Bug#8027)
8703
8704 2012-02-15 Chong Yidong <cyd@gnu.org>
8705
8706 * minibuffer.el (completion-at-point-functions): Doc fix.
8707
8708 * custom.el (defcustom): Doc fix; note use of defvar.
8709
8710 2012-02-15 Glenn Morris <rgm@gnu.org>
8711
8712 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8713 Doc fixes.
8714
8715 2012-02-14 Glenn Morris <rgm@gnu.org>
8716
8717 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8718
8719 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8720
8721 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8722 way the ports list is computed.
8723 (smtpmail-query-smtp-server): Prompt the user for a port number if
8724 we can't connect to any of the standard ports (bug#10810).
8725
8726 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8727
8728 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8729
8730 2012-02-13 Glenn Morris <rgm@gnu.org>
8731
8732 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8733
8734 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8735
8736 * net/gnutls.el (gnutls-trustfiles): New variable.
8737 (gnutls-negotiate): Use it.
8738
8739 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8740
8741 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8742 does its stuff if Gnus is running.
8743
8744 2012-02-13 Alan Mackenzie <acm@muc.de>
8745
8746 Fix a loop in c-set-fl-decl-start.
8747
8748 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8749 c-backward-syntactic-ws actually moves backwards.
8750
8751 2012-02-13 Leo Liu <sdl.web@gmail.com>
8752
8753 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8754 beginning so that all \C-o chars are removed.
8755
8756 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8757
8758 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8759
8760 2012-02-12 Alan Mackenzie <acm@muc.de>
8761
8762 Fix infinite loop with long macros.
8763 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8764
8765 2012-02-12 Chong Yidong <cyd@gnu.org>
8766
8767 * window.el (display-buffer): Doc fix (Bug#10785).
8768
8769 2012-02-12 Glenn Morris <rgm@gnu.org>
8770
8771 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8772 (x-disown-selection-internal, x-get-selection-internal):
8773 Sync docs with the xselect.c versions.
8774
8775 * allout-widgets.el: Add missing license notice.
8776
8777 2012-02-11 Glenn Morris <rgm@gnu.org>
8778
8779 * select.el (x-get-selection-internal, x-own-selection-internal)
8780 (x-disown-selection-internal):
8781 * x-dnd.el (x-get-selection-internal): Update declarations.
8782
8783 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8784
8785 * window.el (window-sides-slots):
8786 * tool-bar.el (tool-bar-position):
8787 * term/xterm.el (xterm-extra-capabilities):
8788 * ses.el (ses-self-reference-early-detection):
8789 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8790 (verilog-auto-wire-type)
8791 (verilog-auto-delete-trailing-whitespace)
8792 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8793 (verilog-auto-tieoff-declaration):
8794 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8795 (sql-oracle-statement-starters, sql-oracle-scan-on):
8796 * progmodes/prolog.el (prolog-align-comments-flag)
8797 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8798 (prolog-left-indent-regexp, prolog-paren-indent-p)
8799 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8800 (prolog-types, prolog-mode-specificators)
8801 (prolog-determinism-specificators, prolog-directives)
8802 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8803 (prolog-electric-dot-flag)
8804 (prolog-electric-dot-full-predicate-template)
8805 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8806 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8807 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8808 (prolog-program-switches, prolog-prompt-regexp)
8809 (prolog-debug-on-string, prolog-debug-off-string)
8810 (prolog-trace-on-string, prolog-trace-off-string)
8811 (prolog-zip-on-string, prolog-zip-off-string)
8812 (prolog-use-standard-consult-compile-method-flag)
8813 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8814 (prolog-imenu-max-lines, prolog-info-predicate-index)
8815 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8816 (prolog-char-quote-workaround):
8817 * progmodes/cc-vars.el (c-defun-tactic):
8818 * net/tramp.el (tramp-encoding-command-interactive)
8819 (tramp-local-end-of-line):
8820 * net/soap-client.el (soap-client):
8821 * net/netrc.el (netrc-file):
8822 * net/gnutls.el (gnutls):
8823 * minibuffer.el (completion-category-overrides)
8824 (completion-cycle-threshold)
8825 (completion-pcm-complete-word-inserts-delimiters):
8826 * man.el (Man-name-local-regexp):
8827 * mail/feedmail.el (feedmail-display-full-frame):
8828 * international/characters.el (glyphless-char-display-control):
8829 * eshell/em-ls.el (eshell-ls-date-format):
8830 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8831 (lisp-lambda-list-keyword-parameter-indentation)
8832 (lisp-lambda-list-keyword-parameter-alignment):
8833 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8834 * dired-x.el (dired-omit-verbose):
8835 * cus-theme.el (custom-theme-allow-multiple-selections):
8836 * calc/calc.el (calc-highlight-selections-with-faces)
8837 (calc-lu-field-reference, calc-lu-power-reference)
8838 (calc-note-threshold):
8839 * battery.el (battery-mode-line-limit):
8840 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8841 (archive-7z-update):
8842 * allout.el (allout-prefixed-keybindings)
8843 (allout-unprefixed-keybindings)
8844 (allout-inhibit-auto-fill-on-headline)
8845 (allout-flattened-numbering-abbreviation):
8846 * allout-widgets.el (allout-widgets-auto-activation)
8847 (allout-widgets-icons-dark-subdir)
8848 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8849 (allout-widgets-theme-dark-background)
8850 (allout-widgets-theme-light-background)
8851 (allout-widgets-item-image-properties-emacs)
8852 (allout-widgets-item-image-properties-xemacs)
8853 (allout-widgets-run-unit-tests-on-load)
8854 (allout-widgets-time-decoration-activity)
8855 (allout-widgets-hook-error-post-time)
8856 (allout-widgets-track-decoration):
8857 Add missing :version tags to new defcustoms and defgroups.
8858
8859 * progmodes/sql.el (sql-ansi-statement-starters)
8860 (sql-oracle-statement-starters): Add custom type.
8861
8862 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8863 (prolog-system-version): Give it a type.
8864
8865 2012-02-11 Eli Zaretskii <eliz@gnu.org>
8866
8867 * term/pc-win.el (x-select-text, x-selection-owner-p)
8868 (x-own-selection-internal, x-disown-selection-internal)
8869 (x-get-selection-internal): Sync doc strings and argument lists
8870 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8871
8872 2012-02-11 Leo Liu <sdl.web@gmail.com>
8873
8874 * progmodes/python.el (python-end-of-statement): Fix infinite
8875 loop. (Bug#10788)
8876
8877 2012-02-10 Glenn Morris <rgm@gnu.org>
8878
8879 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8880 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8881
8882 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8883
8884 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8885 about SMTP before checking the From header.
8886
8887 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8888 into own function for reuse by emacsbug.el.
8889
8890 2012-02-10 Leo Liu <sdl.web@gmail.com>
8891
8892 * subr.el (condition-case-unless-debug): Rename from
8893 condition-case-no-debug. All callers changed.
8894 (with-demoted-errors): Fix caller.
8895
8896 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8897 * nxml/rng-valid.el (rng-do-some-validation):
8898 * emacs-lisp/package.el (package-refresh-contents)
8899 (package-menu-execute):
8900 * desktop.el (desktop-create-buffer):
8901 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8902
8903 2012-02-10 Glenn Morris <rgm@gnu.org>
8904
8905 * textmodes/bibtex.el:
8906 Add missing :version tags for new/changed defcustoms.
8907
8908 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8909
8910 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
8911
8912 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8913 (smtpmail-via-smtp): Use it, or fall back on the From address.
8914 (smtpmail-send-it): Ditto.
8915
8916 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8919 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8920 (byte-compile-tmp-var): New const.
8921 (byte-compile-defvar): Use it to minimize .elc size.
8922 Just use `defvar' rather than simulate it (bug#10761).
8923
8924 2012-02-09 Glenn Morris <rgm@gnu.org>
8925
8926 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8927
8928 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8929 Add :version tags.
8930
8931 * progmodes/compile.el (compilation-error-screen-columns)
8932 (compilation-first-column, compilation-filter-start): Doc fixes.
8933
8934 * vc/log-view.el (log-view-toggle-entry-display):
8935 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8936
8937 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8938 (report-emacs-bug-can-use-xdg-email):
8939 (report-emacs-bug-insert-to-mailer): Doc fixes.
8940 (report-emacs-bug): Message fix.
8941
8942 * net/browse-url.el (browse-url-can-use-xdg-open)
8943 (browse-url-xdg-open): Doc fixes.
8944
8945 * electric.el (electric-indent-mode, electric-pair-mode)
8946 (electric-layout-rules, electric-layout-mode): Doc fixes.
8947 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8948
8949 2012-02-08 Martin Rudalics <rudalics@gmx.at>
8950
8951 * server.el (server-unselect-display): Don't inadvertently kill
8952 the current buffer. (Bug#10729)
8953
8954 2012-02-08 Glenn Morris <rgm@gnu.org>
8955
8956 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8957 (sql-list-table): Doc fixes.
8958
8959 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8960 Comment out (does nothing).
8961
8962 * completion.el (dynamic-completion-mode):
8963 * dirtrack.el (dirtrack-debug-mode):
8964 * electric.el (electric-layout-mode):
8965 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8966 * face-remap.el (text-scale-mode, buffer-face-mode):
8967 * iimage.el (iimage-mode):
8968 * image-mode.el (image-transform-mode):
8969 * minibuffer.el (completion-in-region-mode):
8970 * scroll-lock.el (scroll-lock-mode):
8971 * simple.el (next-error-follow-minor-mode):
8972 * tar-mode.el (tar-subfile-mode):
8973 * tooltip.el (tooltip-mode):
8974 * vcursor.el (vcursor-use-vcursor-map):
8975 * wid-browse.el (widget-minor-mode):
8976 * emulation/tpu-edt.el (tpu-edt-mode):
8977 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8978 * international/iso-ascii.el (iso-ascii-mode):
8979 * language/thai-util.el (thai-word-mode):
8980 * mail/supercite.el (sc-minor-mode):
8981 * net/goto-addr.el (goto-address-mode):
8982 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8983 * progmodes/cwarn.el (cwarn-mode):
8984 * progmodes/flymake.el (flymake-mode):
8985 * progmodes/glasses.el (glasses-mode):
8986 * progmodes/hideshow.el (hs-minor-mode):
8987 * progmodes/pascal.el (pascal-outline-mode):
8988 * textmodes/enriched.el (enriched-mode):
8989 * vc/smerge-mode.el (smerge-mode):
8990 Doc fixes (minor mode argument).
8991
8992 2012-02-07 Eli Zaretskii <eliz@gnu.org>
8993
8994 * ls-lisp.el (ls-lisp-sanitize): New function.
8995 (ls-lisp-insert-directory): Use it to fix or remove any elements
8996 in file-alist with missing attributes. (Bug#4673)
8997
8998 2012-02-07 Alan Mackenzie <acm@muc.de>
8999
9000 Fix spurious recognition of c-in-knr-argdecl.
9001
9002 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9003 putative K&R region.
9004
9005 2012-02-07 Alan Mackenzie <acm@muc.de>
9006
9007 * progmodes/cc-engine.el (c-forward-objc-directive):
9008 Prevent looping in "#pragma mark @implementation".
9009
9010 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9011
9012 * notifications.el (notifications-on-closed-signal): Make `reason'
9013 optional. (Bug#10744)
9014
9015 2012-02-07 Glenn Morris <rgm@gnu.org>
9016
9017 * emacs-lisp/easy-mmode.el (define-minor-mode):
9018 Doc fixes for the macro and the mode it defines.
9019
9020 * image.el (imagemagick-types-inhibit): Doc fix.
9021
9022 * cus-start.el (imagemagick-render-type): Add it.
9023
9024 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9025
9026 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9027 Set the default at load time, too, so that `font-lock-fontify-buffer'
9028 can be called without setting up the entire mode first. This fixes
9029 a bug in `mm-inline-text' with C MIME parts.
9030
9031 2012-02-06 Chong Yidong <cyd@gnu.org>
9032
9033 * simple.el (list-processes--refresh): Delete exited processes
9034 (Bug#8094).
9035
9036 * comint.el (comint-next-prompt): next-single-char-property-change
9037 and prev-single-char-property-change never return nil (Bug#8657).
9038
9039 * custom.el (defcustom): Doc fix (Bug#9711).
9040
9041 2012-02-05 Chong Yidong <cyd@gnu.org>
9042
9043 * cus-edit.el (custom-variable-reset-backup): Quote the value
9044 before storing it in the customized-value property (Bug#6712).
9045 (custom-display): Add a customization type tag.
9046 (custom-buffer-create-internal): Improve tooltip message.
9047
9048 * wid-edit.el (widget-field-value-get): New optional arg to
9049 suppress trailing whitespace truncation.
9050 (character): Use it (Bug#2689).
9051
9052 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9053
9054 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9055 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9056
9057 2012-02-05 Chong Yidong <cyd@gnu.org>
9058
9059 * cus-edit.el (custom-variable-value-create): For mismatched
9060 types, show the current value (Bug#7600).
9061
9062 * custom.el (defcustom): Doc fix.
9063
9064 2012-02-05 Glenn Morris <rgm@gnu.org>
9065
9066 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9067
9068 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9069
9070 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9071 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9072 (pp-last-sexp): Use `looking-at-p'.
9073
9074 2012-02-04 Glenn Morris <rgm@gnu.org>
9075
9076 * files.el (revert-buffer):
9077 Doc fix (mention revert-buffer-in-progress-p).
9078
9079 * emacs-lisp/ert-x.el (ert-simulate-command):
9080 Check deferred-action-list (which is obsolete) is bound.
9081
9082 * subr.el (with-wrapper-hook): Doc fixes.
9083
9084 * simple.el (filter-buffer-substring-functions)
9085 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9086
9087 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9088
9089 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9090 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9091
9092 2012-02-04 Leo Liu <sdl.web@gmail.com>
9093
9094 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9095
9096 2012-02-04 Glenn Morris <rgm@gnu.org>
9097
9098 * image.el (image-extension-data): Add obsolete alias.
9099
9100 * isearch.el (isearch-update): Doc fix.
9101
9102 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9103
9104 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9105
9106 2012-02-03 Glenn Morris <rgm@gnu.org>
9107
9108 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9109 (image-animate-timeout): Doc fix.
9110
9111 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9112
9113 2012-02-02 Glenn Morris <rgm@gnu.org>
9114
9115 * server.el (server-auth-dir): Doc fix.
9116 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9117
9118 * subr.el (run-mode-hooks): Doc fix.
9119
9120 2012-02-02 Juri Linkov <juri@jurta.org>
9121
9122 * image-mode.el (image-toggle-display-image): Remove tautological
9123 `major-mode' from the `derived-mode-p' test.
9124
9125 2012-02-02 Kenichi Handa <handa@m17n.org>
9126
9127 * composite.el (compose-region): Cancel previous change.
9128
9129 2012-02-02 Kenichi Handa <handa@m17n.org>
9130
9131 * composite.el (compose-region, compose-string): Signal error for
9132 a null string component (Bug#6988).
9133
9134 2012-02-01 Chong Yidong <cyd@gnu.org>
9135
9136 * view.el (view-buffer-other-window, view-buffer-other-frame):
9137 Handle special modes like view-buffer (Bug#10650).
9138 (view-buffer): Simplify.
9139
9140 * frame.el (set-frame-font): Tweak meaning of third argument.
9141
9142 * dynamic-setting.el (font-setting-change-default-font):
9143 Use set-frame-font (Bug#9982).
9144
9145 2012-02-01 Glenn Morris <rgm@gnu.org>
9146
9147 * progmodes/compile.el (compilation-internal-error-properties):
9148 Respect compilation-first-column in the "*compilation*" buffer.
9149
9150 * emacs-lisp/easy-mmode.el (define-minor-mode):
9151 Relax :variable's test for a named function.
9152
9153 2012-01-31 Alan Mackenzie <acm@muc.de>
9154
9155 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9156 off by one error.
9157
9158 2012-01-31 Chong Yidong <cyd@gnu.org>
9159
9160 * frame.el (set-frame-font): New arg ALL-FRAMES.
9161
9162 * menu-bar.el (menu-set-font): Use set-frame-font.
9163
9164 * faces.el (face-spec-reset-face): Don't apply unspecified
9165 attribute values to the default face.
9166
9167 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9168
9169 * progmodes/cwarn.el (cwarn): Remove dead link.
9170 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9171 Remove * from defcustom docstrings.
9172 (turn-on-cwarn-mode): Make obsolete.
9173 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9174 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9175
9176 2012-01-31 Glenn Morris <rgm@gnu.org>
9177
9178 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9179 Fix :variable handling of mode a symbol not equal to modefun.
9180 Allow named functions to be used as the cdr of :variable.
9181
9182 2012-01-30 Glenn Morris <rgm@gnu.org>
9183
9184 * emacs-lisp/authors.el (authors-fixed-entries):
9185 Remove reference to deleted file rnewspost.el.
9186
9187 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9188
9189 * window.el (window-with-parameter): Remove unused variable `windows'.
9190 (window--side-check): Remove unused variable `code'.
9191 (window--resize-siblings): Remove unused variable `first'.
9192 (adjust-window-trailing-edge): Remove unused variable `failed'.
9193 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9194 Use `let', not `let*'.
9195 (balance-windows-2): Remove unused variable `found'.
9196 (window--state-put-2): Remove unused variable `splits'.
9197 (window-state-put): Remove unused variable `selected'.
9198 (same-window-p): Use `string-match-p'.
9199 (display-buffer-assq-regexp): Remove unused variable `value'.
9200 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9201 Mark argument ALIST as ignored.
9202 (pop-to-buffer): Remove unused variable `old-window'.
9203
9204 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9205
9206 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9207 and .lzma compressed files.
9208
9209 2012-01-29 Chong Yidong <cyd@gnu.org>
9210
9211 * frame.el (window-system-default-frame-alist): Doc fix.
9212
9213 * dynamic-setting.el (font-setting-change-default-font): Don't
9214 change the default face if SET-FONT argument is non-nil (Bug#9982).
9215
9216 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9217
9218 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9219
9220 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9221
9222 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9223 breakpoints in files outside current directory (Bug#6098).
9224
9225 2012-01-29 Chong Yidong <cyd@gnu.org>
9226
9227 * progmodes/python.el: Require ansi-color at top-level.
9228
9229 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9230 Define and use in Emacs Lisp mode (Bug#9360).
9231 (lisp-mode-abbrev-table): Add doc.
9232 (lisp-mode-variables): Don't set local-abbrev-table.
9233 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9234
9235 2012-01-28 Roland Winkler <winkler@gnu.org>
9236
9237 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9238
9239 2012-01-28 Roland Winkler <winkler@gnu.org>
9240
9241 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9242 (bibtex-set-dialect): Use it. Either set global values of
9243 dialect-dependent variables or bind these variables buffer-locally
9244 (Bug#10254).
9245 (bibtex-mode): Call bibtex-set-dialect via
9246 hack-local-variables-hook.
9247 (bibtex-dialect): Update docstring.
9248 Add safe-local-variable predicate.
9249 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9250 bibtex-set-dialect.
9251 (bibtex-mode-map): Define menu for each dialect.
9252 (bibtex-entry): Fix docstring.
9253
9254 2012-01-28 Chong Yidong <cyd@gnu.org>
9255
9256 * eshell/esh-arg.el (eshell-quote-argument): New function.
9257
9258 * eshell/esh-ext.el (eshell-invoke-batch-file):
9259 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9260 first arg to eshell-parse-command (Bug#10523).
9261
9262 2012-01-28 Drew Adams <drew.adams@oracle.com>
9263
9264 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9265 `default-directory' is non-nil.
9266
9267 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9268
9269 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9270 line that displays system-configuration-options. (Bug#9924)
9271
9272 2012-01-28 Drew Adams <drew.adams@oracle.com>
9273
9274 * descr-text.el (describe-char): Show information about POS, in
9275 addition to information about the character at POS. Improve and
9276 update the doc string. Change "code point" to "code point in
9277 charset", to avoid confusion with the character's Unicode code
9278 point shown above that. (Bug#10129)
9279
9280 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9281
9282 * descr-text.el (describe-char): Show the raw character, not only
9283 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9284 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9285 for the reasons.
9286
9287 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9288
9289 * emacs-lisp/package.el (package-install):
9290 Run package-refresh-contents if there is no archive yet (Bug#9798).
9291
9292 2012-01-28 Chong Yidong <cyd@gnu.org>
9293
9294 * emacs-lisp/package.el (package-maybe-load-descriptor):
9295 New function, split from package-maybe-load-descriptor.
9296 (package-maybe-load-descriptor): Use it.
9297 (package-download-transaction): Fully load required packages
9298 inside the loop, so that `require' calls work (Bug#10593).
9299 (package-install): No need to call package-initialize now.
9300
9301 2012-01-28 Chong Yidong <cyd@gnu.org>
9302
9303 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9304
9305 * tooltip.el (tooltip-mode): Doc fix.
9306 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9307
9308 * frame.el (set-cursor-color): Doc fix (Bug#352).
9309
9310 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9311 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9312
9313 * cus-edit.el (custom-buffer-create-internal): Fix search button
9314 action (Bug#10542).
9315 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9316
9317 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9318
9319 * dired.el (dired-mark-files-regexp):
9320 Include any subdirectory components. (Bug#10445)
9321
9322 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9323
9324 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9325 Handle [host]:port syntax. (Bug#10533)
9326
9327 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9328
9329 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9330
9331 2012-01-26 Glenn Morris <rgm@gnu.org>
9332
9333 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9334 * term.el (term-raw-escape-map): Use Control-X-prefix.
9335 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9336
9337 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9338
9339 * window.el (window-state-get, window--state-get-1): Don't deal
9340 with fixed-sizeness of windows. Simplify code.
9341
9342 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9343
9344 * window.el (window--state-get-1, window--state-put-2):
9345 Don't save and restore the mark.
9346
9347 2012-01-25 Chong Yidong <cyd@gnu.org>
9348
9349 * custom.el (custom-variable-p): Doc fix.
9350
9351 2012-01-25 Glenn Morris <rgm@gnu.org>
9352
9353 * dired.el (dired-goto-file): Handle some of the more common
9354 characters that `ls -b' escapes. (Bug#10596)
9355
9356 * progmodes/compile.el (compilation-next-error-function):
9357 Respect compilation-first-column in the "*compilation*" buffer.
9358 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9359
9360 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9361
9362 2012-01-24 Glenn Morris <rgm@gnu.org>
9363
9364 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9365
9366 2012-01-24 Julien Danjou <julien@danjou.info>
9367
9368 * color.el (color-rgb-to-hsl): Fix value computing.
9369 (color-hue-to-rgb): New function.
9370 (color-hsl-to-rgb): New function.
9371 (color-clamp, color-saturate-hsl, color-saturate-name)
9372 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9373 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9374
9375 2012-01-24 Glenn Morris <rgm@gnu.org>
9376
9377 * vc/vc-rcs.el (vc-rcs-create-tag):
9378 * vc/vc-sccs.el (vc-sccs-create-tag):
9379 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9380
9381 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9382
9383 * eshell/esh-util.el (eshell-read-hosts-file):
9384 Skip comment lines. (Bug#10549)
9385
9386 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9387
9388 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9389
9390 * subr.el (display-delayed-warnings): Doc fix.
9391 (collapse-delayed-warnings): New function to collapse identical
9392 adjacent warnings.
9393 (delayed-warnings-hook): Add it.
9394
9395 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9398
9399 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9400 (tramp-default-user-alist): Don't add "pscp".
9401 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9402 property "login-as", if set. (Bug#10530)
9403
9404 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9405
9406 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9407 "plink1" and "psftp". (Bug#10530)
9408
9409 2012-01-21 Kenichi Handa <handa@m17n.org>
9410
9411 * international/mule-cmds.el (prefer-coding-system): Show a
9412 warning message if the default value of file-name-coding-system
9413 was not changed.
9414
9415 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9416
9417 * windmove.el (windmove-reference-loc):
9418 Fix windmove-reference-loc miscalculation.
9419
9420 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9421
9422 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9423 default unit.
9424
9425 2012-01-21 Glenn Morris <rgm@gnu.org>
9426
9427 * international/mule.el (auto-coding-alist): Add .tbz.
9428
9429 * files.el (local-enable-local-variables): Doc fix.
9430 (inhibit-local-variables-regexps): Rename from
9431 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9432 Doc fix. Add some extensions from auto-coding-alist.
9433 (inhibit-local-variables-suffixes):
9434 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9435 (inhibit-local-variables-p):
9436 New function, extracted from set-auto-mode-1.
9437 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9438 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9439 (hack-local-variables): Doc fix. Make the mode-only case
9440 respect enable-local-variables and friends.
9441 Respect inhibit-local-variables-regexps for file-locals, but
9442 not for directory-locals.
9443 (set-visited-file-name):
9444 Take account of inhibit-local-variables-regexps.
9445 Whether it applies may change as the file name is changed.
9446 * jka-cmpr-hook.el (jka-compr-install):
9447 * jka-compr.el (jka-compr-uninstall):
9448 Update for inhibit-first-line-modes-suffixes name change.
9449
9450 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9451
9452 * help-macro.el (make-help-screen): Temporarily restore original
9453 binding for minor-mode-map-alist (Bug#10454).
9454
9455 2012-01-19 Julien Danjou <julien@danjou.info>
9456
9457 * color.el (color-name-to-rgb): Use the white color to find the max
9458 color component value and return correctly computed values.
9459 (color-name-to-rgb): Add missing float conversion for max value.
9460
9461 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9462
9463 * window.el (window--state-get-1, window-state-get): Do not use
9464 special state value for window-persistent-parameters.
9465 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9466 (window--state-put-2): Reset all window parameters to nil before
9467 assigning values of persistent parameters.
9468
9469 2012-01-18 Alan Mackenzie <acm@muc.de>
9470
9471 Eliminate sluggishness and hangs in fontification of "semicolon
9472 deserts".
9473
9474 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9475 Change value 10000 -> 3000.
9476 (c-state-safe-place): Reformulate so it doesn't stack up an
9477 infinite number of wrong entries in c-state-nonlit-pos-cache.
9478 (c-determine-limit-get-base, c-determine-limit): New functions to
9479 determine backward search limits disregarding literals.
9480 (c-find-decl-spots): Amend commenting.
9481 (c-cheap-inside-bracelist-p): New function which detects "={".
9482
9483 * progmodes/cc-fonts.el
9484 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9485 backward search.
9486 (c-font-lock-declarations): Fix an occurrence of point being
9487 undefined. Check additionally for point being in a bracelist or
9488 near a macro invocation without a semicolon so as to avoid a
9489 fruitless time consuming search for a declarator. Give a more
9490 precise search limit for declarators using the new
9491 c-determine-limit.
9492
9493 2012-01-18 Glenn Morris <rgm@gnu.org>
9494
9495 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9496 (set-auto-mode): Doc fixes.
9497
9498 2012-01-17 Glenn Morris <rgm@gnu.org>
9499
9500 * isearch.el (search-nonincremental-instead): Fix doc typo.
9501
9502 * dired.el (dired-insert-directory): Handle newlines in directory name.
9503 (dired-build-subdir-alist): Unescape newlines in directory name.
9504
9505 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9506
9507 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9508 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9509 (tramp-action-terminal): Use it. (Bug#10530)
9510
9511 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9514
9515 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9516
9517 * window.el (window-state-ignored-parameters): Remove variable.
9518 (window--state-get-1): Rename argument MARKERS to IGNORE.
9519 Handle persistent window parameters. Make copy of clone-of
9520 parameter only if requested. (Bug#10348)
9521 (window--state-put-2): Install a window parameter only if it has
9522 a non-nil value or an existing parameter shall be overwritten.
9523
9524 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9525
9526 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9527
9528 2012-01-14 Eli Zaretskii <eliz@gnu.org>
9529
9530 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9531 don't pass the (nil) value of `upnode' to string-match.
9532
9533 2012-01-14 Chong Yidong <cyd@gnu.org>
9534
9535 * startup.el (command-line): Fix X resource class for cursorColor.
9536 Fix values recognized by the cursorBlink resource.
9537
9538 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9539
9540 * epg.el (epg--make-temp-file): Avoid permission race condition
9541 when running on old Emacs versions (bug#10403).
9542
9543 2012-01-14 Glenn Morris <rgm@gnu.org>
9544
9545 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9546
9547 2012-01-13 Alan Mackenzie <acm@muc.de>
9548
9549 Fix filling for when filladapt mode is enabled.
9550
9551 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9552 c-mask-paragraph, pass in `fill-paragraph' rather than
9553 `fill-region-as-paragraph'. (This is a reversion of a previous
9554 change.)
9555 * progmodes/cc-mode.el (c-basic-common-init):
9556 Make fill-paragraph-handle-comment buffer local and set it to nil.
9557
9558 2012-01-13 Glenn Morris <rgm@gnu.org>
9559
9560 * dired.el (dired-switches-escape-p): New function.
9561 (dired-insert-directory): Use dired-switches-escape-p.
9562 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9563
9564 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9565
9566 2012-01-12 Glenn Morris <rgm@gnu.org>
9567
9568 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9569 changes in adaptive-fill-regexp. (Bug#10276)
9570
9571 2012-01-11 Alan Mackenzie <acm@muc.de>
9572
9573 Fix Emacs bug #10463 - put `widen's around the critical spots.
9574
9575 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9576 widen around each invocation of c-state-pp-to-literal. Remove an
9577 unused let variable.
9578
9579 2012-01-11 Glenn Morris <rgm@gnu.org>
9580
9581 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
9582 Doc fix.
9583
9584 2012-01-10 Chong Yidong <cyd@gnu.org>
9585
9586 * net/network-stream.el (network-stream-open-starttls):
9587 Avoid emitting a confusing error message when the server gives a bad
9588 response to the capability command.
9589
9590 2012-01-10 Glenn Morris <rgm@gnu.org>
9591
9592 * mail/unrmail.el (unrmail): Tweak previous change.
9593
9594 2012-01-09 Chong Yidong <cyd@gnu.org>
9595
9596 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9597
9598 2012-01-08 Alan Mackenzie <acm@muc.de>
9599
9600 Optimise font locking in long enum definitions.
9601
9602 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9603 arm to a cond form to handle enums.
9604 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9605 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9606
9607 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
9608
9609 * files.el (move-file-to-trash): Preserve default file modes on error.
9610 (Bug#10401)
9611
9612 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9613
9614 * faces.el (set-face-attribute): Clarify the meaning of the nil
9615 frame (bug#10294).
9616
9617 * subr.el (with-selected-frame): Mention that the selected frame
9618 is restored (bug#9980).
9619
9620 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9621 (bug#9759).
9622
9623 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9624 (password-read): Don't autoload unused function.
9625
9626 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
9627
9628 * progmodes/which-func.el (which-func-mode): Turn into a
9629 non-interactive function and mark as obsolete (bug#10428).
9630
9631 2012-01-06 Chong Yidong <cyd@gnu.org>
9632
9633 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9634 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9635 functions, along with 1 and -1.
9636
9637 2012-01-06 Eli Zaretskii <eliz@gnu.org>
9638
9639 * time.el (display-time-load-average)
9640 (display-time-default-load-average): Doc fixes. See the thread
9641 starting at
9642 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9643 for the details.
9644
9645 2012-01-06 Glenn Morris <rgm@gnu.org>
9646
9647 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9648 has no messages. (Bug#10377)
9649
9650 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9651 than Info-edit. (Bug#10385)
9652
9653 * time.el (display-time-load-average, display-time-next-load-average):
9654 Doc fixes.
9655
9656 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9657 local setting of buffer-read-only to the input buffer. (Bug#10419)
9658
9659 * calendar/calendar.el (calendar-mode):
9660 Locally set scroll-margin to 0. (Bug#10379)
9661
9662 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
9663
9664 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9665
9666 2012-01-05 Glenn Morris <rgm@gnu.org>
9667
9668 * eshell/em-unix.el (diff-no-select): Autoload it.
9669 (eshell/diff): Use diff-no-select. (Bug#10420)
9670
9671 2012-01-05 Chong Yidong <cyd@gnu.org>
9672
9673 * shell.el (shell-dynamic-complete-functions): Revert last change.
9674 (shell-command-completion-function): New function.
9675 (shell-completion-vars): Use it to implement
9676 shell-completion-execonly (Bug#10417).
9677
9678 * custom.el (enable-theme): Don't set custom-safe-themes.
9679
9680 * cus-theme.el (custom-theme-merge-theme):
9681 Ignore custom-enabled-themes and custom-safe-themes.
9682
9683 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9684
9685 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9686 first prompt in `sql-interacive-mode'.
9687 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9688 keywords.
9689 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9690 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9691 context of original buffer. Invoke `sql-login-hook'.
9692
9693 2012-01-04 Eli Zaretskii <eliz@gnu.org>
9694
9695 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9696 letters in cite-prefix.
9697
9698 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9699
9700 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9701
9702 2012-01-03 Chong Yidong <cyd@gnu.org>
9703
9704 * shell.el (shell-dynamic-complete-functions):
9705 Put pcomplete-completions-at-point, so as to try
9706 comint-filename-completion first (Bug#10417).
9707
9708 2012-01-02 Richard Stallman <rms@gnu.org>
9709
9710 * battery.el (battery-status-function):
9711 Detect when to use battery-yeeloong-sysfs.
9712 (battery-echo-area-format): Add string for Yeeloong.
9713 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9714 (battery-yeeloong-sysfs): New function.
9715
9716 2012-01-02 Chong Yidong <cyd@gnu.org>
9717
9718 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9719 (dirtrack): Merge code for handling relative filenames in prompt
9720 from shell-dir-cookie-watcher.
9721 (dirtrack-debug-message): New arg to avoid excess format calls.
9722
9723 * shell.el (shell-dir-cookie-re): Variable deleted.
9724 (shell-dir-cookie-watcher): Function deleted.
9725 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9726 with dirtrack-mode.
9727
9728 2012-01-01 Eli Zaretskii <eliz@gnu.org>
9729
9730 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9731 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9732 libgnutls-26.dll.
9733
9734 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9735
9736 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9737
9738 2011-12-31 Eli Zaretskii <eliz@gnu.org>
9739
9740 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9741 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9742
9743 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
9744
9745 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9746 also for alternative shells.
9747 (tramp-open-connection-setup-interactive-shell): Check, whether
9748 the shell is a busybox.
9749 (tramp-send-command): Don't suppress multiple prompts for
9750 busyboxes, it hurts.
9751
9752 2011-12-28 Chong Yidong <cyd@gnu.org>
9753
9754 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9755 (gdb-get-source-file): Move mode line update to
9756 gdb-get-source-file (Bug#10087).
9757
9758 2011-12-25 Chong Yidong <cyd@gnu.org>
9759
9760 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9761 gud-gdb-marker-filter without taking it as an argument.
9762 (gud-gdb-run-command-fetch-lines): Caller changed.
9763 (gud-gdb-completion-function): New variable.
9764 (gud-gdb-completion-at-point): Use it.
9765 (gud-gdb-completions-1): Split from gud-gdb-completions.
9766
9767 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9768 function as separate arguments.
9769 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9770 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9771 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9772 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9773 (gdb-stopped, def-gdb-auto-update-trigger)
9774 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9775 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9776 Callers changed.
9777 (gud-gdbmi-completions): New function.
9778 (gdb): Use it for generating the completion table.
9779
9780 2011-12-24 Alan Mackenzie <acm@muc.de>
9781
9782 Introduce a mechanism to widen the region used in context font
9783 locking. Use this to protect declarations from losing their contexts.
9784
9785 * progmodes/cc-langs.el (c-before-font-lock-functions):
9786 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9787 (c-before-context-fontification-functions): New defvar, a list of
9788 functions to be run just before context (etc.) font locking.
9789
9790 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9791 New, functionality extracted from
9792 c-neutralize-syntax-in-and-mark-CPP.
9793 (c-in-after-change-fontification): New variable.
9794 (c-after-change): Set c-in-after-change-fontification.
9795 (c-set-fl-decl-start): Rejig its interface, so it can be called
9796 from both after-change and context fontifying.
9797 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9798 New functions.
9799 (c-standard-font-lock-fontify-region-function): New variable.
9800 (c-font-lock-fontify-region): New function.
9801
9802 2011-12-24 Juri Linkov <juri@jurta.org>
9803
9804 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9805 (Bug#10348)
9806
9807 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
9808
9809 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9810 existence of source file. (Bug#10325)
9811
9812 2011-12-23 Alan Mackenzie <acm@muc.de>
9813
9814 Fix unstable fontification inside templates.
9815
9816 * progmodes/cc-langs.el (c-before-font-lock-functions):
9817 Newly created from the singular version. The (c c++ objc) entry now
9818 additionally has c-set-fl-decl-start. The other languages (apart
9819 from AWK) have that as a single entry.
9820
9821 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9822 The functionality for "local" declarations has been extracted to
9823 c-set-fl-decl-start.
9824
9825 * progmodes/cc-mode.el (c-common-init, c-after-change):
9826 Changes due to pluralisation of c-before-font-lock-functions.
9827 (c-set-fl-decl-start): New function, extracted from
9828 c-font-lock-enclosing-decls and enhanced.
9829
9830 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
9831
9832 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9833
9834 2011-12-22 Juri Linkov <juri@jurta.org>
9835
9836 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9837
9838 2011-12-22 Chong Yidong <cyd@gnu.org>
9839
9840 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9841
9842 2011-12-21 Drew Adams <drew.adams@oracle.com>
9843
9844 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9845
9846 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9847
9848 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9849
9850 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9851
9852 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9853 highlighting and support. Fix up comments for capitalization.
9854 (cfengine-mode-debug): New var.
9855 (cfengine3-mode): Change the modeline indicator to "CFE3".
9856 (cfengine3-font-lock-keywords): Improve defun highlighting.
9857 (cfengine2-actions): Rename from `cfengine-actions'.
9858 (cfengine2-font-lock-keywords): Rename from
9859 `cfengine-font-lock-keywords'.
9860 (cfengine2-imenu-expression): Rename from
9861 `cfengine-imenu-expression'.
9862 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9863 (cfengine2-beginning-of-defun): Rename from
9864 `cfengine-beginning-of-defun'.
9865 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9866 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9867 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9868 modeline indicator to "CFE2".
9869 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9870 (cfengine-mode-abbrevs): Mark obsolete.
9871
9872 2011-12-21 Chong Yidong <cyd@gnu.org>
9873
9874 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9875 filename argument.
9876
9877 2011-12-20 Martin Rudalics <rudalics@gmx.at>
9878
9879 * window.el (window-normalize-buffer-to-display): Remove.
9880 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9881
9882 2011-12-19 Chong Yidong <cyd@gnu.org>
9883
9884 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9885 Don't signal an error in a predicate function; return non-nil.
9886 (vc-dir-mark-file): Move the error here.
9887 (vc-dir-mark-unmark): If acting on the region, keep going if one
9888 of the entries cannot be marked/unmarked.
9889 (vc-dir-mark-all-files): If current entry is a directory, mark
9890 only child files, as documented.
9891
9892 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9893
9894 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9895 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9896 addition.
9897
9898 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9899
9900 * term/ns-win.el (ns-get-selection-internal)
9901 (ns-store-selection-internal): Declare.
9902 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9903 Declare as obsolete.
9904 (ns-get-pasteboard, ns-paste-secondary):
9905 Use ns-get-selection-internal.
9906 (ns-set-pasteboard, ns-copy-including-secondary):
9907 Use ns-store-selection-internal.
9908
9909 2011-12-17 Chong Yidong <cyd@gnu.org>
9910
9911 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9912 (vc-deduce-fileset): Doc fix.
9913
9914 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9915
9916 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9917
9918 2011-12-13 Sam Steingold <sds@gnu.org>
9919
9920 * man.el (Man-getpage-in-background): When running under a
9921 window-system, ignore $MANWIDTH and $COLUMNS.
9922
9923 2011-12-15 Kenichi Handa <handa@m17n.org>
9924
9925 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9926 (setup-ethiopic-environment-internal): Comment out key-binding for
9927 ethio-toggle-punctuation.
9928
9929 2011-12-13 Alan Mackenzie <acm@muc.de>
9930
9931 Add the switch statement to AWK Mode.
9932
9933 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9934 "default" to the keywords regexp.
9935
9936 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9937 expression as the rest.
9938 (c-nonlabel-token-key): Allow string literals for AWK.
9939 Refactor for the other modes.
9940
9941 Large brace-block initialisation makes CC Mode slow: Fix.
9942 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9943 routines. Limit backward searching in c-font-lock-enclosing.decl.
9944
9945 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9946 pp-state and literal type in addition to the limits.
9947 (c-state-safe-place): New defun, extracted from c-state-literal-at.
9948 (c-state-literal-at): Use the above new defun.
9949 (c-slow-in-literal, c-fast-in-literal): Remove.
9950 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9951
9952 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9953 being in a literal. Add a limit for backward searching.
9954
9955 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9956 c-slow-in-literal.
9957
9958 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9961
9962 2011-12-13 Martin Rudalics <rudalics@gmx.at>
9963
9964 * window.el (delete-other-windows): Use correct frame in call to
9965 window-with-parameter.
9966
9967 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9968
9969 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9970 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9971 (makefile-gmake-statements, makefile-makepp-statements):
9972 Use it and add new makepp keywords.
9973 (makefile-makepp-font-lock-keywords): Add new patterns.
9974 (makefile-match-function-end): Match new [...] and [[...]].
9975
9976 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
9977
9978 * ses.el (ses-call-printer-return, ses-cell-property-get)
9979 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9980 (ses-create-cell-variable, ses-reset-header-string)
9981 (ses-cell-set-formula, ses-repair-cell-reference-all)
9982 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9983 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9984 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9985 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9986 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9987 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9988 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9989 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9990 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9991 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9992 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9993 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9994
9995 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9996
9997 * ses.el: The overall change is to add cell renaming, that is
9998 setting fancy names for cell symbols other than name matching
9999 "\\`[A-Z]+[0-9]+\\'" regexp .
10000 (ses-create-cell-variable): New defun.
10001 (ses-relocate-formula): Relocate formulas only for cells the
10002 symbols of which are not renamed, i.e. symbols whose names do not
10003 match regexp "\\`[A-Z]+[0-9]+\\'".
10004 (ses-relocate-all): Relocate values only for cells the symbols of
10005 which are not renamed.
10006 (ses-load): Create cells variables as the (ses-cell ...) are read,
10007 in order to check row col consistency with cell symbol name only
10008 for cells that are not renamed.
10009 (ses-replace-name-in-formula): New defun.
10010 (ses-rename-cell): New defun.
10011
10012 2011-12-11 Chong Yidong <cyd@gnu.org>
10013
10014 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10015 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10016
10017 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10018
10019 * window.el (other-window): Fix docstring.
10020
10021 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10022
10023 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10024 `from' or `to' address before taking its substring.
10025 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10026 encoded name is chopped in the middle of the encoded string, and
10027 thus displayed encoded.
10028
10029 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10030
10031 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10032
10033 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10034
10035 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10036 to use texinfo-update-node and commands that call it if the
10037 Texinfo file uses @node lines without next/prev/up pointers.
10038 Correct outdated description about texinfo-master-menu.
10039 (texinfo-all-menus-update, texinfo-master-menu)
10040 (texinfo-update-node, texinfo-every-node-update)
10041 (texinfo-multiple-files-update): Doc fix. Warn against updating
10042 all the @node lines.
10043 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10044 argument is numeric. Explain better in the doc string what the
10045 function really does.
10046 (texinfo-insert-master-menu-list): Improve the error message
10047 displayed if there's no menu in the Top node.
10048 (Bug#2975) See also this thread:
10049 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10050
10051 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10052
10053 * speedbar.el (speedbar-supported-extension-expressions):
10054 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10055
10056 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10057
10058 * printing.el (pr-mode-alist):
10059 * simple.el (filter-buffer-substring-functions)
10060 (completion-list-insert-choice-function):
10061 * window.el (window-with-parameter, window-atom-root)
10062 (window-sides-slots, window-size-fixed, window-min-delta)
10063 (window-max-delta, window--resize-mini-window)
10064 (window--resize-child-windows-normal, window-tree)
10065 (delete-other-windows, quit-window, split-window)
10066 (display-buffer-record-window, special-display-buffer-names)
10067 (special-display-regexps, special-display-popup-frame)
10068 (same-window-p, split-window-sensibly)
10069 (display-buffer-overriding-action, display-buffer-alist)
10070 (display-buffer-base-action, display-buffer, switch-to-buffer)
10071 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10072 (fit-window-to-buffer, recenter-positions)
10073 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10074 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10075 and remove unneeded backslashes in docstrings.
10076
10077 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10078
10079 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10080
10081 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10082 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10083 end in ".mk".
10084 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10085 when reading the makefile (bug#10116).
10086
10087 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10090 (bug#10116).
10091
10092 2011-12-06 Glenn Morris <rgm@gnu.org>
10093
10094 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10095
10096 2011-12-06 Chong Yidong <cyd@gnu.org>
10097
10098 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10099
10100 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10101
10102 * textmodes/table.el (table-shorten-cell): Fix typo.
10103
10104 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10105
10106 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10107
10108 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10109
10110 * descr-text.el (describe-char): Fix display of strong
10111 right-to-left characters and directional embeddings and overrides.
10112
10113 * simple.el (what-cursor-position): Fix display of codepoints of
10114 strong right-to-left characters.
10115
10116 2011-12-05 Chong Yidong <cyd@gnu.org>
10117
10118 * faces.el (read-color): Doc fix.
10119
10120 2011-12-05 Glenn Morris <rgm@gnu.org>
10121
10122 * align.el (align--set-marker): Add doc-string.
10123 Don't try to move something that is not a marker. (Bug#10216)
10124
10125 2011-12-04 Glenn Morris <rgm@gnu.org>
10126
10127 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10128 overly zealous deletion of trailing whitespace.
10129
10130 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10131
10132 * server.el (server-delete-client): On Windows, do not try to delete
10133 the only terminal.
10134 (server-process-filter): On Windows, treat requests for a tty frame as
10135 if they were for a GUI frame if the running server is in GUI mode.
10136
10137 2011-12-03 Glenn Morris <rgm@gnu.org>
10138
10139 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10140
10141 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * electric.el: Streamline electric-indent's hook.
10144 (electric-indent-chars): Revert to simple list.
10145 (electric-indent-functions): New var.
10146 (electric-indent-post-self-insert-function): Use it.
10147
10148 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10149 there's no inferior buffer (bug#10196).
10150 (prolog-consult-compile): Don't use toggle-read-only.
10151
10152 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10153
10154 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10155 interrupt. (Bug#10187)
10156
10157 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10160 (bug#9160).
10161
10162 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10163 (bug#10191).
10164
10165 2011-12-02 Juri Linkov <juri@jurta.org>
10166
10167 * info.el (Info-search): Display "end of manual" when Isearch
10168 reaches the end of single-file Info manual. (Bug#9918)
10169
10170 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10171
10172 * isearch.el (isearch-message-prefix): Run the input method part
10173 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10174
10175 2011-12-02 Juri Linkov <juri@jurta.org>
10176
10177 * isearch.el (isearch-occur): Use `word-search-regexp' for
10178 `isearch-word'.
10179 (isearch-search-and-update): Add condition for `isearch-word' and
10180 call `word-search-regexp'. (Bug#10145)
10181
10182 2011-12-01 Glenn Morris <rgm@gnu.org>
10183
10184 * eshell/em-hist.el (eshell-hist-initialize):
10185 Handle eshell-history-size nil and HISTSIZE set or unset.
10186 (eshell-history-file-name, eshell-history-size): Fix custom type.
10187
10188 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10191
10192 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10193
10194 * progmodes/verilog-mode.el (verilog-pretty-expr):
10195 Rework verilog-pretty-expr to handle new assignment operators in system
10196 verilog, such as += *= and the like.
10197 (verilog-assignment-operator-re): Regular expression to find the
10198 assigment operator in a verilog assignment.
10199 (verilog-assignment-operation-re): Regular expression to find an
10200 assignment statement for pretty-expr.
10201 (verilog-in-attribute-p): Query returns true if point is in an
10202 attribute context; used to skip these for expression line up from
10203 pretty-expr.
10204 (verilog-in-parameter-p): Query returns true if point is in an
10205 parameter definition context; used to skip these for expression
10206 line up from pretty-expr.
10207 (verilog-in-parenthesis-p): Query returns true if point is in a
10208 parenthetical expression, specifically ( ) but not [ ] or { };
10209 used by pretty-expr.
10210 (verilog-just-one-space): If there is no space, don't add one.
10211 (verilog-get-lineup-indent-2): Specifically skip just attribute
10212 contexts for expression lineup, rather than skipping all
10213 parenthetical expressions.
10214 (verilog-calculate-indent): Fix comment, and fix indent.
10215 (verilog-do-indent): Indent declarations in lists (suggested by
10216 Joachim Lechner).
10217 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10218 skeleton items.
10219 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10220 by Alain Mellan).
10221
10222 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10223
10224 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10225 parameters with embedded comments. Reported by Ray Stevens.
10226 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10227 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10228 Reported by Tim Holt.
10229 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10230 instantiated by upper module causing wrong expansion until AUTOed a
10231 second time. Reported by K C Buckenmaier.
10232 (verilog-diff-auto): Fix showing .* as a difference when
10233 `verilog-auto-star-save' off. Reported by Dan Dever.
10234 (verilog-auto-reset, verilog-read-always-signals)
10235 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10236 temporary signals in reset list if
10237 verilog-auto-reset-blocking-in-non is nil, and match assignment
10238 style to each signal's assignment type, bug381.
10239 Reported by Thomas Esposito.
10240 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10241 (verilog-uvm-statement-re): Support UVM indentation and
10242 highlighting, with old OVM keywords only.
10243 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10244 Support AUTOTIEOFF creating non-wire data types.
10245 Suggested by Jonathan Greenlaw.
10246 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10247 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10248 (verilog-inject-sense, verilog-read-inst-pins)
10249 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10250 Fix mismatching parenthesis inside commented out code when deleting
10251 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10252 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10253 non-numeric vector width. Reported by Alex Reed.
10254 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10255 detecting signals with parameter widths. Reported by Alex Reed.
10256 (verilog-auto-delete-trailing-whitespace):
10257 With `verilog-auto-delete-trailing-whitespace' remove trailing
10258 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10259 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10260 Fix verilog-scan-cache corruption when running user AUTO expansion
10261 hooks that call indentation routines.
10262 (verilog-simplify-range-expression): Fix typo ignoring lower case
10263 identifiers.
10264 (verilog-delete-auto): Fix delete-autos to also remove user created
10265 automatics, as long as they start with AUTO.
10266 (verilog-batch-diff-auto, verilog-diff-auto)
10267 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10268 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10269 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10270 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10271 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10272 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10273 is disabled and its cache will get corrupt, causing AUTOS not to
10274 expand. Instead use only -quick functions.
10275 (verilog-scan-region): Fix scanning over escaped quotes.
10276 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10277 (verilog-re-search-backward-quick)
10278 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10279 related functions now ignore strings, to fix misparsing of strings
10280 with magic comments embedded in them.
10281 (verilog-read-auto-template):
10282 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10283 Reported by Brad Dobbie.
10284 (verilog-read-auto-template):
10285 Fix 'verilog-auto-inst-template-numbers' with comments.
10286 Reported by Brad Dobbie.
10287 (verilog-auto-inst, verilog-auto-inst-param)
10288 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10289 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10290 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10291 debugging templates without merge conflicts, bug357.
10292 Reported by Brad Dobbie.
10293 (verilog-read-auto-template):
10294 Fix verilog-auto-inst-template-numbers with multiple templates.
10295 Reported by Brad Dobbie.
10296 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10297 abbrevs so user won't be asked to save.
10298 (verilog-read-auto-lisp-present): Fix to start at beginning of
10299 buffer in case called outside of verilog-auto.
10300 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10301 to "X-2". Reported by Matthew Myers.
10302 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10303 all inputs from module templates. Reported by Leith Johnson.
10304 (verilog-module-inside-filename-p): Fix locating programs as with
10305 modules.
10306 (verilog-auto-inst-port): Fix vl-width expressions when using
10307 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10308 (verilog-decls-get-regs, verilog-decls-get-signals,
10309 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10310 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10311 verilog-read-decls): Combine reg and wire structures into one var
10312 structure to represent SystemVerilog concepts.
10313 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10314 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10315 (verilog-auto-wire-type, verilog-insert-definition):
10316 Add verilog-auto-wire-type and AUTOLOGIC to support using
10317 SystemVerilog "logic" keyword instead of "wire"/"reg".
10318 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10319 to declares outputs that also have assignments (presumably in an
10320 ifdef or generate if so there's not a driver conflict).
10321 Reported by Matthew Myers.
10322 (verilog-auto-declare-nettype, verilog-insert-definition):
10323 Add verilog-auto-declare-nettype to fix declarations using
10324 `default_nettype none. Reported by Julian Gorfajn.
10325 (verilog-read-always-signals-recurse, verilog-read-decls)
10326 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10327 malformed end statement, bug325. Reported by Joshua Wise and
10328 Andrew Drake.
10329 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10330 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10331 when expanding .* in interfaces, bug320.
10332 Reported by Pierre-David Pfister.
10333 (verilog-read-module-name): Fix import statements between module
10334 name and open parenthesis, bug317.
10335 Reported by Pierre-David Pfister.
10336 (verilog-simplify-range-expression): Fix simplification of
10337 multiplications inside AUTOWIRE connections, bug303.
10338 (verilog-auto-inst-port): Support parameter expansion in
10339 multidimensional arrays.
10340 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10341 after "assert property". Reported by Julian Gorfajn.
10342 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10343 with multiplication, bug303.
10344 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10345 Reported by Jan Frode Lonnum.
10346
10347 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10348
10349 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10350 (hfy-shell-file-name, hfy-shell):
10351 * international/fontset.el (x-decompose-font-name): Fix typos.
10352
10353 2011-11-29 Ken Brown <kbrown@cornell.edu>
10354
10355 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10356 (gdb-version): Remove defvar.
10357 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10358 (gdb-gud-context-command, gdb-non-stop-handler)
10359 (gdb-current-context-command, gdb-stopped): Use it.
10360 (gdb-init-1): Enable pretty printing here.
10361 (gdb-non-stop-handler): Don't enable pretty-printing here.
10362 Check to see if the target supports non-stop mode; if not, turn off
10363 non-stop mode. Use the following.
10364 (gdb-check-target-async): New defun.
10365 (gud-watch, gdb-stopped): Fix whitespace.
10366 (gdb-get-source-file): Don't try to display the source file if
10367 `gdb-main-file' is nil.
10368
10369 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10370
10371 * align.el: Try to generate fewer markers (bug#10047).
10372 (align--set-marker): New macro.
10373 (align-region): Use it.
10374
10375 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10378
10379 2011-11-29 Chong Yidong <cyd@gnu.org>
10380
10381 * indent.el (indent-for-tab-command, indent-according-to-mode):
10382 Doc fix.
10383 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10384
10385 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10386
10387 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10388 aware of remote file names. (Bug#10124)
10389
10390 2011-11-29 Chong Yidong <cyd@gnu.org>
10391
10392 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10393
10394 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * files.el (find-file): Don't use force-same-window (bug#10144).
10397 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10398 use pop-to-buffer if the selected window can't be used.
10399 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10400
10401 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10402
10403 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10404 special-mode-map.
10405
10406 2011-11-28 Chong Yidong <cyd@gnu.org>
10407
10408 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10409
10410 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10411
10412 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10413 gdb-get-source-file-list on gdb-create-source-file-list.
10414
10415 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10416
10417 * whitespace.el (whitespace-newline): Use a different foreground
10418 color for 16-color light-background displays.
10419
10420 2011-11-24 Chong Yidong <cyd@gnu.org>
10421
10422 * window.el (display-buffer--special-action): Doc fix.
10423
10424 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10425
10426 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10427 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10428 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10429 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10430 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10431 (avl-tree-stack-first):
10432 * emacs-lisp/cconv.el (cconv--analyse-use):
10433 * net/gnutls.el (gnutls-negotiate): Fix typos.
10434
10435 2011-11-24 Glenn Morris <rgm@gnu.org>
10436
10437 * lpr.el (lpr-windows-system, lpr-lp-system):
10438 * mail/binhex.el (binhex-begin-line):
10439 * progmodes/grep.el (grep-history, grep-find-history):
10440 * textmodes/flyspell.el:
10441 * vc/pcvs-defs.el (cvs-global-menu):
10442 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10443 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10444 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10445
10446 * net/tls.el: Fix case of "GnuTLS".
10447
10448 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10449
10450 * version.el (emacs-build-system): Give it a doc-string.
10451
10452 2011-11-24 Juri Linkov <juri@jurta.org>
10453
10454 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10455
10456 2011-11-24 Glenn Morris <rgm@gnu.org>
10457
10458 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10459 if called on a non-mime message just toggle the headers. (Bug#8006)
10460
10461 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10462
10463 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10464 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10465 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10466 (allout-rebullet-heading, allout-open-sibtopic)
10467 (allout-toggle-current-subtree-encryption)
10468 (allout-toggle-subtree-encryption, allout-encrypt-string)
10469 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10470 (allout-distinctive-bullets-string, allout-auto-activation):
10471 * window.el (window-normalize-buffer-to-display):
10472 * progmodes/verilog-mode.el (verilog-batch-indent):
10473 * textmodes/bibtex.el (bibtex-field-braces-opt)
10474 (bibtex-field-strings-opt):
10475 * vc/cvs-status.el (cvs-tree-merge):
10476 Fix typos.
10477
10478 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10479
10480 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10481 `non-essential' to t, in order to avoid remote connections.
10482
10483 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10484
10485 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10486 On MS-DOS and MS-Windows, compare with loaddefs.el
10487 case-insensitively.
10488
10489 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10490
10491 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10492
10493 2011-11-23 Glenn Morris <rgm@gnu.org>
10494
10495 * paths.el (rmail-file-name): Reformat the doc-string so that it
10496 is picked up.
10497
10498 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10499 (rmail-auto-file): Ignore case in the "special" field names,
10500 as mail-fetch-field does for all others.
10501
10502 * mail/rmail.el (rmail-forward):
10503 * mail/rmailkwd.el (rmail-set-label):
10504 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10505 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10506
10507 * mail/rmail.el (rmail-current-message): Doc fix.
10508
10509 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10510
10511 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10514
10515 2011-11-22 Glenn Morris <rgm@gnu.org>
10516
10517 * mail/rmailmm.el (test-rmail-mime-handler)
10518 (test-rmail-mime-bulk-handler)
10519 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10520
10521 2011-11-21 Juri Linkov <juri@jurta.org>
10522
10523 * calc/calc.el (calc-read-key-sequence):
10524 Let-bind `input-method-function' to nil. (Bug#10018)
10525
10526 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10527
10528 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10529 Tell the caller that the next line needs recomputation, even
10530 though it doesn't start a sexp (bug#10094).
10531
10532 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10535
10536 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10537
10538 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10539 Use force-same-window.
10540
10541 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10542
10543 * descr-text.el (describe-char-unicode-data):
10544 * json.el (json-string-escape):
10545 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10546 (Footnote-unicode, Footnote-style-p):
10547 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10548
10549 2011-11-20 Chong Yidong <cyd@gnu.org>
10550
10551 * window.el (replace-buffer-in-windows): Restore interactive spec.
10552
10553 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10554
10555 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10556
10557 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10558 (byte-compile-global-not-obsolete-vars): New var.
10559 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10560 Use it.
10561 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10562
10563 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10564
10565 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10566 * progmodes/pascal.el (electric-pascal-equal):
10567 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10568 * xml.el (xml-substitute-special): Fix typos.
10569
10570 2011-11-20 Glenn Morris <rgm@gnu.org>
10571
10572 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10573 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10574 Doc fixes.
10575 (rmail-decode-mime-charset): Mark as obsolete.
10576
10577 * mail/rmailsum.el (rmail-message-regexp-p-1):
10578 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10579 Before using mime functions, check they are set. (Bug#10077)
10580
10581 2011-11-19 Juri Linkov <juri@jurta.org>
10582
10583 * info.el (Info-finder-find-node): Use `package--builtins' instead
10584 of `package-alist'. Use node names formed by the pattern "Keyword "
10585 and the keyword name.
10586
10587 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10588
10589 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10590
10591 2011-11-19 Juri Linkov <juri@jurta.org>
10592
10593 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10594 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10595 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10596 `old-history', `old-history-forward'. Add let-binding
10597 `window-selected'. Remove calls to `kill-buffer',
10598 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10599 before calling `Info-find-node', so `Info-find-node-2' will reread
10600 the Info file. Restore window positions only when `window-selected'
10601 is non-nil.
10602
10603 2011-11-19 Juri Linkov <juri@jurta.org>
10604
10605 * isearch.el (isearch-lazy-highlight-new-loop):
10606 Remove condition `(not isearch-error)'. (Bug#9918)
10607
10608 * misearch.el (multi-isearch-search-fun): Add condition
10609 `(not bound)' to ignore lazy-highlighting search.
10610 Add the search-failed message "end of multi" when the end of
10611 multi-sequence is reached. Uncapitalize the search-failed
10612 message "Repeat for next buffer".
10613
10614 * info.el (Info-search): Add the search-failed message
10615 "end of the manual" when the end of the manual is reached
10616 in Isearch mode.
10617
10618 2011-11-19 Juri Linkov <juri@jurta.org>
10619
10620 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10621 Use non-destructive `remove' instead of `delete' because
10622 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10623 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10624
10625 2011-11-19 Juri Linkov <juri@jurta.org>
10626
10627 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10628 to nil instead of binding `search-ring' and `regexp-search-ring'.
10629 (Bug#9185)
10630
10631 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10632
10633 * simple.el (line-move): Force movement by logical lines for any
10634 hscrolled window, not only when auto-hscroll-mode is on.
10635 (line-move-visual): Update doc string to that effect. (Bug#10076)
10636
10637 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10638
10639 * language/european.el (macintosh): Define as alias for mac-roman.
10640
10641 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10642
10643 * mail/rmailmm.el (rmail-mime-display-header)
10644 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10645 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10646 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10647 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10648 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10649 of a raw aref.
10650 (rmail-mime-entity-segment): To get past the tagline, move forward
10651 2 more lines, to account for the 2 empty lines that precede and
10652 follow the line with the buttons.
10653 (rmail-mime-update-tagline): Move one more line, to get past the
10654 empty line that follows the buttons in the tagline. (Bug#9520)
10655
10656 2011-11-19 Martin Rudalics <rudalics@gmx.at>
10657
10658 * window.el (window-max-delta-1, window-min-delta-1)
10659 (window-min-size-1, window-state-get-1, window-state-put-1)
10660 (window-state-put-2): Use "window--" prefix.
10661
10662 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10663
10664 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10665 (smie-warning-count): New var.
10666 (smie-set-prec2tab): Use it.
10667 (smie-bnf->prec2): Improve warnings. Add docstring.
10668 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10669 (smie-bnf--set-class): New function.
10670 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10671 corner case.
10672
10673 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10674 (compilation-error-properties, compilation-move-to-column):
10675 Handle compilation-first-column while in the target buffer.
10676
10677 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10678 Don't hardcode point-min==1.
10679
10680 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10681 (eshell-rewrite-for-command): Remove workaround.
10682 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10683 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10684 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10685
10686 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10687
10688 2011-11-17 Glenn Morris <rgm@gnu.org>
10689
10690 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10691 Ignore buffer-local generated-autoload-file if it is the same
10692 as the global value. (Bug#10049)
10693
10694 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
10695
10696 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10697 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10698 (reftex-toc-previous-heading, reftex-toc-max-level)
10699 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10700 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10701 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10702 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10703 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10704 (reftex-toc-rename-label, reftex-toc-visit-location)
10705 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10706 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10707 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10708 leaving "*toc*" only for references to the buffer.
10709
10710 2011-11-17 Martin Rudalics <rudalics@gmx.at>
10711
10712 * window.el (window-resize, delete-window, split-window):
10713 Replace window-splits by window-combination-resize.
10714 * cus-start.el (window-splits): Replace by window-combination-resize.
10715
10716 2011-11-17 Glenn Morris <rgm@gnu.org>
10717
10718 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10719 Make bash entry derive from sh entry, not shell entry.
10720
10721 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
10722
10723 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10724 local file name.
10725
10726 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10727
10728 * menu-bar.el (menu-bar-file-menu):
10729 * printing.el (pr-ps-utility):
10730 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10731 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10732 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10733 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10734 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10735 (icalendar--convert-cyclic-to-ical)
10736 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10737 (icalendar--convert-ical-to-diary)
10738 (icalendar--convert-recurring-to-diary)
10739 (icalendar--convert-non-recurring-all-day-to-diary)
10740 (icalendar-import-format-sample):
10741 * progmodes/idlw-shell.el (idlwave-shell-mode):
10742 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10743 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10744 (vhdl-ps-print-init): Fix typos.
10745
10746 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10747
10748 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10749 FSF and collapse date sequence, obscure author/maintainer email address
10750 better, remove extra version line, track relocation of author's webpage.
10751
10752 * progmodes/python.el (python-pdbtrack-input-prompt)
10753 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10754 regular python pdb prompts. Adjustments shamelessly taken exactly as
10755 suggested in EmacsWiki page (tiny change):
10756 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10757
10758 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10759
10760 * expand.el (expand-pos, expand-index, expand-point):
10761 Remove redundant info from docstring.
10762 (expand-add-abbrevs): Doc fix.
10763 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10764 (expand-sample-perl-mode-expand-list): Fix typos.
10765
10766 * net/dbus.el (dbus-event-member-name):
10767 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10768 * term/pc-win.el (msdos-create-frame-with-faces):
10769 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10770
10771 2011-11-16 Martin Rudalics <rudalics@gmx.at>
10772
10773 * window.el (split-window, window-state-get-1)
10774 (window-state-put-1, window-state-put-2): Rename occurrences of
10775 window-nest to window-combination-limit.
10776 * cus-start.el (window-nest): Rename to window-combination-limit.
10777
10778 2011-11-16 Chong Yidong <cyd@gnu.org>
10779
10780 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10781 regexp (Bug#10033).
10782
10783 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10784
10785 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10786 `completing-read' will remove *Completions* and will preserve
10787 current-buffer for us.
10788 (tmm-add-prompt): Users of *Completions* will always (re)set its
10789 major mode.
10790 (tmm-old-comp-map): Remove.
10791
10792 2011-11-16 Glenn Morris <rgm@gnu.org>
10793
10794 * mail/rmailedit.el: Require rmailmm when compiling.
10795 (rmail-old-mime-state): New declaration.
10796 (rmail-edit-current-message): If editing a mime message,
10797 edit the "raw" message from the mbox buffer.
10798 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10799
10800 2011-11-15 Glenn Morris <rgm@gnu.org>
10801
10802 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10803 which wasn't being used. Add optional arg to force given state.
10804 (rmail-mime): Add optional arg to force given state.
10805
10806 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10809 * frame.el (display-mm-dimensions-alist):
10810 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10811 (outline-move-subtree-down):
10812 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10813 (newsticker--treeview-do-get-node):
10814 * net/quickurl.el (quickurl-list-buffer-name):
10815 * progmodes/dcl-mode.el (dcl-mode):
10816 * progmodes/gdb-mi.el (gdb-mapcar*):
10817 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10818
10819 2011-11-15 Glenn Morris <rgm@gnu.org>
10820
10821 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10822 in a boolean sense, so just make it a boolean, and fix the doc.
10823 (rmail-show-mime-function, rmail-mime-feature)
10824 (rmail-require-mime-maybe): Doc fixes.
10825 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10826
10827 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10828
10829 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10830
10831 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10832 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10833 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10834 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10835
10836 2011-11-15 Glenn Morris <rgm@gnu.org>
10837
10838 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10839 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10840 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10841 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10842 (rmail-mime, rmail-show-mime): Doc fixes.
10843
10844 * term/ns-win.el (mode-line-frame-identification):
10845 Leave it alone. (Bug#10051)
10846
10847 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10848
10849 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10850 Handle empty buffers. (Bug#9978)
10851
10852 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
10853
10854 * international/mule.el (define-charset):
10855 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10856 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10857 * progmodes/verilog-mode.el (verilog-backward-token):
10858 * textmodes/ispell.el (lookup-words):
10859 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10860
10861 2011-11-14 Glenn Morris <rgm@gnu.org>
10862
10863 * progmodes/executable.el
10864 (executable-make-buffer-file-executable-if-script-p):
10865 Handle file-modes returning nil.
10866
10867 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10868 message - not necessary, and causes problems. (Bug#9831)
10869
10870 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10871
10872 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10873
10874 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10875 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10876 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10877
10878 2011-11-12 Martin Rudalics <rudalics@gmx.at>
10879
10880 * window.el (window-resize, delete-window): Use window-splits
10881 variable instead of function.
10882 (window-state-get-1, window-state-put-2, window-state-put):
10883 Don't deal with windows' splits status.
10884
10885 2011-11-12 Glenn Morris <rgm@gnu.org>
10886
10887 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10888 (apropos-documentation): Doc fixes.
10889
10890 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
10891
10892 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10893 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10894
10895 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * electric.el (electric-indent-post-self-insert-function): Make it
10898 possible for a char to only indent in some circumstances.
10899 (electric-indent-mode): Simplify.
10900
10901 2011-11-11 Martin Rudalics <rudalics@gmx.at>
10902
10903 * window.el (windows-with-parameter): Remove unused function.
10904 (windows-at-side): Rename to window-at-side-list.
10905 (window-check, window-atom-check, window-atom-check-1)
10906 (window-side-check, window-size-ignore, window-size-fixed-1)
10907 (window-in-direction-2): Prefix with "window--".
10908 (window-tree-1): Rename to window--subtree, fix doc-string.
10909
10910 2011-11-11 Glenn Morris <rgm@gnu.org>
10911
10912 * subr.el (eval-after-load): If FILE is already loaded,
10913 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10914
10915 2011-11-10 Glenn Morris <rgm@gnu.org>
10916
10917 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10918 Call svn via vc-svn-command rather than vc-do-command.
10919 (vc-svn-command): Add --non-interactive. (Bug#9993)
10920 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10921
10922 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10923 Add toggle-read-only. (Bug#7292)
10924 * files.el (toggle-read-only): Mention that it should only
10925 be used interactively. (Bug#10006)
10926
10927 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10930 Adjust regexp for OCaml warnings.
10931
10932 * electric.el (electric-pair-post-self-insert-function): Let user
10933 turn it off buffer-locally (bug#9932).
10934
10935 * progmodes/python.el (python-beginning-of-statement):
10936 Rewrite (bug#2703).
10937
10938 * progmodes/compile.el: Better handle TABs (bug#9749).
10939 (compilation-internal-error-properties)
10940 (compilation-next-error-function): Obey the target buffer's
10941 compilation-error-screen-columns.
10942
10943 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
10944
10945 * progmodes/meta-mode.el: Remove obsolete comments.
10946 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10947 Fix typos in docstrings.
10948
10949 2011-11-09 Martin Rudalics <rudalics@gmx.at>
10950
10951 * window.el (window-size-fixed-p): Rewrite doc-string.
10952 (window-resizable-p): Rename to window--resizable-p. Update callers.
10953 (window--resizable): New function. Make all callers of
10954 window-resizable call window--resizable instead.
10955 (window-resizable): Rewrite in terms of window--resizable.
10956
10957 2011-11-08 Glenn Morris <rgm@gnu.org>
10958
10959 * progmodes/delphi.el (delphi-mode-syntax-table):
10960 Let define-derived-mode define a proper syntax table. (Bug#9994)
10961
10962 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10963
10964 * window.el: Stay away from defsubst.
10965 (window-list-no-nils): Remove.
10966 (window-state-get-1, window-state-get): Use backquote instead.
10967
10968 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10969
10970 * emacs-lisp/find-func.el (find-function-read):
10971 Fix incorrect use of default argument in `completing-read'.
10972
10973 2011-11-08 Martin Rudalics <rudalics@gmx.at>
10974
10975 * window.el (display-buffer-function, special-display-function):
10976 Mention display-buffer-record-window but do not mention
10977 help-setup parameter in doc-strings.
10978 (window-min-delta): Fix doc-string typo.
10979
10980 2011-11-08 Chong Yidong <cyd@gnu.org>
10981
10982 * window.el (window-total-height, window-total-width): Doc fix.
10983 (window-body-size): Move from C.
10984 (window-body-height, window-body-width): Move to C.
10985
10986 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * window.el: Make special-display like display-buffer-alist (bug#9532).
10989 (display-buffer--special-action): New function, morphed
10990 from display-buffer--special.
10991 (display-buffer): Use it to handle special-display-buffers at higher
10992 priority (just after display-buffer-alist).
10993 (display-buffer-fallback-action, display-buffer--other-frame-action)
10994 (pop-to-buffer-same-window): Remove display-buffer--special.
10995
10996 2011-11-07 Glenn Morris <rgm@gnu.org>
10997
10998 * calendar/cal-menu.el (cal-menu-set-date-title):
10999 Do nothing if not in a calendar. (Bug#9976)
11000
11001 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * files.el (find-file): Always use selected-window.
11004
11005 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11006
11007 * window.el (window-combinations): Make WINDOW argument
11008 mandatory. Rewrite doc-string.
11009 (walk-window-subtree, window-atom-check, window-min-delta)
11010 (window-max-delta, window--resize-this-window)
11011 (window--resize-root-window-vertically, window-tree)
11012 (balance-windows, window-state-put): Rewrite doc-strings as to
11013 not mention the term "subwindow".
11014 (window--resize-subwindows-skip-p): Rename to
11015 window--resize-child-windows-skip-p.
11016 (window--resize-subwindows-normal): Rename to
11017 window--resize-child-windows-normal.
11018 (window--resize-subwindows): Rename to
11019 window--resize-child-windows.
11020 (window-or-subwindow-p): Rename to window--in-subtree-p.
11021
11022 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11023
11024 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11025 Ensure that mbox format messages end in two newlines (Bug#9974).
11026
11027 2011-11-06 Chong Yidong <cyd@gnu.org>
11028
11029 * window.el (window-combination-p): Function deleted; its
11030 side-effect is not used in any existing code.
11031 (window-combinations, window-combined-p): Call window-*-child
11032 directly.
11033
11034 2011-11-05 Chong Yidong <cyd@gnu.org>
11035
11036 * window.el (window-valid-p): Rename from window-any-p.
11037 (window-size-ignore, window-state-get): Callers changed.
11038 (window-normalize-window): Rename from window-normalize-any-window.
11039 New arg LIVE-ONLY, replacing window-normalize-live-window.
11040 (window-normalize-live-window): Delete.
11041 (window-combination-p, window-combined-p, window-combinations)
11042 (walk-window-subtree, window-atom-root, window-min-size)
11043 (window-sizable, window-sizable-p, window-size-fixed-p)
11044 (window-min-delta, window-max-delta, window-resizable)
11045 (window-resizable-p, window-full-height-p, window-full-width-p)
11046 (window-current-scroll-bars, window-point-1, set-window-point-1)
11047 (window-at-side-p, window-in-direction, window-resize)
11048 (adjust-window-trailing-edge, maximize-window, minimize-window)
11049 (window-deletable-p, delete-window, delete-other-windows)
11050 (record-window-buffer, unrecord-window-buffer)
11051 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11052 (quit-window, split-window, window-state-put)
11053 (set-window-text-height, fit-window-to-buffer)
11054 (shrink-window-if-larger-than-buffer): Callers changed.
11055
11056 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11057
11058 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11059 rfc2047-decode-string.
11060 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11061 warnings.
11062
11063 * window.el (window-body-height, window-body-width): Mention in
11064 the doc string that the return values are in frame's canonical
11065 units. (Bug#9949)
11066
11067 2011-11-03 Alan Mackenzie <acm@muc.de>
11068
11069 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11070 change in cc-engine.el.
11071
11072 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11075
11076 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11077
11078 * window.el (quit-window): Call unrecord-window-buffer after
11079 showing another buffer in the window. (Bug#9937)
11080 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11081
11082 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11083
11084 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11085 Accept status with more than 9 shelves. (Bug#9935)
11086 Reported by Colin D Bennett <colin@gibibit.com>.
11087
11088 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11089
11090 * help.el (with-help-window): Don't reference
11091 temp-buffer-show-specifiers in doc-string.
11092
11093 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11094
11095 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11096 menu-item.
11097
11098 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11099
11100 * whitespace.el: New version 13.2.2.
11101 (whitespace-newline-mode): Disable properly. Reported by Sarah
11102 <EmacsWiki>.
11103
11104 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11105
11106 * net/newst-treeview.el: Remove "Time-stamp".
11107 (newsticker--group-manage-orphan-feeds): Do not call
11108 newsticker--treeview-tree-update.
11109 (newsticker-treeview-update, newsticker-treeview):
11110 Call newsticker--treeview-tree-update if necessary.
11111
11112 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11113
11114 * window.el (window-iso-combination-p, window-iso-combined-p)
11115 (window-iso-combinations): Remove "iso-" infix.
11116 Suggested by Chong Yidong.
11117 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11118 (window-max-delta-1, window-resize, window--resize-siblings)
11119 (window--resize-this-window, adjust-window-trailing-edge)
11120 (split-window, balance-windows-1)
11121 (shrink-window-if-larger-than-buffer):
11122 * calendar/calendar.el (calendar-generate-window):
11123 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11124
11125 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11128 in place (bug#9907).
11129 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11130 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11131 (eshell-structure-basic-command, eshell-rewrite-while-command)
11132 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11133 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11134 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11135 (eshell-do-pipelines-synchronously, eshell-eval-command):
11136 Use backquotes and prefer setq to set.
11137 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11138 (eshell-macrop): Use functionp.
11139 (eshell-do-eval): Handle multiple expressions in `while' body.
11140
11141 2011-10-30 Chong Yidong <cyd@gnu.org>
11142
11143 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11144 instead of set-mark (Bug#9810).
11145
11146 2011-10-30 Chong Yidong <cyd@gnu.org>
11147
11148 * window.el (split-window-below, split-window-right): Rename from
11149 split-window-above-each-other and split-window-side-by-side
11150 respectively. All callers changed.
11151 (split-window-sensibly, split-window-sensibly): Use them.
11152 (split-window-keep-point): Doc fix.
11153
11154 * isearch.el: Add isearch-scroll property to split-window-below
11155 and split-window-right.
11156
11157 * follow.el (follow-mode):
11158 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11159 * progmodes/ada-xref.el (ada-gdb-application):
11160 * emulation/vip.el (vip-buffer-in-two-windows):
11161 * image-dired.el (image-dired-dired-with-window-configuration):
11162 * dired-x.el (dired-do-find-marked-files):
11163 * dired.el (dired-pop-to-buffer):
11164 * bs.el (bs--show-with-configuration):
11165 * vc/emerge.el (emerge-setup-windows):
11166 * textmodes/two-column.el (2C-two-columns):
11167 * textmodes/reftex-toc.el (reftex-toc):
11168 * progmodes/gdb-mi.el (gdb-setup-windows):
11169 * progmodes/fortran.el (fortran-window-create):
11170 * net/newst-treeview.el (newsticker--treeview-window-init):
11171 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11172 * emulation/tpu-edt.el (tpu-gold-map):
11173 * emulation/crisp.el (crisp-mode-map):
11174 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11175
11176 2011-10-29 Chong Yidong <cyd@gnu.org>
11177
11178 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11179
11180 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11181
11182 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11183 forged Ispell output (Bug#7904).
11184
11185 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11186
11187 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11188
11189 * doc-view.el: Avoid ugly errors about not finding nil.
11190 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11191 (doc-view-dvipdf-program, doc-view-unoconv-program)
11192 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11193 Avoid nil or absolute file name as default value.
11194 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11195
11196 2011-10-28 Alan Mackenzie <acm@muc.de>
11197
11198 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11199
11200 2011-10-28 Alan Mackenzie <acm@muc.de>
11201
11202 Amend the handling of c-beginning/end-of-defun in nested declaration
11203 scopes.
11204
11205 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11206 cc-langs.el. Change it to a defcustom.
11207
11208 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11209 cc-vars.el.
11210
11211 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11212 Prevent "class foo : bar" being spuriously recognized as a label.
11213
11214 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11215 Add parameter `inclusive' (to include enclosing braces in the region).
11216 (c-widen-to-enclosing-decl-scope): New function.
11217 (c-while-widening-to-decl-block): New macro.
11218 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11219 outward for defun boundaries, and correspondingly change symbol
11220 `respect-enclosure' to `go-outward'.
11221 (c-declaration-limits): Change algorithm to report only the "innermost"
11222 defun's boundaries.
11223
11224 2011-10-28 Deniz Dogan <deniz@dogan.se>
11225
11226 * net/rcirc.el (rcirc-mode): Use hard newlines.
11227
11228 2011-10-28 Alan Mackenzie <acm@muc.de>
11229
11230 Amend to indent and fontify macros "which include their own semicolon"
11231 correctly, using the "virtual semicolon" mechanism.
11232
11233 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11234
11235 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11236 Recode to scan one line at a time rather than having \n and \r
11237 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11238 (c-forward-label): Amend for virtual semicolons.
11239 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11240
11241 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11242 of the new C macros.
11243
11244 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11245 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11246 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11247 (c-opt-cpp-macro-define): Make into a full language variable.
11248 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11249 AWK Mode (including \n, \r) removed, no longer needed.
11250
11251 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11252 Invoke c-make-macro-with-semi-re.
11253
11254 * progmodes/cc-vars.el (c-macro-with-semi-re):
11255 (c-macro-names-with-semicolon): New variables.
11256 (c-make-macro-with-semi-re): New function.
11257
11258 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11259
11260 * vc/log-edit.el: Fill empty field rather than adding new one.
11261 (log-edit-add-field): New function.
11262 (log-edit-insert-changelog): Use it.
11263
11264 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11265
11266 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11267
11268 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11271 (gdb--check-interpreter): New function.
11272 (gdb): Use it.
11273
11274 2011-10-27 Glenn Morris <rgm@gnu.org>
11275
11276 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11277 (least-positive-float, least-negative-float)
11278 (least-positive-normalized-float, least-negative-normalized-float)
11279 (float-epsilon, float-negative-epsilon):
11280 Remove unnecessary declarations.
11281
11282 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11283 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11284 (least-positive-float, least-negative-float)
11285 (least-positive-normalized-float, least-negative-normalized-float)
11286 (float-epsilon, float-negative-epsilon): Add doc-strings,
11287 based on those in cl.texi.
11288
11289 * files.el (set-visited-file-name): If the major-mode changed,
11290 reload the local variables. (Bug#9796)
11291
11292 2011-10-27 Chong Yidong <cyd@gnu.org>
11293
11294 * subr.el (change-major-mode-after-body-hook): New hook.
11295 (run-mode-hooks): Run it.
11296
11297 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11298 Use change-major-mode-before-body-hook.
11299
11300 * simple.el (fundamental-mode):
11301 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11302 change introducing fundamental-mode-hook.
11303
11304 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11305
11306 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11307
11308 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11309
11310 * ido.el (ido-file-name-all-completions-1): Do not require
11311 tramp.el explicitly. (Bug#7583)
11312
11313 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * progmodes/octave-mod.el:
11316 * progmodes/octave-inf.el: Update maintainer.
11317
11318 2011-10-26 Chong Yidong <cyd@gnu.org>
11319
11320 * subr.el (with-wrapper-hook): Rewrite doc.
11321
11322 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11323
11324 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11325 filenames "/method:foo:". (Bug#9793)
11326
11327 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11328
11329 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11330 (bug#9865).
11331
11332 2011-10-24 Glenn Morris <rgm@gnu.org>
11333
11334 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11335
11336 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11337
11338 * notifications.el: Add the requirement of a running D-Bus session
11339 bus to the Commentary.
11340
11341 2011-10-24 Juri Linkov <juri@jurta.org>
11342
11343 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11344 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11345 (Bug#9364)
11346
11347 2011-10-24 Juri Linkov <juri@jurta.org>
11348
11349 * info.el (Info-following-node-name-re): Add newline to the list
11350 of allowed characters for leading space. (Bug#9824)
11351
11352 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * progmodes/octave-inf.el (inferior-octave-mode-map):
11355 Fix C-c C-h binding.
11356 * progmodes/octave-mod.el (octave-help): Remove.
11357
11358 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11359
11360 Sync with Tramp 2.2.3.
11361
11362 * net/tramp-cache.el (top): Pacify byte-compiler using
11363 `init-file-user' and `site-run-file'.
11364
11365 * net/trampver.el: Update release number.
11366
11367 2011-10-23 Chong Yidong <cyd@gnu.org>
11368
11369 * files.el (toggle-read-only): Remove obsolete comment about
11370 version control.
11371
11372 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11373 for toggle-read-only. Note that this hasn't called vc-next-action
11374 since 2008-05-02, though it wasn't documented at the time.
11375
11376 * vc/ediff-init.el (ediff-toggle-read-only-function):
11377 Use toggle-read-only.
11378
11379 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11380
11381 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11382 of c-parse-state.
11383
11384 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11385 correct faulty logical expression.
11386 (c-parse-state-state, c-record-parse-state-state):
11387 (c-replay-parse-state-state): New defvar/defuns.
11388 (c-debug-parse-state): Use new functions.
11389
11390 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11391
11392 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11393 last fix. Use window-in-direction correctly.
11394
11395 2011-10-21 Chong Yidong <cyd@gnu.org>
11396
11397 * progmodes/idlwave.el (idlwave-mode):
11398 * progmodes/vera-mode.el (vera-mode): No need to set
11399 require-final-newline; that's done in prog-mode.
11400 Suggested by Stefan Monnier.
11401
11402 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11403
11404 * mouse.el (mouse-drag-window-above)
11405 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11406 (mouse-drag-mode-line-1, mouse-drag-header-line)
11407 (mouse-drag-vertical-line-rightward-window): Remove.
11408 (mouse-drag-line): New function.
11409 (mouse-drag-mode-line, mouse-drag-header-line)
11410 (mouse-drag-vertical-line): Call mouse-drag-line.
11411 * window.el (window-at-side-p, windows-at-side): New functions.
11412
11413 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11414
11415 * tar-mode.el (tar-grind-file-mode):
11416 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11417
11418 2011-10-21 Chong Yidong <cyd@gnu.org>
11419
11420 * progmodes/idlwave.el (idlwave-mode):
11421 * progmodes/vera-mode.el (vera-mode):
11422 Use mode-require-final-newline.
11423
11424 2011-10-20 Glenn Morris <rgm@gnu.org>
11425
11426 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11427
11428 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11429
11430 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11431
11432 2011-10-20 Chong Yidong <cyd@gnu.org>
11433
11434 * emulation/cua-base.el (cua-mode):
11435 * mail/footnote.el (footnote-mode):
11436 * mail/mailabbrev.el (mail-abbrevs-mode):
11437 * net/xesam.el (xesam-minor-mode):
11438 * progmodes/bug-reference.el (bug-reference-mode):
11439 * progmodes/cap-words.el (capitalized-words-mode):
11440 * progmodes/compile.el (compilation-minor-mode)
11441 (compilation-shell-minor-mode):
11442 * progmodes/gud.el (gud-tooltip-mode):
11443 * progmodes/hideif.el (hide-ifdef-mode):
11444 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11445 * progmodes/subword.el (subword-mode):
11446 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11447 * progmodes/which-func.el (which-function-mode):
11448 * term/tvi970.el (tvi970-set-keypad-mode):
11449 * term/vt100.el (vt100-wide-mode):
11450 * textmodes/flyspell.el (flyspell-mode):
11451 * textmodes/ispell.el (ispell-minor-mode):
11452 * textmodes/nroff-mode.el (nroff-electric-mode):
11453 * textmodes/paragraphs.el (use-hard-newlines):
11454 * textmodes/refill.el (refill-mode):
11455 * textmodes/reftex.el (reftex-mode):
11456 * textmodes/rst.el (rst-minor-mode):
11457 * textmodes/sgml-mode.el (html-autoview-mode)
11458 (sgml-electric-tag-pair-mode):
11459 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11460 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11461 * emulation/crisp.el (crisp-mode):
11462 * emacs-lisp/eldoc.el (eldoc-mode):
11463 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11464 minor mode behavior.
11465
11466 2011-10-19 Juri Linkov <juri@jurta.org>
11467
11468 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11469 the list of hard-coded chars with escape-glyph face.
11470
11471 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11474
11475 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11476
11477 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11478 running process.
11479
11480 2011-10-19 Glenn Morris <rgm@gnu.org>
11481
11482 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11483 Ignore ignored files. (Bug#9726)
11484
11485 2011-10-19 Chong Yidong <cyd@gnu.org>
11486
11487 Doc fix for minor modes, stating that an omitted argument enables
11488 the mode unconditionally when called from Lisp.
11489
11490 * abbrev.el (abbrev-mode):
11491 * allout.el (allout-mode):
11492 * autoinsert.el (auto-insert-mode):
11493 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11494 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11495 (global-auto-revert-mode):
11496 * battery.el (display-battery-mode):
11497 * composite.el (global-auto-composition-mode)
11498 (auto-composition-mode):
11499 * delsel.el (delete-selection-mode):
11500 * desktop.el (desktop-save-mode):
11501 * dired-x.el (dired-omit-mode):
11502 * dirtrack.el (dirtrack-mode):
11503 * doc-view.el (doc-view-minor-mode):
11504 * double.el (double-mode):
11505 * electric.el (electric-indent-mode, electric-pair-mode):
11506 * emacs-lock.el (emacs-lock-mode):
11507 * epa-hook.el (auto-encryption-mode):
11508 * follow.el (follow-mode):
11509 * font-core.el (font-lock-mode):
11510 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11511 * help.el (temp-buffer-resize-mode):
11512 * hilit-chg.el (highlight-changes-mode)
11513 (highlight-changes-visible-mode):
11514 * hi-lock.el (hi-lock-mode):
11515 * hl-line.el (hl-line-mode, global-hl-line-mode):
11516 * icomplete.el (icomplete-mode):
11517 * ido.el (ido-everywhere):
11518 * image-file.el (auto-image-file-mode):
11519 * image-mode.el (image-minor-mode):
11520 * iswitchb.el (iswitchb-mode):
11521 * jka-cmpr-hook.el (auto-compression-mode):
11522 * linum.el (linum-mode):
11523 * longlines.el (longlines-mode):
11524 * master.el (master-mode):
11525 * mb-depth.el (minibuffer-depth-indicate-mode):
11526 * menu-bar.el (menu-bar-mode):
11527 * minibuf-eldef.el (minibuffer-electric-default-mode):
11528 * mouse-sel.el (mouse-sel-mode):
11529 * msb.el (msb-mode):
11530 * mwheel.el (mouse-wheel-mode):
11531 * outline.el (outline-minor-mode):
11532 * paren.el (show-paren-mode):
11533 * recentf.el (recentf-mode):
11534 * reveal.el (reveal-mode, global-reveal-mode):
11535 * rfn-eshadow.el (file-name-shadow-mode):
11536 * ruler-mode.el (ruler-mode):
11537 * savehist.el (savehist-mode):
11538 * scroll-all.el (scroll-all-mode):
11539 * scroll-bar.el (scroll-bar-mode):
11540 * server.el (server-mode):
11541 * shell.el (shell-dirtrack-mode):
11542 * simple.el (auto-fill-mode, transient-mark-mode)
11543 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11544 (line-number-mode, column-number-mode, size-indication-mode)
11545 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11546 * strokes.el (strokes-mode):
11547 * time.el (display-time-mode):
11548 * t-mouse.el (gpm-mouse-mode):
11549 * tool-bar.el (tool-bar-mode):
11550 * tooltip.el (tooltip-mode):
11551 * type-break.el (type-break-mode-line-message-mode)
11552 (type-break-query-mode):
11553 * view.el (view-mode):
11554 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11555 (global-whitespace-mode, global-whitespace-newline-mode):
11556 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11557
11558 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11559 Fix autogenerated docstring.
11560
11561 2011-10-19 Juri Linkov <juri@jurta.org>
11562
11563 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11564 by checking environment variables "DESKTOP_SESSION" and
11565 "XDG_CURRENT_DESKTOP". (Bug#9779)
11566
11567 2011-10-19 Juri Linkov <juri@jurta.org>
11568
11569 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11570 (browse-url-chromium-program, browse-url-chromium-arguments):
11571 New defcustoms.
11572 (browse-url-default-browser): Check for `browse-url-chromium' and
11573 call `browse-url-chromium-program'.
11574 (browse-url-chromium): New command. (Bug#9779)
11575
11576 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
11577
11578 * facemenu.el (list-colors-duplicates): On Windows, detect more
11579 duplicates by assuming that only colors matching "^System" are
11580 special "system colors". (Bug#9722)
11581
11582 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11583
11584 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11585 to distinguish the author from the committer.
11586
11587 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
11588
11589 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11590
11591 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11592
11593 * international/mule.el (sgml-html-meta-auto-coding-function):
11594 Add support for detecting encoding in HTML5 specified only as
11595 <meta charset="UTF-8">. Implementation just makes http-equiv and
11596 content-type parts from HTML4 encoding string optional. (Bug#9716)
11597
11598 2011-10-18 Glenn Morris <rgm@gnu.org>
11599
11600 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11601
11602 2011-10-18 Chong Yidong <cyd@gnu.org>
11603
11604 * faces.el (cursor): Doc fix.
11605
11606 2011-10-17 Chong Yidong <cyd@gnu.org>
11607
11608 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11609
11610 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
11611
11612 * dirtrack.el (dirtrack): Support shell buffers with path
11613 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11614
11615 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11616
11617 * json.el: Bump version to 1.3 and note change in History.
11618 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11619
11620 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11621
11622 * comint.el (comint-insert-input, comint-send-input)
11623 (comint-get-old-input-default, comint-backward-matching-input)
11624 (comint-next-prompt): Use nil instead of `input' for field property of
11625 past user input (bug#114).
11626
11627 * minibuffer.el (completion--replace): Inherit surrounding properties
11628 (bug#114).
11629 (minibuffer-complete-and-exit): Use it.
11630
11631 * comint.el (comint--table-subvert): Quote the all-completions output
11632 (bug#9160).
11633
11634 2011-10-17 Martin Rudalics <rudalics@gmx.at>
11635
11636 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11637
11638 * menu-bar.el (menu-bar-file-menu): Add entry for making new
11639 window on right of selected. (Bug#9350) Reword other window
11640 entries and separate them from frame entries.
11641
11642 2011-10-15 Glenn Morris <rgm@gnu.org>
11643
11644 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11645 Doc fixes.
11646
11647 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
11648
11649 * net/network-stream.el (network-stream-open-starttls):
11650 Improve detection of failure due to lack of TLS support.
11651
11652 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11653 putting the input text in front and in bold.
11654
11655 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11658
11659 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11660 empty buffer.
11661
11662 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11663 unread-command-events rather than pushing yet-another event.
11664
11665 2011-10-14 Eli Zaretskii <eliz@gnu.org>
11666
11667 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11668 the explanation of the possible choices. Make the options passed
11669 to completing-read shorter.
11670
11671 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11672
11673 * textmodes/flyspell.el (flyspell-large-region): Make sure
11674 extended character mode is used if defined (Bug#1339).
11675
11676 2011-10-13 Eli Zaretskii <eliz@gnu.org>
11677
11678 * simple.el (what-cursor-position): Fix the display of the
11679 character info for LRE, LRO, RLE, and RLO characters by appending
11680 an invisible PDF.
11681
11682 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11685 even in case of error; add debug spec; simplify data flow.
11686 (with-timeout-handler): Remove.
11687
11688 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
11689
11690 Fix Bug#6019, Bug#9315.
11691
11692 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11693 complete `buffer-file-name', the local file name part could look
11694 remotely (for example on VMS).
11695
11696 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11697 `tramp-run-real-handler'.
11698 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11699 already quoted by '"'.
11700
11701 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11702 Let `file-name-handler-alist' be nil, the local file name part
11703 could look remotely (for example on VMS).
11704
11705 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11708 from here...
11709 (flyspell-post-command-hook): ...to here.
11710
11711 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11714 if not needed.
11715 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11716 using completion. Protect against "slow" callers.
11717 Remove the "message hack".
11718
11719 2011-10-11 Juri Linkov <juri@jurta.org>
11720
11721 * isearch.el (isearch-lazy-highlight-word): New variable.
11722 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11723 Use it. (Bug#9727)
11724
11725 2011-10-11 Glenn Morris <rgm@gnu.org>
11726
11727 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11728 like f90-previous-statement does.
11729
11730 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11731
11732 * eshell/eshell.el (eshell-command): History should be saved
11733 only in interactive use, to avoid error.
11734
11735 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * minibuffer.el (completion-file-name-table): Fix last change,
11738 i.e. ignore normal errors but not the other ones.
11739
11740 2011-10-10 Martin Rudalics <rudalics@gmx.at>
11741
11742 * window.el (special-display-buffer-names)
11743 (special-display-regexps): Remove some remnants of earlier
11744 changes from doc-strings.
11745 (quit-windows-on): New function.
11746
11747 * vc/vc.el (vc-revert, vc-rollback):
11748 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11749 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
11750 (Bug#6183) (Bug#7074) (Bug#7447)
11751
11752 2011-10-09 Martin Rudalics <rudalics@gmx.at>
11753
11754 * window.el (frame-auto-hide-function): Add version tag.
11755 (Bug#9699)
11756
11757 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
11758
11759 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11760 condition.
11761
11762 2011-10-09 Leo Liu <sdl.web@gmail.com>
11763
11764 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11765 (Bug#9701)
11766
11767 2011-10-08 Glenn Morris <rgm@gnu.org>
11768
11769 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11770 before the first code statement zero indent. (Bug#9690)
11771
11772 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
11773
11774 * simple.el (count-words-region): Always count in the region.
11775 Report the number of lines and characters too.
11776 (count-words): New command, which counts in the buffer if the
11777 region is inactive, as count-words-region used to.
11778 (count-words--message): New function. Handle plurals.
11779 (count-lines-region): Make it an alias for count-words-region.
11780
11781 * bindings.el (esc-map): Replace count-lines-region with
11782 count-words-region.
11783
11784 2011-10-08 Martin Rudalics <rudalics@gmx.at>
11785
11786 * window.el (window--delete): Delete dedicated frame
11787 unconditionally when argument KILL is non-nil. (Bug#9699)
11788 (switch-to-buffer): Fix doc-string typo.
11789
11790 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11791
11792 * eshell/eshell.el (eshell-command): Avoid using hooks.
11793
11794 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
11795
11796 * bindings.el ([M-left],[M-right]): Bind to left-word and
11797 right-word respectively.
11798
11799 2011-10-07 Glenn Morris <rgm@gnu.org>
11800
11801 * cus-start.el (debug-on-quit): Fix custom type.
11802
11803 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11804
11805 * subr.el (define-key-after): Clarify that the function is not
11806 useful for non-menu keymaps.
11807
11808 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11809
11810 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11811
11812 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11813 in current minibuffer (Fix bug with recursive minibuffers).
11814
11815 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
11816
11817 * progmodes/gdb-mi.el (gdb): Doc fix.
11818
11819 2011-10-05 Martin Rudalics <rudalics@gmx.at>
11820
11821 * window.el (frame-auto-hide-function): New option replacing
11822 frame-auto-delete. Suggested by Stefan Monnier.
11823 (window--delete): Call frame-auto-hide-function instead of
11824 investigating frame-auto-delete.
11825 (window-point-1, set-window-point-1): New functions.
11826 (window-in-direction, record-window-buffer, window-state-get-1)
11827 (display-buffer-record-window): Use window-point-1 instead of
11828 window-point.
11829 (set-window-buffer-start-and-point): Use set-window-point-1.
11830
11831 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11834
11835 2011-10-05 Glenn Morris <rgm@gnu.org>
11836
11837 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11838 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11839
11840 2011-10-05 Leo Liu <sdl.web@gmail.com>
11841
11842 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11843 works with buffer object.
11844
11845 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 * mpc.el (mpc-tool-bar-map): Add labels.
11848
11849 2011-10-04 Glenn Morris <rgm@gnu.org>
11850
11851 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11852
11853 2011-10-04 Martin Rudalics <rudalics@gmx.at>
11854
11855 * window.el (window--delete): New function.
11856 (frame-auto-delete): Resuscitate option.
11857 (bury-buffer, replace-buffer-in-windows)
11858 (quit-window): Rewrite using window--delete.
11859 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11860 Pass display-buffer-mark-dedicated to window--display-buffer-2
11861 (Bug#9639).
11862
11863 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11866 returns a list (bug#9554). Add remote file name completion.
11867 * comint.el (comint--table-subvert): Curry and get quote&unquote
11868 functions as arguments.
11869 (comint--complete-file-name-data): Adjust call accordingly.
11870 * pcomplete.el (pcomplete--table-subvert): Remove.
11871 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11872
11873 * minibuffer.el (completion-table-case-fold): Use currying.
11874 (completion--styles-type, completion--cycling-threshold-type):
11875 New constants.
11876 (completion-styles, completion-category-overrides)
11877 (completion-cycle-threshold): Use them.
11878 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11879 completion-table-case-fold.
11880
11881 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
11882
11883 * minibuffer.el (completion-category-overrides): Fix type of styles
11884 and add more user friendly tags (bug#9660).
11885
11886 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11889 (mule-input-method-string): New widget.
11890 (default-input-method, language-info-custom-alist): Use it.
11891
11892 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11893
11894 * pcomplete.el: Require comint.
11895 (pcomplete--common-suffix): Remove.
11896 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11897 (pcomplete--table-subvert): Sync with comint--table-subvert.
11898 (pcomplete--entries): Use comint-completion-file-name-table.
11899 * comint.el (comint-unquote-filename): Simplify.
11900 (comint-completion-file-name-table): New function (bug#9616).
11901 (comint--complete-file-name-data): Use it.
11902
11903 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11904 (pcmpl-gnu-tar-buffer): Remove.
11905 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11906 around. Make sure pcomplete-suffix-list is only changed temporarily.
11907 Don't look inside the tar's file if it's too large.
11908
11909 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
11910
11911 * cus-edit.el (custom-mode-map):
11912 * epa.el (epa-key-list-mode-map):
11913 * man.el (Man-mode-map):
11914 * startup.el (splash-screen-keymap):
11915 * simple.el (special-mode-map): Use scroll-up-command and
11916 scroll-down-command.
11917
11918 * progmodes/idlw-help.el (idlwave-help-mode-map):
11919 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11920 * net/newst-plainview.el (newsticker-mode-map):
11921 * emulation/ws-mode.el (wordstar-mode-map):
11922 * emulation/vi.el (vi-com-map):
11923 * calc/calc-graph.el (calc-graph-show-dumb):
11924 * term/sun.el (terminal-init-sun):
11925 * term/ns-win.el (global-map):
11926 * progmodes/grep.el (grep-mode-map):
11927 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11928 * mail/rmail.el (rmail-mode-map):
11929 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11930
11931 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11932 custom-safe-themes as special.
11933
11934 2011-10-01 Julien Danjou <julien@danjou.info>
11935
11936 * notifications.el (notifications-notify): Fix docstring.
11937
11938 2011-10-01 Per Starbäck <per@starback.se>
11939
11940 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11941
11942 2011-09-30 Martin Rudalics <rudalics@gmx.at>
11943
11944 * startup.el (command-line-1): Fix last fix by inserting
11945 initial-scratch-message into *scratch* before displaying it.
11946 (Bug#9605) and (Bug#9636)
11947
11948 2011-09-29 Eli Zaretskii <eliz@gnu.org>
11949
11950 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11951 window is hscrolled, move by logical lines. (Bug#9607)
11952 (line-move-visual): Update the doc string to the above effect.
11953
11954 2011-09-29 Martin Rudalics <rudalics@gmx.at>
11955
11956 * window.el (display-buffer-record-window): When WINDOW is the
11957 selected window use `point' instead of `window-point'. (Bug#9626)
11958
11959 * startup.el (command-line-1): Use insert-before-markers when
11960 inserting initial-scratch-message. (Bug#9605)
11961
11962 * help.el (help-window): Remove variable.
11963
11964 2011-09-29 Glenn Morris <rgm@gnu.org>
11965
11966 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11967
11968 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
11969
11970 * descr-text.el (describe-char-categories): Accept category
11971 descriptions more than one line long.
11972
11973 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * simple.el (delete-trailing-whitespace): Fix last change.
11976
11977 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11978 Don't confuse "y => 3" as the beginning of a `y' operation.
11979
11980 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11981 object has more than 4 slots (bug#9613).
11982
11983 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
11984
11985 * subr.el (with-output-to-temp-buffer):
11986 * net/quickurl.el (quickurl, quickurl-browse-url):
11987 Fix typos in docstrings.
11988
11989 2011-09-27 Eli Zaretskii <eliz@gnu.org>
11990
11991 * minibuffer.el (completion-styles)
11992 (completion-category-overrides): Cross reference each other in doc
11993 strings.
11994
11995 2011-09-27 Glenn Morris <rgm@gnu.org>
11996
11997 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11998 to split-string. (Bug#9606)
11999
12000 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12001
12002 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12003 (bug#9615).
12004
12005 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12006
12007 * emacs-lisp/package.el (list-packages): Fix echo area message.
12008
12009 2011-09-27 Leo Liu <sdl.web@gmail.com>
12010
12011 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12012
12013 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12014
12015 * net/dbus.el (dbus-unregister-object): Don't release services for
12016 registered signals. (Bug#9581)
12017
12018 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12019
12020 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12021 function that picks between cfengine 2 and 3 support
12022 automatically. Update docs accordingly.
12023
12024 2011-09-22 Kenichi Handa <handa@m17n.org>
12025
12026 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12027 ZERO.
12028 (indian-itrans-v5-table-for-tamil): New variable.
12029 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12030
12031 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12032
12033 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12034 that's true if the current command involved collapsing of text.
12035 It's reset to false at the beginning of the next command.
12036 (allout-post-command-business): Move the cursor to the beginning
12037 of entry if the cursor is hidden and collapsing activity just
12038 happened.
12039
12040 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12041
12042 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12043 tracking (Bug#9541).
12044
12045 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12046
12047 * net/newst-reader.el (newsticker-html-renderer)
12048 (newsticker-show-news): Automatically load html rendering package
12049 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12050 because w3m-fill-column is let-bound" and the error "Symbol's value
12051 as variable is void: w3m-fill-column".
12052
12053 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12054
12055 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12056 Release services only if they are defined. (Bug#9581)
12057
12058 2011-09-23 Richard Stallman <rms@gnu.org>
12059
12060 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12061 distinguish start of paragraph from start of its text.
12062
12063 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12064
12065 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12066 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12067 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12068
12069 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12070
12071 * international/mule-diag.el (mule-diag): Insert a newline after
12072 each fontset description.
12073
12074 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12075
12076 * simple.el (delete-trailing-whitespace):
12077 Document last change; simplify.
12078
12079 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12080
12081 * simple.el (delete-trailing-whitespace): Also delete
12082 extra newlines at the end of the buffer.
12083
12084 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12085 (picture-newline): Use forward-line so as to ignore fields.
12086
12087 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * subr.el (with-wrapper-hook): Fix edebug spec.
12090
12091 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12092
12093 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12094 (bug#4538).
12095
12096 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12097
12098 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12099 Fix nasty bug using wrong cached values.
12100
12101 2011-09-23 Alan Mackenzie <acm@muc.de>
12102
12103 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12104
12105 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12106
12107 * window.el (pop-to-buffer): Ensure right window is selected if we
12108 chose another frame.
12109
12110 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12111
12112 * simple.el (what-cursor-position): Use get-char-property-change
12113 and next-single-char-property-change, to be able to show display
12114 properties that come from overlays as well as text properties.
12115
12116 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12117
12118 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12119
12120 * cmuscheme.el (run-scheme, switch-to-scheme):
12121 * cus-edit.el (customize-group, custom-buffer-create)
12122 (customize-browse):
12123 * info.el (info):
12124 * shell.el (shell):
12125 * mail/sendmail.el (mail):
12126 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12127
12128 2011-09-22 Richard Stallman <rms@gnu.org>
12129
12130 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12131 move back only to line beg, don't move back over blank lines.
12132
12133 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12134
12135 * files.el (copy-directory): Set directory attributes only in case
12136 they could be retrieved from the source directory. (Bug#9565)
12137
12138 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12139
12140 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12141 (hs-find-block-beginning, hs-hide-level-recursive):
12142 Ignore strings as well as comments. (Bug#9502)
12143
12144 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12145
12146 * progmodes/sql.el (sql-comint-postgres):
12147 Convert port number to a string. (Bug#9566)
12148
12149 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12150
12151 * window.el (quit-window): Undedicate window when switching to
12152 previous buffer. Reported by Thierry Volpiatto
12153 <thierry.volpiatto@gmail.com>.
12154 (special-display-popup-frame): When popping up a new frame reset
12155 its previous buffers to nil. Simplify code.
12156
12157 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12158
12159 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12160 and process filter, as done also in `shell-command'.
12161
12162 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12163
12164 * window.el (set-window-buffer-start-and-point):
12165 Call set-window-start with NOFORCE argument t.
12166 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12167 (quit-window): Reword doc-string. Handle new format of
12168 quit-restore parameter. Don't delete window if it has a
12169 previous buffer we can show instead of the present one.
12170 (display-buffer-record-window): Rewrite using a new format for
12171 the quit-restore window parameter
12172 (special-display-popup-frame, display-buffer-same-window)
12173 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12174 (display-buffer-pop-up-window, display-buffer-use-some-window):
12175 Adapt symbol passed to display-buffer-record-window.
12176 * help.el (help-window-setup): Handle new format of quit-restore
12177 parameter.
12178
12179 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * faces.el (face-list): Fix docstring (bug#9564).
12182
12183 * window.el (display-buffer--action-function-custom-type):
12184 Don't include internal functions in the Custom interface.
12185
12186 2011-09-20 Juri Linkov <juri@jurta.org>
12187
12188 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12189 (Info-forward-node, Info-backward-node, Info-next-preorder)
12190 (Info-last-preorder): Use it. (Bug#9528)
12191
12192 2011-09-20 Juri Linkov <juri@jurta.org>
12193
12194 * info.el (Info-last-preorder): Visit last menu item only when
12195 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12196
12197 2011-09-20 Julien Danjou <julien@danjou.info>
12198
12199 * password-cache.el (password-cache-remove): Remove entries even if the
12200 value is nil, so that password with a nil value (negative caching) is
12201 possible to invalidate.
12202
12203 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12204
12205 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12206 all whitespace around breakpoint. (Bug#9553)
12207 (f90-find-breakpoint): Only break at whitespace inside a comment.
12208
12209 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * minibuffer.el (completion-file-name-table): Keep track of errors.
12212 (completion-table-with-predicate): Handle the case where pred1 is nil.
12213 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12214
12215 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12218 (debugger-return-value): Signal an error if the debugging context does
12219 not await any return value.
12220
12221 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12222 * image-mode.el (image-toggle-display-text)
12223 (image-toggle-display-image): Stay away from evil `intangible'.
12224
12225 2011-09-19 Leo Liu <sdl.web@gmail.com>
12226
12227 * replace.el (occur-revert-arguments): Make it permanent-local.
12228 (occur-mode): Don't call font-lock-defontify.
12229
12230 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12231
12232 * net/ldap.el (ldap-search-internal): Don't push empty search
12233 result (Bug#9508).
12234
12235 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12238
12239 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12240
12241 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12242 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12243
12244 2011-09-18 Juri Linkov <juri@jurta.org>
12245
12246 * buff-menu.el (Buffer-menu-mode-map):
12247 * dired.el (dired-mode-map):
12248 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12249 (lisp-interaction-mode-map):
12250 * emacs-lisp/package.el (package-menu-mode-map):
12251 * epa.el (epa-key-list-mode-map):
12252 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12253 (menu-bar-options-menu):
12254 * outline.el (outline-mode-menu-bar-map):
12255 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12256 * vc/vc-dir.el (vc-dir-menu-map):
12257 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12258 Capitalize non-function content words in menu item strings.
12259
12260 * dired.el (dired-mode-map): Add menu item for
12261 `image-dired-dired-toggle-marked-thumbs'.
12262
12263 2011-09-18 Juri Linkov <juri@jurta.org>
12264
12265 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12266 to `isearch-case-fold-search' and restore its original value
12267 after the `isearch-mode' call.
12268
12269 2011-09-18 Juri Linkov <juri@jurta.org>
12270
12271 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12272 because `zgrep' returns 1 for successful matches (bug#9226).
12273
12274 2011-09-18 Juri Linkov <juri@jurta.org>
12275
12276 * info.el (Info-extract-menu-node-name): Check the second match
12277 for empty string (second test-case of bug#9528).
12278 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12279 intermediate nodes to the history (first test-case of bug#9528).
12280
12281 2011-09-18 Juri Linkov <juri@jurta.org>
12282
12283 * info.el (Info-mode-syntax-table): New variable.
12284 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12285
12286 2011-09-18 Juri Linkov <juri@jurta.org>
12287
12288 * info.el (Info-file-supports-index-cookies):
12289 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12290 outputs one more line for long file names (bug#4142).
12291
12292 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12293
12294 * newcomment.el (comment-normalize-vars): If prompting for
12295 comment-start, set comment-start-skip too (Bug#8424).
12296
12297 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12298
12299 * icomplete.el: Fix previous fix of Bug#5849.
12300 (icomplete-mode): Don't set completion-show-inline-help.
12301 (icomplete-minibuffer-setup): Set completion-show-inline-help
12302 locally during icompletion.
12303
12304 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12305
12306 * woman.el (woman2-process-escapes): Don't delete unrecognized
12307 escapes (Bug#7843).
12308
12309 * files.el (inhibit-first-line-modes-regexps): Add image files.
12310 (hack-local-variables-prop-line): Return nil for malformed
12311 prop-lines (Bug#9044).
12312
12313 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12314
12315 * net/tramp.el (top): Don't require 'shell.
12316 (tramp-methods): Fix docstring.
12317 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12318 Return complete remote file name. Handle "smb" case.
12319 Use `tramp-tmpdir', if defined for the respective method.
12320 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12321
12322 * net/tramp-compat.el (top): Require 'shell.
12323
12324 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12325 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12326 `tramp-current-host'.
12327 (tramp-get-remote-tmpdir): Remove.
12328
12329 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12330 `tramp-tmpdir' entries.
12331 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12332 (tramp-smb-handle-file-attributes): Ignore errors.
12333 (tramp-smb-wait-for-output): Check also for process end.
12334
12335 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12336
12337 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12338 when sending QUIT (bug#9312).
12339
12340 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12341
12342 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12343 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12344 occur-mode-display-occurrence.
12345 (occur-edit-mode): Add usage message.
12346 (occur-cease-edit): New command.
12347 (occur-after-change-function): Use text properties to find the
12348 position of the prefix text.
12349 (occur-engine): Set stickiness of prefix text properties.
12350
12351 2011-09-17 Glenn Morris <rgm@gnu.org>
12352
12353 * progmodes/etags.el (complete-tag):
12354 Fix call to completion-in-region. (Bug#9526)
12355
12356 2011-09-17 Juri Linkov <juri@jurta.org>
12357
12358 * textmodes/ispell.el (ispell-word): Add to the error message
12359 the word, ispell program name and current dictionary (bug#9121).
12360 (ispell-tex-arg-end): Capitalize "error" in the error message.
12361
12362 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12363
12364 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12365 check. (Bug#4251)
12366
12367 2011-09-17 Juri Linkov <juri@jurta.org>
12368
12369 * window.el (window-safe-min-height, window-safe-min-width):
12370 Fix typos (followup to bug#9522).
12371
12372 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12373
12374 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12375
12376 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12377
12378 * simple.el (line-move): If goal-column is set, move by logical
12379 lines, not by display lines. (Bug#971)
12380 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12381 to reflect the above change.
12382
12383 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * image.el (imagemagick-register-types): Use regexp-opt.
12386
12387 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12388
12389 * window.el (display-buffer-base-action): Rename from
12390 display-buffer-default-action. Make default value empty.
12391 (display-buffer-overriding-action): Convert to defvar.
12392 (display-buffer-fallback-action): New var.
12393
12394 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12395
12396 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12397 declaration.
12398 (package--add-to-archive-contents): If there is a duplicate entry
12399 with an older version, remove it.
12400 (package-menu-mark-delete, package-menu-mark-install)
12401 (package-menu-mark-unmark): Make unused args optional.
12402 (package-menu-mark-obsolete-for-deletion):
12403 Use package-menu-get-status instead of a regexp search.
12404 (package-menu-get-status): Use tabulated-list-entry.
12405 (package-menu-mark-upgrades): New command.
12406 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12407 (package-menu-execute): Do installation before deletion.
12408 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12409 instead of checking major-mode.
12410 (package-menu--find-upgrades): New function.
12411
12412 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12413
12414 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12415 passwords in the log buffer.
12416 (smtpmail-process-filter): Update the process marker so that the
12417 "broken by peer" status message is inserted in the right place.
12418
12419 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12420
12421 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12422 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12423 bibtex-completion-at-point-function.
12424 (bibtex-completion-at-point-function): Use them.
12425
12426 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12427
12428 * mpc.el (mpc-constraints-tag-lookup): New function.
12429 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12430 also to browser "album|playlist".
12431
12432 2011-09-14 Juri Linkov <juri@jurta.org>
12433
12434 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12435 (isearch-edit-string): Use length of `isearch-string' when
12436 `isearch-fail-pos' returns nil.
12437 (isearch-message): Remove duplicate code and call
12438 `isearch-fail-pos' with arg `t'.
12439
12440 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12441
12442 * replace.el (occur-mode-goto-occurrence): Don't force using other
12443 window (Bug#9499).
12444
12445 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12446
12447 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12448
12449 * window.el (display-buffer-window): Remove.
12450 (display-buffer-record-window): Use help-setup window parameter
12451 instead of variable display-buffer-window.
12452 (display-buffer-function, special-display-buffer-names)
12453 (special-display-function): Mention help-setup parameter instead
12454 of display-buffer-window in doc-string.
12455 * help.el (help-window-setup): New argument help-window.
12456 Use help-window-setup parameter instead of display-buffer-window.
12457 Reword some messages.
12458 (with-help-window): Pass window used for displaying the buffer
12459 to help-window-setup. Don't set display-buffer-window.
12460
12461 2011-09-13 Glenn Morris <rgm@gnu.org>
12462
12463 * emacs-lisp/debug.el (debugger-make-xrefs):
12464 Preserve point. (Bug#9462)
12465
12466 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12467
12468 * window.el (window-deletable-p): Use next-frame.
12469
12470 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12471
12472 * window.el (window-auto-delete): Remove.
12473 (window-deletable-p): Remove argument FORCE. Don't deal with
12474 dedication and previous buffers.
12475 (switch-to-prev-buffer): Don't delete window.
12476 (delete-windows-on): Delete a window's frame if and only if the
12477 window is dedicated.
12478 (replace-buffer-in-windows): Delete buffer's window or frame if
12479 and only if window is dedicated.
12480 (quit-window): Handle quit-restore as before last change.
12481 (bury-buffer): Delete window only if window-deletable-p returns t.
12482
12483 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12484
12485 * window.el (window-deletable-p): Never delete the last frame on a
12486 given terminal.
12487
12488 2011-09-13 Glenn Morris <rgm@gnu.org>
12489
12490 * help.el (describe-key-briefly): Copy previous standard-output change.
12491
12492 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12493
12494 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12495
12496 2011-09-13 Glenn Morris <rgm@gnu.org>
12497
12498 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12499 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12500
12501 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12502
12503 * dired-aux.el (dired-mark-read-string): Don't return default
12504 value on empty input (Bug#9361).
12505 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12506 Omit initial minibuffer contents.
12507 (dired-do-chmod): Signal an error on empty input.
12508 (dired-mark-read-string): Don't return default on empty input.
12509
12510 * files.el (file-modes-symbolic-to-number): Doc fix.
12511
12512 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12513
12514 * international/mule-cmds.el (ucs-completions): Remove.
12515 (read-char-by-name): Use complete-with-action instead; add metadata.
12516
12517 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12518
12519 * window.el (display-buffer--action-function-custom-type)
12520 (display-buffer--action-custom-type): New vars.
12521 (display-buffer-alist, display-buffer-default-action)
12522 (display-buffer-overriding-action): Add defcustom types.
12523
12524 * frame.el (delete-other-frames): Doc fix (Bug#276).
12525
12526 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12527
12528 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12529
12530 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12531
12532 Change modes that used same-window-* vars to use switch-to-buffer.
12533
12534 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12535 Use switch-to-buffer.
12536
12537 * cus-edit.el (customize-group, custom-buffer-create)
12538 (customize-browse, custom-buffer-create-other-window):
12539 Use switch-to-buffer or switch-to-buffer-other-window.
12540
12541 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12542 (Info-prev, Info-up, Info-speedbar-goto-node)
12543 (info-display-manual): Use switch-to-buffer.
12544 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12545
12546 * mail/sendmail.el (mail): Use switch-to-buffer.
12547 (mail-recover): Use switch-to-buffer-other-window.
12548
12549 * cmuscheme.el (run-scheme, switch-to-scheme):
12550 * ielm.el (ielm):
12551 * shell.el (shell):
12552 * net/rlogin.el (rlogin):
12553 * net/telnet.el (telnet, rsh):
12554 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12555
12556 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12557
12558 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12559
12560 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12561
12562 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12563 so don't mention it (bug#9301).
12564 (dired-sort-toggle-or-edit): Clarify string further.
12565
12566 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12567 match `x', `w32' and `ns', like the manual says (bug#9029).
12568
12569 * subr.el (eval-after-load): Doc string clarification (bug#9125).
12570 (process-kill-buffer-query-function): Mention the buffer name in
12571 the query.
12572
12573 * image-mode.el (image-next-line): The line parameter is mandatory
12574 (bug#9258).
12575
12576 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12577 which can be useful (bug#9301).
12578
12579 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12580
12581 * subr.el (match-string): Mention that the current buffer should
12582 be the same as the search was done in (bug#9282).
12583
12584 * facemenu.el: Disable the remove-* commands if the mark isn't
12585 active (bug#9162).
12586
12587 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12588
12589 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12590 of display-buffer.
12591 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12592
12593 * replace.el (occur-mode-goto-occurrence)
12594 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12595 and display-buffer.
12596
12597 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12598 display-buffer.
12599
12600 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12601 special-display and same-window variables.
12602 (mail-other-window): Use switch-to-buffer-other-window.
12603 (mail-other-frame): USe switch-to-buffer-other-frame.
12604
12605 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12606 Use display-buffer-other-frame.
12607 (gdb-display-gdb-buffer): Use pop-to-buffer.
12608
12609 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12610
12611 * progmodes/python.el: Don't set same-window-buffer-names.
12612
12613 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12614
12615 * window.el (display-buffer-alist): Add *Python*.
12616
12617 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12618
12619 * window.el (display-buffer-alist): Add entry for buffers
12620 previously handled same-window-*.
12621 (display-buffer-alist, display-buffer-default-action)
12622 (display-buffer-overriding-action): Mark as risky.
12623 (display-buffer-alist): Document action function changes.
12624 (display-buffer--same-window-action)
12625 (display-buffer--other-frame-action): New variables.
12626 (switch-to-buffer, display-buffer-other-frame): Use them.
12627 (display-buffer): Rename reuse-frame entry to reusable-frames.
12628 (display-buffer-reuse-selected-window): Function deleted.
12629 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12630 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12631 (display-buffer-special): New function.
12632 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12633 display-buffer-reuse-or-pop-window. Split off special-display
12634 part into display-buffer-special.
12635 (display-buffer-use-some-window): Don't perform any special
12636 pop-up-frames handling.
12637 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12638 (display-buffer--maybe-same-window): Rename from
12639 display-buffer-maybe-same-window.
12640
12641 * info.el: Don't set same-window-regexps.
12642 (info-setup): New function.
12643 (info-other-window, info): Call it.
12644
12645 * cus-edit.el: Don't set same-window-regexps.
12646 (customize-group): New argument.
12647 (customize-group-other-window): Use it.
12648 (customize-face, customize-face-other-window): Likewise.
12649 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12650
12651 * net/rlogin.el:
12652 * net/telnet.el:
12653 * progmodes/gud.el: Don't set same-window-regexps.
12654
12655 * cmuscheme.el:
12656 * ielm.el:
12657 * shell.el:
12658 * mail/sendmail.el:
12659 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12660
12661 2011-09-10 Juri Linkov <juri@jurta.org>
12662
12663 * isearch.el (isearch-edit-string): Remove obsolete mention of
12664 `C-w' (`isearch-yank-word-or-char') from docstring.
12665 (isearch-query-replace): Fix typo in docstring (bug#9466).
12666
12667 2011-09-10 Juri Linkov <juri@jurta.org>
12668
12669 * paren.el (show-paren-function): Don't show escaped parens.
12670 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12671
12672 2011-09-10 Eli Zaretskii <eliz@gnu.org>
12673
12674 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12675 (mm-default-file-encoding): Remove autoload forms, they are
12676 replaced with autoload cookies in mml.el and mm-encode.el.
12677 (mail-add-attachment): New command.
12678 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12679 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12680 the doc string.
12681 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12682
12683 2011-09-10 Reuben Thomas <rrt@sc3d.org>
12684
12685 * simple.el (count-words-region): Use buffer if there's no region
12686 (bug#9429).
12687
12688 2011-09-09 Juri Linkov <juri@jurta.org>
12689
12690 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12691 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12692 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12693
12694 2011-09-09 Alan Mackenzie <acm@muc.de>
12695
12696 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12697 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12698
12699 2011-09-09 Eli Zaretskii <eliz@gnu.org>
12700
12701 Fix for Savannah bug#9392.
12702 * simple.el (mail-encode-mml): New defvar.
12703
12704 * mail/rmail.el (mail-encode-mml): Add a defvar.
12705 (rmail-enable-mime-composing): Default to t.
12706 (rmail-forward): Use MIME method of forwarding only if both
12707 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12708 Set mail-encode-mml non-nil if the MIME method was used.
12709
12710 * mail/sendmail.el (mml-to-mime): Add autoload form.
12711 (mail-encode-mml): Add a defvar.
12712 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12713 to nil.
12714 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12715 message through mml-to-mime, and reset mail-encode-mml to nil.
12716
12717 2011-09-09 Glenn Morris <rgm@gnu.org>
12718
12719 * woman.el (woman-if-body): When processing an .el block,
12720 do not delete the next .el block as well. (Bug#9447)
12721 (woman-special-characters): Add oq, cq, and hy characters.
12722
12723 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12724
12725 * window.el (window-deletable-p): Make sure window is live before
12726 invoking window-prev-buffers.
12727
12728 2011-09-08 Leo Liu <sdl.web@gmail.com>
12729
12730 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12731
12732 2011-09-08 Juri Linkov <juri@jurta.org>
12733
12734 * progmodes/compile.el (compilation-environment): Make it
12735 a defcustom (bug#8340).
12736
12737 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12738
12739 * window.el (frame-auto-delete): Rename to window-auto-delete.
12740 Make it control auto-deletion of windows and/or frames.
12741 (window-deletable-p): New argument FORCE. Rewrite conditions
12742 for deleting window/frame. (Bug#9419)
12743 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12744 Rewrite handling of case when window/frame can be deleted.
12745 (delete-windows-on): Call window-deletable-p with new FORCE
12746 argument t. (Bug#9456)
12747
12748 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
12749
12750 * help-mode.el (help-mode): Restore autoload.
12751
12752 2011-09-07 Juri Linkov <juri@jurta.org>
12753
12754 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12755 `compilation-environment'. Set buffer-local
12756 `compilation-environment' to `thisenv' later after (funcall mode).
12757 (Bug#8340)
12758
12759 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12760 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12761 instead of replacing its value. (Bug#8340)
12762
12763 2011-09-07 Juri Linkov <juri@jurta.org>
12764
12765 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12766 based on text properties put by `grep-filter' instead of matching
12767 escape sequences.
12768 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12769 to the value of `grep-error-screen-columns' (bug#9438).
12770
12771 2011-09-07 Juri Linkov <juri@jurta.org>
12772
12773 * simple.el (next-error-highlight, next-error-highlight-no-select):
12774 Doc fix (bug#9432).
12775
12776 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12777
12778 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12779 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12780
12781 2011-09-07 Leo Liu <sdl.web@gmail.com>
12782
12783 * net/rcirc.el (rcirc-mode): Conditionally initialize
12784 rcirc-input-ring.
12785
12786 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * emacs-lisp/find-func.el (find-function-C-source): Only set
12789 find-function-C-source-directory after checking that we found a source
12790 file there (bug#9440).
12791
12792 2011-09-06 Alan Mackenzie <acm@muc.de>
12793
12794 * isearch.el (isearch-other-meta-char): Wherever a key list is
12795 unread, "unread" the prefix arg, too. This fixes bug #8901.
12796
12797 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12798
12799 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12800
12801 2011-09-05 Juri Linkov <juri@jurta.org>
12802
12803 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12804
12805 2011-09-05 Juri Linkov <juri@jurta.org>
12806
12807 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12808 keeping point where processing of grep matches begins, and
12809 continue to delete remaining escape sequences from the same point.
12810 (grep-filter): Make leading zero optional in "0?1;31m" because
12811 git-grep emits "\033[1;31m" escape sequences unlike expected
12812 "\033[01;31m" as GNU Grep does (bug#9408).
12813 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12814
12815 2011-09-05 Juri Linkov <juri@jurta.org>
12816
12817 * subr.el (y-or-n-p): Capitalize "yes".
12818
12819 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
12820
12821 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12822 `tramp-cache-unload-hook' where appropriate.
12823 (tramp-methods): Rename `tramp-remote-sh' to
12824 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12825 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12826
12827 * net/tramp-sh.el (top): Don't require 'shell.
12828 (tramp-methods): Add `tramp-remote-shell' and
12829 `tramp-remote-shell-args' entries.
12830 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12831 (tramp-sh-handle-shell-command): Remove.
12832 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12833 Use `tramp-remote-shell'.
12834
12835 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
12836
12837 * mail/sendmail.el (sendmail-query-once-function): Delete.
12838 (sendmail-query-once): Save directly to send-mail-function.
12839 Update message-send-mail-function too.
12840
12841 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12842
12843 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12844
12845 * progmodes/python.el (python-mode-map): Use correct function to
12846 start python interpreter from menu-bar (as reported by Geert
12847 Kloosterman).
12848 (inferior-python-mode-map): Fix typo.
12849 (python-shell-map): Remove.
12850
12851 2011-09-03 Deniz Dogan <deniz@dogan.se>
12852
12853 * net/rcirc.el (rcirc-print): Simplify code for
12854 rcirc-scroll-show-maximum-output. There is no need to walk
12855 through all windows to find the right one.
12856
12857 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12858
12859 * help.el (help-return-method): Doc fix.
12860
12861 2011-09-03 Martin Rudalics <rudalics@gmx.at>
12862
12863 * window.el (window-deletable-p): Don't return a non-nil value
12864 when there's a buffer that was shown in the window before.
12865 (Bug#9419)
12866 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12867 Set window's previous buffers to nil.
12868
12869 2011-09-03 Eli Zaretskii <eliz@gnu.org>
12870
12871 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12872 newline before and after the tag line, so it doesn't interfere
12873 with determining the paragraph direction of bidirectional text.
12874
12875 2011-09-03 Leo Liu <sdl.web@gmail.com>
12876
12877 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12878
12879 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12880
12881 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12882 (pop-to-buffer): Change interactive spec. Pass second argument
12883 directly to display-buffer.
12884 (display-buffer): Fix interactive spec. Use functionp to
12885 distinguish between a function and a list of functions.
12886
12887 * abbrev.el (edit-abbrevs):
12888 * arc-mode.el (archive-extract):
12889 * autoinsert.el (auto-insert):
12890 * bookmark.el (bookmark-bmenu-list):
12891 * files.el (find-file):
12892 * view.el (view-buffer):
12893 * progmodes/compile.el (compilation-goto-locus):
12894 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12895
12896 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12897
12898 * window.el (display-buffer-alist): Doc fix.
12899 (display-buffer): Add docstring. Don't treat
12900 display-buffer-default specially.
12901 (display-buffer-reuse-selected-window)
12902 (display-buffer-same-window, display-buffer-maybe-same-window)
12903 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12904 (display-buffer-pop-up-window)
12905 (display-buffer-reuse-or-pop-window)
12906 (display-buffer-use-some-window): New functions.
12907 (display-buffer-default-action): Use them.
12908 (display-buffer-default): Delete.
12909 (pop-to-buffer-1): Fix choice of actions.
12910
12911 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12912
12913 * minibuffer.el (completion--insert-strings): Don't get confused by
12914 completion entries that end with an LF char.
12915
12916 2011-09-01 Eli Zaretskii <eliz@gnu.org>
12917
12918 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12919
12920 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
12921
12922 * window.el (display-buffer): Restore interactive spec.
12923 (display-buffer-same-window, display-buffer-other-window):
12924 New functions.
12925 (pop-to-buffer-1): New function. Use the above.
12926 (pop-to-buffer, pop-to-buffer-same-window): Use it.
12927 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12928
12929 * view.el (view-buffer-other-window, view-buffer-other-frame):
12930 Just use pop-to-buffer.
12931
12932 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12933
12934 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12935
12936 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12937
12938 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12939
12940 2011-08-31 Richard Stallman <rms@gnu.org>
12941
12942 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12943 of the separation of rmail-view-buffer from rmail-buffer.
12944 If you say no to "replace original", the decrypt is in the
12945 view buffer. If you say yes, the decrypt goes into the
12946 rmail buffer also.
12947
12948 2011-08-31 Martin Rudalics <rudalics@gmx.at>
12949
12950 * window.el (display-buffer-window): Rewrite doc-string.
12951 (display-buffer-record-window): New function.
12952 (display-buffer-macro-specifiers)
12953 (display-buffer-even-window-sizes, display-buffer-set-height)
12954 (display-buffer-set-width, display-buffer-in-window)
12955 (display-buffer-reuse-window, display-buffer-split-specifiers)
12956 (display-buffer-side-specifiers, display-buffer-split-window-1)
12957 (display-buffer-split-window, display-buffer-split-atom-window)
12958 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12959 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12960 (display-buffer-other-window-means-other-frame)
12961 (display-buffer-normalize-special)
12962 (display-buffer-normalize-default)
12963 (display-buffer-normalize-argument)
12964 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12965 (display-buffer-normalize-specifiers, display-buffer-frame)
12966 (display-buffer-same-window, display-buffer-same-frame)
12967 (display-buffer-other-window)
12968 (display-buffer-same-frame-other-window)
12969 (display-buffer-other-frame, pop-to-buffer-same-window)
12970 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12971 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12972 (switch-to-buffer-same-frame)
12973 (switch-to-buffer-other-window-same-frame)
12974 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12975 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12976 (display-buffer-alist-set): Remove.
12977 (display-buffer-function, special-display-buffer-names)
12978 (special-display-regexps, special-display-function):
12979 In doc-string refer to display-buffer-window and quit-restore
12980 parameter.
12981 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12982 (special-display-frame-alist, special-display-popup-frame)
12983 (same-window-buffer-names, same-window-regexps, same-window-p)
12984 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12985 (split-window-preferred-function, split-height-threshold)
12986 (split-width-threshold, window-splittable-p)
12987 (split-window-sensibly, window--try-to-split-window)
12988 (window--frame-usable-p, even-window-heights)
12989 (window--even-window-heights, window--display-buffer-1)
12990 (window--display-buffer-2, display-buffer-other-frame):
12991 Restore old Emacs 23 code, order and doc-strings where applicable.
12992 (display-buffer-default, display-buffer-assq-regexp): New functions.
12993 (display-buffer-alist): Rewrite doc-string.
12994 (display-buffer-default-action)
12995 (display-buffer-overriding-action): New variables.
12996 (display-buffer, switch-to-buffer): Rewrite.
12997 (pop-to-buffer): Restore Emacs 23 behavior but use
12998 window-normalize-buffer-to-display.
12999 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13000 Restore Emacs 23 behavior but use
13001 window-normalize-buffer-to-switch-to.
13002 (pop-to-buffer-same-window): Rewrite.
13003 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13004 Rewrite using Emacs 23 options.
13005
13006 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13007
13008 * net/tramp.el (tramp-root-regexp): Remove.
13009 (tramp-completion-file-name-regexp-unified)
13010 (tramp-completion-file-name-regexp-separate)
13011 (tramp-completion-file-name-regexp-url): Don't use leading volume
13012 letter on w32 systems. (Bug#5303, Bug#9311)
13013 (tramp-drop-volume-letter): Simplify definition.
13014 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13015
13016 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13017
13018 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13019 (bug#9356).
13020
13021 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13022
13023 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13024
13025 2011-08-29 Juri Linkov <juri@jurta.org>
13026
13027 * isearch.el (isearch-done): Don't display message "Mark saved"
13028 when arg `edit' is non-nil to prevent its flicker in the echo area.
13029
13030 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13031
13032 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13033 obsolete packages for deletion.
13034
13035 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13036
13037 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13038 (help-mode): Derive help-mode from special-mode. Don't invoke
13039 view-mode from help-mode.
13040 (help-xref-override-view-map): Remove.
13041 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13042 view-mode is not used anymore.
13043
13044 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13045
13046 * server.el (server-port): Doc fix.
13047
13048 * cus-theme.el (custom-theme-choose-mode): Inherit from
13049 special-mode (Bug#9124).
13050 (custom-theme-choose-mode-map): Add special-mode to parent.
13051
13052 2011-08-28 Alan Mackenzie <acm@muc.de>
13053
13054 * progmodes/cc-fonts.el
13055 (c-make-font-lock-BO-decl-search-function): New function.
13056 (c-basic-matchers-after - "Fontify the clauses after various
13057 keywords"): Extract the three keyword lists for the 3 erroneous
13058 constructs from the list of four, and use the new function above
13059 in place of an old one.
13060
13061 2011-08-28 Deniz Dogan <deniz@dogan.se>
13062
13063 * net/rcirc.el (rcirc-insert-prev-input)
13064 (rcirc-insert-next-input): Remove unused argument.
13065
13066 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13067
13068 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13069
13070 2011-08-27 Alan Mackenzie <acm@muc.de>
13071
13072 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13073 handle function pointer parameters properly.
13074
13075 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13076
13077 * window.el (display-buffer-reuse-window): Fix case where
13078 selected window was reused with non-nil OTHER-WINDOW argument.
13079 (Bug#9381)
13080
13081 2011-08-27 Deniz Dogan <deniz@dogan.se>
13082
13083 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13084 oftc's NickServ messages.
13085
13086 2011-08-27 Glenn Morris <rgm@gnu.org>
13087
13088 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13089
13090 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13091
13092 * emacs-lisp/package.el (package-install): Call package-initialize
13093 if called interactively.
13094
13095 2011-08-26 Leo Liu <sdl.web@gmail.com>
13096
13097 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13098
13099 2011-08-25 Juri Linkov <juri@jurta.org>
13100
13101 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13102 `search-whitespace-regexp' (bug#9364).
13103
13104 2011-08-25 Juri Linkov <juri@jurta.org>
13105
13106 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13107 `regexp-search-ring' to their global values to protect from
13108 updating by `read-from-minibuffer' (bug#9185).
13109
13110 2011-08-25 Juri Linkov <juri@jurta.org>
13111
13112 * textmodes/ispell.el (ispell-command-loop): Add newline
13113 at the end of the "Use option `i'..." line.
13114
13115 2011-08-25 Juri Linkov <juri@jurta.org>
13116
13117 * battery.el (display-battery-mode): If `battery-status-function'
13118 or `battery-mode-line-format' is nil, display the message and set
13119 `display-battery-mode' to nil (bug#9363).
13120
13121 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13122
13123 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13124 bidi-string-mark-left-to-right; they are unnecessary now.
13125
13126 2011-08-25 Deniz Dogan <deniz@dogan.se>
13127
13128 * net/quickurl.el: Documentation typo fixes.
13129
13130 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13131
13132 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13133
13134 2011-08-25 Glenn Morris <rgm@gnu.org>
13135
13136 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13137
13138 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13139 (smtpmail-via-smtp): Handle nil response from smtp.
13140
13141 2011-08-24 Juri Linkov <juri@jurta.org>
13142
13143 * proced.el (proced-marked): Inherit from `error' instead of
13144 `font-lock-warning-face'.
13145
13146 * ibuffer.el (ibuffer-marked-face): Change default face from
13147 `font-lock-warning-face' to `warning'.
13148 (ibuffer-deletion-face): Change default face from
13149 `font-lock-type-face' to `error'.
13150
13151 * battery.el (battery-update): Use the face `error' instead of
13152 `font-lock-warning-face' (bug#6117).
13153
13154 2011-08-24 Juri Linkov <juri@jurta.org>
13155
13156 * faces.el (success): Change face color from "Green3" to
13157 "ForestGreen" on light background (bug#9353).
13158
13159 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13160
13161 * window.el (quit-window): Rename from quit-restore-window.
13162 Use same arglist as old quit-window.
13163 (frame-auto-delete): Doc fix.
13164
13165 * view.el (view-mode-exit): Use quit-window.
13166
13167 2011-08-24 Juri Linkov <juri@jurta.org>
13168
13169 * isearch.el (isearch-ring-adjust1): Start visiting previous
13170 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13171 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13172 for empty search string (when the last search string is reused
13173 automatically) to adjust the isearch ring to the last element and
13174 prepare the correct index for further M-p commands (bug#9185).
13175
13176 2011-08-24 Kenichi Handa <handa@m17n.org>
13177
13178 * international/ucs-normalize.el: If decomposition property of
13179 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13180 nil.
13181 (nfd, nfkd): Likewise.
13182
13183 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13184
13185 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13186 from process filters aren't reliably transmitted to the surrounding
13187 accept-process-output.
13188 (mpc-proc-check): New function.
13189 (mpc-proc-sync): Use it (bug#8293)
13190
13191 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13192
13193 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13194 Add compatibility functions (bug#9313).
13195
13196 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13197
13198 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13199
13200 * international/uni-bidi.el: Regenerate.
13201
13202 2011-08-23 Kenichi Handa <handa@m17n.org>
13203
13204 * international/charprop.el:
13205 * international/uni-bidi.el:
13206 * international/uni-category.el:
13207 * international/uni-combining.el:
13208 * international/uni-comment.el:
13209 * international/uni-decimal.el:
13210 * international/uni-decomposition.el:
13211 * international/uni-digit.el:
13212 * international/uni-lowercase.el:
13213 * international/uni-mirrored.el:
13214 * international/uni-name.el:
13215 * international/uni-numeric.el:
13216 * international/uni-old-name.el:
13217 * international/uni-titlecase.el:
13218 * international/uni-uppercase.el: Regenerate.
13219
13220 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13221
13222 * help.el (help-window-setup): Fix message displayed when other
13223 window is reused. (Bug#9341)
13224
13225 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13226
13227 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13228 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13229
13230 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13231 Mark obsolete.
13232 * shell.el (shell-parse-pcomplete-arguments): New function.
13233 (shell-completion-vars): Use it instead (bug#9160).
13234
13235 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13236
13237 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13238 strings and comments (bug#9333).
13239
13240 * emacs-lisp/debug.el (debug-arglist): New function.
13241 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13242 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13243
13244 2011-08-22 Juri Linkov <juri@jurta.org>
13245
13246 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13247 Revert regexp that highlights output switches to its old
13248 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13249
13250 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13251 to check for empty output (bug#9226).
13252
13253 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13254
13255 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13256 symbol-constituent as the default, as that stops font-lock from
13257 working properly (Bug#8843).
13258
13259 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13260
13261 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13262 `coding-system-for-*' around the process open call to avoid
13263 auth-source side effects.
13264 (smtpmail-try-auth-methods): Expand the secret password.
13265 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13266 probe hangs.
13267
13268 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13269
13270 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13271
13272 * emacs-lisp/find-func.el (find-function-noselect): New arg
13273 lisp-only.
13274
13275 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13276 signal an error for built-in functions (Bug#6664).
13277
13278 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13279
13280 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13281 (smtpmail-try-auth-methods): Use it.
13282
13283 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13284
13285 * font-lock.el (font-lock-fontify-region)
13286 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13287 (font-lock-default-unfontify-buffer)
13288 (font-lock-default-fontify-region)
13289 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13290
13291 * progmodes/compile.el (compilation-error-properties):
13292 Fix confusion between file struct and message struct (Bug#9319).
13293 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13294 `ant' regexp.
13295
13296 * net/browse-url.el (browse-url-firefox): Don't call
13297 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13298
13299 2011-08-20 Glenn Morris <rgm@gnu.org>
13300
13301 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13302
13303 * tutorial.el (tutorial--default-keys): Update some default bindings.
13304
13305 * files.el (hack-local-variables): Fully ignore case for "mode:".
13306
13307 2011-08-20 Alan Mackenzie <acm@muc.de>
13308
13309 Resolve invalid use of a regexp in regexp-opt.
13310
13311 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13312 detection for a java annotation.
13313
13314 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13315 detection for a java annotation.
13316
13317 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13318 handling for java.
13319 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13320
13321 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13322
13323 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13324 (Bug#9274).
13325
13326 2011-08-20 Alan Mackenzie <acm@muc.de>
13327
13328 Fontify CPP expressions correctly when starting in the middle of
13329 such a construct. Mainly for when jit-lock etc. starts a chunk
13330 here.
13331
13332 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13333 variable.
13334 (c-make-font-lock-search-form): New function, extracted from
13335 c-make-font-lock-search-function.
13336 (c-make-font-lock-search-function): Use the above function.
13337 (c-make-font-lock-context-search-function): New function.
13338 (c-cpp-matchers): Enhance the preprocessor expression case with
13339 the above function
13340 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13341 which takes an expression.
13342
13343 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13344
13345 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13346
13347 * window.el (display-buffer-reuse-window)
13348 (display-buffer-pop-up-window): Don't reuse or split a side
13349 window.
13350
13351 2011-08-19 Glenn Morris <rgm@gnu.org>
13352
13353 * files.el (hack-local-variables-prop-line, hack-local-variables):
13354 Downcase "Mode:". (Bug#9331)
13355
13356 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13357
13358 * international/characters.el: Add L and R categories.
13359
13360 * subr.el (bidi-string-mark-left-to-right): Rename from
13361 string-mark-left-to-right. Use category search.
13362
13363 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13364
13365 2011-08-18 Juri Linkov <juri@jurta.org>
13366
13367 * faces.el (error, warning, success): New faces with definitions
13368 copied from old default values of `font-lock-warning-face',
13369 `compilation-warning', `compilation-info' (bug#6117).
13370
13371 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13372
13373 * progmodes/compile.el (compilation-error): Inherit from `error'.
13374 (compilation-warning): Inherit from `warning'.
13375 (compilation-info): Inherit from `success'.
13376
13377 * dired.el (dired-marked): Inherit from `warning'.
13378 (dired-flagged): Inherit from `error'.
13379
13380 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13381
13382 * mail/smtpmail.el (auth-source): Require to avoid problems with
13383 binding variables (bug#9298). Also clean up some unused
13384 autoloads.
13385
13386 * net/network-stream.el (network-stream-open-starttls):
13387 Support using starttls.el without using gnutls-cli.
13388
13389 2011-08-17 Juri Linkov <juri@jurta.org>
13390
13391 * progmodes/grep.el (rgrep): Handle the case when
13392 `grep-find-command' is a cons cell (bug#9278).
13393
13394 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13395
13396 * window.el (display-buffer-pop-up-frame): Run frame creation
13397 function with BUFFER current (as special-display-popup-frame
13398 does). Reported by Drew Adams.
13399
13400 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13401
13402 * epa-mail.el: Simplify GnuPG group expansion using
13403 epg-expand-group.
13404 (epa-mail-group-alist, epa-mail-group-modtime)
13405 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13406 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13407 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13408 Remove.
13409
13410 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13411
13412 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13413
13414 2011-08-16 Alan Mackenzie <acm@muc.de>
13415
13416 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13417 Correct, to avoid the inside of macros.
13418
13419 2011-08-16 Richard Stallman <rms@gnu.org>
13420
13421 * epa-mail.el: Handle GnuPG group definitions.
13422 (epa-mail-group-alist, epa-mail-group-modtime)
13423 (epa-mail-gnupg-conf-file): New variables.
13424 (epa-mail-parse-groups, epa-mail-sync-groups)
13425 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13426 (epa-mail-expand-recipients): New functions.
13427 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13428
13429 * mail/rmail.el (rmail-epa-decrypt): New command.
13430
13431 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13432 Don't bind buffer-read-only, just inhibit-read-only.
13433 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13434 (epa-decrypt-armor-in-region): Make error message clearer.
13435
13436 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13439 and "a2b" to "ab" for `prefix'.
13440
13441 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13442
13443 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13444 filter groups.
13445 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13446 Fourquet (Bug#8804).
13447
13448 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13449
13450 * startup.el (argi): Declare as global variable (bug#9275).
13451
13452 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13453
13454 * subr.el (string-mark-left-to-right): Search the entire string
13455 for RTL script, not just the terminating character. Doc fix.
13456
13457 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13458
13459 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13460 New function.
13461 (js--regexp-literal, js-syntax-propertize-function): Remove.
13462 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13463 (js-mode-map): Don't rebind electric keys.
13464 (js-insert-and-indent): Remove.
13465 (js-mode): Setup electric-layout and electric-indent instead.
13466
13467 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13468
13469 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13470
13471 * epa.el (epa-progress-callback-function): Fix the logic of
13472 displaying progress.
13473 * epa-file.el (epa-file-insert-file-contents): Make progress
13474 display more user-friendly.
13475 (epa-file-write-region): Ditto.
13476
13477 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13478
13479 * subr.el (string-mark-left-to-right): New function.
13480
13481 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13482 Use string-mark-left-to-right.
13483 (list-buffers-noselect): Caller changed.
13484
13485 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13486 Use string-mark-left-to-right.
13487 (tabulated-list-print): Recenter after moving point.
13488
13489 2011-08-10 Juri Linkov <juri@jurta.org>
13490
13491 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13492 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13493 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13494
13495 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13496
13497 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13498 (Bug#7554).
13499
13500 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13501
13502 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13503 character. (Bug#6594)
13504
13505 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13506
13507 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13508 (image-dired--with-db-file): New macro.
13509 (image-dired-write-tags, image-dired-remove-tag)
13510 (image-dired-create-gallery-lists, image-dired-write-comments)
13511 (image-dired-get-comment, image-dired-mark-tagged-files)
13512 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13513 (image-dired-gallery-generate): Use insert-file-contents.
13514
13515 * time.el (display-time-world-list, display-time-world-display):
13516 * time-stamp.el (time-stamp-string):
13517 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13518 set-time-zone-rule (Bug#7337).
13519
13520 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13521
13522 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13523 (epg-error-to-string, epg-errors-to-string): New function.
13524 (epg-wait-for-completion): Reverse errors list.
13525 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13526 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13527 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13528 (epg-sign-keys, epg-generate-key-from-file)
13529 (epg-generate-key-from-string): Format errors by using
13530 epg-errors-to-string (bug#9255).
13531 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13532
13533 2011-08-07 Juri Linkov <juri@jurta.org>
13534
13535 * faces.el (list-faces-display): Remove extra angle bracket
13536 from `help-mode-map'.
13537
13538 * info.el (Info-history-toc-nodes): Doc fix.
13539
13540 * longlines.el (longlines-mode): Doc fix.
13541
13542 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13543
13544 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13545 of statements and in a few more cases (bug#9183).
13546
13547 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13548 New functions.
13549 (cl-transform-lambda): Use them (bug#9239).
13550
13551 2011-08-05 Martin Rudalics <rudalics@gmx.at>
13552
13553 * window.el (display-buffer-same-window)
13554 (display-buffer-same-frame, display-buffer-other-window)
13555 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13556 (pop-to-buffer-other-window)
13557 (pop-to-buffer-same-frame-other-window)
13558 (pop-to-buffer-other-frame): Make them defuns.
13559 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13560
13561 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * subr.el (make-composed-keymap): Move from C. Change calling
13564 convention, and improve docstring to bring attention to a subtle point.
13565 * minibuffer.el (completing-read-default): Adjust accordingly.
13566
13567 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
13568
13569 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13570 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13571
13572 * net/trampver.el: Update release number.
13573
13574 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13577 "in" (bug#9190).
13578
13579 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13580
13581 * mail/sendmail.el (sendmail-query-once): Restore the current
13582 buffer after querying (bug#9074).
13583
13584 * dired.el (dired-flagged): Use different faces for marked and
13585 flagged files (bug#6117).
13586
13587 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13588 (bug#4433).
13589
13590 * ido.el (ido-mode): Switch off the message if called
13591 non-interactively.
13592
13593 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13594 before 587, since it appears that that's more likely to work for
13595 more people.
13596
13597 * cus-edit.el (custom-file): When running under emacs -q, always
13598 refuse to save the customizations, even if the .emacs file doesn't
13599 exist.
13600
13601 * info.el: Remove the `Info-beginning-of-buffer' function
13602 (bug#8325).
13603
13604 * net/network-stream.el (network-stream-open-starttls):
13605 Use `starttls-available-p' to see whether starttls.el can be used.
13606
13607 2011-08-01 Martin Rudalics <rudalics@gmx.at>
13608
13609 * window.el (display-buffer-in-window): Don't set dedicated status
13610 of window here (Bug#9215).
13611 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13612 (display-buffer-pop-up-side-window)
13613 (display-buffer-in-side-window): Set dedicated status of window here.
13614
13615 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13616
13617 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13618 before binding generated-autoload-file.
13619
13620 2011-08-01 Deniz Dogan <deniz@dogan.se>
13621
13622 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13623
13624 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
13625
13626 Sync with Tramp 2.2.2.
13627
13628 * net/trampver.el: Update release number.
13629
13630 2011-07-30 Juri Linkov <juri@jurta.org>
13631
13632 * dired-aux.el (dired-touch-initial): Remove function.
13633 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13634 current time, and `default' to the last modification time of the
13635 current marked file (bug#6887).
13636
13637 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13638
13639 * simple.el (goto-line): Use string-to-number to provide a
13640 numeric argument to read-number (bug#9163).
13641
13642 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
13643
13644 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13645 connection process, it could be nil.
13646
13647 2011-07-27 Leo Liu <sdl.web@gmail.com>
13648
13649 Simplify url handling in rcirc-mode.
13650
13651 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13652 (rcirc-browse-url-at-mouse): Remove.
13653 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13654
13655 2011-07-26 Alan Mackenzie <acm@muc.de>
13656
13657 Fontify bitfield declarations properly.
13658
13659 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13660 (c-symbol-chars): Now exported as a lang variable.
13661 (c-not-primitive-type-keywords): New lang variable.
13662
13663 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13664 QT keyword "more" to prevent "more slots: ...." being spuriously
13665 parsed as a bitfield declaration.
13666
13667 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13668 Refactor and enhance to handle bitfield declarations.
13669 (c-punctuation-in): New function.
13670 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13671 declarations properly.
13672
13673 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
13674
13675 * calendar/icalendar.el (icalendar--all-events): Take care of
13676 multiple vcalendars in a single file.
13677 (icalendar--convert-float-to-ical): Checkdoc fixes.
13678
13679 2011-07-25 Deniz Dogan <deniz@dogan.se>
13680
13681 * image.el (insert-image): Clarifying docstring.
13682
13683 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
13684
13685 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13686 `tramp-send-command-and-check' if there is no error.
13687 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13688
13689 2011-07-22 Alan Mackenzie <acm@muc.de>
13690
13691 Prevent cc-langs.elc being loaded at run time.
13692
13693 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13694 cc-langs.
13695
13696 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13697 "(require 'cc-langs)". Quote a form so it will evaluate at
13698 (cc-mode's) compilation time.
13699
13700 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
13701
13702 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13703 loading. (Bug#9114)
13704
13705 2011-07-21 Martin Rudalics <rudalics@gmx.at>
13706
13707 * window.el (display-buffer-pop-up-window)
13708 (display-buffer-pop-up-side-window)
13709 (display-buffer-in-side-window): Call display-buffer-set-height
13710 and display-buffer-set-width after setting the new window's
13711 buffer so `fit-window-to-buffer' and friends work on the right buffer.
13712
13713 2011-07-20 Sam Steingold <sds@gnu.org>
13714
13715 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13716 (etags-tags-included-tables): Call `convert-standard-filename' on
13717 the file names contained in TAGS so that windows Emacs can handle
13718 TAGS files created by cygwin ctags.
13719
13720 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13721
13722 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13723 which apparently didn't work.
13724
13725 2011-07-19 Roland Winkler <winkler@gnu.org>
13726
13727 * proced.el (proced-send-signal): For *Marked Processes* buffer
13728 put point at beginning of buffer.
13729
13730 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
13731
13732 * proced.el (proced-format): Make header lines align with the text
13733 (bug#1779).
13734
13735 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13736
13737 * view.el (view-buffer): Allow running in `special' modes if we're
13738 visiting a file (bug#8615).
13739
13740 2011-07-19 Martin Rudalics <rudalics@gmx.at>
13741
13742 * window.el (display-buffer-alist-of-strings-p)
13743 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13744 New functions.
13745 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13746 more accurately.
13747
13748 2011-07-18 Alan Mackenzie <acm@muc.de>
13749
13750 Fontify declarators properly when, e.g., a jit-lock chunk begins
13751 inside a declaration.
13752
13753 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13754
13755 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13756 New function.
13757 (c-complex-decl-matchers): Insert reference to
13758 c-font-lock-enclosing-decls.
13759
13760 * progmodes/cc-engine.el (c-backward-single-comment):
13761 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13762 to nil around calls to (forward-comment -1).
13763
13764 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13765
13766 * image.el (put-image): Doc typo fix.
13767
13768 * progmodes/etags.el (tags-search): Doc typo fix.
13769
13770 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13771 password if we get errors 550 to 554.
13772
13773 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13774
13775 * net/gnutls.el (gnutls-log-level): Remove.
13776
13777 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13778 indentation character (bug#6380).
13779
13780 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13781
13782 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13783 to clarify what the problem is (bug#4291).
13784
13785 * simple.el (current-kill): Clarify what
13786 `interprogram-paste-function' does (bug#7500).
13787 (auto-fill-mode): Document `auto-fill-function' in relation to
13788 `auto-fill-mode' (bug#2470).
13789
13790 2011-07-16 Lawrence Mitchell <wence@gmx.li>
13791
13792 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13793 method if slot is read-only (bug#9035).
13794
13795 2011-07-16 Martin Rudalics <rudalics@gmx.at>
13796
13797 * frame.el (select-frame-set-input-focus): New argument NORECORD.
13798 * window.el (pop-to-buffer): Select window used even if it was
13799 selected before, see discussion of (Bug#8615), (Bug#6954).
13800 Pass argument NORECORD on to select-frame-set-input-focus.
13801
13802 2011-07-15 Glenn Morris <rgm@gnu.org>
13803
13804 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
13805 Respect help-form.
13806
13807 2011-07-09 Lawrence Mitchell <wence@gmx.li>
13808
13809 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13810 (gnutls-negotiate): Use it.
13811
13812 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13813
13814 * net/gnutls.el (gnutls-negotiate):
13815 Upcase `gnutls-algorithm-priority'.
13816
13817 2011-07-15 Glenn Morris <rgm@gnu.org>
13818
13819 * jka-compr.el (jka-compr-verbose): Move from here...
13820 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13821 Add missing :version tag.
13822 * info.el: No need to require jka-compr when compiling.
13823
13824 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13825
13826 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13827 (gnutls-negotiate): Use it.
13828
13829 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13830
13831 * info.el (Info-beginning-of-buffer): New command.
13832 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13833 announcing `b' as the key (bug#8325).
13834 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13835
13836 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13837
13838 * international/mule-cmds.el
13839 (describe-specified-language-support): Make the error message
13840 clearer (bug#8905).
13841
13842 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13843
13844 * isearch.el (isearch-barrier): Add a doc string, since it's
13845 mentioned in a function doc string (bug#8678).
13846
13847 2011-07-15 Martin Rudalics <rudalics@gmx.at>
13848
13849 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13850 buffer argument (Bug#9083) and self-identifying label argument.
13851
13852 2011-07-15 Glenn Morris <rgm@gnu.org>
13853
13854 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13855
13856 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13857
13858 * man.el (Man-fontify-manpage): Fix message when formatting the
13859 man page (bug#7929).
13860
13861 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13862
13863 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13864 argument LRM; if non-nil, append an invisible LRM character to the
13865 buffer name.
13866 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13867 last argument non-nil, when formatting buffer names.
13868 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13869 paragraph direction.
13870
13871 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13872
13873 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13874 the man page name (bug#7929).
13875
13876 * image.el (put-image): Mention the `put-image' overlay property
13877 (bug#7834).
13878
13879 * scroll-bar.el (set-scroll-bar-mode): Mention that
13880 `scroll-bar-mode' lists the values (bug#7772).
13881
13882 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13883 command (bug#7729).
13884
13885 * rect.el (apply-on-rectangle): Return the point after the last
13886 operation.
13887 (string-rectangle): Go to the point after the last operation
13888 (bug#7522).
13889
13890 * printing.el (pr-toggle-region): Clarify the documentation
13891 slightly (bug#7493).
13892
13893 * time.el (display-time-update):
13894 Allow `display-time-mail-function' to return nil (bug#7158).
13895 Fix suggested by Detlev Zundel.
13896
13897 * vc/diff.el (diff): Clarify the order the file names are read
13898 (bug#7111).
13899
13900 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13901 the doc string (bug#7015).
13902
13903 * font-lock.el (font-lock-maximum-decoration): Mention what
13904 numeric levels mean (bug#6935).
13905
13906 * startup.el (initial-buffer-choice): Don't mention the `none'
13907 selection, which is against policy.
13908
13909 2011-07-14 Martin Rudalics <rudalics@gmx.at>
13910
13911 * window.el (display-buffer-normalize-special):
13912 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13913
13914 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13915
13916 * subr.el (version<, version<=, version=): Mention "-CVS" and
13917 "-12345" alpha version numbers.
13918
13919 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13920
13921 * bindings.el: Add advertised binding for set-mark-command
13922 (Bug#5772).
13923
13924 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13925
13926 * bindings.el (mode-line-other-buffer):
13927 * bookmark.el (bookmark-bmenu-2-window):
13928 * bs.el (bs-cycle-next, bs-cycle-previous):
13929 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13930 switch-to-buffer.
13931
13932 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13933 Delete.
13934
13935 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
13936
13937 * follow.el (follow-debug-message, follow-redisplay):
13938 * jka-cmpr-hook.el (with-auto-compression-mode):
13939 Fix typos in docstrings.
13940
13941 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13942
13943 * subr.el (with-silent-modifications): Clarify somewhat what the
13944 macro inhibits (bug#6525).
13945
13946 * simple.el (eval-expression): Note what it does if called
13947 interactively (bug#6495).
13948
13949 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13950
13951 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13952 Use pop-to-buffer buffer-or-name if it is nil.
13953
13954 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13955 Remove switch-to-buffer.
13956
13957 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13958
13959 * files.el (make-directory): Clarify that an error will be raised
13960 if there's an error (bug#6397).
13961
13962 * startup.el (initial-buffer-choice): Add `none' as a choice
13963 (bug#6234).
13964
13965 * subr.el (add-hook): Clarify section about buffer-local hooks
13966 (bug#6218).
13967
13968 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13969
13970 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
13971
13972 * tabify.el (untabify): Preserve the current column so that point
13973 doesn't move (bug#6032).
13974
13975 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13976
13977 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13978 Rewrite to avoid awkward possessive "s" (bug#5986).
13979
13980 2011-07-13 Glenn Morris <rgm@gnu.org>
13981
13982 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13983 (dired-insert-directory): Give a message the first time
13984 if ls is found not to support --dired.
13985
13986 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13987
13988 * simple.el (toggle-truncate-lines): Clarify what is toggled
13989 (bug#5580). Text by Drew Adams.
13990
13991 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13992
13993 * simple.el (blink-matching-open): Make the error message from the
13994 last change less verbose.
13995
13996 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13997
13998 * font-lock.el (font-lock-comment-face): Use the high contrast
13999 "yellow" color for font-lock-comment-face on low color terminals
14000 using a dark background color (bug#4221).
14001
14002 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14003
14004 * dired.el (dired-insert-set-properties): Make the doc string
14005 reflect what it does now (bug#5325).
14006
14007 * simple.el (blink-matching-open): Say that we were unable to find
14008 the match within the limit, if we're limited (bug#5122).
14009
14010 * international/mule-cmds.el (prefer-coding-system): Add an
14011 example (bug#4869).
14012
14013 * progmodes/etags.el (tags-search): Document `file-list-form'
14014 (bug#4731).
14015
14016 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14017
14018 * net/browse-url.el (browse-url-default-browser)
14019 (browse-url-browser-function): Make the default browser choice a
14020 bit more logical (bug#4300). Also clean up the doc string.
14021
14022 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14023
14024 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14025 binary endings (bug#4440).
14026
14027 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14028
14029 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14030 which can be pretty annoying (bug#8971).
14031
14032 * jka-compr.el (jka-compr-verbose): New variable, and use
14033 throughout (bug#8971).
14034
14035 * info.el (Info-find-file): Fall back on the installation
14036 directory if we can't find the info node anywhere else.
14037
14038 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14039
14040 * vc/vc.el (vc-revert-file):
14041 Don't set file time-stamp in the past. (Bug#5181)
14042
14043 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14044
14045 * files.el (after-find-file): Give a better error message when
14046 trying to find a symlink that points to a file that doesn't exist
14047 (bug#4398).
14048
14049 * progmodes/cc-vars.el: Remove (probably) misleading comment
14050 (bug#4396).
14051
14052 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14053
14054 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14055
14056 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14057
14058 * mouse-sel.el: Hack restoring functionality, while keeping
14059 compatibility with 2010-07-03 changes to mouse selection.
14060 (mouse-sel-primary-overlay): New var.
14061 (mouse-sel-selection-alist): Use it.
14062 (mouse-sel-mode): Doc fix; remove points that are default features
14063 of mouse.el.
14064
14065 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14066
14067 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14068 Fix previous fix (bug#2490).
14069
14070 2011-07-12 Roland Winkler <winkler@gnu.org>
14071
14072 * textmodes/bibtex.el (bibtex-initialize):
14073 Use pop-to-buffer-same-window.
14074 (bibtex-search-entries): Fix interactive call.
14075
14076 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14077
14078 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14079 Fontise bytecomp Error lines more correctly (bug#2490).
14080 Fix suggested by Johan Bockgård.
14081
14082 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14083
14084 * dired-x.el (dired-guess-default): Use `delete-dups'.
14085
14086 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14087
14088 * dired.el (dired-mark-prompt):
14089 * dired-aux.el (dired-read-shell-command): Doc fix.
14090
14091 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14092
14093 * mail/sendmail.el (sendmail-query-once):
14094 Use `customize-save-variable' unconditionally, now that it works under
14095 emacs -Q.
14096
14097 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14098
14099 * cus-edit.el (custom-file): Take an optional no-error variable.
14100 (customize-save-variable): Set the variable, and give a warning if
14101 running under "emacs -q".
14102
14103 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14104
14105 * loadhist.el (unload-feature-special-hooks):
14106 Add `auto-coding-functions', `fill-nobreak-predicate' and
14107 `find-directory-functions' (bug#5327).
14108
14109 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14110
14111 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14112
14113 * cus-edit.el (custom-guess-name-alist): -alist variables should
14114 use the `alist' type (bug#3120). Suggested by Drew Adams.
14115
14116 * printing.el: Add documentation to all the `pr-toggle-' commands.
14117
14118 2011-07-11 Leo Liu <sdl.web@gmail.com>
14119
14120 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14121 backends where it makes sense (bug#2623).
14122
14123 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14124
14125 * dired-x.el (dired-guess-default): Remove duplicate shell command
14126 entries (bug#2028).
14127 (dired-guess-default): Fix grammar in doc string (bug#2028).
14128 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14129
14130 * subr.el (remove-duplicates): New conveniency function.
14131
14132 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14133
14134 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14135 (bug#1526).
14136
14137 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14138
14139 * window.el (display-buffer-normalize-default): Don't invert
14140 meaning of even-window-heights. Reported by Eli Zaretskii
14141 <eliz@gnu.org>.
14142
14143 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14144
14145 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14146
14147 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14148
14149 * window.el (display-buffer): Fix arguments to
14150 display-buffer-reuse-window in last change.
14151
14152 * faces.el (link): Use a less saturated blue on light backgrounds.
14153
14154 * startup.el (fancy-startup-text, fancy-about-text)
14155 (fancy-startup-tail): Use font-lock faces, for background safety.
14156
14157 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14158
14159 * emulation/viper-cmd.el (viper-change-state-to-vi):
14160 Limit triggering of abbrev expansion (Bug#9038).
14161
14162 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14163
14164 * window.el (display-buffer-default-specifiers): Remove.
14165 (display-buffer-macro-specifiers): Remove default specifiers.
14166 (display-buffer-alist): Default to nil.
14167 (display-buffer-reuse-window): New optional argument other-window.
14168 (display-buffer-pop-up-window): Allow splitting internal
14169 windows. Check whether a live window was created.
14170 (display-buffer-other-window-means-other-frame)
14171 (display-buffer-normalize-arguments): Rename to
14172 display-buffer-normalize-argument and rewrite. Set the
14173 other-window specifier.
14174 (display-buffer-normalize-special): New function.
14175 (display-buffer-normalize-options): Rename to
14176 display-buffer-normalize-default and rewrite.
14177 (display-buffer-normalize-options-inhibit): Remove.
14178 (display-buffer-normalize-specifiers): Rewrite.
14179 (display-buffer): Process other-window specifier and call
14180 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14181 more faithfully.
14182 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14183 (display-buffer-alist-set): Don't handle 'unset default values.
14184 (display-buffer-in-window, display-buffer-alist-set):
14185 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14186 <tassilo@member.fsf.org>.
14187
14188 2011-07-09 Leo Liu <sdl.web@gmail.com>
14189
14190 * register.el (insert-register): Restore accidental change on
14191 2011-06-26. (Bug#9028)
14192
14193 2011-07-09 Glenn Morris <rgm@gnu.org>
14194
14195 * subr.el (remq): Handle the empty list. (Bug#9024)
14196
14197 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14198
14199 * mail/sendmail.el (send-mail-function): No longer delay custom
14200 initialization.
14201 * custom.el (custom-initialize-delay): Doc fix.
14202
14203 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14206
14207 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14208
14209 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14210 human-friendly prompt.
14211
14212 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14213
14214 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14215 provided by a particular plugin.
14216
14217 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14218
14219 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14220 save customizations (with "emacs -Q"), just set the variable
14221 instead of erroring out.
14222
14223 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14224
14225 2011-07-08 Juri Linkov <juri@jurta.org>
14226
14227 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14228 (archive-zip-update-case): Use 7z if found by `executable-find'.
14229 The order of searching the available programs is the same as in
14230 `archive-zip-extract' (bug#8968).
14231
14232 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14233
14234 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14235 (menu-bar-options-menu): Tweak descriptions.
14236
14237 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14238
14239 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14240 menu items into verb phrases (bug#1421). Also refill to fit under
14241 80 columns.
14242
14243 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14244
14245 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14246 (Info-read-node-name): Doc fix (Bug#1084).
14247
14248 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14249 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14250 (end-of-sexp, beginning-of-sexp)
14251 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14252 (forward-symbol, forward-same-syntax, word-at-point)
14253 (sentence-at-point): Doc fix (Bug#1144).
14254
14255 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14256
14257 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14258 should cover it (bug#1281).
14259
14260 * cus-edit.el (custom-show): Mark as obsolete.
14261
14262 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14263 negotiation fails, then possibly try again with a non-encrypted
14264 connection (bug#9017).
14265
14266 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14267 be used.
14268
14269 2011-07-07 Richard Stallman <rms@gnu.org>
14270
14271 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14272 property, and handle its changed format.
14273 Look for the correct line number.
14274 Use file's line contents (but not past first =) to find
14275 correct line in message.
14276
14277 2011-07-07 Kenichi Handa <handa@m17n.org>
14278
14279 * international/characters.el (build-unicode-category-table):
14280 Delete it.
14281 (unicode-category-table): Set it by unicode-property-table-internal.
14282
14283 * international/mule-cmds.el (char-code-property-alist): Move to
14284 to src/chartab.c.
14285 (get-char-code-property): Call unicode-property-table-internal to
14286 load a file. Call get-unicode-property-internal where necessary.
14287 (put-char-code-property): Call unicode-property-table-internal to
14288 load a file. Call put-unicode-property-internal where necessary.
14289 put-unicode-property-internal where necessary.
14290 (char-code-property-description):
14291 Call unicode-property-table-internal to load a file.
14292
14293 * international/charprop.el:
14294 * international/uni-bidi.el:
14295 * international/uni-category.el:
14296 * international/uni-combining.el:
14297 * international/uni-comment.el:
14298 * international/uni-decimal.el:
14299 * international/uni-decomposition.el:
14300 * international/uni-digit.el:
14301 * international/uni-lowercase.el:
14302 * international/uni-mirrored.el:
14303 * international/uni-name.el:
14304 * international/uni-numeric.el:
14305 * international/uni-old-name.el:
14306 * international/uni-titlecase.el:
14307 * international/uni-uppercase.el: Regenerate.
14308
14309 * loadup.el: Load international/charprop.el before
14310 international/characters.
14311
14312 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * window.el (next-buffer, previous-buffer): Signal an error if
14315 called from a minibuffer window.
14316
14317 * bindings.el: Revert 2011-07-04 change.
14318
14319 2011-07-06 Richard Stallman <rms@gnu.org>
14320
14321 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14322 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14323 Treat markers like ints.
14324 (rmail-mime-entity): Doc fix.
14325
14326 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14327
14328 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14329 defcustom again for backwards compatibility.
14330
14331 * simple.el (shell-command-on-region): Fill.
14332
14333 * dired-aux.el (dired-kill-line): Add a doc string.
14334
14335 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14336 to "\\sw\\|\\s_" (bug#358).
14337
14338 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14339 (dired-unmark-backward): Ditto.
14340 (dired-flag-backup-files): Ditto.
14341
14342 * dired-x.el (dired-mark-sexp): Ditto.
14343
14344 2011-07-06 Richard Stallman <rms@gnu.org>
14345
14346 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14347 (rmail-mime-entity): New arg TRUNCATED.
14348 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14349 New functions.
14350 (rmail-mime-save): Warn if entity is truncated.
14351 (rmail-mime-toggle-hidden): Likewise, for showing.
14352 (rmail-mime-process-multipart): Record when an entity is truncated.
14353
14354 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14355 if ENTITY is a string.
14356
14357 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14358
14359 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14360 of faces when `M-C-x'-ing their definitions (bug#8378).
14361 Also clean up the code slightly.
14362
14363 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14364 because that makes the colors go away.
14365
14366 * mail/sendmail.el (send-mail-function): Change the default to
14367 `sendmail-query-once'.
14368 (sendmail-query-once): Add an autoload cookie.
14369
14370 * net/network-stream.el (network-stream-open-starttls): Try using
14371 a plain connection even if the server offered STARTTLS, and we
14372 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14373 capability. This should make smtpmail.el work in slightly more
14374 configurations.
14375
14376 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14377
14378 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14379 New defun.
14380 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14381
14382 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14383
14384 * progmodes/sql.el: Version 3.0
14385 (sql-product-alist): Add product :completion-object,
14386 :completion-column, and :statement attributes.
14387 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14388 (sql-mode-syntax-table): Mark all punctuation.
14389 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14390 ansi keywords.
14391 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14392 (sql-mode-oracle-font-lock-keywords): Improve.
14393 (sql-oracle-show-reserved-words): New function for development.
14394 (sql-product-font-lock): Simplify for source code buffers.
14395 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14396 New functions.
14397 (sql-highlight-product): Set product specific syntax table.
14398 (sql-mode-map): Add statement movement functions.
14399 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14400 New variable.
14401 (sql-statement-regexp, sql-beginning-of-statement)
14402 (sql-end-of-statement, sql-signum): New functions.
14403 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14404 (sql-show-sqli-buffer): Bug fix.
14405 (sql-interactive-mode): Store connection data as buffer local.
14406 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14407 with sql-interactive-mode.
14408 (sql-save-connection): Save buffer local settings.
14409 (sql-connection-menu-filter): Change menu entry name.
14410 (sql-product-interactive): Bug fix.
14411 (sql-preoutput-hold): New variable.
14412 (sql-interactive-remove-continuation-prompt): Bug fixes.
14413 (sql-debug-redirect): New variable.
14414 (sql-str-literal): New function.
14415 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14416 Redesign.
14417 (sql-oracle-save-settings, sql-oracle-restore-settings)
14418 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14419 (sql-completion-object, sql-completion-column)
14420 (sql-completion-sqlbuf): New variables.
14421 (sql-build-completions-1, sql-build-completions)
14422 (sql-try-completion): New functions.
14423 (sql-read-table-name): Use them.
14424 (sql-contains-names): New buffer local variable.
14425 (sql-list-all, sql-list-table): Use it.
14426 (sql-oracle-completion-types): New variable.
14427 (sql-oracle-completion-object, sql-sqlite-completion-object)
14428 (sql-postgres-completion-object): New functions.
14429
14430 2011-07-06 Glenn Morris <rgm@gnu.org>
14431
14432 * window.el (pop-to-buffer): Doc fix.
14433
14434 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14435
14436 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14437
14438 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14439
14440 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14441
14442 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14443
14444 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14445
14446 * button.el (button): Inherit from link face. Suggested by Dan
14447 Nicolaescu.
14448
14449 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14450
14451 * progmodes/gdb-mi.el: Fit in 80 columns.
14452 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14453 switch-to-buffer.
14454
14455 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14456 if imenu is simply not configured (bug#8941).
14457
14458 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14459
14460 * allout.el (allout-post-undo-hook): New allout outline-change
14461 event hook to signal undo activity.
14462 (allout-post-command-business): Run allout-post-undo-hook if an
14463 undo just occurred.
14464 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14465 * allout-widgets.el (allout-widgets-after-undo-function):
14466 Ensure the integrity of the current item's decoration after it has been
14467 in the vicinity of an undo.
14468 (allout-widgets-mode): Include allout-widgets-after-undo-function
14469 on the new allout-post-undo-hook.
14470
14471 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14472
14473 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14474 Let define-derived-mode define it.
14475 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14476 cycles of abbrev-table inheritance (bug#8998).
14477
14478 2011-07-05 Roland Winkler <winkler@gnu.org>
14479
14480 * textmodes/bibtex.el: Add support for biblatex.
14481 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14482 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14483 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14484 (bibtex-entry-alist, bibtex-field-alist): New variables.
14485 (bibtex-entry-field-alist): Obsolete alias for
14486 bibtex-BibTeX-entry-alist.
14487 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14488 (bibtex-set-dialect): New command.
14489 (bibtex-entry-type, bibtex-entry-head)
14490 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14491 Bind via bibtex-set-dialect.
14492 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14493 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14494 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14495 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14496 Define via bibtex-set-dialect.
14497 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14498 Obey bibtex-no-opt-remove-re.
14499 (bibtex-vec-push, bibtex-vec-incr): New functions.
14500 (bibtex-format-entry, bibtex-field-list)
14501 (bibtex-print-help-message, bibtex-validate)
14502 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14503
14504 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14505
14506 * progmodes/compile.el (compilation-goto-locus):
14507 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14508 * bs.el (bs-cycle-next, bs-cycle-previous):
14509 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14510 * bindings.el (mode-line-other-buffer):
14511 * autoinsert.el (auto-insert):
14512 * arc-mode.el (archive-extract):
14513 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14514
14515 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14516
14517 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14518 Fix check of `emacs-lock-unlockable-modes'.
14519 Coerce true values of `emacs-lock--try-unlocking' to t.
14520
14521 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14522
14523 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14524 * emacs-lock.el: New file.
14525
14526 2011-07-05 Julien Danjou <julien@danjou.info>
14527
14528 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14529 than `boundp' to check if face is set.
14530
14531 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14532
14533 * register.el (registerv-make):
14534 * window.el (window-min-height): Fix typos in docstrings.
14535
14536 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14537
14538 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14539 Update doc string.
14540
14541 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14542
14543 * server.el (server-execute): Catch quit and call
14544 `server-return-error' to pass the error back to emacsclient and
14545 close the connection (bug#8942).
14546
14547 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14548
14549 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14550 insecure exception for current topic. Also note that auto-saves
14551 are handled differently.
14552
14553 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14554 State variables for tracking auto-save inhibition situation.
14555
14556 (allout-write-contents-hook-handler): Rename from
14557 'allout-write-file-hook-handler', and describe how it depends on
14558 write-contents-functions sensitivity to non-nil value to prevent
14559 file write.
14560
14561 (allout-auto-save-hook-handler): Remove. auto-save does not check
14562 this in individual buffers, only in the starting buffer, so this
14563 is not the right way for us to inhibit auto-save in a buffer
14564 according to its condition.
14565
14566 (allout-mode): Use new allout-write-contents-hook-handler, and
14567 only with write-contents-functions. Remove auto-save provisions -
14568 they're implemented elsewhere.
14569
14570 (allout-before-change-handler): If undo is in progress, note that
14571 for attention of allout-post-command-business.
14572
14573 (allout-post-command-business): If the command we're following was
14574 an undo, check for change in the status of encrypted items and
14575 adjust auto-save inhibitions accordingly.
14576
14577 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14578 according to whether there are or aren't any plain-text topics
14579 pending encryption.
14580
14581 (allout-inhibit-auto-save-info-for-decryption):
14582 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14583 if there are plain-text topics pending encryption.
14584
14585 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14586 buffer-saved-size and some allout state to not inhibit auto-saves
14587 if there are no longer any plain-text topics pending encryption.
14588
14589 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14590 No longer provide for exemption of the current topic.
14591
14592 2011-07-04 Juri Linkov <juri@jurta.org>
14593
14594 Add 7z operations to delete and save changed members (bug#8968).
14595 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14596 New defcustoms.
14597 (archive-7z-write-file-member): New function.
14598 (archive-7z-summarize): Fix the number of dashes in the
14599 listing output.
14600
14601 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14602
14603 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14604 (bug#8958).
14605
14606 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
14607
14608 * bindings.el: Ignore next-buffer and previous-buffer in
14609 minibuffer-local-map.
14610
14611 * font-lock.el (font-lock-builtin-face): Change light background
14612 color to dark slate blue (Bug#6693).
14613
14614 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14615
14616 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14617
14618 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14619
14620 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14621 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14622 Add switch-to-buffer.
14623
14624 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14625
14626 * isearch.el (isearch-search-fun-function): Clarify further the
14627 meaning of the function returned.
14628
14629 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
14630
14631 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14632
14633 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14634 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14635 Use it.
14636 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14637 `tramp-default-remote-path' does not exist.
14638 (tramp-send-command-and-read): New optional argument NOERROR.
14639 (tramp-open-connection-setup-interactive-shell)
14640 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14641 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14642 (tramp-process-sentinel): Flush also process' connection property.
14643 (tramp-sh-handle-start-file-process): Do not set process
14644 sentinel. It is done now ...
14645 (tramp-maybe-open-connection): ... here. (Bug#8929)
14646
14647 2011-07-04 MON KEY <monkey@sandpframing.com>
14648
14649 * play/animate.el (animate-string): Doc fixes and allow changing
14650 the buffer name (bug#5417).
14651
14652 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14653
14654 * play/animate.el (animation-buffer-name): Rename from *animate*.
14655
14656 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14657
14658 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14659 This is simpler and helps future-proof the code.
14660 (timer-until): Use time-subtract and float-time.
14661 (timer--time-less-p): Use time-less-p.
14662
14663 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14664
14665 * type-break.el (timep): Use the value of `float-time' to avoid a
14666 byte-compiler warning.
14667
14668 * server.el (server-eval-and-print): Return any result, even nil.
14669
14670 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14671
14672 * type-break.el: Accept time formats that the builtins accept.
14673 (timep, type-break-time-difference): Accept any format that
14674 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14675 This is simpler and helps future-proof the code.
14676 (type-break-time-difference): Round rather than ignoring
14677 subseconds components.
14678
14679 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14680
14681 * info.el (Info-apropos-matches): Make non-interactive, since it
14682 doesn't seem to do anything useful as a command (bug#8829).
14683
14684 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
14685
14686 * frame.el (frame-background-mode, frame-set-background-mode):
14687 Move from faces.el.
14688 (frame-default-terminal-background): New function.
14689
14690 * custom.el (custom-push-theme): Don't record faces in `changed'
14691 theme; this doesn't work correctly for per-frame face settings.
14692 (disable-theme): Use face-set-after-frame-default to reset faces.
14693 (custom--frame-color-default): New function.
14694
14695 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14696
14697 * dired.el (dired-flagging-regexp): Remove unused variable
14698 (bug#8769).
14699
14700 2011-03-29 Kevin Ryde <user42@zip.com.au>
14701
14702 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14703 `perl-Test2' extend to match possible "fail #N" rep count
14704 (bug#8377).
14705
14706 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14707
14708 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14709 `smtpmail-via-smtp' now returns the error instead of nil.
14710
14711 * isearch.el (isearch-search-fun-function): Clarify the doc string
14712 (bug#8101).
14713
14714 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
14715
14716 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14717 unnecessary spaces (bug#8987).
14718
14719 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14720
14721 * net/network-stream.el (open-network-stream): Use the
14722 :end-of-capability command thoughout.
14723
14724 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14725
14726 * net/network-stream.el (open-network-stream): Add the
14727 :end-of-capability command parameter, used by pop3.el.
14728
14729 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14730
14731 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14732
14733 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14734 for list)" (bug#6475).
14735
14736 * files.el (file-expand-wildcards): Ignore non-readable
14737 sub-directories while trying to find matches instead of signaling
14738 an error (bug#6297).
14739
14740 * man.el (Man-reference-regexp): Allow matching possible
14741 word-wrapped references (bug#6289).
14742
14743 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14744 for consistency with the other vc buffers (bug#6197).
14745 (vc-checkin): Ditto.
14746
14747 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14748
14749 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14750
14751 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14752
14753 * custom.el (defcustom): Clarify that :set is only used in the
14754 Customize user interface (bug#6089).
14755
14756 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14757 associated with a file, refuse to run instead of erroring out
14758 (bug#6084).
14759
14760 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14761 the doc string, since it appears that using `fill-column' always
14762 controls the width (bug#7845).
14763
14764 * simple.el (shell-command-on-region): Say where the error output
14765 went if `shell-command-default-error-buffer' is set (bug#6857).
14766
14767 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14768
14769 * allout.el (allout-yank-processing): Adjust cursor position for
14770 backwards-deleted space.
14771
14772 (allout-rebullet-heading): Register changes with
14773 allout-exposure-changed-hook, so the modified topic is properly
14774 decorated.
14775
14776 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14777
14778 * minibuffer.el (completion-in-region): Document PREDICATE
14779 (bug#7136).
14780
14781 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14782 of keyword/argument pairs (bug#6904).
14783
14784 * replace.el (multi-occur):
14785 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14786
14787 2011-07-02 Drew Adams <drew.adams@oracle.com>
14788
14789 * dired.el (dired-mark-if): Make the message about whether it's
14790 marking or unmarking clearer (bug#8523).
14791
14792 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14793
14794 * disp-table.el (display-table-print-array): New function.
14795 (describe-display-table): Use it to print the vectors more pretty
14796 (Bug#8859).
14797
14798 2011-07-02 Martin Rudalics <rudalics@gmx.at>
14799
14800 * window.el (window-state-get-1): Don't assign clone numbers.
14801 Add clone-of item to list of window parameters.
14802 (window-state-put-2): Don't process clone numbers.
14803 (display-buffer-alist): Fix doc-string.
14804
14805 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14806
14807 * subr.el (remq): Don't allocate if it's not needed.
14808 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14809 (keymap--merge-bindings): New functions.
14810 (keymap-canonicalize): Use them to refine the canonicalization.
14811 * minibuffer.el (minibuffer-local-completion-map)
14812 (minibuffer-local-must-match-map): Move initialization from C.
14813 (minibuffer-local-filename-completion-map): Move initialization from C;
14814 don't inherit from anything here.
14815 (minibuffer-local-filename-must-match-map): Make obsolete.
14816 (completing-read-default): Use make-composed-keymap to combine
14817 minibuffer-local-filename-completion-map with either
14818 minibuffer-local-must-match-map or
14819 minibuffer-local-filename-completion-map.
14820
14821 2011-07-01 Glenn Morris <rgm@gnu.org>
14822
14823 * type-break.el (type-break-time-sum): Use dolist.
14824
14825 * textmodes/flyspell.el (flyspell-word-search-backward):
14826 Replace CL function.
14827
14828 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14829
14830 * mouse.el (mouse--strip-first-event): New function.
14831 (function-key-map): Use it to map fringe clicks to normal clicks
14832 by default.
14833
14834 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14835 (vc-bzr-revision-completion-table): Add support for annotate and date.
14836
14837 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14838 inherit from parent.
14839
14840 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14841
14842 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14843 (dired-show-file-type): Doc fixup (bug#8818).
14844
14845 * dired.el (dired-mode): Fix up the doc string as suggested by
14846 Drew Adams (bug#8817).
14847
14848 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14849 cookie, since the manual says that it should be possible to add
14850 this function to `find-file-hook' (bug#8709).
14851
14852 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14853
14854 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14855 here. Noted Ted Zlatanov as the maintainer.
14856 (cfengine-common-settings, cfengine-common-syntax): New functions
14857 to set up common things between `cfengine-mode' and
14858 `cfengine3-mode'.
14859 (cfengine3-mode): New mode.
14860 (cfengine3-defuns cfengine3-defuns-regex
14861 (cfengine3-class-selector-regex cfengine3-category-regex)
14862 (cfengine3-vartypes cfengine3-font-lock-keywords)
14863 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14864 (cfengine3-indent-line): Add from cfengine3.el.
14865
14866 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
14867
14868 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14869
14870 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14871
14872 2011-07-01 Martin Rudalics <rudalics@gmx.at>
14873
14874 * window.el (same-window-buffer-names, same-window-regexps)
14875 (same-window-p, special-display-frame-alist)
14876 (special-display-popup-frame, special-display-function)
14877 (special-display-buffer-names, special-display-regexps)
14878 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14879 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14880 (split-window-preferred-function, split-height-threshold)
14881 (split-width-threshold, even-window-heights)
14882 (display-buffer-mark-dedicated, window-splittable-p)
14883 (split-window-sensibly, window-safely-shrinkable-p):
14884 Un-obsolete.
14885 (display-buffer): Don't spread args with function specifier
14886 because special-display-popup-frame won't like it.
14887
14888 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14889
14890 Time-stamp simplifications and fixes.
14891 These improve accuracy slightly, and future-proof the code
14892 against some potential changes to current-time format.
14893
14894 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14895 by using time-since and float-time.
14896
14897 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14898 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14899 + NNN microseconds".
14900
14901 * type-break.el (type-break-time-sum): Rewrite using time-add.
14902
14903 * play/hanoi.el (hanoi-current-time-float): Remove.
14904 All uses replaced by float-time.
14905
14906 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14907 This yields a more-accurate answer.
14908 (rng-time-to-float): Remove; no longer needed.
14909
14910 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14911
14912 * calendar/timeclock.el (timeclock-seconds-to-time):
14913 Defalias to seconds-to-time, since they're the same thing.
14914
14915 * emacs-lisp/elp.el (elp-elapsed-time):
14916 * emacs-lisp/benchmark.el (benchmark-elapse):
14917 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14918
14919 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * window.el (bury-buffer): Don't iconify the only frame.
14922 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14923 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14924
14925 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
14926
14927 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14928 Add mouse-yank-primary.
14929
14930 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14931
14932 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14933
14934 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14937 (find-library-name): Use it to find relative load names when provided
14938 absolute file name (bug#8803).
14939
14940 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14941
14942 * textmodes/flyspell.el (flyspell-word): Consider words that
14943 differ only in case as potential doublons (bug#5687).
14944
14945 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14946 Remove two rather uninteresting debugging-like messages to make
14947 debbugs.el more silent.
14948
14949 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14950 a password-like phrase.
14951
14952 2011-06-30 Masatake YAMATO <yamato@redhat.com>
14953
14954 * progmodes/cc-guess.el: New file.
14955
14956 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14957
14958 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14959 derived from `c-basic-common-init'.
14960
14961 * progmodes/cc-mode.el (top-level): Require cc-guess.
14962 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14963
14964 2011-06-30 Lawrence Mitchell <wence@gmx.li>
14965
14966 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14967
14968 2011-06-30 Alan Mackenzie <acm@muc.de>
14969
14970 * progmodes/cc-engine.el (c-guess-continued-construct):
14971 Correct the handling of template-args-cont, particularly for when font
14972 lock is disabled. Name this case as "CASE G".
14973
14974 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14975
14976 * allout.el (allout-yank-processing): Fix injection of extra space
14977 between bullet and non-whitespace character in first topic when
14978 pasting, ensuring that the actual spacing in the pasted topic
14979 following the bullet char is preserved. This extra space was
14980 causing pasted encrypted topics to get a decrypted status even
14981 when the content was actually still encrypted. Now the decryption
14982 status from before the paste is preserved.
14983
14984 (allout-flag-region): Set all allout overlays so they evaporate
14985 when reduced to zero length (evanescent), to prevent overlay
14986 leakage.
14987
14988 2011-06-30 Glenn Morris <rgm@gnu.org>
14989
14990 * w32-fns.el (w32-charset-info-alist): Declare.
14991
14992 * find-dired.el (find-grep-options): Simplify.
14993
14994 * term/ns-win.el (ns-set-resource): Declare.
14995
14996 * ses.el (row, col): Declare dynamic variables honestly.
14997
14998 * textmodes/reftex-parse.el (index-tags): Declare.
14999
15000 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15001
15002 * cus-edit.el (customize-push-and-save): New function.
15003
15004 * files.el (hack-local-variables-confirm): Use it.
15005
15006 * custom.el (load-theme): New arg NO-CONFIRM.
15007 Use customize-push-and-save (Bug#8720).
15008 (custom-enabled-themes): Doc fix.
15009
15010 * cus-theme.el (customize-create-theme)
15011 (custom-theme-merge-theme): Callers to load-theme changed.
15012
15013 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15014
15015 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15016 short URLs have at least one dot in them (bug #7614).
15017
15018 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15019 nil, because using a pty is apparently too slow (bug #895).
15020
15021 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15022
15023 * mail/sendmail.el (sendmail-query-once): New function.
15024 (sendmail-query-once-function): New variable.
15025
15026 2011-06-29 Glenn Morris <rgm@gnu.org>
15027
15028 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15029
15030 * ses.el (top-level): Require cl when compiling.
15031 (ses-set-localvars): Fix error statement.
15032 Call it at compile time to silence a storm of warnings.
15033
15034 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15035
15036 * window.el (normalize-live-buffer): Rename to
15037 window-normalize-buffer.
15038 (normalize-live-frame): Rename to window-normalize-frame.
15039 (normalize-any-window): Rename to window-normalize-any-window.
15040 (normalize-live-window): Rename to window-normalize-live-window.
15041 (make-window-atom): Rename to window-make-atom.
15042 (window-resize-reset): Rename to window--resize-reset.
15043 (window-resize-reset-1): Rename to window--resize-reset-1.
15044 (resize-mini-window): Rename to window--resize-mini-window.
15045 (resize-subwindows-skip-p): Rename to
15046 window--resize-subwindows-skip-p.
15047 (resize-subwindows-normal): Rename to
15048 window--resize-subwindows-normal.
15049 (resize-subwindows): Rename to window--resize-subwindows.
15050 (resize-other-windows): Rename to window--resize-siblings.
15051 (resize-this-window): Rename to window--resize-this-window.
15052 (resize-root-window): Rename to window--resize-root-window.
15053 (resize-root-window-vertically): Rename to
15054 window--resize-root-window-vertically.
15055 (normalize-buffer-to-display): Rename to
15056 window-normalize-buffer-to-display.
15057 (normalize-buffer-to-switch-to): Rename to
15058 window-normalize-buffer-to-switch-to.
15059 Correspondingly update all callers of the functions listed
15060 above.
15061 (display-buffer-alist, display-buffer-normalize-arguments)
15062 (display-buffer-normalize-options, display-buffer)
15063 (display-buffer-alist-set): Use "function" instead of
15064 "fun-with-args".
15065
15066 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15067
15068 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15069 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15070 debbugs.gnu.org. Mention acknowledgment email.
15071
15072 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15073
15074 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15075 buffer multibyteness, since it shouldn't matter.
15076
15077 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15078
15079 * window.el (display-buffer-in-side-window): Handle dedicated
15080 windows as in display-buffer-reuse-window.
15081 (display-buffer-normalize-alist): Use value of override
15082 specifier.
15083 (display-buffer-normalize-specifiers): Use value of
15084 other-window-means-other-frame specifier.
15085 (display-buffer-alist): Rewrite some texts in widgets.
15086 (display-buffer): Spread arguments when calling function
15087 specified by fun-with-args.
15088
15089 2011-06-28 Deniz Dogan <deniz@dogan.se>
15090
15091 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15092 Unnest `let'.
15093
15094 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15095 selectors (Bug#5732).
15096 (css-proprietary-nmstart-re): Use `regexp-opt'.
15097
15098 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15099
15100 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15101 (eshell-ls-date-format): New defcustom.
15102 (eshell-ls-file): Use it.
15103
15104 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15105
15106 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15107
15108 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15109
15110 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15111 (ange-ftp-make-tmp-name): New arg.
15112 (ange-ftp-file-local-copy): Use it.
15113
15114 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15115
15116 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15117 no-conversion (Bug#8870).
15118
15119 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15120
15121 * window.el (window-right, window-left, window-child)
15122 (window-child-count, window-last-child)
15123 (window-iso-combination-p, walk-window-tree-1)
15124 (window-atom-check-1, window-tree-1, delete-window)
15125 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15126 new naming conventions - window-vchild, window-hchild,
15127 window-next and window-prev are now called window-top-child,
15128 window-left-child, window-next-sibling and window-prev-sibling
15129 respectively.
15130 (resize-window-reset): Rename to window-resize-reset.
15131 (resize-window-reset-1): Rename to window-resize-reset-1.
15132 (resize-window): Rename to window-resize.
15133 (window-min-height, window-min-width)
15134 (resize-mini-window, resize-this-window, resize-root-window)
15135 (resize-root-window-vertically, adjust-window-trailing-edge)
15136 (enlarge-window, shrink-window, maximize-window)
15137 (minimize-window, delete-window, quit-restore-window)
15138 (split-window, balance-windows, balance-windows-area-adjust)
15139 (balance-windows-area, window-state-put-2)
15140 (display-buffer-even-window-sizes, display-buffer-set-height)
15141 (display-buffer-set-width, set-window-text-height)
15142 (fit-window-to-buffer): Rename all "resize-window" prefixed
15143 calls to use the "window-resize" prefix convention.
15144 (display-buffer-alist): Fix symbol for label specifier.
15145 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15146 corresponding specifier.
15147 Reported by Juanma Barranquero <lekktu@gmail.com>.
15148
15149 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15150
15151 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15152 convention.
15153 (ses-call-printer): Does not pass an empty string to formatter when the
15154 cell is empty to keep from barking printer Calc math-format-value.
15155
15156 2011-06-27 Richard Stallman <rms@gnu.org>
15157
15158 * battery.el (battery-mode-line-limit): New variable.
15159 (battery-update): Handle it.
15160
15161 * mail/rmailmm.el (rmail-mime-process-multipart):
15162 Handle truncated messages.
15163
15164 2011-06-27 Glenn Morris <rgm@gnu.org>
15165
15166 * progmodes/flymake.el (flymake-err-line-patterns):
15167 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15168
15169 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15170
15171 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15172 (ses--clean-!, ses--clean-_): New functions.
15173 (ses-range): Add configurability of readout order, and conversion
15174 to Calc vector.
15175
15176 * ses.el (ses-repair-cell-reference-all): New function.
15177 (ses-cell-symbol): Set macro as safe, so that it can be used in
15178 formulas.
15179
15180 * ses.el: Update cycle detection algorithm.
15181 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15182 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15183 (ses-set-localvars): New function.
15184 (ses-make-cell): Add property-list as a cell element.
15185 (ses-cell-property-get-fun, ses-cell-property-get)
15186 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15187 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15188 New functions.
15189 (ses-cell-property-set, ses-cell-property-pop)
15190 (ses-cell-property-get-handle): New macro.
15191 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15192 New aliases, used for code readability.
15193 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15194 cycle detection.
15195 (ses-self-reference-early-detection): New defcustom.
15196 (ses-formula-references): Robustify against self-referring cells.
15197 (ses-mode): Use ses-set-localvars.
15198 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15199 before lauching the update processing.
15200 (ses-initialize-Dijkstra-attempt): New function.
15201 (ses-recalculate-cell): Update for cycle detection based on
15202 Dijkstra algorithm.
15203
15204 * ses.el: Fix commenting and indenting convention.
15205
15206 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * bs.el (bs-cycle-next): Complete last change.
15209
15210 2011-06-27 Drew Adams <drew.adams@oracle.com>
15211
15212 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15213
15214 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15215
15216 * net/network-stream.el (network-stream-open-starttls):
15217 Don't re-get capabilities unless we've reestablished connection.
15218 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15219
15220 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15221 to binary to possibly avoid line encoding issues on Windows (among
15222 other things).
15223
15224 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15225
15226 * net/network-stream.el (open-network-stream): Return an :error
15227 saying what the problem was, if possible.
15228
15229 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15230 server.
15231
15232 * net/network-stream.el (network-stream-open-starttls): If we
15233 wanted to use STARTTLS, and the server offered it, but we weren't
15234 able to because we had no STARTTLS support, then close the connection.
15235 (open-network-stream): Return an :error element, if present.
15236
15237 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15238
15239 * hl-line.el (hl-line-sticky-flag): Doc fix.
15240 (global-hl-line-sticky-flag): New option (Bug#8323).
15241 (global-hl-line-highlight): Obey it.
15242
15243 * vc/vc.el (vc-revert-show-diff): Default to t.
15244
15245 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15246
15247 * allout-widgets.el (allout-widgets-post-command-business):
15248 Stop decorating intermediate isearch matches. They're not being
15249 undecorated when an isearch is continued past, and isearch
15250 automatically collapses them. This leads to "widget leaks", where
15251 decorated items accumulate in collapsed areas. Lines with lots of
15252 hidden widgets can slow down cursor travel, substantially.
15253 Too much complicated machinery would be needed to ensure undecoration,
15254 so we're doing without this nicety.
15255
15256 (allout-widgets-tally-string): Don't try to do a hash-table-count
15257 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15258 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15259 *Messages* when allout-widgets-maintain-tally is t.
15260
15261 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15262
15263 * window.el (display-buffer-normalize-argument): Rename to
15264 display-buffer-normalize-arguments. Handle special meaning of
15265 LABEL argument. Respect special-display-function when popping up
15266 a new frame. Fix code searching for a window showing the buffer
15267 on another frame.
15268 (display-buffer-normalize-specifiers):
15269 Call display-buffer-normalize-arguments.
15270 (display-buffer-in-window): Don't undedicate the window if its
15271 buffer remains the same.
15272 Reported by Drew Adams <drew.adams@oracle.com>.
15273 (display-buffer-alist): Add choice for same-window macro
15274 specfier.
15275 (display-buffer): Mention special meaning of LABEL argument in
15276 doc-string. Fix quoting. Don't pop up a new frame even as
15277 fallback.
15278
15279 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15280
15281 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15282 avoid deleting the current window in some cases (bug#8911).
15283
15284 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15285
15286 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15287 (Bug#8934)
15288
15289 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15290
15291 * net/network-stream.el (network-stream-open-starttls):
15292 Use built-in TLS support if `gnutls-available-p' is true.
15293 (network-stream-open-tls): Ditto.
15294
15295 2011-06-26 Leo Liu <sdl.web@gmail.com>
15296
15297 * register.el (registerv): New struct.
15298 (registerv-make): New function.
15299 (jump-to-register, describe-register-1, insert-register):
15300 Support the jump-func, print-func and insert-func slot of a registerv
15301 struct. (Bug#8415)
15302
15303 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15304
15305 * vc/vc.el (vc-revert-show-diff): New defcustom.
15306 (vc-diff-internal): New arg specifying diff buffer.
15307 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15308 reuse an existing *vc-diff* buffer (Bug#8927).
15309
15310 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15311
15312 2011-06-26 Glenn Morris <rgm@gnu.org>
15313
15314 * progmodes/f90.el (f90-critical-indent): New option.
15315 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15316 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15317 (f90-mode): Doc fix.
15318 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15319 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15320 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15321 (f90-match-end): Handle block, critical.
15322
15323 2011-06-25 Glenn Morris <rgm@gnu.org>
15324
15325 * calendar/diary-lib.el (diary-included-files): Doc fix.
15326 (diary-include-files): New function, extracted from
15327 diary-include-other-diary-files and diary-mark-included-diary-files.
15328 (diary-include-other-diary-files, diary-mark-included-diary-files):
15329 Just call diary-include-files.
15330 (diary-mark-entries): Reset diary-included-files on first call.
15331
15332 * calendar/diary-lib.el (diary-mark-entries)
15333 (diary-mark-included-diary-files):
15334 Visit included diary-files in temp buffers.
15335
15336 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15337 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15338 (f90-start-block-re, f90-imenu-generic-expression)
15339 (f90-looking-at-program-block-start, f90-no-block-limit):
15340 Add support for submodules.
15341
15342 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15343 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15344
15345 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15346
15347 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15348 buffer-file-type before setting its value, to avoid disastrous
15349 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15350
15351 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15352
15353 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15354
15355 * ses.el (ses-unload-function):
15356 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15357
15358 * proced.el (proced-unload-function):
15359 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15360
15361 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15362
15363 * server.el (server-create-window-system-frame): Add parameters arg.
15364 (server-process-filter): Doc fix. Handle frame-parameters.
15365
15366 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15367
15368 Fix bug#8730, bug#8781.
15369
15370 * loadhist.el (unload--set-major-mode): New function.
15371 (unload-feature): Use it.
15372
15373 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15374 (python-unload-function): New function.
15375
15376 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15377
15378 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15379
15380 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15381
15382 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15383 the candidates list.
15384
15385 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15386
15387 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15388
15389 2011-06-23 Richard Stallman <rms@gnu.org>
15390
15391 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15392 (rmail-variables): Set next-error-move-function.
15393 (rmail-what-message): Take argument POS.
15394 (rmail-next-error-move): New function.
15395
15396 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15397
15398 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15399 messages for adjacent non-terminals.
15400
15401 2011-06-23 Richard Stallman <rms@gnu.org>
15402
15403 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15404 (rmail-show-message-1): Preserve buffer modified flag.
15405 (rmail-start-mail): Don't specify use of rmail-mail-return;
15406 that's done by mail-bury now.
15407 (rmail-mail-return): Handle arg NEWBUF.
15408
15409 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15410
15411 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15412 SIZE is a number.
15413
15414 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15415
15416 * window.el (get-lru-window, get-mru-window)
15417 (get-largest-window): Never return a minibuffer window.
15418 (display-buffer-pop-up-window): Fix a bug that could lead to
15419 reusing the minibuffer window.
15420 (display-buffer): Pass original specifier argument to
15421 display-buffer-function instead of the normalized one.
15422 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15423
15424 2011-06-22 Leo Liu <sdl.web@gmail.com>
15425
15426 * minibuffer.el (completing-read-function)
15427 (completing-read-default): Move from minibuf.c
15428
15429 2011-06-22 Richard Stallman <rms@gnu.org>
15430
15431 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15432 to Rmail even if not started by a special Rmail command.
15433
15434 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15435 Copy the buffer currently showing just one message.
15436
15437 2011-06-22 Roland Winkler <winkler@gnu.org>
15438
15439 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15440 (bibtex-clean-entry): First delete the old key so that a
15441 customized algorithm for generating the new key does not get
15442 confused by the old key.
15443 (bibtex-url): Obey regexp of first step.
15444 (bibtex-search-entries): Do not use add-to-list with local
15445 list-var.
15446
15447 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15448
15449 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15450 stored a user name, then query for the password first, instead of
15451 waiting for SMTP to give an error message and the trying again.
15452
15453 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15454
15455 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15456 BUFFER in call-process.
15457
15458 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15459
15460 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15461 QUIT twice.
15462 (smtpmail-try-auth-methods): Require user name and password from
15463 auth-source.
15464
15465 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15466
15467 * window.el (display-buffer-default-specifiers)
15468 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15469 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15470 (split-window): Normalize SIDE argument (Bug#8916).
15471
15472 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15473 (special-display-frame-alist, special-display-popup-frame):
15474 Remove duplicate declarations. These are now in window.el.
15475
15476 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15477
15478 * mail/smtpmail.el (smtpmail-via-smtp):
15479 Set :use-starttls-if-possible so that we always use STARTTLS if the
15480 server supports it. SMTP servers that support STARTTLS commonly
15481 require it.
15482
15483 * net/network-stream.el (network-stream-open-starttls): Support
15484 upgrading to STARTTLS always, even if we don't have built-in support.
15485 (open-network-stream): Add the :always-query-capabilities keyword.
15486
15487 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15488 upgrades with `open-network-stream', and rely solely on
15489 auth-source for all credentials. Big changes throughout the file,
15490 but in particular:
15491 (smtpmail-auth-credentials): Remove.
15492 (smtpmail-starttls-credentials): Remove.
15493 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15494 MAIL FROM, too.
15495
15496 * net/network-stream.el (network-stream-open-starttls):
15497 Provide support for client certificates both for external and built-in
15498 STARTTLS.
15499 (auth-source): Require.
15500 (open-network-stream): Document the :client-certificate keyword.
15501 (network-stream-certificate): Change cert-cert to cert and
15502 cert-key to key.
15503
15504 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15505
15506 * net/tramp-cache.el (top): Don't load the persistency file when
15507 "emacs -Q" has been called.
15508
15509 2011-06-21 Tim Harper <timcharper@gmail.com>
15510
15511 * term/ns-win.el (ns-initialize-window-system):
15512 Set application-specific `ApplePressAndHoldEnabled' system
15513 resource to NO as it is not yet supported by the NS port.
15514
15515 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15516
15517 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15518 (list-dynamic-libraries): ...not here.
15519
15520 2011-06-21 Leo Liu <sdl.web@gmail.com>
15521
15522 * subr.el (sha1): Implement sha1 using secure-hash.
15523
15524 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15525
15526 * window.el (display-buffer-alist): In default value do not
15527 enforce searching a window on any but the selected frame.
15528 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15529 (display-buffer-select-window): Remove function.
15530 (display-buffer-in-window): When a window on another frame gets
15531 reused, do not select it any more but just raise its frame if
15532 necessary (Bug#8851) and (Bug#8856).
15533 (display-buffer-normalize-options): Handle pop-up-frames related
15534 options more faithfully.
15535 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15536 window if it is on another frame.
15537 (display-buffer-alist, display-buffer-default-specifiers):
15538 Don't make new frame unsplittable by default.
15539 (display-buffer-normalize-argument): Fix doc-string typo and use
15540 'same-frame-other-window instead of 'other-window when associating
15541 with display-buffer-macro-specifiers.
15542
15543 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15544
15545 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15546 New functions.
15547 (5x5-mode-map, 5x5-mode-menu): Bind them.
15548 (5x5-draw-grid): Tweak the solver's rendering.
15549
15550 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15553 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15554
15555 2011-06-21 Drew Adams <drew.adams@oracle.com>
15556
15557 * menu-bar.el: Use function variable instead of switch-to-buffer.
15558 (menu-bar-select-buffer-function): New variable.
15559 (menu-bar-update-buffers): Use it (bug#8876).
15560
15561 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15564 variable's status.
15565
15566 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15567
15568 * x-dnd.el (x-dnd-version-from-flags)
15569 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15570 and long as number (Bug#8899).
15571 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15572
15573 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15574
15575 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15576 (completion-try-completion, completion-all-completions): Compute the
15577 metadata argument if it's missing; make it optional (bug#8795).
15578
15579 * wid-edit.el: Use lex-bind and move towards completion-at-point.
15580 (widget-complete): Use new :completion-function property.
15581 (widget-completions-at-point): New function.
15582 (default): Use :completion-function instead of :complete.
15583 (widget-default-completions): Rename from widget-default-complete;
15584 Rewrite.
15585 (widget-string-complete, widget-file-complete, widget-color-complete):
15586 Remove functions.
15587 (file, symbol, function, variable, coding-system, color):
15588 * international/mule-cmds.el (default-input-method, charset)
15589 (language-info-custom-alist):
15590 * cus-edit.el (face): Use new property :completions.
15591
15592 * progmodes/pascal.el (pascal-completions-at-point): New function.
15593 (pascal-mode): Use it.
15594 (pascal-mode-map): Use completion-at-point.
15595 (pascal-toggle-completions): Make obsolete.
15596 (pascal-complete-word, pascal-show-completions):
15597 * progmodes/octave-mod.el (octave-complete-symbol):
15598 Redefine as obsolete alias.
15599 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15600 Signal absence of completion info for old Octave,
15601 (inferior-octave-complete): Redefine as obsolete alias.
15602 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15603 (meta-completions-at-point): Rename from meta-complete-symbol and
15604 adapt it for use on completion-at-point-functions.
15605 (meta-common-mode): Use it.
15606 (meta-looking-at-backward, meta-match-buffer): Remove.
15607 (meta-complete-symbol): Redefine as obsolete alias.
15608 (meta-common-mode-map): Use completion-at-point.
15609 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15610 (makefile-mode-map): Use completion-at-point.
15611 (makefile-completions-at-point): Rename from makefile-complete and
15612 adapt it for use on completion-at-point-functions.
15613 (makefile-mode): Use it.
15614 (makefile-complete): Redefine as obsolete alias.
15615
15616 2011-06-20 Deniz Dogan <deniz@dogan.se>
15617
15618 * net/rcirc.el: Delete trailing whitespaces once and for all.
15619
15620 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15621
15622 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15623
15624 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
15625
15626 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15627
15628 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15629
15630 2011-06-19 Martin Rudalics <rudalics@gmx.at>
15631
15632 * window.el (display-buffer-other-window-means-other-frame):
15633 Call display-buffer-normalize-alist.
15634 (display-buffer-normalize-specifiers-1): Rename to
15635 display-buffer-normalize-argument. New argument other-frame.
15636 Rewrite.
15637 (display-buffer-normalize-specifiers-2): Rename to
15638 display-buffer-normalize-options.
15639 (display-buffer-normalize-alist-1): New function.
15640 (display-buffer-normalize-specifiers-3): Rename to
15641 display-buffer-normalize-alist.
15642 Call display-buffer-normalize-alist-1.
15643 (display-buffer-normalize-options-inhibit): New variable.
15644 (display-buffer-normalize-specifiers): Rewrite calling
15645 display-buffer-normalize-alist,
15646 display-buffer-normalize-argument, and
15647 display-buffer-normalize-options. Don't call the latter if
15648 display-buffer-normalize-options-inhibit is non-nil.
15649 (frame-auto-delete): New option.
15650 (window-deletable-p): Use frame-auto-delete.
15651 (window-list-no-nils, window-state-ignored-parameters)
15652 (window-state-get-1, window-state-get, window-state-put-list)
15653 (window-state-put-1, window-state-put-2, window-state-put):
15654 New functions.
15655 (display-buffer-normalize-options): Move special-display-p group
15656 after pop-up-frame group (Bug#8851) and (Bug#8856).
15657
15658 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
15659
15660 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15661 groups (Bug#8776).
15662 (rx-submatch-n): New function.
15663 (rx): Document it.
15664
15665 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15666 (Bug#8768).
15667
15668 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15669
15670 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15671
15672 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15673 anytime existing face settings are present (Bug#8889).
15674
15675 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15676 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15677 Remove unused argument.
15678
15679 2011-06-18 Martin Rudalics <rudalics@gmx.at>
15680
15681 * window.el (display-buffer-default-specifiers):
15682 Remove pop-up-frame. Add pop-up-window-min-height,
15683 pop-up-window-min-width, and another reuse-window specifier
15684 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
15685 (display-buffer-normalize-specifiers-2):
15686 Handle split-height-threshold and split-width-threshold also when
15687 pop-up-windows is unset. Add a reuse-window specifier for the
15688 case popping up a new window fails.
15689 (special-display-popup-frame): Remove double quoting.
15690 (display-buffer-normalize-specifiers-1): Fix thinko.
15691
15692 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15693
15694 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15695 according to comint-completion-addsuffix.
15696
15697 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15698 (pcomplete-suffix-list): Mark as obsolete.
15699 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15700 pcomplete-seen in the closure.
15701 (pcomplete-comint-setup): Setup completion-at-point as well.
15702 (pcomplete--entries): New function.
15703 (pcomplete--env-regexp): New var.
15704 (pcomplete-entries): Rewrite to work with partial-completion and
15705 without relying on pcomplete-suffix-list.
15706 (pcomplete-pare-list): Remove, unused.
15707
15708 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15709
15710 * window.el (display-buffer-alist): Set pop-up-window-min-height
15711 and pop-up-window-min-width in default value. Reported by
15712 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15713 other-window-means-other-frame.
15714 (display-buffer-macro-specifiers): Comment out entry for
15715 other-window specifier.
15716 (display-buffer-other-window-means-other-frame): New function.
15717 (display-buffer-normalize-specifiers-1): New arguments
15718 buffer-name and label. Treat other-window case specially.
15719 (display-buffer-normalize-specifiers-2): Treat other-window case
15720 specially.
15721 (display-buffer-normalize-specifiers-3): New function.
15722 (display-buffer-normalize-specifiers):
15723 Call display-buffer-normalize-specifiers-3.
15724
15725 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15726
15727 * window.el (same-window-p): Fix two typos introduced when
15728 adding with-no-warnings.
15729 (display-buffer-normalize-specifiers-1): Don't check
15730 pop-up-frames for 'unset initialization.
15731 (display-buffer-normalize-specifiers-2): Major rewrite using
15732 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15733 (pop-up-frames, display-buffer-reuse-frames)
15734 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15735 Suggested by David Engster <deng@randomsample.de>.
15736 (even-window-heights): Initialize to 'unset.
15737 (display-buffer-alist-set): Handle new 'unset initializations.
15738 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15739 other window case.
15740
15741 2011-06-16 Martin Rudalics <rudalics@gmx.at>
15742
15743 * window.el (display-buffer-normalize-specifiers-1):
15744 Respect current value of pop-up-frames for most reasonable values of
15745 second argument of display-buffer (Bug#8865).
15746 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15747 (switch-to-buffer-other-window-same-frame)
15748 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15749 Adams (Bug#8875).
15750 (display-buffer): Don't check noninteractive when calling
15751 display-buffer-pop-up-frame.
15752 (display-buffer-pop-up-frame): Never pop up a frame in
15753 noninteractive mode (Bug#8857).
15754 (enlarge-window, shrink-window): Don't report an error when the
15755 window can't be resized as requested (Bug#8862).
15756
15757 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15758
15759 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15760
15761 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15762
15763 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15764
15765 2011-06-15 Alan Mackenzie <acm@muc.de>
15766
15767 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15768 for declarators, disable knr checking to speed up for normal files.
15769 2: Refactor, replacing a sequence of nested if forms by a cond form.
15770
15771 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15772
15773 * net/network-stream.el (open-network-stream): Add the keyword
15774 :always-query-capabilities for the case where you want to force a
15775 `plain' network connection, but the protocol still requires the
15776 capabilitiy command (i.e., SMTP and EHLO).
15777
15778 * subr.el (process-live-p): Rename from `process-alive-p' for
15779 consistency with other `-live-p' functions.
15780
15781 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15782
15783 * window.el (same-window-buffer-names, same-window-regexps)
15784 (special-display-frame-alist, special-display-popup-frame)
15785 (special-display-function, special-display-buffer-names)
15786 (special-display-regexps, pop-up-frame-alist)
15787 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15788 (pop-up-windows, split-window-preferred-function)
15789 (split-height-threshold, split-width-threshold, even-window-heights)
15790 (display-buffer-mark-dedicated): Don't encourage the use of
15791 display-buffer-alist from Elisp code.
15792
15793 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15794
15795 * progmodes/python.el (python-mode): Derive from prog-mode.
15796 * progmodes/ps-mode.el (ps-mode):
15797 * progmodes/mixal-mode.el (mixal-mode):
15798 * progmodes/cfengine.el (cfengine-mode):
15799 * progmodes/ld-script.el (ld-script-mode): Likewise.
15800
15801 2011-06-15 Martin Rudalics <rudalics@gmx.at>
15802
15803 * window.el (display-buffer-alist): Trim default value to avoid
15804 popping up a new frame (Bug#8857) or reusing an arbitrary window
15805 on another frame.
15806 (display-buffer): Do not fall back on popping up a new frame in
15807 batch mode (Bug#8857).
15808
15809 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
15810
15811 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15812 (custom-theme-summary): New function.
15813 (customize-themes): Use it.
15814
15815 2011-06-13 Glenn Morris <rgm@gnu.org>
15816
15817 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15818
15819 2011-06-13 Martin Rudalics <rudalics@gmx.at>
15820
15821 * help.el (help-window): Remove variable.
15822 (help-window-point-marker, temp-buffer-max-height)
15823 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15824 (help-print-return-message): Don't set help-window.
15825 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15826 (help-window-setup-finish): Remove.
15827 (help-window-display-message, help-window-setup)
15828 (with-help-window): Major rewrite based on new
15829 display-buffer-window variable.
15830
15831 * help-mode.el (help-mode-finish): Remove help-window related
15832 code.
15833
15834 * view.el (view-exits-all-viewing-windows): Remove reference to
15835 view-return-to-alist in doc-string.
15836 (view-return-to-alist): Make obsolete.
15837 (view-buffer): Call pop-to-buffer-same-window and remove
15838 undo-window code.
15839 (view-buffer-other-window): Call pop-to-buffer-other-window and
15840 simplify code. Ignore second argument.
15841 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15842 simplify code. Ignore second argument.
15843 (view-return-to-alist-update): Make obsolete.
15844 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15845 Rewrite using quit-restore window parameters.
15846 (view-mode-exit): Rename second argument to EXIT-ONLY.
15847 Rewrite using quit-restore-window.
15848 (View-exit, View-exit-and-edit, View-leave, View-quit)
15849 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15850 appropriate arguments.
15851 (view-end-message): Use quit-restore window parameter.
15852
15853 * window.el (display-buffer-function): Rewrite doc-string.
15854 (display-buffer-window, display-buffer-alist): New variables.
15855 (display-buffer-split-specifiers)
15856 (display-buffer-side-specifiers)
15857 (display-buffer-macro-specifiers): New constants.
15858 (display-buffer-even-window-sizes, display-buffer-set-height)
15859 (display-buffer-set-width, display-buffer-select-window)
15860 (display-buffer-in-window, display-buffer-reuse-window)
15861 (display-buffer-split-window-1, display-buffer-split-window)
15862 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15863 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15864 (display-buffer-in-side-window, normalize-buffer-to-display)
15865 (display-buffer-normalize-specifiers-1)
15866 (display-buffer-normalize-specifiers-2)
15867 (display-buffer-normalize-specifiers, display-buffer-frame):
15868 New functions.
15869 (display-buffer): Major rewrite.
15870 (display-buffer-other-window, display-buffer-other-frame)
15871 (pop-to-buffer, switch-to-buffer-other-window)
15872 (switch-to-buffer-other-frame): Rewrite.
15873 (display-buffer-same-window, display-buffer-same-frame)
15874 (display-buffer-same-frame-other-window)
15875 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15876 (pop-to-buffer-other-window)
15877 (pop-to-buffer-same-frame-other-window)
15878 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15879 (switch-to-buffer-other-window-same-frame): New functions.
15880 (same-window-p, special-display-p): Rewrite disabling warnings.
15881 Make obsolete.
15882 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15883 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15884 Make obsolete
15885 (same-window-buffer-names, same-window-regexps)
15886 (special-display-frame-alist, special-display-popup-frame)
15887 (special-display-function, special-display-buffer-names)
15888 (special-display-regexps, pop-up-frame-alist)
15889 (pop-up-frame-function, split-window-preferred-function)
15890 (split-height-threshold, split-width-threshold)
15891 (even-window-heights): Make obsolete.
15892
15893 2011-06-12 Glenn Morris <rgm@gnu.org>
15894
15895 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
15896 Misc simplifications.
15897
15898 2011-06-12 Martin Rudalics <rudalics@gmx.at>
15899
15900 * window.el (window-safely-shrinkable-p): Restore function which
15901 was inadvertently removed in change from 2011-06-11. Declare as
15902 obsolete.
15903
15904 * calendar/calendar.el (calendar-generate-window):
15905 Use window-iso-combined-p instead of combination of one-window-p and
15906 window-safely-shrinkable-p.
15907
15908 2011-06-12 Glenn Morris <rgm@gnu.org>
15909
15910 * progmodes/fortran.el (fortran-mode-syntax-table):
15911 * progmodes/f90.el (f90-mode-syntax-table):
15912 Set % to punctuation. (Bug#8820)
15913 (f90-find-tag-default): Remove, no longer needed.
15914
15915 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15916
15917 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15918
15919 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
15920
15921 * image.el (image-animated-p): Return animation delay in seconds.
15922 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15923 (image-animate-timeout): Remove DELAY argument. Don't assume
15924 every subimage has the same delay; get it from image-animated-p.
15925 (image-animate): Caller changed.
15926
15927 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
15928
15929 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15930 to ignored backtrace functions.
15931
15932 2011-06-11 Glenn Morris <rgm@gnu.org>
15933
15934 * calendar/appt.el (appt-disp-window-function): Doc fix.
15935 (appt-check): Handle overlapping appointments. (Bug#8337)
15936
15937 2011-06-11 Martin Rudalics <rudalics@gmx.at>
15938
15939 * window.el (window-tree-1, window-tree): New functions, moving
15940 the latter to window.el.
15941 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15942 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15943 (bw-refresh-edges): Remove.
15944 (balance-windows-1, balance-windows-2): New functions.
15945 (balance-windows): Rewrite in terms of window tree functions,
15946 balance-windows-1 and balance-windows-2.
15947 (bw-adjust-window): Remove.
15948 (balance-windows-area-adjust): New function with functionality of
15949 bw-adjust-window but using resize-window.
15950 (set-window-text-height): Rewrite doc-string.
15951 Use normalize-live-window and resize-window.
15952 (enlarge-window-horizontally, shrink-window-horizontally):
15953 Rename argument to DELTA.
15954 (window-buffer-height): New function.
15955 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15956 Rewrite using new window resize routines.
15957 (kill-buffer-and-window, mouse-autoselect-window-select):
15958 Use ignore-errors instead of condition-case.
15959 (quit-window): Call delete-frame instead of delete-windows-on
15960 for the only buffer on frame.
15961
15962 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15963
15964 * loadup.el (top-level): Load window before files for the sake
15965 of replace-buffer-in-windows.
15966
15967 * files.el (read-buffer-to-switch)
15968 (switch-to-buffer-other-window)
15969 (switch-to-buffer-other-frame, display-buffer-other-frame):
15970 Move to window.el.
15971
15972 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15973 (previous-buffer): Move to window.el.
15974
15975 * bindings.el (unbury-buffer): Move to window.el.
15976
15977 * window.el (delete-other-windows-vertically): Move after
15978 definition of delete-other-windows.
15979 (other-window, delete-windows-on, replace-buffer-in-windows):
15980 Move here from window.c.
15981 (record-window-buffer, unrecord-window-buffer)
15982 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15983 (switch-to-next-buffer): New functions.
15984 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15985 from simple.el. Call switch-to-next-buffer.
15986 (previous-buffer): Move here from simple.el.
15987 Call switch-to-prev-buffer.
15988 (bury-buffer): Move here from buffer.c. Switch to previous
15989 buffer when window cannot be deleted.
15990 (unbury-buffer): Move here from bindings.el.
15991 (ctl-x-map): Move binding for other-window from window.c to
15992 here.
15993 (read-buffer-to-switch, switch-to-buffer-other-window)
15994 (switch-to-buffer-other-frame): Move here from files.el.
15995 (normalize-buffer-to-switch-to): New functions.
15996 (switch-to-buffer): Move here from buffer.c.
15997 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15998
15999 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16000
16001 * window.el (window-min-height, window-min-width): Move here
16002 from window.c. Add defcustoms and rewrite doc-strings.
16003 (resize-mini-window, resize-window): New functions.
16004 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16005 Move here from window.c.
16006 (maximize-window, minimize-window): New functions.
16007 (delete-window, delete-other-windows, split-window): Move here
16008 from window.c.
16009 (window-split-min-size): New function.
16010 (split-window-keep-point): Mention split-window-above-each-other
16011 instead of split-window-vertically.
16012 (split-window-above-each-other, split-window-vertically):
16013 Rename split-window-vertically to split-window-above-each-other
16014 and provide defalias for old definition.
16015 (split-window-side-by-side, split-window-horizontally):
16016 Rename split-window-horizontally to split-window-side-by-side
16017 and provide defalias for the old definition.
16018 (ctl-x-map): Move bindings for delete-window,
16019 delete-other-windows and enlarge-window here from window.c.
16020 Replace bindings for split-window-vertically and
16021 split-window-horizontally by bindings for
16022 split-window-above-each-other and split-window-side-by-side.
16023
16024 * cus-start.el (all): Remove entries for window-min-height and
16025 window-min-width. Add entries for window-splits and
16026 window-nest.
16027
16028 2011-06-09 Glenn Morris <rgm@gnu.org>
16029
16030 * calendar/appt.el (appt-mode-line): New function.
16031 (appt-check, appt-disp-window): Use it.
16032
16033 * files.el (hack-one-local-variable-eval-safep):
16034 Allow minor-modes with explicit +/-1 arguments.
16035
16036 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16037
16038 * term/xterm.el (xterm): Add defgroup.
16039 (xterm-extra-capabilities): Add defcustom to supply known xterm
16040 capabilities, skip querying them, or query them (default).
16041 (terminal-init-xterm): Use it.
16042 (terminal-init-xterm-modify-other-keys): New function to set up
16043 modifyOtherKeys support to simplify `terminal-init-xterm'.
16044
16045 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16046
16047 * window.el (resize-window-reset, resize-window-reset-1)
16048 (resize-subwindows-skip-p, resize-subwindows-normal)
16049 (resize-subwindows, resize-other-windows, resize-this-window)
16050 (resize-root-window, resize-root-window-vertically)
16051 (window-deletable-p, window-or-subwindow-p)
16052 (frame-root-window-p): New functions.
16053
16054 2011-06-09 Glenn Morris <rgm@gnu.org>
16055
16056 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16057 (ange-ftp-get-files): Use it.
16058
16059 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16060
16061 * mail/sendmail.el (mail-recover-1, mail-recover):
16062 * files.el (recover-file, recover-session):
16063 Handle dired-listing-switches not being just a single short option.
16064
16065 2011-06-09 Glenn Morris <rgm@gnu.org>
16066
16067 * calendar/appt.el (appt-display-message, appt-disp-window):
16068 Handle lists of appointments.
16069
16070 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16071
16072 * window.el (one-window-p): Move down in code.
16073 Rewrite doc-string.
16074 (window-current-scroll-bars): Rewrite doc-string.
16075 Normalize live window argument.
16076 (walk-windows, get-window-with-predicate, count-windows):
16077 Rewrite doc-string. Use window-list-1.
16078 (window-in-direction-2, window-in-direction, get-mru-window):
16079 New functions.
16080
16081 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16082
16083 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16084 Doc fix (Bug#8713).
16085
16086 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16087
16088 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16089
16090 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16091
16092 * loadhist.el (unload-feature-special-hooks):
16093 Add `comint-output-filter-functions'.
16094
16095 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16096
16097 * calendar/appt.el (appt-check): Move some initializations into the let.
16098
16099 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16100
16101 * window.el (window-height): Defalias to window-total-height.
16102 (window-width): Defalias to window-body-width.
16103
16104 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16105
16106 * image-mode.el (image-toggle-animation): New command.
16107 (image-mode-map): Bind it to RET.
16108 (image-mode): Update message.
16109 (image-toggle-display-image): Avoid a spurious cache flush.
16110 (image-transform-rotation): Doc fix.
16111 (image-transform-properties): Return quickly in the normal case.
16112 (image-animate-loop): Rename from image-animate-max-time.
16113
16114 * image.el (image-animate-max-time): Move to image-mode.el.
16115 (create-animated-image): Remove unnecessary function.
16116 (image-animate): Rename from image-animate-start. New arg.
16117 (image-animate-stop): Remove; just use image-animate-timer.
16118 (image-animate-timer): Use car-safe.
16119 (image-animate-timeout): Rename argument.
16120
16121 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16122
16123 * window.el (get-lru-window, get-largest-window): Move here from
16124 window.c. Rename first argument to ALL-FRAMES.
16125 Rephrase doc-strings.
16126 (get-buffer-window-list): Rewrite using window-list-1.
16127 Rephrase doc-string.
16128 (window-safe-min-height, window-safe-min-width): New constants.
16129 (window-size-ignore, window-min-size, window-min-size-1)
16130 (window-sizable, window-sizable-p, window-size-fixed-1)
16131 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16132 (window-max-delta-1, window-max-delta, window-resizable)
16133 (window-resizable-p, window-total-height, window-total-width)
16134 (window-body-width): New functions.
16135 (window-full-height-p, window-full-width-p): Rewrite using
16136 window-total-size.
16137 (window-body-height): Rewrite using window-body-size.
16138
16139 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16140
16141 * window.el (window-right, window-left, window-child)
16142 (window-child-count, window-last-child, window-any-p)
16143 (normalize-live-buffer, normalize-live-frame)
16144 (normalize-any-window, normalize-live-window)
16145 (window-iso-combination-p, window-iso-combined-p)
16146 (window-iso-combinations)
16147 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16148 (windows-with-parameter, window-with-parameter)
16149 (window-atom-root, make-window-atom, window-atom-check-1)
16150 (window-atom-check, window-side-check, window-check):
16151 New functions.
16152 (ignore-window-parameters, window-sides, window-sides-vertical)
16153 (window-sides-slots): New variables.
16154 (window-size-fixed): Move down in code. Minor doc-string fix.
16155
16156 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16157
16158 * comint.el (comint-dynamic-complete-as-filename)
16159 (comint-dynamic-complete-filename): Correctly call
16160 completion-in-region.
16161
16162 2011-06-05 Deniz Dogan <deniz@dogan.se>
16163
16164 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16165 in last change.
16166
16167 2011-06-05 Deniz Dogan <deniz@dogan.se>
16168
16169 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16170 (rcirc): Use it to prompt for encryption.
16171
16172 2011-06-05 Roland Winkler <winkler@gnu.org>
16173
16174 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16175 (bibtex-search-entries): New command bound to C-c C-a.
16176 (bibtex-display-entries): New function.
16177
16178 2011-06-05 Roland Winkler <winkler@gnu.org>
16179
16180 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16181 (bibtex-insert-kill): After yanking insert newline if necessary.
16182 (bibtex-initialize): Call bibtex-string-files-init only once.
16183 (bibtex-mode): Do not call easy-menu-add.
16184 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16185 (bibtex-yank): Set arg properly if nil.
16186
16187 2011-06-05 Roland Winkler <winkler@gnu.org>
16188
16189 * textmodes/bibtex.el (bibtex-search-entry-globally):
16190 New variable.
16191 (bibtex-search-entry): Use it.
16192
16193 2011-06-05 Roland Winkler <winkler@gnu.org>
16194
16195 * textmodes/bibtex.el (bibtex-entry-format): New option
16196 sort-fields.
16197 (bibtex-format-entry, bibtex-reformat): Honor this option.
16198 (bibtex-parse-entry): Return fields in proper order.
16199
16200 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16201
16202 * doc-view.el (doc-view-remove-if): Move computation of result out
16203 of `dolist' to silence misleading lexical-binding warning.
16204
16205 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16206
16207 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16208 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16209
16210 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16211
16212 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16213 "SunOS 5.10".
16214
16215 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16216
16217 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16218 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16219 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16220 (tramp-parse-putty):
16221 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16222 (tramp-completion-function-alist-ssh)
16223 (tramp-completion-function-alist-telnet)
16224 (tramp-completion-function-alist-su)
16225 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16226 cookie.
16227
16228 * net/tramp-ftp.el:
16229 * net/tramp-sh.el:
16230 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16231 load "tramp.el" `tramp-set-completion-function'.
16232
16233 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16234
16235 * shell.el: Require and use pcomplete.
16236 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16237 (shell-completion-vars): Set pcomplete-default-completion-function.
16238
16239 2011-06-04 Deniz Dogan <deniz@dogan.se>
16240
16241 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16242 `memq' (Bug#8799).
16243
16244 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16245
16246 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16247
16248 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16249
16250 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16251 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16252 * vc/log-view.el (log-view-beginning-of-defun):
16253 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16254 (smerge-refine-forward, smerge-refine-chopup-region):
16255 Silence warning for unused `dotimes' counter variables.
16256
16257 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 * net/tramp.el (tramp-with-progress-reporter): Rename from
16260 with-progress-reporter. Use `declare'.
16261 * net/tramp-smb.el:
16262 * net/tramp-sh.el:
16263 * net/tramp-gvfs.el: Update all uses.
16264
16265 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16266
16267 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16268 buffer isn't killed before making it current.
16269
16270 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16271
16272 Silence various byte-compiler warnings.
16273 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16274 `access-type' and new obsolescence format.
16275 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16276 new format.
16277 (byte-compile-check-variable): New `access-type' argument.
16278 Only warn if the access-type is obsolete.
16279 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16280 (byte-compile-variable-set): Adjust callers.
16281 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16282 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16283 setting it as obsolete.
16284 * simple.el (minibuffer-completing-symbol):
16285 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16286 access as obsolete.
16287 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16288 obsolete yet.
16289 * international/quail.el (quail-mouse-choose-completion): Remove unused
16290 code referring to obsolete var.
16291 (quail-choose-completion-string): Remove.
16292 * server.el (server-clients-with, server-kill-buffer-query-function)
16293 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16294 * proced.el (proced-send-signal):
16295 * emacs-lisp/lisp.el (lisp-complete-symbol):
16296 Replace completion-annotate-function with completion-extra-properties.
16297
16298 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16299
16300 * simple.el (goto-line): Use read-number.
16301 (overriding-map-is-bound): Remove.
16302 (saved-overriding-map): Change default.
16303 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16304 Take the map as argument.
16305 (universal-argument, negative-argument, digit-argument): Use it.
16306 (restore-overriding-map): Adjust.
16307 (do-auto-fill): Use fill-forward-paragraph.
16308 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16309
16310 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16311 (minibuffer-inactive-mode): New major mode.
16312 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16313 the *Messages* buffer" hack.
16314 (mouse-popup-menubar): Don't burp if the event is a normal key.
16315
16316 Miscellaneous tweaks.
16317 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16318 lexical scoping as in subr.el's dolist and dotimes.
16319 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16320 Silence compiler warning.
16321 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16322 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16323 * international/ccl.el (ccl-compile): Trivial simplification.
16324 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16325 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16326 `printflag' argument.
16327 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16328 Purecopy the whole obsolescence data.
16329
16330 2011-06-01 Leo Liu <sdl.web@gmail.com>
16331
16332 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16333 improve doc-string as suggested by Marco Pessotto
16334 <melmothx@gmail.com>.
16335 (rcirc-print): Fix last change.
16336
16337 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16338
16339 * minibuffer.el (complete-with-action): Return nil for the metadata and
16340 boundaries of non-functional tables.
16341 (completion-table-dynamic): Return nil for the metadata.
16342 (completion-table-with-terminator): Add default case, using
16343 complete-with-action.
16344 (completion--metadata): New function.
16345 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16346 to try and avoid pathological performance problems.
16347 (completion--embedded-envvar-table): Return `category' metadata.
16348
16349 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16350
16351 * subr.el (process-alive-p): New tiny convenience function.
16352
16353 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16354
16355 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16356 content but also its previous major mode.
16357
16358 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16359
16360 * emacs-lisp/debug.el (debug): Restore the previous content of the
16361 *Backtrace* buffer when we exit with C-M-c.
16362
16363 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16364
16365 * minibuffer.el: Add metadata method to completion tables.
16366 (completion-category-overrides): New defcustom.
16367 (completion-metadata, completion--field-metadata)
16368 (completion-metadata-get, completion--styles)
16369 (completion--cycle-threshold): New functions.
16370 (completion-try-completion, completion-all-completions):
16371 Add `metadata' argument to choose completion-styles.
16372 (completion--do-completion): Use metadata to choose cycling.
16373 (completion-all-sorted-completions): Use metadata for sorting.
16374 Remove :completion-cycle-penalty which is not needed any more.
16375 (completion--try-word-completion): Add `metadata' argument.
16376 (minibuffer-completion-help): Check metadata for annotation function
16377 and sorting.
16378 (completion-file-name-table): Return `category' metadata.
16379 (minibuffer-completing-file-name): Make obsolete.
16380 * simple.el (minibuffer-completing-symbol): Make obsolete.
16381 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16382 completion-try-completion.
16383
16384 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16385
16386 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16387
16388 2011-05-30 Leo Liu <sdl.web@gmail.com>
16389
16390 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16391 (rcirc-print): Decode all incoming messages (bug#8744).
16392 (rcirc-decode-coding-system): Allow value nil for automatic coding
16393 system detection.
16394
16395 2011-06-01 Glenn Morris <rgm@gnu.org>
16396
16397 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16398
16399 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16400
16401 * image.el (image-animate-max-time): Allow nil and t values.
16402 Default to nil.
16403 (create-animated-image): Doc fix.
16404 (image-animate-start): Remove second arg; just use
16405 image-animate-max-time.
16406 (image-animate-timeout): Doc fix. Args changed.
16407
16408 * image-mode.el (image-toggle-display-image): Ensure that the
16409 image spec passed to the animate timer is the same object as in
16410 the buffer's display property (Bug#6981).
16411 (image-transform-properties): Doc fix.
16412
16413 * image.el (image-animate-max-time): Default to nil.
16414
16415 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16416
16417 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16418 entire buffer list (Bug#8184).
16419
16420 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16421
16422 * image.el (imagemagick-types-inhibit)
16423 (imagemagick-register-types): Doc fix.
16424
16425 2011-05-29 Deniz Dogan <deniz@dogan.se>
16426
16427 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16428 default.
16429
16430 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16431
16432 * select.el: Don't perform clipboard-manager saving in hooks;
16433 leave the hooks empty.
16434
16435 2011-05-28 Leo Liu <sdl.web@gmail.com>
16436
16437 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16438 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16439 (occur-edit-mode): New major mode (Bug#8463).
16440 (occur-after-change-function): New function.
16441 (occur-engine): Give Occur tags a read-only property.
16442
16443 2011-05-28 Kevin Ryde <user42@zip.com.au>
16444
16445 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16446
16447 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16448
16449 * bindings.el (help-echo): Make the initial non-indicator dash
16450 empty on graphical terminals (Bug#7295).
16451
16452 * files.el (auto-mode-alist): Move config rule after the
16453 in-stripping one (Bug#8547).
16454
16455 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16456
16457 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16458 setting (Bug#8740).
16459
16460 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16461
16462 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16463 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16464 (Bug#8539).
16465
16466 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16467
16468 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16469
16470 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16471
16472 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16473 (hs-hide-block-at-point, hs-find-block-beginning)
16474 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16475 (Bug#8279).
16476
16477 2011-05-28 Glenn Morris <rgm@gnu.org>
16478
16479 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16480
16481 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16482
16483 * help-fns.el (describe-function-1): If the function is a derived
16484 major mode, print the parent mode.
16485
16486 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16487 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16488
16489 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16490
16491 * minibuffer.el (completion--capf-wrapper): Check applicability before
16492 returning non-nil for non-exclusive completion data.
16493 * progmodes/etags.el (tags-completion-at-point-function):
16494 * info-look.el (info-lookup-completions-at-point): Mark as
16495 non-exclusive.
16496 (info-complete): Adjust accordingly.
16497
16498 * info-look.el: Convert to lexical-binding and completion-at-point.
16499 (info-lookup-completions-at-point): New function.
16500 (info-complete): Use it and completion-in-region.
16501
16502 2011-05-28 Drew Adams <drew.adams@oracle.com>
16503
16504 * isearch.el: Let M-e start with point at the first mismatched char.
16505 (isearch-fail-pos): New function.
16506 (isearch-edit-string): Use it.
16507
16508 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16509
16510 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16511
16512 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16513
16514 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16515 traversal functions for avl-trees.
16516 (avl-tree--stack): New struct.
16517 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16518 (avl-tree-enter): Add optional `updatefun' arg.
16519 (avl-tree--do-enter): Add optional `updatefun' arg.
16520 Change return value.
16521 (avl-tree-delete): Add optional `test' and `nilflag' args.
16522 (avl-tree--do-delete): Add `test' and `nilflag' args.
16523 Change return value.
16524 (avl-tree-member): Add optional `nilflag'
16525 (avl-tree-member-p): New function.
16526 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16527 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16528 (avl-tree-stack-empty-p): New functions.
16529
16530 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16531 avl-tree--del-balance1 and make it work both ways.
16532 (avl-tree--del-balance2): Remove.
16533 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16534 make it work both ways.
16535 (avl-tree--enter-balance2): Remove.
16536 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16537 New macros.
16538 (avl-tree--mapc, avl-tree-map): Add direction argument.
16539
16540 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
16541
16542 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16543
16544 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
16545
16546 * select.el: Support clipboard managers with built-in function
16547 x-clipboard-manager-save, via delete-frame-functions and
16548 kill-emacs-hook.
16549 (xselect-convert-to-targets): Add MULTIPLE target to list.
16550 (xselect-convert-to-save-targets): New function.
16551
16552 2011-05-27 Kenichi Handa <handa@m17n.org>
16553
16554 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16555 let-binding rfc2047-encode-encoded-words to nil.
16556
16557 2011-05-27 Glenn Morris <rgm@gnu.org>
16558
16559 * mail/emacsbug.el: Don't require url-util.
16560
16561 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16562
16563 * files.el (set-auto-mode):
16564 Also respect mode: entries at the end of the file. (Bug#8586)
16565
16566 2011-05-26 Glenn Morris <rgm@gnu.org>
16567
16568 * files.el (hack-local-variables-prop-line, hack-local-variables):
16569 Downcase mode names, as seems to be traditional.
16570 (hack-local-variables, hack-local-variables-apply): Doc fixes.
16571
16572 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16573 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16574
16575 2011-05-25 Julien Danjou <julien@danjou.info>
16576
16577 * textmodes/rst.el (rst-define-level-faces): Do not define face
16578 symbol if it is already defined.
16579
16580 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16581
16582 * play/5x5.el (5x5-new-game, 5x5-randomize):
16583 Reset 5x5-solver-output to nil when a new grid is cast.
16584 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16585 these debugging traces, as defmacro breaks the compiled code.
16586
16587 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16588
16589 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16590
16591 2011-05-24 Leo Liu <sdl.web@gmail.com>
16592
16593 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16594 (vc-bzr-sha1): Adapt.
16595
16596 * sha1.el: Remove. Function `sha1' is now builtin.
16597
16598 * bindings.el: Provide sha1 feature.
16599
16600 2011-05-24 Kenichi Handa <handa@m17n.org>
16601
16602 * mail/sendmail.el: Require `rfc2047'.
16603 (mail-insert-from-field): Do not perform RFC2047 encoding.
16604 (mail-encode-header): New function.
16605 (sendmail-send-it): Set buffer-file-coding-system of the work
16606 buffer to the return value of select-message-coding-system.
16607 Call mail-encode-header.
16608
16609 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16610
16611 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
16612
16613 * mail/supercite.el (sc-default-cite-frame):
16614 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16615
16616 2011-05-24 Glenn Morris <rgm@gnu.org>
16617
16618 * progmodes/python.el (brm-menu): Declare.
16619
16620 * emulation/viper.el (viper-set-hooks): Declare.
16621
16622 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16623 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16624 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16625 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16626 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16627 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16628
16629 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16630
16631 Add an :exit-function for completion-at-point.
16632
16633 * minibuffer.el (completion--done): New fun.
16634 (completion--do-completion): Use it. New arg `expect-exact'.
16635 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16636 since completion--do-completion does it for us now.
16637 (minibuffer-force-complete): Use completion--done and
16638 completion--replace. Handle sole-completion case with more care.
16639 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16640 (completion-extra-properties): New var.
16641 (completion-annotate-function): Make obsolete.
16642 (minibuffer-completion-help): Adjust accordingly.
16643 Use completion-list-insert-choice-function.
16644 (completion-at-point, completion-help-at-point):
16645 Bind completion-extra-properties.
16646 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16647 * simple.el (completion-list-insert-choice-function): New var.
16648 (completion-setup-function): Preserve it.
16649 (choose-completion): Pay attention to it, shuffle the code a bit.
16650 (choose-completion-string): New arg `insert-function'.
16651
16652 * textmodes/bibtex.el: Convert to lexical binding.
16653 (bibtex-mode-map): Use completion-at-point.
16654 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16655 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16656 (bibtex-complete): Define as obsolete alias.
16657 (bibtex-complete-internal): Remove.
16658 (bibtex-format-entry): Remove unused sub-group in regexp.
16659 * shell.el (shell--command-completion-data)
16660 (shell-environment-variable-completion):
16661 * pcomplete.el (pcomplete-completions-at-point):
16662 * comint.el (comint--complete-file-name-data): Use :exit-function
16663 instead of completion-table-with-terminator so it also works for
16664 choose-completion.
16665
16666 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16667
16668 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16669
16670 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16671 (bug#8710).
16672
16673 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16674
16675 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16676
16677 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16678 customization variable and implement: If non-nil, auto-fill will
16679 be inhibited while on topic's header line.
16680
16681 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16682
16683 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16684 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
16685 always have a solution in grid size = 5 cases.
16686 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16687 (5x5-solver-output, 5x5-log-buffer): New vars.
16688 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16689 Make these variables buffer local to achieve 5x5 multi-session-ness.
16690 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16691 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16692 (5x5-solve-suggest): New funs.
16693 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16694 randomize a grid so that we ensure that there is always a solution.
16695 (5x5-make-random-grid): Allow other movement than flipping.
16696
16697 2011-05-23 Kevin Ryde <user42@zip.com.au>
16698
16699 * emacs-lisp/advice.el (ad-read-advised-function):
16700 Use `function-called-at-point' as the default, if it has
16701 advice and passes PREDICATE.
16702
16703 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16704
16705 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16706 byte-compile-lambda if it's actually a lambda.
16707
16708 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16709 Fix function quoting. Use backquote better.
16710
16711 2011-05-22 Yuanle Song <sylecn@gmail.com>
16712
16713 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16714 matching (Bug#8516).
16715
16716 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16717
16718 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16719 different face (Bug#8178).
16720
16721 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
16722
16723 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16724 defface (Bug#8144).
16725
16726 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16727
16728 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16729 funcall as well (bug#8712). Warn when performing those conversions.
16730 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16731
16732 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16733
16734 2011-05-22 Glenn Morris <rgm@gnu.org>
16735
16736 * files.el (hack-local-variables-prop-line): Small simplifications.
16737 (hack-local-variables, hack-local-variables-prop-line):
16738 If MODE-ONLY, return the mode, rather than just `t'.
16739
16740 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16743
16744 2011-05-21 Glenn Morris <rgm@gnu.org>
16745
16746 * files.el (hack-local-variables-prop-line, hack-local-variables):
16747 If only interested in the mode, don't bother doing the other stuff.
16748
16749 * image-mode.el (image-after-revert-hook):
16750 Redraw all frames on which the image is visible. (Bug#8567)
16751
16752 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16753
16754 * wid-edit.el (widget-checklist-match-inline):
16755 Fix 2011-04-19 change. (Bug#8649)
16756
16757 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16758
16759 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16760 Also allow singlespace after single-letter capitals followed by a dot.
16761
16762 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16763 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16764
16765 2011-05-20 Nix <nix@esperi.org.uk>
16766
16767 * files.el (basic-save-buffer-2):
16768 Fix handling of break-hardlink-on-save with non-existent files.
16769
16770 2011-05-19 Deniz Dogan <deniz@dogan.se>
16771
16772 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16773 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16774
16775 2011-05-19 Glenn Morris <rgm@gnu.org>
16776
16777 * progmodes/f90.el (f90-type-def-re):
16778 Handle "type, bind(c)". (Bug#8691)
16779
16780 * emacs-lisp/autoload.el (batch-update-autoloads):
16781 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16782
16783 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
16784
16785 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16786 property for the correct connection in case of multihops.
16787
16788 2011-05-18 Glenn Morris <rgm@gnu.org>
16789
16790 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16791 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16792
16793 Rationalize calendar handling of day and month abbrev-arrays.
16794 * calendar/calendar.el (calendar-customized-p): New function.
16795 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16796 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16797 Add :set function.
16798 (calendar-abbrev-length, calendar-day-abbrev-array)
16799 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16800 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16801 Elements may no longer be nil.
16802 (calendar-day-name, calendar-month-name):
16803 Update for changed nature of abbrev arrays.
16804 * calendar/diary-lib.el (diary-name-pattern):
16805 Update for changed nature of abbrev arrays.
16806 (diary-mark-entries-1): Update calendar-make-alist calls.
16807 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16808 * calendar/cal-html.el (cal-html-day-abbrev-array):
16809 Simply inherit from calendar-day-abbrev-array.
16810
16811 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16812
16813 * progmodes/grep.el (grep-mode): Disable default
16814 compilation-directory-matcher setting (bug#8684).
16815
16816 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
16817
16818 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16819 instead of "head" and "tail". There were problems with SunOS 5.9,
16820 and it performs better.
16821
16822 2011-05-17 Glenn Morris <rgm@gnu.org>
16823
16824 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16825
16826 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16827 Replace obsolete function.
16828
16829 * shell.el (pcomplete-parse-arguments-function): Declare.
16830
16831 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16832 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16833 (appt-check): Doc fixes.
16834 (appt-disp-window-function, appt-delete-window-function):
16835 Remove needless special case in custom :type.
16836 (appt-display-count): Default to 0, not nil.
16837 (appt-check): Reset appt-display-count to 0, not nil.
16838
16839 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
16840
16841 * progmodes/python.el (python-font-lock-keywords):
16842 Add the Python 3.X keyword "nonlocal" (bug#8639).
16843
16844 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16845
16846 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16847
16848 2011-05-16 Kevin Ryde <user42@zip.com.au>
16849
16850 * info-look.el (makefile-automake-mode): New setups, looking in
16851 automake manual, then makefile-mode.
16852 (makefile-mode): Remove automake manual, have it just in
16853 makefile-automake-mode since there's various things different or
16854 not relevant to plain make.
16855 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16856 believe a hypothetical automake-mode would go to makefile-mode,
16857 not the other way around.
16858
16859 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
16860
16861 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16862 hunk-end tags (Bug#8672).
16863
16864 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16865 vc-annotate-show-diff-revision-at-line (Bug#8671).
16866
16867 2011-05-14 Glenn Morris <rgm@gnu.org>
16868
16869 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16870 in the middle of an existing one with multiple authors. (Bug#8645)
16871 (change-log-font-lock-keywords): Also handle multiple author lines
16872 with leading tabs. (Bug#8644)
16873
16874 * calendar/appt.el (appt-check): Rename some local variables.
16875 Some simplification/reordering.
16876
16877 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16878 (feedmail-sendmail-f-doesnt-sell-me-out)
16879 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16880 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16881 (feedmail-queue-runner-message-sender): Set :version.
16882 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16883 (bbdb-dwim-net-address, vm-mail): Declare.
16884 (feedmail-binmail-gnulinuxish-template):
16885 Rename from feedmail-binmail-linuxish-template.
16886 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16887 Use insert-buffer-substring.
16888
16889 2011-05-14 Bill Carpenter <bill@carpenter.org>
16890
16891 * mail/feedmail.el (feedmail-patch-level): Increase.
16892 (feedmail-debug): New custom group.
16893 (feedmail-confirm-outgoing-timeout)
16894 (feedmail-sendmail-f-doesnt-sell-me-out)
16895 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16896 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16897 (feedmail-sender-line, feedmail-from-line)
16898 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16899 (feedmail-spray-this-address)
16900 (feedmail-spray-address-fiddle-plex-list)
16901 (feedmail-queue-use-send-time-for-date)
16902 (feedmail-queue-use-send-time-for-message-id)
16903 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16904 (feedmail-buffer-eating-function):
16905 Doc fixes.
16906 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16907 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16908 (feedmail-message-action-scroll-down): New functions.
16909 (feedmail-queue-directory, feedmail-queue-draft-directory):
16910 Use expand-file-name.
16911 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16912 Remove C-v help entry.
16913 (feedmail-queue-buffer-file-name): New variable.
16914 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16915 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16916 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16917 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16918 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16919 (feedmail-message-action-toggle-spray)
16920 (feedmail-run-the-queue-no-prompts)
16921 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16922 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16923 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16924 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16925 (feedmail-envelope-deducer, feedmail-fiddle-from)
16926 (feedmail-fiddle-sender, feedmail-default-date-generator)
16927 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16928 (feedmail-fiddle-spray-address)
16929 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16930 (feedmail-fiddle-list-of-fiddle-plexes)
16931 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16932 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16933 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16934 Change default. Doc fix.
16935 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16936 (feedmail-binmail-linuxish-template): New constant.
16937 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16938 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16939 (feedmail-send-it): Add debug call.
16940 Use feedmail-queue-buffer-file-name, and
16941 feedmail-send-it-immediately-wrapper.
16942 (feedmail-message-action-send): Add debug call.
16943 Use feedmail-send-it-immediately-wrapper.
16944 (feedmail-queue-express-to-queue): Add debug call.
16945 Run feedmail-queue-express-hook.
16946 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16947 (feedmail-message-action-help-blat):
16948 Rename from feedmail-queue-send-edit-prompt-help-first.
16949 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16950 Check line-endings. Handle errors better.
16951 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16952 Doc fix. Add debug call.
16953 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16954 Use feedmail-queue-send-edit-prompt-inner.
16955 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16956 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16957 from feedmail-queue-send-edit-prompt.
16958 (feedmail-queue-send-edit-prompt-help)
16959 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16960 (feedmail-tidy-up-slug): Add debug call.
16961 Respect feedmail-queue-slug-suspect-regexp.
16962 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16963 (feedmail-dump-message-to-queue): Add debug call.
16964 Expand queue-directory.
16965 (feedmail-dump-message-to-queue): Change message slightly.
16966 Use feedmail-say-chatter.
16967 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16968 (feedmail-send-it-immediately-wrapper): New function.
16969 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16970 Insert empty string rather than newline. Handle full-frame case.
16971 Use catch/throw. Use feedmail-say-chatter.
16972 (feedmail-fiddle-from): Try mail-host-address.
16973 (feedmail-default-message-id-generator): Doc fix.
16974 Bind system-time-locale. Handle missing end.
16975 (feedmail-fiddle-x-mailer): Add debug call.
16976 Handle feedmail-x-mailer-line being nil.
16977 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16978 Add debug call. Use buffer-substring-no-properties.
16979 (feedmail-say-debug, feedmail-say-chatter): New functions.
16980 (feedmail-find-eoh): Give an explicit error.
16981
16982 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
16983
16984 * net/newst-treeview.el (newsticker-treeview-face): Change default
16985 family from helvetica to sans.
16986 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16987 etc/images/newsticker.
16988
16989 * net/newst-reader.el (newsticker-feed-face): Change default
16990 family from helvetica to sans.
16991
16992 * net/newst-plainview.el (newsticker-new-item-face)
16993 (newsticker-old-item-face, newsticker-immortal-item-face)
16994 (newsticker-obsolete-item-face, newsticker-date-face)
16995 (newsticker-statistics-face): Change default family from
16996 helvetica to sans.
16997 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16998 etc/images/newsticker.
16999
17000 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17001 (newsticker--process-auto-mark-filter-match): Tell user about
17002 auto-marking.
17003
17004 2011-05-13 Didier Verna <didier@xemacs.org>
17005
17006 Common Lisp indentation improvements on defmethod and lambda-lists.
17007 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17008 TODO entries.
17009 (lisp-lambda-list-keyword-parameter-indentation)
17010 (lisp-lambda-list-keyword-parameter-alignment)
17011 (lisp-lambda-list-keyword-alignment): New customizable user options.
17012 (lisp-indent-defun-method): Improve docstring.
17013 (extended-loop-p): Fix comment.
17014 (lisp-indent-lambda-list-keywords-regexp): New variable.
17015 (lisp-indent-lambda-list): New function.
17016 (lisp-indent-259): Use it.
17017 (lisp-indent-defmethod): Support for more than one
17018 method qualifier and properly indent methods lambda-lists.
17019 (defgeneric): Provide a missing common-lisp-indent-function property.
17020
17021 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17022
17023 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17024 bounds for the empty string (bug#8667).
17025
17026 2011-05-13 Glenn Morris <rgm@gnu.org>
17027
17028 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17029
17030 * mail/sendmail.el (sendmail-program): Try executable-find first.
17031 (sendmail-send-it): `sendmail-program' cannot be unbound.
17032
17033 * calendar/appt.el (appt-make-list): Simplify.
17034 (appt-time-msg-list): Doc fix.
17035 (appt-check): Change mode-line message at the time of the appointment.
17036
17037 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17038
17039 * progmodes/ld-script.el (ld-script-keywords)
17040 (ld-script-builtins): Update keywords list.
17041
17042 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17043
17044 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17045
17046 * shell.el (shell-completion-vars): New function.
17047 (shell-mode):
17048 * simple.el (read-shell-command): Use it.
17049 (blink-matching-open): No need for " [...]" in minibuffer-message.
17050
17051 2011-05-12 Glenn Morris <rgm@gnu.org>
17052
17053 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17054 (appt-check): Simplify.
17055
17056 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17057
17058 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17059 literal "/dev/null".
17060
17061 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17062
17063 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17064 Fix typo.
17065
17066 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17067
17068 * progmodes/which-func.el (which-function):
17069 Use add-log-current-defun instead of add-log-current-defun-function,
17070 which might not be defined (Bug#8260).
17071
17072 2011-05-12 Glenn Morris <rgm@gnu.org>
17073
17074 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17075 Let byte-compile-initial-macro-environment always take precedence.
17076
17077 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17078
17079 * net/rcirc.el: Add support for SSL/TLS connections.
17080 (rcirc-server-alist): New field `encryption'.
17081 (rcirc): Check `encryption' settings.
17082 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17083 Merge make-local-variable into `set'.
17084 (rcirc--connection-open-p): New function.
17085 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17086 the process is not a network process (e.g. running gnutls-cli).
17087 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17088 Make rcirc-(en|de)code-coding-system local here.
17089 (rcirc-mode): Merge make-local-variable into `set'.
17090 (rcirc-parent-buffer): Make permanent buffer-local.
17091 (rcirc-multiline-minor-mode): Don't do it here.
17092 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17093 there's no server buffer.
17094
17095 2011-05-11 Glenn Morris <rgm@gnu.org>
17096
17097 * newcomment.el (comment-kill): Prefix "unused" local.
17098
17099 * term/w32console.el (get-screen-color): Declare.
17100
17101 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17102 Handle symbol elements of byte-compile-initial-macro-environment.
17103
17104 2011-05-10 Leo Liu <sdl.web@gmail.com>
17105
17106 * bookmark.el (bookmark-bmenu-mode-map):
17107 Bind bookmark-bmenu-search to `/'.
17108
17109 * mail/footnote.el: Convert to utf-8 encoding.
17110 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17111 (Footnote-unicode): New function.
17112 (footnote-style-alist): Add unicode style to the list.
17113 (footnote-style): Doc fix.
17114
17115 2011-05-10 Jim Meyering <meyering@redhat.com>
17116
17117 Fix doubled-word typos.
17118 * international/quail.el (quail-insert-kbd-layout): and and -> and
17119 * kermit.el: and and -> and
17120 * net/ldap.el (ldap-search-internal): to to -> to
17121 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17122 * progmodes/js.el (js-mode): and and -> and
17123 * textmodes/artist.el (artist-move-to-xy): at at -> at
17124 (artist-draw-region-trim-line-endings): if if -> if
17125 And Safetyc -> Safety.
17126 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17127
17128 2011-05-10 Glenn Morris <rgm@gnu.org>
17129 Stefan Monnier <monnier@iro.umontreal.ca>
17130
17131 * files.el (hack-one-local-variable-eval-safep):
17132 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17133
17134 2011-05-10 Glenn Morris <rgm@gnu.org>
17135
17136 * calendar/diary-lib.el (diary-list-entries-hook)
17137 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17138 (diary-nongregorian-marking-hook, diary-list-entries)
17139 (diary-include-other-diary-files, diary-mark-entries)
17140 (diary-mark-included-diary-files): Doc fixes.
17141
17142 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17143
17144 * misc.el: Require tabulated-list.el during compilation.
17145
17146 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17147
17148 * progmodes/compile.el (compilation-start):
17149 Run compilation-filter-hook for the async case too.
17150 (compilation-filter-hook): Doc fix.
17151
17152 2011-05-09 Deniz Dogan <deniz@dogan.se>
17153
17154 * wdired.el: Remove outdated installation comment. Fix usage
17155 comment.
17156
17157 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17158
17159 * misc.el: Implement new command `list-dynamic-libraries'.
17160 (list-dynamic-libraries--loaded-only-p): New variable.
17161 (list-dynamic-libraries--refresh): New function.
17162 (list-dynamic-libraries): New command.
17163
17164 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17165
17166 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17167 Fix the ant regexp to handle end-line and end-column info from jikes.
17168 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17169 higher priority to avoid clobbering by gnu.
17170
17171 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17172
17173 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17174 if the face has existing theme settings (Bug#8454).
17175
17176 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17177
17178 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17179 Only match variables declared via `my' or `our' (Bug#8261).
17180
17181 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17182 special file names `.' and `..' (Bug#8259).
17183
17184 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17185
17186 * progmodes/grep.el (grep-mode-font-lock-keywords):
17187 Remove buffer-changing entries.
17188 (grep-filter): New function.
17189 (grep-mode): Add it to compilation-filter-hook.
17190
17191 * progmodes/compile.el (compilation-filter-hook)
17192 (compilation-filter-start): New defvars.
17193 (compilation-filter): Call compilation-filter-hook prior to
17194 updating the process mark.
17195
17196 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17199
17200 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17201
17202 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17203 mailclient-send-it even if window-system is nil. (Bug#8595)
17204
17205 * term/w32console.el (terminal-init-w32console):
17206 Call get-screen-color and use its output to set the frame
17207 background-mode. (Bug#8597)
17208
17209 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17210
17211 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17212 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17213 New functions.
17214 (defgeneric, eieio--defmethod): Use them.
17215 (eieio-defgeneric): Remove.
17216 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17217
17218 2011-05-07 Glenn Morris <rgm@gnu.org>
17219
17220 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17221 Use let rather than let*.
17222 (timeclock-find-discrep): Remove unused local.
17223
17224 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17225
17226 * calendar/appt.el (appt-time-msg-list): Doc fix.
17227
17228 2011-05-06 Noah Friedman <friedman@splode.com>
17229
17230 * apropos.el (apropos-print-doc): Only use
17231 emacs-lisp-docstring-fill-column when it is bound to an integer,
17232 per that variable's documentation.
17233
17234 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17235
17236 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17237 and warnings are not silently discarded (e.g. use -d instead of -P).
17238
17239 2011-05-06 Glenn Morris <rgm@gnu.org>
17240
17241 * calendar/appt.el (appt-message-warning-time): Doc fix.
17242 (appt-warning-time-regexp): New option.
17243 (appt-make-list): Respect appt-message-warning-time.
17244
17245 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17246 New options.
17247 (diary-add-to-list): Strip comments from the displayed string.
17248 (diary-mode): Set comment-start and comment-end.
17249
17250 * vc/diff-mode.el (smerge-refine-subst): Declare.
17251 (diff-refine-hunk): Don't require smerge-mode when compiling.
17252
17253 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17254
17255 * simple.el (list-processes): Return nil as the docstring says.
17256
17257 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17258
17259 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17260 to "".
17261 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17262 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17263 determining of binary transfer. (Bug#7383)
17264
17265 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17266
17267 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17268 Fix port computation bug. (Bug#8618)
17269
17270 2011-05-05 Glenn Morris <rgm@gnu.org>
17271
17272 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17273
17274 * simple.el (shell-dynamic-complete-functions)
17275 (comint-dynamic-complete-functions): Declare.
17276
17277 * net/network-stream.el (gnutls-negotiate):
17278 * simple.el (tabulated-list-print): Fix declarations.
17279
17280 * progmodes/gud.el (syntax-symbol, syntax-point):
17281 Remove unnecessary and incorrect declarations.
17282
17283 * emacs-lisp/check-declare.el (check-declare-scan):
17284 Handle byte-compile-initial-macro-environment in bytecomp.el
17285
17286 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17287
17288 Fix earlier half-done eieio-defmethod change (bug#8338).
17289 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17290 Streamline and change calling convention.
17291 (defmethod): Adjust accordingly and simplify.
17292 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17293 new eieio--defmethod.
17294 (slot-boundp): Minor CSE simplification.
17295
17296 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17297
17298 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17299 (glasses-make-readable): Use glasses-separate-capital-groups.
17300
17301 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17302
17303 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17304 (warning-series): Doc fix.
17305 (display-warning): Don't try to create the buffer if we just found it.
17306
17307 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17308
17309 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17310 (autoload-find-generated-file): New function.
17311 (generate-file-autoloads): Bind generated-autoload-file to
17312 buffer-file-name.
17313 (update-file-autoloads, update-directory-autoloads):
17314 Use autoload-find-generated-file. If called interactively, prompt for
17315 output file (Bug#7989).
17316 (batch-update-autoloads): Doc fix.
17317
17318 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17319
17320 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17321
17322 2011-05-04 Glenn Morris <rgm@gnu.org>
17323
17324 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17325 function, so it follows changes in calendar-date-style.
17326 (diary-fancy-date-matcher): New function.
17327 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17328 (diary-fancy-font-lock-fontify-region-function):
17329 Use diary-fancy-date-pattern as a function.
17330
17331 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17332 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17333
17334 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17335
17336 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17337 instead of positional arguments. Allow :keylist and :crlfiles
17338 arguments.
17339 (open-gnutls-stream): Call it.
17340
17341 * net/network-stream.el (network-stream-open-starttls): Adjust to
17342 call `gnutls-negotiate' with :process and :hostname arguments.
17343
17344 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17345
17346 * minibuffer.el (completion--message): New function.
17347 (completion--do-completion, minibuffer-complete)
17348 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17349 (completion--do-completion): Don't ignore completion-auto-help when in
17350 icomplete-mode.
17351
17352 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17353 internal encoding (e.g. tibetan zero is not whitespace).
17354 (global-whitespace-mode): Prefer save-current-buffer.
17355 (whitespace-trailing-regexp): Remove useless save-match-data.
17356 (whitespace-empty-at-bob-regexp): Minor simplification.
17357
17358 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17359
17360 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17361
17362 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17363
17364 * textmodes/ispell.el (ispell-add-per-file-word-list):
17365 Use `concat' to create string for insertion.
17366
17367 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17368
17369 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17370 Avoid open-line which runs post-self-insert-hook.
17371 (bibtex-fill-entry): Remove unused `end' var.
17372
17373 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17374
17375 * textmodes/ispell.el (ispell-add-per-file-word-list):
17376 Protect against `nil' value of `comment-start' (Bug#8579).
17377
17378 2011-05-03 Leo Liu <sdl.web@gmail.com>
17379
17380 * isearch.el (isearch-yank-pop): New command.
17381 (isearch-mode-map): Bind it to `M-y'.
17382 (isearch-forward): Mention it.
17383
17384 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17385
17386 * simple.el (minibuffer-complete-shell-command): Remove.
17387 (minibuffer-local-shell-command-map): Use completion-at-point.
17388 (read-shell-command): Setup completion vars here instead.
17389 (read-expression-map): Bind TAB to symbol completion.
17390
17391 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17392 error directly rather via storing it into `results'.
17393
17394 2011-05-02 Leo Liu <sdl.web@gmail.com>
17395
17396 * vc/diff.el: Fix description.
17397
17398 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17399
17400 * server.el (server-eval-at): New function.
17401
17402 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17403
17404 * net/network-stream.el (open-network-stream): Take a :nowait
17405 parameter and pass it on to `make-network-process'.
17406 (network-stream-open-plain): Ditto.
17407
17408 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17409
17410 * faces.el (face-spec-set-match-display): Don't match toolkit
17411 options on terminal frames.
17412
17413 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17414
17415 * progmodes/pascal.el: Use lexical binding.
17416 (pascal-mode-map): Remove author preferences.
17417
17418 * pcomplete.el (pcomplete-std-complete): Don't abuse
17419 completion-at-point.
17420
17421 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17422
17423 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17424 removing code that has been dead since 1991 or so.
17425
17426 * startup.el (command-line): When warning about "_emacs", use a
17427 delayed warning to allow the user to filter it out.
17428
17429 2011-04-28 Deniz Dogan <deniz@dogan.se>
17430
17431 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17432 user has not joined.
17433
17434 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17435
17436 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17437 aren't any completions at point.
17438
17439 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17440
17441 * subr.el (display-delayed-warnings): New function.
17442 (delayed-warnings-hook): New variable.
17443
17444 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17445
17446 * minibuffer.el (completion-at-point, completion-help-at-point):
17447 Don't presume that a given completion-at-point-function will always
17448 use the same calling convention.
17449
17450 * pcomplete.el (pcomplete-completions-at-point):
17451 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17452 pcomplete-seen is non-nil.
17453 (pcomplete-comint-setup): Also recognize the new comint/shell
17454 completion functions.
17455 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17456 pcomplete-seen is non-nil.
17457
17458 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17459
17460 * calendar/icalendar.el (diary-lib): Add require statement.
17461 (icalendar--create-uid): Read out a uid from a text-property on
17462 the first character in the entry. This allows for code to add its
17463 own uid to the entry.
17464 (icalendar--convert-float-to-ical): Add export of
17465 `diary-float'-entries save for those with the optional DAY
17466 argument.
17467
17468 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17469
17470 * subr.el (shell-quote-argument): Use alternate escaping strategy
17471 when we spot a variable reference in a string.
17472
17473 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17474
17475 * cus-start.el (all): Define customization for debug-on-event.
17476
17477 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17478
17479 * subr.el (shell-quote-argument): Escape correctly under Windows.
17480
17481 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17482
17483 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17484
17485 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17486
17487 * net/tramp.el (tramp-process-actions): Add POS argument.
17488 Delete region between POS and (pos).
17489
17490 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17491 Use `nil' position in `tramp-process-actions' call.
17492 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17493
17494 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17495 position in `tramp-process-actions' call.
17496
17497 * net/trampver.el: Update release number.
17498
17499 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17500
17501 * custom.el (defcustom): Obey lexical-binding.
17502
17503 Fix octave-inf completion problems reported by Alexander Klimov.
17504 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17505 Inherit from octave-mode-syntax-table.
17506 (inferior-octave-mode): Set info-lookup-mode.
17507 (inferior-octave-completion-at-point): New function.
17508 (inferior-octave-complete): Use it and completion-in-region.
17509 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17510 comint-filename-completion.
17511 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17512 symbol elements which shouldn't be word elements.
17513 (octave-font-lock-keywords, octave-beginning-of-defun)
17514 (octave-function-header-regexp): Adjust regexps accordingly.
17515 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17516
17517 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17518
17519 * net/gnutls.el (gnutls-errorp): Declare before first use.
17520
17521 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17522
17523 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17524 verify-error, and verify-hostname-error parameters. Check whether
17525 default trustfile exists before going to use it. Add missing
17526 argument to gnutls-message-maybe call. Return value.
17527 Reported by Claudio Bley <claudio.bley@gmail.com>.
17528 (open-gnutls-stream): Add usage example.
17529
17530 * net/network-stream.el (network-stream-open-starttls): Give host
17531 parameter to `gnutls-negotiate'.
17532 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17533 * subr.el (shell-quote-argument): Escape correctly under Windows.
17534
17535 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
17536
17537 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17538 Use correct match group (bug#8438).
17539
17540 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17541
17542 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17543 (package-menu--generate): New arg specifying packages to show.
17544 (package-menu-refresh, package-menu-execute, list-packages):
17545 Callers changed.
17546 (package-show-package-list): New function, replacing deleted
17547 package--list-packages (renamed because it is non-internal).
17548
17549 * finder.el (finder-list-matches): Use package-show-package-list
17550 instead of deleted package--list-packages.
17551
17552 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17553 Based on a previous implementation by Juanma Barranquero (Bug#8366).
17554 (vc-annotate-mode-map): Bind it to RET.
17555
17556 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17557
17558 * progmodes/etags.el (next-file): Don't use set-buffer to change
17559 buffers (Bug#8478).
17560
17561 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17562
17563 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17564
17565 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17566 (apropos-accumulator): Doc fix.
17567 (apropos-function, apropos-macro, apropos-command)
17568 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17569 (apropos-plist): Add face property.
17570 (apropos-symbols-internal): Fix indentation.
17571 (apropos-print): Simplify help, and recognize apropos-multi-type.
17572 (apropos-print-doc): Use button-type-get to extract the button's
17573 face property. Fill docstring (Bug#8352).
17574
17575 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
17576
17577 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17578
17579 * play/mpuz.el (mpuz-silent): Doc fix.
17580 (mpuz-mode-map): Use mapc.
17581 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17582 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17583 Fix typos in docstrings.
17584
17585 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17586 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17587
17588 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17589
17590 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
17591
17592 * minibuffer.el (completion--do-completion): Avoid the "Next char
17593 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17594
17595 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17596 mouse-2 into unread-command-events, it is interpreted correctly.
17597
17598 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17599 (image-toggle-display): Doc fix.
17600
17601 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
17602
17603 * textmodes/page.el (what-page): Use line-number-at-pos to
17604 calculate line number (Bug#6825).
17605
17606 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17607
17608 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17609 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17610 Pass argument NO-DEFAULT to `find-tag-interactive'.
17611
17612 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17613
17614 Lexical-binding cleanup.
17615
17616 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17617 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17618 * progmodes/ada-prj.el (ada-prj-initialize-values)
17619 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17620 (ada-prj-show-value):
17621 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17622 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17623 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17624 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17625 * progmodes/bug-reference.el (bug-reference-push-button):
17626 * progmodes/fortran.el (fortran-line-length):
17627 * progmodes/glasses.el (glasses-change):
17628 * progmodes/octave-mod.el (octave-fill-paragraph):
17629 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17630 (python-pdbtrack-grub-for-buffer, python-sentinel):
17631 * progmodes/sql.el (sql-save-connection):
17632 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17633 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17634 Mark unused parameters.
17635
17636 * progmodes/compile.el (compilation--flush-directory-cache)
17637 (compilation--flush-parse, compile-internal): Mark unused parameters.
17638 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17639 (compilation-next-error-function): Remove unused variable `timestamp'.
17640
17641 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17642 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17643
17644 * progmodes/dcl-mode.el (dcl-end-of-command):
17645 Remove unused variable `start'.
17646 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17647 (dcl-option-value-basic, dcl-option-value-offset)
17648 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17649 Mark unused parameters.
17650 (dcl-save-local-variable): Remove unused variable `val'.
17651 (mode): Declare.
17652
17653 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17654 Mark unused parameters.
17655 (delphi-ignore-changes): Move before first use.
17656 (delphi-charset-token-at): Remove unused variable `start'.
17657 (delphi-else-start): Remove unused variable `if-count'.
17658 (delphi-comment-block-start, delphi-comment-block-end):
17659 Remove unused variable `kind'.
17660 (delphi-indent-line): Remove unused variable `new-point'.
17661
17662 * progmodes/ebrowse.el (ebrowse-files-list)
17663 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17664 Mark unused parameters. Don't quote `lambda'.
17665 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17666 Don't quote `lambda'.
17667 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17668 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17669 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17670 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17671 Use `ignore-errors'.
17672 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17673 (ebrowse-view/find-file-and-search-pattern)
17674 (ebrowse-view/find-member-declaration/definition):
17675 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17676 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17677 Rename parameter PREFIX-ARG to PREFIX.
17678 (ebrowse-tags-read-name): Remove unused variables `start' and
17679 `member-info'.
17680 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17681 to `tags-file'.
17682
17683 * progmodes/etags.el (local-find-tag-hook): Declare.
17684 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17685 Mark unused parameters.
17686
17687 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17688 (executable-interpret): Mark unused parameter.
17689
17690 * progmodes/flymake.el (flymake-process-sentinel)
17691 (flymake-after-change-function)
17692 (flymake-create-temp-with-folder-structure)
17693 (flymake-get-include-dirs-dot): Mark unused parameters.
17694 (flymake-safe-delete-directory): Remove unused variable `err'.
17695
17696 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17697 (speedbar-timer-fn, speedbar-line-text)
17698 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17699 (speedbar-center-buffer-smartly): Declare functions.
17700 (gdb-find-watch-expression): Remove unused variable `array'.
17701 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17702 (gdb-starting): Mark unused parameters.
17703 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17704 (gdb-table-string): Remove unused variable `res'.
17705 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17706 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17707 (gdb-display-buffer): Remove unused variable `cur-size'.
17708
17709 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17710 allow lexical-binding compilation.
17711 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17712 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17713 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17714 Mark unused parameters.
17715 (gud-gdb-marker-filter): Remove unused variable `match'.
17716 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17717 lambda expressions and funcall them, instead of using `fset'.
17718
17719 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17720 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17721
17722 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17723 variable `header-beg'; use `let'.
17724
17725 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17726 `restart', `last-sexp' and `at-do'.
17727
17728 * progmodes/js.el (js--debug): Mark unused parameter.
17729 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17730 (js--splice-into-items): Remove unused variable `item'.
17731 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17732
17733 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17734 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17735 (makefile-complete): Remove unused variable `try'.
17736 (makefile-fill-paragraph, makefile-match-function-end):
17737 Mark unused parameters.
17738
17739 * progmodes/octave-inf.el (inferior-octave-complete):
17740 Remove unused variable `proc'.
17741 (inferior-octave-output-digest): Mark unused parameter.
17742
17743 * progmodes/perl-mode.el (perl-calculate-indent):
17744 Remove unused variable `err'.
17745
17746 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17747 (prolog-indent-line): Mark unused parameters.
17748 (prolog-indent-line): Remove unused variable `beg'.
17749
17750 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17751 (reporter-dont-compact-list): Declare.
17752
17753 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17754 Remove unused variable `char'.
17755 (sh-debug): Mark unused parameter.
17756 (sh-get-indent-info): Remove unused variable `start'.
17757 (sh-calculate-indent): Remove unused variable `var'.
17758
17759 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17760 (simula-electric-keyword): Remove unused variable `null'.
17761 (simula-search-backward, simula-search-forward): Remove unused
17762 variables `begin' and `end'.
17763
17764 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17765 Remove unused variable `pos'.
17766 (vera-electric-tab, vera-comment-uncomment-region):
17767 Mark unused parameters.
17768 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17769
17770 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
17771
17772 * emacs-lisp/package.el (package--builtins, package-alist)
17773 (package-load-descriptor, package-built-in-p, package-activate)
17774 (define-package, package-installed-p)
17775 (package-compute-transaction, package-buffer-info)
17776 (package--push): Doc fix. Distinguish more clearly between
17777 version strings and version lists.
17778
17779 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
17780
17781 Lexical-binding cleanup.
17782
17783 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17784 (5x5-make-mutate-best):
17785 * play/fortune.el (fortune-in-buffer):
17786 * play/gomoku.el (gomoku-init-display):
17787 * play/solitaire.el (solitaire, solitaire-do-check):
17788 * play/tetris.el (tetris-default-update-speed-function):
17789 Mark unused parameters.
17790
17791 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17792 (bubbles--shift): Remove unused variable `char-org'.
17793 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17794 (bubbles--show-images): Remove unused variable `char'.
17795
17796 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17797 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17798 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17799 (decipher-analyze-buffer): Use ?\s.
17800 (decipher-make-checkpoint): Remove unused variable `mapping'.
17801
17802 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17803
17804 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17805 Remove unused variable `result'; use `let'.
17806
17807 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17808 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17809 (gametree-children-shown-p, gametree-compute-reduced-score):
17810 Use `ignore-errors'.
17811
17812 * play/handwrite.el (ps-lpr-switches): Declare.
17813 (handwrite): Remove unused variables `pmin' and `lastp'.
17814
17815 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17816
17817 * play/landmark.el (landmark-init-display)
17818 (landmark-update-naught-weights): Mark unused parameters.
17819 (landmark-y): Remove unused variable `noise'. Simplify.
17820 (landmark-human-plays): Remove unused variable `score'.
17821
17822 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17823 (mpuz-try-proposal): Remove unused variable `game'.
17824
17825 * play/zone.el (life-patterns): Declare.
17826
17827 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
17828
17829 * vc/vc.el (ediff-vc-internal): Declare function.
17830
17831 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17832
17833 * shell.el: Use lexical-binding and std completion UI.
17834 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17835 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17836 comint-preoutput-filter-functions rather than on
17837 comint-output-filter-functions.
17838 (shell-command-completion, shell--command-completion-data)
17839 (shell-filename-completion, shell-environment-variable-completion)
17840 (shell-c-a-p-replace-by-expanded-directory): New functions.
17841 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17842 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17843 (shell-dynamic-complete-environment-variable): Use them.
17844 (shell-dynamic-complete-as-environment-variable)
17845 (shell-dynamic-complete-as-command): Remove.
17846 (shell-match-partial-variable): Match past point.
17847 * comint.el: Clean up use of completion-at-point-functions.
17848 (comint-completion-at-point): New function.
17849 (comint-mode): Use it completion-at-point-functions.
17850 (comint-dynamic-complete): Make it obsolete.
17851 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17852 (comint-c-a-p-replace-by-expanded-history): New function.
17853 (comint-dynamic-complete-functions)
17854 (comint-replace-by-expanded-history): Use it.
17855 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17856 termination strings. Try harder to avoid second try-completion.
17857 (completion-in-region-mode-map): Disable bindings that don't work yet.
17858
17859 * comint.el: Use lexical-binding. Require CL.
17860 (comint-dynamic-complete-functions): Use comint-filename-completion.
17861 (comint-completion-addsuffix): Tweak custom type.
17862 (comint-filename-completion, comint--common-suffix)
17863 (comint--common-quoted-suffix, comint--table-subvert)
17864 (comint--complete-file-name-data): New functions.
17865 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17866 (comint-dynamic-list-filename-completions): Use them.
17867 (comint-dynamic-simple-complete): Make obsolete.
17868
17869 * minibuffer.el (completion-in-region-mode):
17870 Keep completion-in-region-mode--predicate global.
17871 (completion-in-region--postch):
17872 Assume completion-in-region-mode--predicate is not null.
17873
17874 * progmodes/flymake.el (flymake-start-syntax-check-process):
17875 Obey `dir'. Simplify.
17876
17877 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17878 we're in VC after all.
17879
17880 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17881
17882 * vc/vc.el (vc-diff-build-argument-list-internal)
17883 (vc-version-ediff, vc-ediff): New commands.
17884 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17885
17886 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17887
17888 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17889 add sanity check.
17890
17891 * obsolete/erc-hecomplete.el: Make obsolete.
17892 * obsolete/: Standardize obsolescence info in the header.
17893
17894 2011-04-20 Glenn Morris <rgm@gnu.org>
17895
17896 * calendar/solar.el (solar-horizontal-coordinates):
17897 Use the longitude argument rather than `calendar-longitude'.
17898 (solar-date-next-longitude): Remove unused locals.
17899
17900 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17901
17902 * whitespace.el: New version 13.2.1.
17903
17904 2011-04-20 felix <EmacsWiki> (tiny change)
17905
17906 * whitespace.el (global-whitespace-mode): Keep highlight when
17907 switching between major modes on a file.
17908
17909 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17910
17911 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17912 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17913 multi-line comments as well.
17914
17915 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
17916
17917 Lexical-binding cleanup.
17918
17919 * arc-mode.el (archive-mode-revert):
17920 * cmuscheme.el (scheme-interactively-start-process):
17921 * custom.el (custom-initialize-delay):
17922 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17923 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17924 * emacs-lock.el (emacs-lock-clear-sentinel):
17925 * ezimage.el (defezimage):
17926 * follow.el (follow-avoid-tail-recenter):
17927 * fringe.el (set-fringe-mode-1):
17928 * generic-x.el (bat-generic-mode-compile):
17929 * help-mode.el (help-info-variable, help-do-xref)
17930 (help-mode-revert-buffer):
17931 * help.el (view-emacs-todo):
17932 * iswitchb.el (iswitchb-completion-help):
17933 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17934 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17935 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17936 * locate.el (locate-update):
17937 * longlines.el (longlines-encode-region)
17938 (longlines-after-change-function):
17939 * outline.el (outline-isearch-open-invisible):
17940 * ps-def.el (declare-function, charset-dimension, char-width)
17941 (encode-char):
17942 * ps-mule.el (ps-mule-plot-string):
17943 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17944 (recentf-edit-list-select, recentf-edit-list-validate)
17945 (recentf-open-files-action):
17946 * rect.el (delete-whitespace-rectangle-line)
17947 (rectangle-number-line-callback):
17948 * register.el (window-configuration-to-register)
17949 (frame-configuration-to-register):
17950 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17951 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17952 (xselect-convert-to-targets, xselect-convert-to-delete)
17953 (xselect-convert-to-filename, xselect-convert-to-charpos)
17954 (xselect-convert-to-lineno, xselect-convert-to-colno)
17955 (xselect-convert-to-os, xselect-convert-to-host)
17956 (xselect-convert-to-user, xselect-convert-to-class)
17957 (xselect-convert-to-name, xselect-convert-to-integer)
17958 (xselect-convert-to-atom, xselect-convert-to-identity):
17959 * subr.el (declare, ignore, process-kill-without-query)
17960 (text-clone-maintain):
17961 * terminal.el (te-get-char, te-tic-sentinel):
17962 * tool-bar.el (tool-bar-make-keymap):
17963 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17964 * type-break.el (type-break-mode, type-break-noninteractive-query):
17965 * view.el (View-back-to-mark):
17966 * wid-browse.el (widget-browse-action, widget-browse-widget)
17967 (widget-browse-widgets, widget-browse-sexp):
17968 * widget.el (define-widget-keywords):
17969 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17970 Mark unused parameters.
17971
17972 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17973 (align-areas): Remove unused variable `look'.
17974 (align-region): Remove unused variables `real-end' and `pos-list'.
17975
17976 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17977
17978 * bindings.el (mode-line-modified, mode-line-remote):
17979 Mark unused parameters.
17980 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17981
17982 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17983 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17984
17985 * comint.el (comint-history-isearch-pop-state)
17986 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17987 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17988 (comint-substitute-in-file-name): Doc fix.
17989
17990 * completion.el (cmpl-statistics-block): Mark unused parameter.
17991 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17992 (save-completions-to-file, load-completions-from-file):
17993 Remove unused local variable `e'.
17994
17995 * composite.el (compose-chars): Remove unused variable `len'.
17996 (lgstring-insert-glyph): Remove unused variable `g'.
17997 (compose-glyph-string): Remove unused variables `ascent',
17998 `descent', `lbearing' and `rbearing'.
17999 (compose-glyph-string-relative): Remove unused variables
18000 `lbearing', `rbearing' and `wadjust'.
18001 (compose-gstring-for-graphic): Remove unused variables `header',
18002 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18003 (compose-gstring-for-terminal): Remove unused variables `header'
18004 and `nchars'. Use `let', not `let*'.
18005
18006 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18007 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18008 (Custom-buffer-done, custom-buffer-create-internal)
18009 (custom-browse-visibility-action, custom-browse-group-tag-action)
18010 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18011 (widget-magic-mouse-down-action, custom-toggle-parent)
18012 (custom-add-parent-links, custom-toggle-hide-variable)
18013 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18014 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18015 (custom-face-menu-create, custom-variable-menu-create, get)
18016 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18017 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18018 (customize-apropos): Remove unused variable `tests'.
18019 (custom-group-value-create): Remove unused variable `hidden-p'.
18020 (sort-fold-case): Declare.
18021
18022 * cus-theme.el (custom-reset-standard-faces-list)
18023 (custom-reset-standard-variables-list): Declare.
18024 (customize-create-theme, custom-theme-revert, custom-theme-write)
18025 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18026 Mark unused parameters.
18027
18028 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18029
18030 * delim-col.el (delimit-columns-max): Move defvar before first use.
18031
18032 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18033 (describe-char): Don't quote `lambda'. Mark unused parameter.
18034
18035 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18036 (auto-insert): Declare.
18037 (desktop-restore-file-buffer): Rename desktop-* parameters;
18038 mark unused ones.
18039 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18040 (desktop-buffer): Rename desktop-* parameters.
18041
18042 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18043 (dframe-reposition-frame-xemacs, dframe-help-echo)
18044 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18045 Mark unused parameters.
18046
18047 * dired-aux.el (backup-extract-version-start, overwrite-query)
18048 (overwrite-backup-query, rename-regexp-query)
18049 (rename-non-directory-query): Declare.
18050 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18051 (dired-add-entry): Remove unused variable `orig-file-name'.
18052 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18053 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18054 `dired-copy-preserve-time' directly.
18055 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18056 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18057
18058 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18059 (dired-virtual-revert, dired-make-relative-symlink):
18060 Mark unused parameters.
18061 (manual-program): Declare.
18062 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18063 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18064 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18065
18066 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18067
18068 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18069
18070 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18071 Declare.
18072
18073 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18074
18075 * electric.el (Electric-command-loop): Rename parameter
18076 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18077
18078 * expand.el (expand-in-literal): Remove unused variable `here'.
18079
18080 * facemenu.el (facemenu-add-new-color):
18081 Remove unused variable `docstring'.
18082
18083 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18084 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18085 (face-attr-construct): Mark unused parameter. Doc fix.
18086 (read-color): Remove unused variable `hex-string'.
18087
18088 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18089 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18090 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18091 (display-buffer-other-frame): Remove unused variable `old-window'.
18092 (kill-buffer-hook): Declare.
18093 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18094 Mark unused parameters.
18095 (after-find-file): Pass 1 to `auto-save-mode', not t.
18096
18097 * files-x.el (auto-insert): Declare.
18098 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18099
18100 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18101 variable `buf'. Mark unused parameter.
18102 (find-lisp-insert-directory): Mark unused parameter.
18103
18104 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18105 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18106 (format-common-tail): Remove, unused.
18107 (format-deannotate-region): Remove unused variable `loc'.
18108 (format-annotate-region): Remove unused variable `p'.
18109 (format-annotate-single-property-change): Remove unused variables
18110 `default' and `tail'.
18111
18112 * forms.el (read-file-filter): Declare.
18113 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18114
18115 * frame.el (frame-creation-function-alist): Mark unused parameter.
18116 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18117
18118 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18119 Remove unused parameters.
18120 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18121 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18122
18123 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18124 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18125 (hfy-prepare-tag-map): Mark unused parameters.
18126 (htmlfontify-buffer): Use `called-interactively-p'.
18127
18128 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18129 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18130 (ibuffer-do-occur): Mark unused parameters.
18131 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18132 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18133
18134 * ibuffer.el: Don't quote `lambda'.
18135 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18136 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18137 Mark unused parameters.
18138
18139 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18140 (ido-completing-read): Mark unused parameters.
18141 (ido-copy-current-word): Mark unused parameters;
18142 remove unused variable `name'.
18143 (ido-sort-merged-list): Remove unused parameter `dirs'.
18144
18145 * ielm.el (ielm-input-sender): Mark unused parameter.
18146 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18147 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18148 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18149 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18150 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18151
18152 * image-dired.el (image-dired-display-thumbs): Remove unused
18153 variables `curr-file' and `count'.
18154 (image-dired-remove-tag): Remove unused variable `start'.
18155 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18156 variable `curr-file'
18157 (image-dired-rotate-original): Remove unused variable `temp-file'.
18158 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18159 Remove unused variable `file'.
18160 (image-dired-gallery-generate): Remove unused variable `curr'.
18161 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18162
18163 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18164
18165 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18166
18167 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18168
18169 * isearch.el (minibuffer-history-symbol): Declare.
18170 (isearch-edit-string): Remove unused variable `err'.
18171 (isearch-message-prefix, isearch-message-suffix):
18172 Mark unused parameters.
18173
18174 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18175
18176 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18177
18178 * makesum.el (double-column): Remove unused variable `cnt'.
18179
18180 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18181 (ido-ignore-item-temp-list): Declare.
18182
18183 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18184 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18185 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18186 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18187 `mouse-col-delta'.
18188
18189 * mouse-sel.el (mouse-extend-internal):
18190 Remove unused variable `orig-window-frame'.
18191
18192 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18193 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18194 Move declarations before first use.
18195 (pcomplete-opt): Mark unused parameters; doc fix.
18196
18197 * proced.el (proced-revert): Mark unused parameter.
18198 (proced-send-signal): Remove unused variable `err'.
18199
18200 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18201 Rename parameter PREFIX-ARG to ARG.
18202 (ps-basic-plot-string, ps-basic-plot-whitespace):
18203 Mark unused parameters.
18204
18205 * replace.el (replace-count): Define.
18206 (occur-revert-function): Mark unused parameters.
18207 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18208 (isearch-case-fold-search, isearch-string): Declare.
18209 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18210 bind `case-fold-search'. Remove unused variables `beg' and `end',
18211 and simplify.
18212 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18213 COUNT and bind `replace-count'.
18214 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18215 to COUNT.
18216
18217 * savehist.el (print-readably, print-string-length): Declare.
18218
18219 * shadowfile.el (shadow-expand-cluster-in-file-name):
18220 Remove unused variable `cluster'.
18221 (shadow-copy-file): Remove unused variable `i'.
18222 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18223 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18224 (shadow-define-literal-group, shadow-define-regexp-group)
18225 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18226
18227 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18228 (shell): Use `called-interactively-p'.
18229 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18230
18231 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18232 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18233 (delete-backward-char): Remove unused variable `ocol'.
18234 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18235 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18236 (event-apply-hyper-modifier, event-apply-shift-modifier)
18237 (event-apply-control-modifier, event-apply-meta-modifier):
18238 Mark unused parameters.
18239 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18240 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18241
18242 * speedbar.el (speedbar-ignored-directory-expressions)
18243 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18244 (speedbar-find-file, speedbar-dir-follow)
18245 (speedbar-directory-buttons-follow, speedbar-tag-find)
18246 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18247 (speedbar-buffers-line-directory, speedbar-buffer-click):
18248 Mark unused parameters.
18249 (speedbar-tag-file): Remove unused variable `mode'.
18250 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18251
18252 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18253
18254 * talk.el (talk): Remove unused variable `display'.
18255
18256 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18257 (tar-write-region-annotate): Mark unused parameter.
18258
18259 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18260 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18261 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18262 warning by another.
18263
18264 * time-stamp.el (time-stamp-string-preprocess):
18265 Remove unused variable `require-padding'.
18266
18267 * tree-widget.el (widget-glyph-enable): Declare.
18268 (tree-widget-action): Mark unused parameter.
18269
18270 * w32-fns.el (x-get-selection): Mark unused parameter.
18271 (autoload-make-program, generated-autoload-file): Declare.
18272
18273 * wdired.el (wdired-revert): Mark unused parameters.
18274 (wdired-xcase-word): Remove unused variable `err'.
18275
18276 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18277 (whitespace-help-scroll): Remove unused variable `data-help'.
18278
18279 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18280 (widget-image-insert, widget-after-change, default)
18281 (widget-default-format-handler, widget-default-notify)
18282 (widget-default-prompt-value, widget-info-link-action)
18283 (widget-url-link-action, widget-function-link-action)
18284 (widget-variable-link-action, widget-file-link-action)
18285 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18286 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18287 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18288 (widget-insert-button-action, widget-delete-button-action, visibility)
18289 (widget-documentation-link-action, widget-documentation-string-action)
18290 (widget-const-prompt-value, widget-regexp-match, symbol)
18291 (widget-coding-system-prompt-value)
18292 (widget-key-sequence-value-to-external, sexp)
18293 (widget-sexp-value-to-internal, character, vector, cons)
18294 (widget-choice-prompt-value, widget-boolean-prompt-value)
18295 (widget-color--choose-action): Mark unused parameters.
18296 (widget-item-match-inline, widget-choice-match-inline)
18297 (widget-checklist-match, widget-checklist-match-inline)
18298 (widget-group-match): Rename parameter VALUES to VALS.
18299 (widget-field-value-set): Remove unused variable `size'.
18300 (widget-color-action): Remove unused variables `value' and `start'.
18301
18302 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18303 variable `dir'. Doc fix.
18304 (windmove-find-other-window): Don't pass it.
18305
18306 * window.el (count-windows): Mark unused parameter.
18307 (bw-adjust-window): Remove unused variable `err'.
18308
18309 * woman.el (woman-file-name): Remove unused variable `default'.
18310 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18311 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18312 (global-font-lock-mode): Declare.
18313 (woman-decode-region): Mark unused parameter.
18314 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18315
18316 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18317 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18318 (x-dnd-handle-moz-url): Remove unused variable `title'.
18319 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18320
18321 * xml.el (xml-parse-tag, xml-parse-attlist):
18322 Remove unused variable `pos'.
18323
18324 2011-04-19 Glenn Morris <rgm@gnu.org>
18325
18326 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18327 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18328 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18329 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18330 * calendar/cal-html.el (cal-html-insert-minical):
18331 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18332 (calendar-mark-date-pattern):
18333 Prefix "unused" locals.
18334
18335 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18336 optional argument `style'.
18337
18338 * calendar/appt.el (appt-make-list):
18339 * calendar/cal-china.el (calendar-chinese-date-string):
18340 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18341 (diary-hebrew-yahrzeit):
18342 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18343 * calendar/calendar.el (calendar-generate-window):
18344 * calendar/time-date.el (time-to-days):
18345 Remove unused local variables.
18346
18347 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18348
18349 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18350 glyphless-char-display table.
18351 (tabulated-list-glyphless-char-display): New var.
18352
18353 2011-04-18 Sam Steingold <sds@gnu.org>
18354
18355 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18356 to acknowledgments.
18357
18358 2011-04-17 Glenn Morris <rgm@gnu.org>
18359
18360 * calendar/diary-lib.el (diary-sexp-entry):
18361 * calendar/holidays.el (holiday-sexp):
18362 Set debug-on-error rather than the removed stack-trace-on-error.
18363
18364 2011-04-16 Glenn Morris <rgm@gnu.org>
18365
18366 * progmodes/f90.el: Use lexical-binding.
18367 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18368
18369 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18370
18371 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18372 (mail-mode): Setup mailalias completion here instead.
18373 * mail/mailalias.el: Use lexical-binding.
18374 (pattern, mailalias-done): Declare dynamic.
18375 (mail-completion-at-point-function): New function, from mail-complete.
18376 (mail-complete): Use it.
18377 (mail-completion-expand): New function.
18378 (mail-get-names): Use it.
18379 (mail-directory, mail-directory-process, mail-directory-stream):
18380 Don't use `pattern' for lexically bound arg.
18381
18382 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18383
18384 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18385 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18386 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18387
18388 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18389 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18390 (byte-interactive-p): Define them again, for use when inlining
18391 old code.
18392
18393 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18394
18395 * loadup.el: Use `string-to-number', not `string-to-int'.
18396
18397 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18398
18399 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18400 gud-gdb-complete-command.
18401 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18402 (gud-gdb-completion-at-point): New function.
18403 (gud-gdb-completions): Remove.
18404
18405 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18406
18407 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18408 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18409 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18410 whether `executable-find' is bound.
18411
18412 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18413
18414 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18415
18416 * minibuffer.el (completion-in-region-mode-predicate)
18417 (completion-in-region-mode--predicate): New vars.
18418 (completion-in-region, completion-in-region--postch)
18419 (completion-in-region-mode): Use them.
18420 (completion--capf-wrapper): Also return the hook function.
18421 (completion-at-point, completion-help-at-point):
18422 Adjust and provide a predicate.
18423
18424 Preserve arg names for advice of subr and lexical functions (bug#8457).
18425 * help-fns.el (help-function-arglist): Consolidate the subr and
18426 new-byte-code cases. Add argument `preserve-names' to extract names
18427 from the docstring when needed.
18428 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18429 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18430 (ad-arglist): Use help-function-arglist's new arg.
18431 (ad-definition-type): Use cond.
18432
18433 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18434
18435 * autorevert.el (auto-revert-handler):
18436 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18437 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18438 Don't quote lambda.
18439
18440 * image-mode.el (image-transform-set-scale):
18441 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18442
18443 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18444
18445 * net/network-stream.el (network-stream-open-starttls): Only do
18446 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18447 Upgrades via gnutls-cli are too slow to be done opportunistically.
18448
18449 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18450
18451 * dframe.el (dframe-current-frame): Remove spurious quote.
18452
18453 2011-04-12 Glenn Morris <rgm@gnu.org>
18454
18455 * calendar/cal-tex.el (cal-tex-end-document):
18456 Try to automatically use latin1 input if needed.
18457
18458 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18459 Don't try to cons a mark onto an empty element.
18460
18461 2011-04-11 Leo Liu <sdl.web@gmail.com>
18462
18463 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18464 buffers.
18465 (ido-kill-buffer-at-head): Support killing virtual buffers.
18466
18467 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18468
18469 * minibuffer.el (completion-show-inline-help): New var.
18470 (completion--do-completion, minibuffer-complete)
18471 (minibuffer-force-complete, minibuffer-complete-word):
18472 Inhibit minibuffer messages if completion-show-inline-help is nil.
18473
18474 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18475 to avoid interference from inline help (Bug#5849).
18476
18477 2011-04-10 Leo Liu <sdl.web@gmail.com>
18478
18479 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18480 Fix typo.
18481
18482 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18483
18484 * image-mode.el (image-toggle-display-image): Signal an error if
18485 not in Image mode.
18486 (image-transform-mode, image-transform-resize)
18487 (image-transform-set-rotation): Doc fix.
18488 (image-transform-set-resize): Delete.
18489 (image-transform-set-scale, image-transform-fit-to-height)
18490 (image-transform-fit-to-width): Handle image-toggle-display-image
18491 and image-transform-resize directly.
18492
18493 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18494
18495 * doc-view.el (doc-view-fit-width-to-window)
18496 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18497 New functions for fitting the shown image to the Emacs window size.
18498 (doc-view-mode-map): Add bindings for the new functions.
18499
18500 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18501
18502 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18503 Fix typo in docstring.
18504
18505 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18506
18507 * files.el (file-size-human-readable): Produce one digit after
18508 decimal, like "ls -lh" does.
18509
18510 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18511 the file size representation.
18512
18513 * simple.el (list-processes): If async subprocesses are not
18514 available, error out with a clear error message.
18515
18516 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18517
18518 * help.el (help-form-show): New function, to be called from C.
18519 Put help-form output in a buffer named differently than *Help*.
18520
18521 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18522
18523 * files.el (file-size-human-readable): New function.
18524
18525 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18526 computing the representation inline. Don't require `cl'.
18527
18528 2011-04-08 Glenn Morris <rgm@gnu.org>
18529
18530 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18531
18532 * net/browse-url.el (browse-url-firefox):
18533 Test system-type, not system-configuration.
18534
18535 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18536 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18537 Use log-edit-empty-buffer-p. (Bug#7598)
18538
18539 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18540 (rlogin-mode-map): Initialize in the defvar.
18541 (rlogin): Use ignore-errors.
18542
18543 * replace.el (occur-mode-map): Some fixes for menu items.
18544
18545 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18546
18547 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18548
18549 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18550
18551 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18552 issuing unused warnings.
18553
18554 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18555 macro directly.
18556
18557 * simple.el: Lisp reimplement of list-processes. Based on an
18558 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18559 (process-menu-mode): New major mode.
18560 (list-processes--refresh, list-processes):
18561 (process-menu-visit-buffer): New functions.
18562
18563 * files.el (save-buffers-kill-emacs): Don't assume any return
18564 value of list-processes, which is undocumented anyway.
18565
18566 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18567
18568 * emacs-lisp/tabulated-list.el: New file.
18569
18570 * emacs-lisp/package.el: Use Tabulated List mode.
18571 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18572 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18573 table format using Tabulated List mode variables.
18574 (package--push): New macro, replacing package-list-maybe-add.
18575 (package-menu--generate): Use package--push. Renamed from
18576 package--generate-package-list.
18577 (package-menu-refresh, list-packages): Use it.
18578 (package-menu--print-info): Rename from package-print-package.
18579 Return insertion data instead of inserting it directly.
18580 (package-menu-describe-package, package-menu-execute):
18581 Use tabulated-list-get-id.
18582 (package-menu-mark-delete, package-menu-mark-install)
18583 (package-menu-mark-unmark, package-menu-backup-unmark)
18584 (package-menu-mark-obsolete-for-deletion):
18585 Use tabulated-list-put-tag.
18586 (package--list-packages, package-menu-revert)
18587 (package-menu-get-package, package-menu-get-version)
18588 (package-menu-sort-by-column): Functions deleted.
18589 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18590 (package-menu--status-predicate, package-menu--version-predicate)
18591 (package-menu--name-predicate)
18592 (package-menu--description-predicate): Handle arguments in the
18593 Tabulated List format.
18594 (package-list-packages-no-fetch): Call list-packages.
18595
18596 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
18597
18598 * files.el (after-find-file-from-revert-buffer): Remove variable.
18599 (after-find-file): Don't bind it.
18600 (revert-buffer-in-progress-p): New variable.
18601 (revert-buffer): Bind it.
18602 Pass nil for `after-find-file-from-revert-buffer'.
18603
18604 * saveplace.el (save-place-find-file-hook): Use new variable
18605 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18606
18607 2011-04-06 Glenn Morris <rgm@gnu.org>
18608
18609 * Makefile.in (AUTOGEN_VCS): New variable.
18610 (autoloads): Use $AUTOGEN_VCS.
18611
18612 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18613 * calendar/calendar.el (calendar-mode-map):
18614 Check for toolkit scroll bars. (Bug#8305)
18615
18616 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18617
18618 * minibuffer.el (completion-in-region--postch)
18619 (completion-in-region-mode): Remove unnecessary messages.
18620
18621 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
18622
18623 * font-lock.el (font-lock-refresh-defaults):
18624 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18625 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18626
18627 * info.el (Info-directory-list, Info-read-node-name-2)
18628 (Info-split-parameter-string): Doc fixes.
18629 (Info-virtual-nodes): Reflow docstring.
18630 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18631 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18632 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18633 Fix typos in docstrings.
18634 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18635 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18636 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18637 (Info-restore-desktop-buffer): Mark unused parameters.
18638 (Info-directory-find-file, Info-directory-find-node)
18639 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18640 (Info-virtual-index-find-node, Info-apropos-find-file)
18641 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18642 Mark unused parameters; fix typos in docstrings.
18643 (Info-virtual-index): Remove unused local variable `nodename'.
18644
18645 2011-04-05 Deniz Dogan <deniz@dogan.se>
18646
18647 * net/rcirc.el: Update my e-mail address.
18648 (rcirc-mode-map): Remove M-o binding.
18649
18650 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18651
18652 * startup.el (command-line): Save the cursor's theme-face
18653 directly, instead of using face-override-spec.
18654
18655 * custom.el (load-theme): Minor optimization in assigning faces.
18656
18657 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18658
18659 * help-fns.el (describe-variable): Complete all variables having
18660 documentation, including keywords.
18661 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18662
18663 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18664
18665 Convert to lexical-binding.
18666
18667 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18668 (bs--get-marked-string, bs--get-modified-string)
18669 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18670 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18671 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18672
18673 * ehelp.el (electric-help-execute-extended)
18674 (electric-help-ctrl-x-prefix):
18675 * hexl.el (hexl-revert-buffer-function):
18676 * linum.el (linum-after-change, linum-after-scroll):
18677 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18678
18679 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18680
18681 2011-04-04 Daiki Ueno <ueno@unixuser.org>
18682
18683 * epa-dired.el:
18684 * epa-mail.el:
18685 * epa-hook.el:
18686 * epa-file.el:
18687 * epa.el:
18688 * epg.el: Use lexical binding.
18689
18690 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
18691
18692 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18693
18694 * textmodes/flyspell.el (flyspell-word): Recognize default
18695 dictionary case for flyspell-mark-duplications-exceptions.
18696 Use regexp matching for languages.
18697 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18698 default dictionary (Bug#7926).
18699
18700 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
18701
18702 * emacs-lisp/package.el (package--with-work-buffer):
18703 Recognize https URLs.
18704
18705 * net/network-stream.el: Move from gnus/proto-stream.el.
18706 Change prefix to network-stream throughout.
18707 (open-protocol-stream): Merge into open-network-stream, leaving
18708 open-protocol-stream as an alias. Handle nil BUFFER args.
18709
18710 * subr.el (open-network-stream): Move to net/network-stream.el.
18711
18712 2011-04-02 Glenn Morris <rgm@gnu.org>
18713
18714 * find-dired.el (find-exec-terminator): New option.
18715 (find-ls-option): Test for -ls support.
18716 (find-ls-subdir-switches): Test for -b in find-ls-option.
18717 (find-dired, find-grep-dired): Doc fixes.
18718 (find-dired): Use find-exec-terminator.
18719
18720 * find-dired.el (find-ls-option, find-ls-subdir-switches)
18721 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18722 (find-name-arg): Remove purecopy.
18723
18724 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18725 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18726 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18727 accordingly. Don't add the null-device if not needed.
18728
18729 * files.el (save-some-buffers): Doc fix.
18730
18731 2011-04-02 Eli Zaretskii <eliz@gnu.org>
18732
18733 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18734
18735 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
18736
18737 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18738 Use `dolist' rather than `mapcar'.
18739
18740 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18741
18742 Add lexical binding.
18743
18744 * subr.el (apply-partially): Use new closures rather than CL.
18745 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18746 (dolist, dotimes): Use slightly different expansion for lexical code.
18747 (functionp): Move to C.
18748 (letrec): New macro.
18749 (with-wrapper-hook): Use it and apply-partially instead of CL.
18750 (eval-after-load): Preserve lexical-binding.
18751 (save-window-excursion, with-output-to-temp-buffer): Turn them
18752 into macros.
18753
18754 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18755
18756 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18757 than the arglist.
18758 (help-add-fundoc-usage): Don't add `Not documented'.
18759 (help-function-arglist): Handle closures, subroutines, and new
18760 byte-code-functions.
18761 (help-make-usage): Remove leading underscores.
18762 (describe-function-1): Handle closures.
18763 (describe-variable): Use special-variable-p for completion.
18764
18765 * files.el (lexical-binding): Declare safe.
18766
18767 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18768 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18769 (pcase): Add `let' pattern.
18770 Change memoization so it actually works.
18771 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18772 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18773 <let>: New case.
18774
18775 * emacs-lisp/macroexp.el: Use lexical binding.
18776 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18777 Don't convert ' to #' without checking that it's indeed quoting
18778 a lambda.
18779
18780 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18781 Use eval-sexp-add-defvars.
18782 (eval-sexp-add-defvars): New fun.
18783
18784 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18785
18786 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18787 Don't autoload.
18788 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18789 than the internal `byte-compile-lambda'.
18790 (defmethod): Don't hide code under quotes.
18791 (eieio-defmethod): New `code' argument.
18792
18793 * emacs-lisp/eieio-comp.el: Remove.
18794
18795 * emacs-lisp/edebug.el (edebug-eval-defun)
18796 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18797 (edebug-toggle): Avoid `eval'.
18798
18799 * emacs-lisp/disass.el (disassemble-internal): Handle new
18800 `closure' objects.
18801 (disassemble-1): Handle new byte codes.
18802
18803 * emacs-lisp/cl.el (pushnew): Silence warning.
18804
18805 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18806 (cl-byte-compile-throw): Remove.
18807 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18808
18809 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18810 closures.
18811
18812 * emacs-lisp/cconv.el: New file.
18813
18814 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18815 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18816 (byte-compile-initial-macro-environment):
18817 Handle declare-function here.
18818 (byte-compile--lexical-environment): New var.
18819 (byte-stack-ref, byte-stack-set, byte-discardN)
18820 (byte-discardN-preserve-tos): New lap codes.
18821 (byte-interactive-p): Don't use any more.
18822 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18823 New macros.
18824 (byte-compile-lapcode): Use them and handle new lap codes.
18825 (byte-compile-obsolete): Remove.
18826 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18827 (byte-compile-arglist-warn): Check late def of inlinable funs.
18828 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18829 since they should have been expanded by now.
18830 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18831 (byte-compile-from-buffer): Remove unused second arg.
18832 (byte-compile-preprocess): New function.
18833 (byte-compile-toplevel-file-form): New function to distinguish
18834 file-form calls from outside from file-form calls from hunk-handlers.
18835 (byte-compile-file-form): Simplify.
18836 (byte-compile-file-form-defsubst): Remove.
18837 (byte-compile-file-form-defmumble): Simplify now that
18838 byte-compile-lambda always returns a byte-code-function.
18839 (byte-compile): Preprocess.
18840 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18841 Remove, not used any more.
18842 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18843 (byte-compile-make-args-desc): New funs.
18844 (byte-compile-lambda): Handle lexical functions. Always return
18845 a byte-code-function.
18846 (byte-compile-reserved-constants): New var, to make up room for
18847 closed-over variables.
18848 (byte-compile-constants-vector): Obey it.
18849 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18850 (byte-compile-macroexpand-declare-function): New function.
18851 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18852 byte-code-functions.
18853 (byte-compile-form): Check obsolescence here.
18854 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18855 (byte-compile-variable-ref): Remove.
18856 (byte-compile-dynamic-variable-op): New fun.
18857 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18858 (byte-compile-variable-set): New funs.
18859 (byte-compile-discard): Add 2 args.
18860 (byte-compile-stack-ref, byte-compile-stack-set)
18861 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18862 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18863 macroexpand-all instead.
18864 (byte-compile-quote-form): Remove.
18865 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18866 (byte-compile-bind, byte-compile-unbind): New funs.
18867 (byte-compile-let): Handle let* and lexical binding.
18868 (byte-compile-let*): Remove.
18869 (byte-compile-catch, byte-compile-unwind-protect)
18870 (byte-compile-track-mouse, byte-compile-condition-case):
18871 Handle a new :fun-body form, used for lexical scoping.
18872 (byte-compile-save-window-excursion)
18873 (byte-compile-with-output-to-temp-buffer): Remove.
18874 (byte-compile-defun): Simplify.
18875 (byte-compile-stack-adjustment): New fun.
18876 (byte-compile-out): Use it.
18877 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18878
18879 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18880 handler any more.
18881
18882 * emacs-lisp/byte-opt.el: Use lexical binding.
18883 (byte-inline-lapcode): Remove (to bytecomp).
18884 (byte-compile-inline-expand): Pay attention to inlining to/from
18885 lexically bound code.
18886 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18887 any more.
18888 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18889 any more and don't call compiler-macros.
18890 (byte-compile-splice-in-already-compiled-code): Remove.
18891 (byte-code): Don't inline any more.
18892 (disassemble-offset): Receive `bytes' as argument rather than via
18893 dynamic scoping.
18894 (byte-compile-tag-number): Declare before first use.
18895 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18896 `return' even if make-spliceable.
18897 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18898 obsolete interactive-p.
18899 (byte-optimize-lapcode): Optimize new lap-codes.
18900 Don't trip up on new form of `byte-constant' lap code.
18901
18902 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18903
18904 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18905
18906 * custom.el (custom-initialize-default, custom-declare-variable):
18907 Use `defvar'.
18908
18909 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18910 New variables.
18911 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18912 (COMPILE_FIRST): Add macroexp and cconv.
18913 * makefile.w32-in: Mirror changes in Makefile.in.
18914
18915 * vc/cvs-status.el:
18916 * vc/diff-mode.el:
18917 * vc/log-edit.el:
18918 * vc/log-view.el:
18919 * vc/smerge-mode.el:
18920 * textmodes/bibtex-style.el:
18921 * textmodes/css-mode.el:
18922 * startup.el:
18923 * uniquify.el:
18924 * minibuffer.el:
18925 * newcomment.el:
18926 * reveal.el:
18927 * server.el:
18928 * mpc.el:
18929 * emacs-lisp/smie.el:
18930 * doc-view.el:
18931 * dired.el:
18932 * abbrev.el: Use lexical binding.
18933
18934 2011-04-01 Eli Zaretskii <eliz@gnu.org>
18935
18936 * info.el (info-display-manual): New function.
18937
18938 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18939
18940 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18941
18942 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18943
18944 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18945 an entry for that server in rcirc-authinfo. (Bug#8385)
18946
18947 2011-03-31 Glenn Morris <rgm@gnu.org>
18948
18949 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18950
18951 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18952
18953 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18954
18955 * progmodes/python.el (python-default-interpreter)
18956 (python-python-command-args, python-jython-command-args)
18957 (python-which-shell, python-which-args, python-which-bufname)
18958 (python-file-queue, python-comint-output-filter-function)
18959 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18960 variables and functions.
18961
18962 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18965 (completion-in-region-mode): New minor mode.
18966 (completion-in-region): Use it.
18967 (completion-in-region--data, completion-in-region-mode-map): New vars.
18968 (completion-in-region--postch): New function.
18969 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18970 New vars.
18971 (completion--capf-wrapper): New function.
18972 (completion-at-point): Use it to track well-behavedness of
18973 hook functions.
18974 (completion-help-at-point): New command.
18975
18976 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18977
18978 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18979 syntax class to search for whitespace on a single line
18980 (Message-ID: <4D938140.4030905@redhat.com>).
18981
18982 2011-03-30 Leo Liu <sdl.web@gmail.com>
18983
18984 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18985 New commands.
18986 (edit-abbrevs-map): Bind them here.
18987 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18988
18989 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18990
18991 * allout.el (allout-hide-by-annotation, allout-flag-region):
18992 Reduce possibility of overlay leakage by making them volatile.
18993
18994 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18995 hash is not shared between buffers. Mode initialization is
18996 responsible for giving it a useful starting value.
18997 (allout-item-span): Reduce possibility of overlay leakage by
18998 making them volatile.
18999 (allout-widgets-count-buttons-in-region): Add diagnostic function
19000 for tracking down button overlay leaks.
19001
19002 2011-03-29 Leo Liu <sdl.web@gmail.com>
19003
19004 * ido.el (ido-read-internal): Use the default history var
19005 minibuffer-history if no HISTORY is specified.
19006
19007 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19008
19009 * net/imap.el (imap-shell-open, imap-process-connection-type):
19010 Use imap-process-connection-type for 'shell' streams as well as
19011 Kerberos, SSL, other subprocesses.
19012
19013 2011-03-28 Leo Liu <sdl.web@gmail.com>
19014
19015 * abbrev.el (abbrev-table-empty-p): New function.
19016 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19017 nonempty ones. (Bug#5937)
19018
19019 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19020
19021 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19022
19023 2011-03-27 Leo Liu <sdl.web@gmail.com>
19024
19025 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19026 for foreground and background colors.
19027 (ansi-color-make-color-map): Adapt.
19028
19029 2011-03-25 Leo Liu <sdl.web@gmail.com>
19030
19031 * midnight.el (midnight-time-float): Remove. Note it calculates
19032 the microsecond component incorrectly and seconds-to-time does the
19033 same job.
19034 Remove redundant (require 'timer).
19035
19036 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19037 (ido-completions): Remove unused arguments. (Bug#8329)
19038
19039 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19040
19041 * minibuffer.el (completion--flush-all-sorted-completions):
19042 Remove itself from hook.
19043 (completion-at-point): Let the functions perform the completion
19044 immediately and return nil or t.
19045 * comint.el (comint-dynamic-complete-functions): Now identical to
19046 completion-at-point-functions.
19047 (comint-dynamic-list-input-ring): Remove unused var `index'.
19048 (comint--match-partial-filename, comint--unquote&expand-filename):
19049 New funs, split from comint-match-partial-filename.
19050 (comint-dynamic-complete): Use completion-at-point.
19051 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19052
19053 2011-03-24 Drew Adams <drew.adams@oracle.com>
19054
19055 * thingatpt.el: Support `defun'.
19056
19057 2011-03-23 Leo Liu <sdl.web@gmail.com>
19058
19059 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19060
19061 * help-mode.el (help-mode-finish): Tweak regexp.
19062
19063 2011-03-23 Glenn Morris <rgm@gnu.org>
19064
19065 * eshell/esh-opt.el (eshell-eval-using-options):
19066 Do not bind unused local variable `eshell-option-stub'.
19067
19068 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19069
19070 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19071
19072 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19073 keymap variable in `with-no-warnings' to avoid a warning when the
19074 keymap has been already `defconst'ed.
19075
19076 2011-03-22 Leo Liu <sdl.web@gmail.com>
19077
19078 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19079 encode all chars in abbrevs; otherwise use emacs-mule or
19080 utf-8-emacs. (Bug#8308)
19081
19082 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19083
19084 * simple.el (backward-delete-char-untabify):
19085 Avoid warning about using `delete-backward-char'.
19086
19087 * image.el (image-type-file-name-regexps): Make it variable.
19088 `imagemagick-register-types' modifies it, and the user may want
19089 to add new extensions for known image types.
19090 (imagemagick-register-types): Throw error if not using ImageMagick.
19091
19092 2011-03-22 Leo Liu <sdl.web@gmail.com>
19093
19094 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19095 located before rcirc-prompt-end-marker.
19096 (rcirc-complete): Error if point is not after rcirc prompt.
19097 Handle the case when table is nil.
19098 (rcirc-user-authenticated): Define to fix compiler warning.
19099
19100 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19101
19102 * custom.el (custom--inhibit-theme-enable): Make it affect only
19103 custom-theme-set-variables and custom-theme-set-faces.
19104 (provide-theme): Ignore custom--inhibit-theme-enable.
19105 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19106 (custom-enabling-themes): Delete variable.
19107 (enable-theme): Accept only loaded themes as arguments.
19108 Ignore the special custom-enabled-themes variable.
19109 (custom-enabled-themes): Forbid themes from setting this.
19110 Eliminate use of custom-enabling-themes.
19111 (custom-push-theme): Quote "changed" custom var entry.
19112
19113 2011-03-21 Leo Liu <sdl.web@gmail.com>
19114
19115 * ido.el (ido-read-internal): Add ido-selected to history instead
19116 of user input.
19117
19118 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19119
19120 * subr.el (deferred-action-list, deferred-action-function):
19121 Mark obsolete.
19122
19123 2011-03-21 Leo Liu <sdl.web@gmail.com>
19124
19125 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19126 change on 2011-02-13 (bug#8309).
19127
19128 * minibuffer.el (read-file-name-function): Change default value.
19129 (read-file-name--defaults): Rename from read-file-name-defaults.
19130 (read-file-name-default): Rename from read-file-name.
19131 (read-file-name): Call read-file-name-function.
19132
19133 2011-03-21 Glenn Morris <rgm@gnu.org>
19134
19135 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19136 Doc fixes.
19137
19138 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19139
19140 * cus-theme.el: Add missing provide statement.
19141 (customize-create-theme): Extract theme value correctly.
19142 (custom-theme-visit-theme): Autoload.
19143 (customize-create-theme): Prompt before inserting default faces.
19144
19145 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19146
19147 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19148 units and musical notes.
19149
19150 2011-03-20 Leo Liu <sdl.web@gmail.com>
19151
19152 * ido.el (ido-read-internal): Use completing-read-default.
19153 (ido-completing-read): Fix compatibility with completing-read.
19154
19155 2011-03-20 Christian Ohler <ohler@gnu.org>
19156
19157 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19158 (ert-delete-all-tests): Use `called-interactively-p' rather than
19159 `interactive-p'.
19160 (ert--make-xrefs-region): Respect END.
19161
19162 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19163
19164 * dired-aux.el (dired-create-directory): Signal an error if the
19165 directory already exists (Bug#8246).
19166
19167 * facemenu.el (list-colors-display): Call list-faces-display
19168 inside with-help-window.
19169 (list-colors-print): Use display property to align the final
19170 column, instead of checking window-width.
19171
19172 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19173
19174 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19175 windows-nt systems.
19176 (emerge-protect-metachars): Quote correctly for ms-dos and
19177 windows-nt systems.
19178
19179 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19180
19181 * info.el (info-initialize): Replace all uses of `:' with
19182 path-separator for compatibility with non-Unix systems.
19183 Cache quoting of path-separator. (Bug#8258)
19184
19185 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19186
19187 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19188 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19189 (mouse-avoidance-mode): Fix typos in docstrings.
19190
19191 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19192
19193 * startup.el (package-subdirectory-regexp): Move from package.el.
19194 Omit \\` and \\', and let callers add them.
19195
19196 * emacs-lisp/package.el (package-strip-version)
19197 (package-load-all-descriptors): Add \\` and \\' to
19198 package-subdirectory-regexp before using it.
19199 (package-untar-buffer): New arg DIR; ensure that file untars only
19200 into this expected directory. Remove superfluous delete-region.
19201 (package-unpack): Caller changed.
19202 (package-tar-file-info): Use package-subdirectory-regexp.
19203
19204 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19205
19206 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19207 diff-mode-shared-map (bug#8284).
19208 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19209
19210 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19211
19212 * calendar/time-date.el (format-seconds): Use assoc instead of
19213 assoc-string, since assoc-string doesn't exist in XEmacs.
19214
19215 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19216
19217 * custom.el (custom-known-themes): Reflow docstring.
19218 (custom-theme-load-path): Fix typo in docstring.
19219 (load-theme): Fix typo in error message.
19220 (custom-available-themes, custom-variable-theme-value):
19221 Use `let', not `let*'.
19222
19223 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19224
19225 * calc/README: Mention inclusion of musical notes.
19226
19227 * calc/calc-units.el (calc-lu-quant): Rename from
19228 `calc-logunits-quantity'.
19229 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19230 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19231 (calc-db): Rename from `calc-dblevel'.
19232 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19233 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19234 (calc-np): Rename from `calc-nplevel'.
19235 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19236 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19237 (calc-lu-plus): Rename from `calc-logunits-add'.
19238 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19239 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19240 (calc-lu-minus): Rename from `calc-logunits-sub'.
19241 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19242 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19243 (calc-lu-times): Rename from `calc-logunits-mul'.
19244 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19245 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19246 (calc-lu-divide): Rename from `calc-logunits-div'.
19247 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19248 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19249
19250 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19251 functions being autoloaded.
19252
19253 * calc/calc.el (calc-lu-power-reference): Rename from
19254 `calc-logunits-power-reference'.
19255 (calc-lu-field-reference): Rename from
19256 `calc-logunits-field-reference'.
19257
19258 * calc/calc-help.el (calc-l-prefix-help):
19259 Mention musical note functions.
19260
19261 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19262
19263 * minibuffer.el (completion-all-sorted-completions):
19264 Use :completion-cycle-penalty text property if present.
19265
19266 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19267
19268 * allout.el (allout-yank-processing): Adjust for new rebulleting
19269 regime so bullet being yanked is used without prompting the user
19270 for a choice.
19271
19272 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19273
19274 * startup.el (command-line): Warn the user that _emacs is deprecated.
19275
19276 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19277
19278 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19279 (delphi-verbose, delphi-comment-face, delphi-string-face)
19280 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19281 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19282 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19283 (delphi-new-comment-line, delphi-font-lock-defaults)
19284 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19285 Fix typos in docstrings.
19286
19287 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19288
19289 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19290 Invert the roles of character and string values for INSTEAD, so a
19291 string is used for the more common case of a defaulting prompt.
19292
19293 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19294
19295 * progmodes/ruby-mode.el (ruby-backward-sexp):
19296 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19297 * play/gamegrid.el (gamegrid-make-face):
19298 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19299 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19300 * notifications.el (notifications-notify):
19301 * net/xesam.el (xesam-search-engines):
19302 * net/quickurl.el (quickurl-list-insert):
19303 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19304
19305 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19306
19307 * startup.el (command-line): Update package subdirectory regexp.
19308
19309 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * allout.el (allout-abbreviate-flattened-numbering)
19312 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19313
19314 * subr.el (read-char-choice): Only show the cursor after the prompt,
19315 not after the answer.
19316
19317 2011-03-15 Kevin Ryde <user42@zip.com.au>
19318
19319 * help-fns.el (variable-at-point): Skip leading quotes, if any
19320 (bug#8253).
19321
19322 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19323
19324 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19325 warning message.
19326
19327 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19328
19329 * shell.el (shell): When called interactively, offer to change the
19330 shell file name on remote hosts.
19331
19332 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19333
19334 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19335 integration for LDAP parameters. The host, base, user or binddn,
19336 and secret tokens can be specified in a netrc file, for instance.
19337 This is optional because an `auth-source' parameter must be
19338 specified in the search attributes.
19339
19340 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19341
19342 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19343
19344 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19345
19346 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19347 into declaration. Remove redundant and harmful binding.
19348
19349 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19350
19351 * files.el (file-ownership-preserved-p): Pass `integer' as an
19352 explicit 2nd argument to `file-attributes'. If the file's owner
19353 is the Administrators group on Windows, and the current user is
19354 Administrator, consider that a match.
19355
19356 * server.el (server-ensure-safe-dir): Consider server directory
19357 safe on MS-Windows if its owner is the Administrators group while
19358 the current Emacs user is Administrator. Use `=' to compare
19359 numerical UIDs, since they could be integers or floats.
19360
19361 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19362
19363 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19364
19365 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19366
19367 Sync with Tramp 2.2.1.
19368
19369 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19370
19371 * net/trampver.el: Update release number.
19372
19373 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19374
19375 * progmodes/compile.el (compilation--previous-directory): Fix up
19376 various nil/dead-marker mismatches (bug#8014).
19377 (compilation-directory-properties, compilation-error-properties):
19378 Don't call it at a position past the one we're about to change.
19379
19380 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19381 Disable obsolescence warnings in the file that declares it.
19382
19383 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19384
19385 * allout-widgets.el (allout-widgets-tally):
19386 Initialize allout-widgets-tally as a hash table rather than nil to
19387 prevent mode-line redisplay warnings. Also, clarify the module
19388 description and fix a comment typo.
19389
19390 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19391
19392 * help-fns.el (describe-variable): Don't complete keywords.
19393 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19394
19395 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19396
19397 * emacs-lisp/package.el (package-version-join): Impose a standard
19398 string representation for pre/alpha/beta version lists.
19399 (package-unpack-single): Standardize the directory name by passing
19400 it through package-version-join.
19401 (package-strip-rcs-id): Accept any version string that does not
19402 signal an error in version-to-list.
19403
19404 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19405
19406 * simple.el (delete-trailing-whitespace): Return nil for the
19407 benefit of `write-file-functions'.
19408
19409 2011-03-10 Glenn Morris <rgm@gnu.org>
19410
19411 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19412
19413 * vc/vc-git.el (vc-git-program): New option.
19414 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19415 (vc-git--call): Use it.
19416
19417 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19418
19419 * cus-edit.el (Custom-newline): If no button at point, look
19420 for a subgroup button at start-of-line. (Bug#2298)
19421
19422 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19423
19424 2011-03-10 Julien Danjou <julien@danjou.info>
19425
19426 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19427 `cursor-type' is nil.
19428
19429 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19430
19431 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19432
19433 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19434
19435 * allout.el: Change so yank of distinctive-bullet items
19436 preserves the existing header prefix, rebulleting it if necessary,
19437 rather than replacing it. This is necessary for proper operation
19438 of cooperative addons like allout-widgets.
19439 (allout-make-topic-prefix, allout-rebullet-heading):
19440 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19441 value as alternate bullet to be used, instead of prompting the user
19442 for a bullet character.
19443
19444 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19445
19446 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19447 Do not use `tramp-file-name-port', because this returns also
19448 `tramp-default-port'.
19449
19450 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19451
19452 * net/rcirc.el (rcirc-handler-001): Remove useless
19453 with-rcirc-process-buffer.
19454 (rcirc-check-auth-status): Swap arguments to string-match.
19455
19456 2011-03-09 Glenn Morris <rgm@gnu.org>
19457
19458 * shell.el (shell-mode):
19459 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19460
19461 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19462 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19463
19464 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19465
19466 * emacs-lisp/package.el (package-refresh-contents)
19467 (package-menu-execute): Use condition-case-no-debug.
19468
19469 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19470
19471 * simple.el (shell-command-to-string): Use `process-file'.
19472
19473 * emacs-lisp/package.el (package-tar-file-info): Handle also
19474 remote files.
19475
19476 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19477 Use `equal' for upload base check.
19478
19479 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19480
19481 * textmodes/texinfo.el (texinfo-environments):
19482 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19483
19484 2011-03-08 Glenn Morris <rgm@gnu.org>
19485
19486 * cus-start.el (cursor-in-non-selected-windows):
19487 Fix :set quoting oddness. (Bug#8192)
19488
19489 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19490 in some setf expressions. (Bug#2159)
19491
19492 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19493
19494 * custom.el (custom-available-themes): Return themes in
19495 alphabetical order.
19496
19497 See ChangeLog.15 for earlier changes.
19498
19499 ;; Local Variables:
19500 ;; coding: utf-8
19501 ;; End:
19502
19503 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19504
19505 This file is part of GNU Emacs.
19506
19507 GNU Emacs is free software: you can redistribute it and/or modify
19508 it under the terms of the GNU General Public License as published by
19509 the Free Software Foundation, either version 3 of the License, or
19510 (at your option) any later version.
19511
19512 GNU Emacs is distributed in the hope that it will be useful,
19513 but WITHOUT ANY WARRANTY; without even the implied warranty of
19514 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19515 GNU General Public License for more details.
19516
19517 You should have received a copy of the GNU General Public License
19518 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.