* profiler.c (sigprof_handler): Fix race condition.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
96fb7170
GM
12012-09-28 Glenn Morris <rgm@gnu.org>
2
3 * type-break.el (type-break-mode, type-break-interval)
4 (type-break-good-rest-interval, type-break-keystroke-threshold):
5 No need to autoload.
6 (type-break-good-rest-interval, type-break-keystroke-threshold):
7 Add :set-after.
8
5bc93c67
CY
92012-09-28 Chong Yidong <cyd@gnu.org>
10
11 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
12 Add :version tag.
13
9cad61d6
SM
142012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
15
e28e67b3 16 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 17
daee954c
GM
182012-09-27 Glenn Morris <rgm@gnu.org>
19
a88324d4
GM
20 * faces.el (x-display-name): Declare (for without-x builds).
21
8e5064e5
GM
22 * linum.el (linum-format): Don't autoload it. Improve :type.
23
cc1783c2
GM
24 * progmodes/tcl.el: Don't require outline when compiling.
25 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
26 * textmodes/sgml-mode.el: Don't require outline when compiling.
27 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
28
48c339f2
GM
29 * term.el (term-ansi-reset):
30 Try setting term-ansi-face-already-done to nil. (Bug#11785)
31
daee954c
GM
32 * vc/vc.el (vc-next-action): Only gripe about committing read-only
33 files for RCS and SCCS. (Bug#9781)
34
b7f42161
CY
352012-09-27 Chong Yidong <cyd@gnu.org>
36
37 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
38 change; value should be t.
39
a2e770db
SM
402012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
41
83600dc8
SM
42 * image-mode.el: Use lexical-binding.
43 (image-mode-winprops): Use t to stand for the window of
44 a buffer that's not displayed.
45 * doc-view.el (doc-view-new-window-function): Handle the new
46 t in winprops.
47 (doc-view-enlarge): Make it a real nop if the size is not changed.
48 (doc-view-display): Handle the case where the buffer is not (yet?)
49 displayed in any window.
50 (doc-view-saved-settings): New var.
51 (doc-view-mode): Use it.
52 (doc-view-fallback-mode): Set it.
53
a2e770db
SM
54 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
55 Set lexical-binding.
56 (minibuffer-eldef-shorten-default): New var.
57 (minibuffer-default-in-prompt-regexps): Use it for new default.
58 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
59
e3b60857
JB
602012-09-26 Juanma Barranquero <lekktu@gmail.com>
61
62 * international/uni-bidi.el:
63 * international/uni-category.el:
64 * international/uni-name.el:
65 * international/uni-numeric.el: Regenerate.
66
3a880af4
SM
672012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
68 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * profiler.el: New file.
71
07b1a5fb
SM
722012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
75 (testcover-reinstrument): Simplify with CSE.
76
42019c2e
JB
772012-09-26 Juanma Barranquero <lekktu@gmail.com>
78
79 * window.el (temp-buffer-window-setup): Fix typo in docstring.
80
179f044b
WS
812012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
82
83 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
84 (verilog-auto-input, verilog-auto-insert-lisp)
85 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
86 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
87 (verilog-auto-unused, verilog-auto-wire)
88 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
89 newline. Reported by Andrew Jones.
90 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
91 Reported by Brad Dobbie.
07b1a5fb
SM
92 (verilog-batch-delete-trailing-whitespace):
93 Create verilog-batch-delete-trailing-whitespace.
94 Reported by Brad Dobbie.
179f044b
WS
95 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
96 parameters from another module. Reported by Dan Katz.
97 (verilog-auto, verilog-auto-assign-modport)
98 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
99 AUTOINOUTMODPORT for UVM interface module shell generation.
100 Reported by Brad Dobbie.
101 (verilog-auto-inst-interfaced-ports): Make default nil, as more
102 standard behavior.
103 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
104 Reported by Matt Martin.
105
9c52dd5a
MR
1062012-09-25 Martin Rudalics <rudalics@gmx.at>
107
108 * window.el (window--resize-child-windows): When resizing child
109 windows proportionally, process them in reverse order to
110 preserve the "when splitting a window the new one gets the odd
111 line" behavior.
112 (window--resize-root-window-vertically): When resizing the
113 minibuffer window try to affect only windows at the bottom of the
114 frame. (Bug#12419)
115
863666eb
CY
1162012-09-25 Chong Yidong <cyd@gnu.org>
117
118 * subr.el (declare): Doc fix.
119
120 * help-fns.el (help-fns--obsolete): Handle macros properly.
121
59f7af81
CY
1222012-09-25 Chong Yidong <cyd@gnu.org>
123
124 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
125 this function obsolete.
126
127 * calendar/cal-x.el (calendar-two-frame-setup)
128 (calendar-only-one-frame-setup, calendar-one-frame-setup):
129 * calendar/calendar.el (american-calendar, european-calendar)
130 (calendar-for-loop):
131 * comint.el (comint-dynamic-simple-complete)
132 (comint-dynamic-complete-as-filename, comint-unquote-filename):
133 * desktop.el (desktop-load-default):
134 * dired-x.el (dired-omit-here-always)
135 (dired-hack-local-variables, dired-default-directory):
136 * emacs-lisp/derived.el (derived-mode-class):
137 * emacs-lisp/timer.el (timer-set-time-with-usecs):
138 * emacs-lock.el (toggle-emacs-lock):
139 * epa.el (epa-display-verify-result):
140 * epg.el (epg-sign-keys, epg-start-sign-keys)
141 (epg-passphrase-callback-function):
142 * eshell/esh-util.el (eshell-for):
143 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
144 (eshell-add-to-window-buffer-names):
145 * files.el (locate-file-completion):
146 * imenu.el (imenu-example--create-c-index)
147 (imenu-example--create-lisp-index)
148 (imenu-example--lisp-extract-index-name)
149 (imenu-example--name-and-position):
150 * international/mule-cmds.el (princ-list):
151 * international/mule-diag.el (decode-codepage-char):
152 * international/mule-util.el (detect-coding-with-priority):
153 * iswitchb.el (iswitchb-read-buffer):
154 * mail/mailalias.el (mail-complete):
155 * mail/sendmail.el (mail-sent-via):
156 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
157 (mouse-major-mode-menu):
158 * password-cache.el (password-read-and-add):
159 * pcomplete.el (pcomplete-parse-comint-arguments):
160 * progmodes/sh-script.el (sh-maybe-here-document):
161 * replace.el (query-replace-regexp-eval):
162 * savehist.el (savehist-load):
163 * simple.el (choose-completion-delete-max-match):
164 * term.el (term-dynamic-simple-complete):
165 * vc/ediff-init.el (ediff-check-version):
166 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
167 * vc/vc.el (vc-diff-switches-list):
168 * view.el (view-return-to-alist-update): Likewise.
169
170 * subr.el (eval-next-after-load, makehash, insert-string)
171 (assoc-ignore-representation, assoc-ignore-case): Use declare to
172 mark obsolete.
173 (mode-line-inverse-video): Variable deleted.
174
175 * international/mule-util.el (string-to-sequence): Remove.
176
177 * calendar/calendar.el (calendar-version):
178 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
179 (icalendar-convert-diary-to-ical):
180 * cus-edit.el (custom-mode):
181 * ansi-color.el (ansi-color-unfontify-region):
182 * international/latin1-disp.el (latin1-char-displayable-p):
183 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
184 * progmodes/which-func.el (which-func-update-1):
185 Use define-obsolete-function-alias.
59f7af81
CY
186
187 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
188 * net/newst-treeview.el (newsticker-groups-filename):
189 Fix incorrect obsolescence declaration.
59f7af81
CY
190
191 * allout.el (allout-passphrase-hint-string): Likewise.
192 (allout-init): Use a declare form to mark obsolete.
193
194 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
195 this applies to functions.
196
197 * iswitchb.el (iswitchb-read-buffer): Move code of
198 iswitchb-define-mode-map here, and delete that obsolete function.
199
200 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
201 font-lock-reference-face.
202
cca96c97
GM
2032012-09-25 Glenn Morris <rgm@gnu.org>
204
b06eeda8
GM
205 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
206 Doc fixes.
207
cca96c97
GM
208 * eshell/em-term.el (eshell-term-name):
209 Default to term-term-name. (Bug#12485)
210
dc4f818b
FEG
2112012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
212
cca96c97
GM
213 * progmodes/python.el (python-shell-send-buffer): Better handling
214 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 215
289c24bd
GM
2162012-09-24 Glenn Morris <rgm@gnu.org>
217
218 * eshell/esh-cmd.el (eshell-find-alias-function):
219 Tighten up file-name regexp. (Bug#12499)
220
8fb8b88f
FEG
2212012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
222
223 Enhancements for triple-quote string syntax.
224 * progmodes/python.el (python-quote-syntax): Remove.
225 (python-syntax-propertize-function): New value.
07b1a5fb
SM
226 (python-syntax-count-quotes, python-syntax-stringify):
227 New functions.
8fb8b88f 228
6c27f0f8
CY
2292012-09-24 Chong Yidong <cyd@gnu.org>
230
a5f2b6ec
CY
231 * mail/supercite.el (sc-version): Remove obsolete function.
232 (sc-describe): Don't mark as obsolete, since it is bound.
233 (sc-submit-bug-report): Remove.
234
235 * vc/log-edit.el (cvs-changelog-full-paragraphs)
236 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
237 (log-edit-require-final-newline)
238 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
239
240 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
241 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
242 * vc/vc.el (vc-checkout-carefully): Likewise.
243
244 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
245 (emerge-version): Remove.
246
247 * progmodes/compile.el (compile-internal): Remove.
248 (compilation-parse-errors-function): Fix typo.
249
250 * international/mule.el (set-char-table-default): Remove.
251 (set-coding-priority, make-coding-system, generic-char-p)
252 (charset-list, charset-bytes, charset-id): Use declare to mark
253 functions as obsolete.
254
255 * vc/pcvs-defs.el (cvs-buffer-name-alist)
256 (cvs-invert-ignore-marks): Remove references to obsolete vars.
257 * vc/vc-hooks.el (vc-default-registered): Don't use
258 vc-master-templates.
259
07b1a5fb
SM
260 * font-lock.el (font-lock-reference-face):
261 Use define-obsolete-variable-alias.
6c27f0f8
CY
262
263 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
264 * calendar/calendar.el (calendar-font-lock-keywords):
265 * calendar/diary-lib.el (diary-font-lock-keywords)
266 (diary-fancy-font-lock-keywords):
267 * textmodes/reftex-sel.el (reftex-insert-docstruct):
268 * textmodes/reftex-index.el (reftex-insert-index):
269 * textmodes/reftex-cite.el (reftex-format-bib-entry):
270 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
271 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
272 * progmodes/prolog.el (prolog-font-lock-keywords):
273 * progmodes/idlwave.el (idlwave-idl-keywords):
274 * progmodes/ada-mode.el (ada-font-lock-keywords):
275 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
276
bcc0adbf
GM
2772012-09-24 Glenn Morris <rgm@gnu.org>
278
279 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
280
095bb823
FEG
2812012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
282
283 * progmodes/python.el (python-indent-line): More consistent cursor
284 movement behavior.
285
70efc5c9
SM
2862012-09-23 Stefan Merten <smerten@oekonux.de>
287
288 * textmodes/rst.el: Fix compiler warning.
289
2f438239
RW
2902012-09-23 Roland Winkler <winkler@gnu.org>
291
07b1a5fb
SM
292 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
293 Transcribe also LaTeX hyphenation.
2f438239
RW
294 (bibtex-reformat): Bug fix. Do not quote twice the elements of
295 bibtex-reformat-previous-options.
296
936ad041
RW
2972012-09-23 Roland Winkler <winkler@gnu.org>
298
299 * proced.el (proced-renice-command): New variable.
300 (proced-marked-processes): New function.
301 (proced-with-processes-buffer): New macro.
302 (proced-send-signal): Use them.
303 (proced-renice): New command bound to r.
304
6fab0274
RW
3052012-09-23 Roland Winkler <winkler@gnu.org>
306
307 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
308 ibuffer-saved-filter-groups has one element, shortcut the call of
309 completing-read. (Bug#12331)
310
9a930676
CY
3112012-09-23 Chong Yidong <cyd@gnu.org>
312
313 * bindings.el (mode-line-toggle-read-only):
314 * bs.el (bs-toggle-readonly):
315 * buff-menu.el (Buffer-menu-toggle-read-only):
316 * dired.el (dired-toggle-read-only):
317 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
318
d07ff9db
CY
3192012-09-23 Chong Yidong <cyd@gnu.org>
320
321 * image.el (image-type-available-p): Adapt to init-image-library
322 argument changes.
323
51c4474e
JL
3242012-09-22 Juri Linkov <juri@jurta.org>
325
326 * dired.el (dired-mode-map): Add [remap read-only-mode] for
327 `dired-toggle-read-only'. (Bug#12462)
328
43bf5e8e
MR
3292012-09-22 Martin Rudalics <rudalics@gmx.at>
330
331 * subr.el (temp-output-buffer-show): New function.
332 (with-output-to-temp-buffer): Call temp-output-buffer-show
333 instead of internal-temp-output-buffer-show.
334
c88b867f
CY
3352012-09-22 Chong Yidong <cyd@gnu.org>
336
3df47cd5
CY
337 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
338 (Bug#12462).
339
c88b867f
CY
340 * repeat.el (repeat): Doc fix (Bug#12348).
341
342 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
343 (Bug#10909).
344
345 * simple.el (shell-command-on-region): Doc fix.
3171e303 346 (read-only-mode): Doc fix.
c88b867f 347
df9685f3
EZ
3482012-09-22 Eli Zaretskii <eliz@gnu.org>
349
350 * emacs-lisp/timer.el (run-with-idle-timer)
351 (timer-activate-when-idle): Warn against reinvoking an idle timer
352 from within its own timer action. (Bug#12447)
353
8e17c9ba
MR
3542012-09-22 Martin Rudalics <rudalics@gmx.at>
355
356 * cus-start.el (window-combination-limit): Add new optional
357 values.
358 * window.el (temp-buffer-window-show)
359 (window--try-to-split-window): Handle new values of
360 window-combination-limit (Bug#1806).
361 (split-window): Test window-combination-limit for t instead of
362 non-nil.
363 (display-buffer-at-bottom): New buffer display action function.
364 * help.el (temp-buffer-resize-regexps): New option.
365 (temp-buffer-resize-mode): Rewrite doc-string.
366 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 367 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 368
48a24920
SM
3692012-09-22 Stefan Merten <smerten@oekonux.de>
370
70efc5c9 371 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
372 (rst-official-version)
373 (rst-package-emacs-version-alist): Sync with official version
374 V1.4.0.
375 (rst-faces-defaults, rst-set-level-default)
376 (rst-level-face-max, rst-level-face-base-color)
377 (rst-level-face-base-light, rst-level-face-format-light)
378 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
379 (rst-adornment-faces-alist): Match new setup.
380 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
381 (rst-level-5, rst-level-6): New faces.
382
82f8cd94
CY
3832012-09-22 Chong Yidong <cyd@gnu.org>
384
385 * simple.el (undo): Handle indirect buffers (Bug#8207).
386
acfa068f 3872012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
388
389 IDO: Disable match re-ordering for buffer switching.
2bc9406c 390 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
391 (ido-set-matches-1): Use it. (Bug#2042)
392
acfa068f 3932012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
394
395 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
396 Fix 2011-05-17 change. (Bug#12418)
397
acfa068f 3982012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
399
400 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
401
acfa068f 4022012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
403
404 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
405 Be more robust about locating simple.el.
406
acfa068f 4072012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
408
409 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
410
acfa068f
CY
4112012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
412
413 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
414
41a97e6f
JL
4152012-09-20 Juri Linkov <juri@jurta.org>
416
eb2deaff
JL
417 * replace.el (query-replace-read-from): Use `read-regexp' instead
418 of `read-from-minibuffer' when `regexp-flag' is non-nil.
419 (occur-read-primary-args): Use `read-regexp' instead of
420 `read-string'.
421 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
422 `read-from-minibuffer'.
423 * isearch.el (isearch-occur): Use `read-regexp' instead of
424 `read-string'.
425 * dired.el (dired-read-regexp): Use `read-regexp' instead of
426 `read-from-minibuffer'.
427 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
428 of `read-string'. (Bug#7567)
429
5825610b
JL
430 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
431 and allow accepting a list of strings prepended to a list of
432 standard default values. Doc fix. (Bug#12321)
433
eebbf404
JL
434 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
435
41a97e6f
JL
436 * replace.el (read-regexp): Don't add ": " when PROMPT already
437 ends with a colon and space. (Bug#12321)
438
c9e452d3
TH
4392012-09-20 Tassilo Horn <tsdh@gnu.org>
440
441 * doc-view.el (doc-view-display): Better fix for the cl-assertion
442 error.
443
ee97deee
SM
4442012-09-20 Stefan Merten <smerten@oekonux.de>
445
70efc5c9 446 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
447 Fixes feature request bug#11711.
448 (rst-mode): Create `imenu-create-index-function'.
449 (rst-get-stripped-line): Delete after refactoring.
450 (rst-section-tree, rst-section-tree-rec)
451 (rst-section-tree-point): Refactor and document properly.
452 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
453 (rst-imenu-convert-cell, rst-imenu-create-index):
454 New function.
ee97deee 455
f490dab9
SM
4562012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
457
95b9712e
SM
458 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
459 (macroexp--expand-all): Use it.
460 (macroexp--funcall-and-return): Remove by folding it into its sole
461 caller (macroexp--warn-and-return).
462 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
463 Use macroexp--obsolete-warning.
464
f490dab9
SM
465 * calc/calc.el: Fix last change by removing the whole chunk, since it
466 was only needed back when Calc was not bundled.
467
96e8d411
MR
4682012-09-20 Martin Rudalics <rudalics@gmx.at>
469
470 * emacs-lisp/debug.el (debug): Restore assignment to
471 debugger-old-buffer removed on 2012-09-08.
472
0876a82d
JL
4732012-09-20 Juri Linkov <juri@jurta.org>
474
475 * dired-aux.el (dired-diff): Remove (require 'diff) since
476 `diff-latest-backup-file' is now autoloaded.
477
9f7c28f0
CY
4782012-09-20 Chong Yidong <cyd@gnu.org>
479
480 * vc/diff.el (diff-latest-backup-file): Autoload.
481
7a04bee9
SM
4822012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
483
e6f0a80d
SM
484 * calc/calc.el: Remove redundant autoload shape check.
485 (sel-mode): Don't defvar.
486 (calc-get-stack-element): Add `sel-mode' arg instead.
487 (calc-top, calc-top-list): Pass it this additional argument.
488 * calc/calc-store.el (calc-store-map):
489 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
490 (calc-map-equation, calc-outer-product, calc-inner-product):
491 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
492
7a04bee9
SM
493 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
494
12734222
JL
4952012-09-19 Juri Linkov <juri@jurta.org>
496
497 * dired-aux.el (dired-diff): Add (require 'diff) because
498 `diff-latest-backup-file' is not autoloaded.
499 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
500 of `dired-get-filename' to t to not report error when there is
501 no default file on the current line.
502
46624b4f
SM
5032012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
504
ce97595b
SM
505 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
506 macroexp--eval-if-compile.
507 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
508 (macroexp--expand-all): Use them (bug#12371).
509
46624b4f
SM
510 * doc-view.el (doc-view-guess-paper-size)
511 (doc-view-scale-bounding-box): Fix unbound `caddr'.
512
db8a5a18
TH
5132012-09-19 Tassilo Horn <tsdh@gnu.org>
514
515 New feature: set optimal slice from BoundingBox information.
516 * doc-view.el (doc-view-mode-map): Add keybinding.
517 (doc-view-menu): Add menu entry.
518 (doc-view-set-slice): Adapt docstring.
519 (doc-view-get-bounding-box, doc-view-guess-paper-size)
520 (doc-view-scale-bounding-box)
521 (doc-view-set-slice-from-bounding-box): New functions.
522 (doc-view-paper-sizes): New defvar.
523
69f6644c
GM
5242012-09-19 Glenn Morris <rgm@gnu.org>
525
35f5b19d
GM
526 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
527 (byte-compile-log-warning): Autoload. (Bug#12371)
528
69f6644c
GM
529 * calendar/calendar.el (calendar-american-month-header)
530 (calendar-european-month-header, calendar-iso-month-header)
531 (calendar-month-header): New options.
532 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
533 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
534
e543ae91
JD
5352012-09-19 Jan Djärv <jan.h.d@swipnet.se>
536
537 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
538
2fd5e67d
JL
5392012-09-18 Juri Linkov <juri@jurta.org>
540
541 * dired-aux.el (dired-diff): Restore original functionality of
542 getting the default value, but keep new feature of using the
543 latest existing backup file (`diff-latest-backup-file').
544
42917e79
JL
5452012-09-18 Juri Linkov <juri@jurta.org>
546
547 * dired.el (dired-mark): If the region is active in Transient Mark
548 mode, mark all files in the active region. Doc fix.
549 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
550 Doc fix. (Bug#10624)
551
20f70ede
JL
5522012-09-18 Juri Linkov <juri@jurta.org>
553
554 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
555 attributes for M-n are pulled from the file at point.
556 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
557 Suggested by Drew Adams. (Bug#10624)
558
32fb8162
DG
5592012-09-18 Dmitry Gutov <dgutov@yandex.ru>
560
561 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
562 whitespace after "end".
563 (ruby-do-end-to-brace): Collapse block to one line if it fits
564 within fill-column.
565
37ab5092
MR
5662012-09-18 Martin Rudalics <rudalics@gmx.at>
567
568 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
569 value.
570 (debug): Don't remove debugger window when debugger is expected
571 to be back.
572
ed1f0bd3
CY
5732012-09-18 Chong Yidong <cyd@gnu.org>
574
575 * custom.el (defface): Doc fix.
576
577 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
578
a11035b8
MB
5792012-09-18 Martin Blais <blais@furius.ca> (tiny change)
580
581 * progmodes/compile.el (compilation-start): Use compilation-always-kill
582 to initialize query-on-exit; then test that instead (bug#12288).
583
64f6a736
SM
5842012-09-17 Stefan Merten <smerten@oekonux.de>
585
70efc5c9 586 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
587 (rst-defcustom-testcover, rst-testcover-add-compose)
588 (rst-testcover-add-1value): New functions.
589 (rst-portable-mark-active-p): Replace by `use-region-p'.
590 (rst-update-section, rst-classify-adornment)
591 (rst-find-title-line): Mark `1value' forms.
592 (rst-classify-adornment): Remove superfluous form.
593 (rst-update-section, rst-get-adornments-around)
594 (rst-adornment-complete-p, rst-get-next-adornment)
595 (rst-adjust, rst-promote-region)
596 (rst-display-adornments-hierarchy, rst-straighten-adornments)
597 (rst-find-pfx-in-region, rst-section-tree-rec)
598 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
599 (rst-toc-node, rst-toc, rst-forward-section)
600 (rst-iterate-leftmost-paragraphs)
601 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
602 (rst-bullet-list-region)
603 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
604 (rst-compile-find-conf, rst-compile)
605 (rst-repeat-last-character): Fix style.
606
580bd868
CY
6072012-09-17 Chong Yidong <cyd@gnu.org>
608
609 * comint.el (comint--complete-file-name-data): Don't add a space
610 if the status is `sole'; that adds a gratuitous space in the
611 completion-cycling case (Bug#12092).
612
613 * pcomplete.el (pcomplete-completions-at-point): Likewise.
614
69de3ec6
RS
6152012-09-17 Richard Stallman <rms@gnu.org>
616
0dee970c
RS
617 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
618 only in the mime-shown mode, not in raw mode.
619 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 620 mime processing. (Bug#12305)
0dee970c 621
6b250df6
GM
622 * mail/rmail.el (rmail-retry-failure):
623 Turn off mime processing first. (Bug#12037)
acb1c47b 624
69de3ec6
RS
625 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
626
d079ee5f
CY
6272012-09-17 Chong Yidong <cyd@gnu.org>
628
629 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
630 (shell-dynamic-complete-functions): Convert to defcustom.
631 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
632
865fe16f
CY
633 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
634 * comint.el (comint-prompt-read-only):
635 * custom.el (defcustom):
636 * hi-lock.el (hi-lock-mode):
637 * ibuffer.el (ibuffer-formats):
638 * ielm.el (ielm-prompt-read-only):
639 * novice.el (disable-command):
640 * saveplace.el (toggle-save-place):
641 * speedbar.el (speedbar-supported-extension-expressions):
642 * startup.el (auto-save-list-file-prefix, init-file-user)
643 (after-init-hook, inhibit-startup-echo-area-message):
644 * strokes.el (strokes-help):
645 * time-stamp.el (time-stamp):
646 * calendar/calendar.el (calendar, diary-file):
647 * calendar/diary-lib.el (diary-mail-entries, diary)
648 (diary-list-entries-hook):
649 * calendar/holidays.el (holidays, calendar-holidays):
650 * calendar/lunar.el (lunar-phases):
651 * calendar/solar.el (sunrise-sunset):
652 * emulation/edt.el (edt-load-keys):
653 * emulation/viper.el (viper-mode):
654 * eshell/em-alias.el (eshell-command-aliases-list):
655 * eshell/esh-util.el (eshell-convert-numeric-arguments):
656 * international/ogonek.el (ogonek-information):
657 * net/tramp-cmds.el (tramp-bug):
658 * net/quickurl.el (quickurl-reread-hook-postfix):
659 * play/decipher.el (decipher-font-lock-keywords):
660 * progmodes/cc-styles.el (c-set-style):
661 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
662 * progmodes/inf-lisp.el (inferior-lisp-prompt):
663 * progmodes/octave-mod.el (octave-mode):
664 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
665 * progmodes/verilog-mode.el (verilog-read-defines):
666 * textmodes/two-column.el (2C-mode): Likewise.
667
48093eb9
KY
6682012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
669
670 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
671 that holds many addresses.
672
c584eaf9
CY
6732012-09-16 Chong Yidong <cyd@gnu.org>
674
40d70ecb
CY
675 * align.el (align-areas): Call the indication function with
676 positions instead of markers for arguments (Bug#12343).
677
1667e065
CY
678 * files.el (parse-colon-path): Use split-string (Bug#12351).
679
fdc2806d 680 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 681 (display-buffer-function): Mark as obsolete.
fdc2806d 682
f1be615c 683 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
684 values similar to font-lock-keywords (Bug#12136).
685 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
686 (compilation-error-regexp-alist): Doc fix.
687
f40a9709
GM
6882012-09-15 Glenn Morris <rgm@gnu.org>
689
72aa16e1
GM
690 * version.el (emacs-bzr-version-bzr): New function.
691 (emacs-bzr-get-version): Add optional EXTERNAL argument.
692
82375160
GM
693 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
694 checkouts, check the parent dirstate matches the branch.
695 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
696 empty string.
697
f40a9709
GM
698 * version.el (emacs-bzr-version): Doc fix.
699 (emacs-bzr-version-dirstate): New function.
700 (emacs-bzr-get-version): For lightweight checkouts, if the parent
701 is local try and check that it matches the branch. If not, just
702 use dirstate information. (Bug#12441)
703
cb26b7f5
JL
7042012-09-14 Juri Linkov <juri@jurta.org>
705
706 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
707 (Bug#12399)
708
2de39f08
SM
7092012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
710
0fb3cb7c
SM
711 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
712
2de39f08
SM
713 * emacs-lisp/edebug.el: Miscellaneous cleanup.
714 Remove obsolete byte-compiler hack that tried to silence some warnings.
715 (edebug-submit-bug-report): Remove.
716 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
717 Remove aliases, use the un-prefixed name instead.
718 (edebug-pop-to-buffer): Consider other frames.
719 (edebug-original-read):: Make it more obvious that it's always defined.
720 (edebug--make-form-data-entry, edebug--form-data-name)
721 (edebug--form-data-begin, edebug--form-data-end): Rename from the
722 single-dashed name, and implement with cl-defstruct.
723 (edebug-set-form-data-entry): Use the standard accessors.
724 (edebug-make-top-form-data-entry): Use push.
725 (edebug-no-match): Drop useless `funcall'.
726 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
727 to functions.
728 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
729 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
730 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
731 (easy-menu-define, with-custom-print): Remove redundant specs.
732 (edebug-outside-overriding-local-map)
733 (edebug-outside-overriding-terminal-local-map): Remove, unused.
734 (edebug--display): Bind unread-command-events directly to nil rather
735 than binding it to unread-command-events and later setting it to nil.
736 (edebug--display): Kill edebug-eval-buffer here...
737 (edebug--recursive-edit): ...rather than here.
738 Bind standard-output and standard-input.
739 (edebug-eval): Check cl-macroexpand-all is fboundp.
740 (edebug-temp-display-freq-count): Fix last change.
741
742 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
743 * subr.el (noreturn, 1value): Add `debug' spec.
744 * emacs-lisp/advice.el: Require cl-lib.
745 (ad-copy-tree): Remove, use copy-tree instead.
746 (ad-dolist): Remove use dolist or cl-dolist instead.
747 (ad-do-return): Remove, use cl-return instead.
748 (defadvice): Add `debug' spec.
749
5b68b333
JL
7502012-09-13 Juri Linkov <juri@jurta.org>
751
752 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
753 (Bug#12399)
754
b9800ec4
GM
7552012-09-13 Glenn Morris <rgm@gnu.org>
756
6a2e6868
GM
757 * calc/calc.el (math-compose-expr):
758 * calc/calc-ext.el (math-compose-expr):
759 * progmodes/cc-defs.el (cl-macroexpand-all):
760 * progmodes/cc-langs.el (delete-duplicates, mapcan)
761 (cl-macroexpand-all): Update declarations.
762
b9800ec4
GM
763 * vc/vc.el: No need to require ediff.
764 (ediff-load-version-control): Declare.
765 (ediff-vc-internal): Fix declaration.
766 (vc-version-ediff): Require ediff.
767
c18e885b
PE
7682012-09-13 Paul Eggert <eggert@cs.ucla.edu>
769
770 Use a more backwards-compatible timer format (Bug#12430).
771 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
772 being right after USECS, as that better supports old code that
773 inadvisedly looked directly at the timer vector.
774
d607d303
KH
7752012-09-13 Kenichi Handa <handa@gnu.org>
776
777 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
778 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
779 `coding-priority' property of these language environment.
780
72eac303
PE
7812012-09-13 Paul Eggert <eggert@cs.ucla.edu>
782
783 Fix glitches caused by addition of psec to timers (Bug#12430).
784 * image.el (image-animate-timer):
785 * time.el (display-time-world-timer):
786 Use timer--function and timer--args rather than raw access to
787 timer vector.
788
2168fe4f
GM
7892012-09-13 Glenn Morris <rgm@gnu.org>
790
791 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
792 If not compiling a file, try using load-file-name.
793
bd8d6108
SM
7942012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
795
c0c54fbd
SM
796 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
797 Fix last change.
798 (edebug-update-eval-list): Use `push'.
799
bd8d6108
SM
800 * emacs-lisp/edebug.el: Use lexical-binding.
801 Remove the "edebug-" prefix from non-dynamically-scoped variables.
802 Mark unused args with underscore.
803 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
804 (edebug-form-data): Use defvar-local.
805 (edebug-make-before-and-after-form, edebug-make-after-form):
806 Use backquote.
807 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
808 Not dynamically scoped any more.
809 (edebug--enter-trace): Add arguments `function' and `args'.
810 Rename from edebug-enter-trace.
811 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
812 (edebug--update-coverage): Add `after-index' and `value' args.
813 Rename from edebug-update-coverage.
814 (edebug-slow-after): Call it accordingly.
815 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
816 edebug-recursive-edit.
817 (edebug--display): Call it accordingly. Add args `value',
818 `offset-index', and `arg-mode'. Rename from edebug-display.
819 (edebug-debugger, edebug): Call it accordingly.
820 (edebug-eval-display-list): Use dolist.
821
a9f9d9de
JL
8222012-09-12 Juri Linkov <juri@jurta.org>
823
824 * info.el (Info-search): Don't check for isearch-mode and
825 isearch-regexp before let-binding search-spaces-regexp to
826 Info-search-whitespace-regexp.
827 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
828 search-whitespace-regexp if isearch-lax-whitespace or
829 isearch-regexp-lax-whitespace is non-nil.
830 (Info-mode): Don't set local variable search-whitespace-regexp.
831 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
832
bfeae2cf
SM
8332012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
836 (debugger-env-macro): Remove support for unread-command-char.
837
838 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
839 the temporary map re-appearing on emulation-mode-map-alists.
840
841 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
842 since 22.1.
843
844 * ehelp.el (with-electric-help): Accept functions in
845 electric-help-form-to-execute.
846 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
847 And replace unread-command-char -> unread-command-events.
848
fbbcaf1b
MA
8492012-09-12 Michael Albinus <michael.albinus@gmx.de>
850
851 Sync with Tramp 2.2.6.
852
853 * net/tramp.el (tramp-accept-process-output): Don't use
854 JUST-THIS-ONE in the XEmacs case.
855
856 * net/trampver.el: Update release number.
857
4dece104
MR
8582012-09-12 Martin Rudalics <rudalics@gmx.at>
859
bfeae2cf
SM
860 * emacs-lisp/debug.el (debugger-previous-window-height):
861 New variable.
4dece104
MR
862 (debug): When debugger-jumping-flag is non-nil try to restore
863 height of debugger window. (Bug#8789)
864
45b82ad0
SM
8652012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
866
60c49c0f
SM
867 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
868 overriding-local-map and pre/post-command-hook here.
869 (edebug-recursive-edit): Do it here instead (bug#12345).
870 (edebug-outside-unread-command-char): Remove all uses of
871 unread-command-char.
872
45b82ad0
SM
873 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
874 inhibit-debugger is bound instead.
875
baa26ea0
BG
8762012-09-11 Bastien Guerry <bzg@gnu.org>
877
878 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 879 (Bug#12346)
baa26ea0 880
04e8abfa
BG
8812012-09-11 Bastien Guerry <bzg@gnu.org>
882
96d03571 883 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 884 (Bug#12347)
96d03571
BG
885
8862012-09-11 Bastien Guerry <bzg@gnu.org>
887
fc0c31f8 888 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 889
04e082b0
MM
8902012-09-10 Michael R. Mauger <mmaug@yahoo.com>
891
892 * progmodes/sql.el: Version 3.1
893 (sql-db2-escape-newlines): New variable.
894 (sql-escape-newlines-filter): Use it.
895
399a361b
JB
8962012-09-10 Juanma Barranquero <lekktu@gmail.com>
897
898 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
899
0780c517
DN
9002012-09-10 Dan Nicolaescu <dann@gnu.org>
901
45b82ad0
SM
902 * vc/diff-mode.el (diff-mode-menu):
903 Bind diff-remove-trailing-whitespace.
0780c517 904
9b851e25
SM
9052012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
908 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
909 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
910 (eval-sexp-add-defvars): Don't skip defvars in column >0.
911 (eval-defun-2): Remove bogus interactive spec.
912 (lisp-indent-line): Remove redundant whole-exp code, now done in
913 indent-according-to-mode.
914 (save-match-data): Remove redundant indent data.
915
916 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
917 Use `declare'.
918
3231d532
JL
9192012-09-09 Juri Linkov <juri@jurta.org>
920
921 * replace.el (replace-regexp-lax-whitespace): New defcustom.
922 (replace-lax-whitespace, query-replace-regexp)
923 (query-replace-regexp-eval, replace-regexp): Doc fix.
924 (perform-replace, replace-highlight): Let-bind
925 isearch-lax-whitespace to replace-lax-whitespace and
926 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
927
928 * isearch.el (isearch-query-replace): Let-bind
929 replace-lax-whitespace to isearch-lax-whitespace and
930 replace-regexp-lax-whitespace to
931 isearch-regexp-lax-whitespace. (Bug#10885)
932
70fe8236
SM
9332012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
934
935 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
936
8ed43f15
AM
9372012-09-09 Alan Mackenzie <acm@muc.de>
938
70fe8236
SM
939 * progmodes/cc-engine.el (c-state-cache-init):
940 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
941 (c-record-parse-state-state):
942 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 943
bfabf70a
AS
9442012-09-09 Andreas Schwab <schwab@linux-m68k.org>
945
946 * register.el (register-separator): Rename from
947 separator-register. All uses changed. Doc fix.
948 (register): Fix version.
949
011474aa
CY
9502012-09-09 Chong Yidong <cyd@gnu.org>
951
952 * replace.el (query-replace-map): Bind four new symbols for
953 requesting window scrolling.
954
955 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
956 query-replace-map (Bug#8948).
957
958 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
959
960 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
961 since they are now in query-replace-map.
962
963 * window.el (scroll-other-window-down): Make the arg optional.
964
a8b7cd8d
CY
9652012-09-09 Chong Yidong <cyd@gnu.org>
966
967 * files.el (hack-local-variables-confirm): Use quit-window to kill
968 the *Local Variables* buffer.
969
c3268831
DG
9702012-09-08 Dmitry Gutov <dgutov@yandex.ru>
971
972 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
973 not just expect to be at its beginning. Adjust callees.
974 Succeed when do-end block has no space before the pipe character.
975 (ruby-brace-to-do-end): When the original block is one-liner,
976 convert to multiline. Reindent the result.
977
0979429b
J
9782012-09-08 Jambunathan K <kjambunathan@gmail.com>
979
980 * register.el (register): New group.
981 (register-separator): New user option.
982 (increment-register): Route it to `append-to-register', if
983 register contains text. Implication is that `C-x r +' can now be
984 used for appending to a text register (bug#12217).
985 (append-to-register, prepend-to-register): Add separator based on
986 `register-separator.
987
ace2989a
AM
9882012-09-08 Alan Mackenzie <acm@muc.de>
989
990 AWK Mode: make auto-newline work when there's "==" in the pattern.
991 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
992 correctly.
0979429b
J
993 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
994 Test more rigorously for "=" token.
ace2989a 995
616c6c36
DG
9962012-09-08 Dmitry Gutov <dgutov@yandex.ru>
997
0979429b
J
998 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
999 Only fail when reached LIMIT.
616c6c36 1000
35d98877
CY
10012012-09-08 Chong Yidong <cyd@gnu.org>
1002
1003 * dired.el (dired-mode-map): Don't bind M-=.
1004
1005 * dired-aux.el (dired-diff): Use backup file as default.
1006
1715f2db
DA
10072012-09-08 Drew Adams <drew.adams@oracle.com>
1008
1009 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1010
6dcef6ec
CY
10112012-09-08 Chong Yidong <cyd@gnu.org>
1012
1013 * subr.el (syntax-after, syntax-class): Doc fix.
1014
fa2bcf43
MR
10152012-09-08 Martin Rudalics <rudalics@gmx.at>
1016
1017 * window.el (display-buffer-in-previous-window): New buffer
1018 display action function.
1019
1020 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1021 (debugger-previous-window): New variable.
1022 (debug): Rewrite using display-buffer-in-previous-window,
1023 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1024
daac280a
SM
10252012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1028
9dd40b00
MM
10292012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1030
daac280a
SM
1031 * progmodes/python.el (python-shell-send-string):
1032 When default-directory is remote, create temp file on remote
9dd40b00
MM
1033 filesystem.
1034 (python-shell-send-file): When file is remote, pass local view of
1035 file paths to remote Python interpreter. (Bug#12340)
1036
145823ec
CY
10372012-09-07 Chong Yidong <cyd@gnu.org>
1038
cee2e90d
CY
1039 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1040
0d7eb2ea
CY
1041 * files.el (after-find-file): Don't fail on a read-only buffer if
1042 require-final-newline is `visit' or `visit-save' (Bug#11156).
1043
145823ec
CY
1044 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1045
daac280a
SM
1046 * userlock.el (ask-user-about-supersession-threat):
1047 Use read-char-choice (Bug#12093).
145823ec 1048
74c582e6
CY
10492012-09-07 Chong Yidong <cyd@gnu.org>
1050
e5c2edf7
CY
1051 * subr.el (buffer-narrowed-p): New function.
1052
1053 * ses.el (ses-widen):
1054 * simple.el (count-words--buffer-message):
1055 * net/browse-url.el (browse-url-of-buffer): Use it
1056
1057 * simple.el (count-words-region): Don't signal an error if there
1058 is a non-nil prefix arg and the mark is not set.
c640e87d 1059
74c582e6
CY
1060 * help.el (describe-key-briefly): Allow the message to be seen
1061 when invoked from the minibuffer (Bug#7014).
1062
d81ceaaf
DG
10632012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1064
1065 * progmodes/ruby-mode.el (ruby-end-of-defun)
1066 (ruby-beginning-of-defun): Simplify, allow indentation before
1067 block beginning and end keywords.
8f06acce
DG
1068 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1069 (ruby-end-of-defun): Expect that the point is at the beginning of
1070 the defun.
d81ceaaf 1071
d458ef98
SM
10722012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1075 (bug#12367).
1076 (cl--make-usage-args): Strip _ from argument names.
1077
20367d28
RS
10782012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1079
1080 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1081 obsolete alias speedbar-key-map.
1082 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1083 (vhdl-index-menu-init): Don't use obsolete variable
1084 font-lock-maximum-size.
1085
3424a4f6
CY
10862012-09-06 Chong Yidong <cyd@gnu.org>
1087
1088 * frame.el (window-system-version): Mark as obsolete.
1089
fcbfbdea
CY
1090 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1091 of obsolete variable speedbar-key-map.
1092
826b3235
JL
10932012-09-06 Juri Linkov <juri@jurta.org>
1094
1095 * replace.el (replace-lax-whitespace): New defcustom.
1096 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1097 (replace-string, replace-regexp): Mention it in docstrings.
1098 (perform-replace, replace-highlight): Let-bind
1099 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1100 to the values of replace-lax-whitespace and regexp-flag.
1101 Don't let-bind search-whitespace-regexp. (Bug#10885)
1102
1103 * isearch.el (isearch-query-replace): Let-bind
1104 replace-lax-whitespace instead of let-binding
1105 replace-search-function and replace-re-search-function.
1106 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1107 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1108 (isearch-toggle-symbol): Set isearch-regexp to nil
1109 in isearch-word mode (like in isearch-toggle-word).
1110
1ec5e41d
JL
11112012-09-06 Juri Linkov <juri@jurta.org>
1112
1113 * replace.el (replace-search-function)
1114 (replace-re-search-function): Set default values to nil.
1115 (perform-replace): Let-bind isearch-related variables based on
1116 replace-related values, call `isearch-search-fun' and let-bind
1117 the result to `search-function'. Remove code that sets
1118 `search-function' and `search-string' separately for
1119 `delimited-flag'.
1120 (replace-highlight): Add new argument `delimited-flag' and
1121 rename other arguments to the names used in `perform-replace'.
1122 Let-bind `isearch-word' to the argument `delimited-flag'.
1123 (Bug#10885, bug#10887)
1124
0ba2d4b6
DG
11252012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1126
1127 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1128 ruby-beginning-of-indent, simplify, allow all keywords to have
1129 indentation before them.
1130 (ruby-beginning-of-indent): Adjust for above. Search until the
1131 found point is not inside a string or comment.
1132 (ruby-font-lock-keywords): Allow symbols to start with "@"
1133 character, give them higher priority than variables.
1134 (ruby-syntax-propertize-function)
1135 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1136 matchers. Expression expansions are not comments when inside a
1137 string, and there comment syntax status is irrelevant.
1138 (ruby-match-expression-expansion): New function. Check that
1139 expression expansion is inside a string, and it's not escaped.
1140 (ruby-font-lock-keywords): Use it.
1141
ef654460
MR
11422012-09-05 Martin Rudalics <rudalics@gmx.at>
1143
1144 * help.el (temp-buffer-max-height): New default value.
1145 (temp-buffer-resize-frames): New option.
1146 (resize-temp-buffer-window): Optionally resize frame.
1147
1148 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1149 (fit-frame-to-buffer): New function.
1150
7e570fbf 11512012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1152
1153 * emulation/cua-rect.el (cua--init-rectangles):
1154 * textmodes/picture.el (picture-mode-map):
1155 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1156 like forward-char and backward-char. (Bug#12317)
1157
7e570fbf 11582012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1159
1160 * progmodes/flymake.el (flymake-warning-re): New variable.
1161 (flymake-parse-line): Use it.
1162
7e570fbf 11632012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1164
1165 * calendar/holidays.el (holiday-christian-holidays):
1166 Rename an entry. (Bug#12289)
1167
7e570fbf 11682012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1169
1170 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1171 (bug#12222).
1172
972debf2
SM
11732012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1174
1175 * loadup.el: Load macroexp. Remove hack.
1176 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1177 (macroexp--expand-all): Use it to get better warnings.
1178 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1179 (internal-macroexpand-for-load): New functions.
1180 (macroexp--pending-eager-loads): New var.
1181 (emacs-startup-hook): New hack to replace one in loadup.el.
1182 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1183 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1184 (cl-psetf): Simplify.
1185 (cl-defstruct): Add indent rule.
1186
8ce192e3
LI
11872012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1188
1189 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1190 over `user-mail-address' for the SMTP MAIL FROM envelope.
1191 (smtpmail-via-smtp): Ditto.
1192
6578b4d8
DG
11932012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1194
1195 * progmodes/ruby-mode.el: Clean up keybindings.
1196 (ruby-mode-map): Don't bind ruby-electric-brace,
1197 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1198 backward-kill-word, reindent-then-newline-and-indent.
1199 (ruby-mark-defun): Remove.
1200 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1201 (ruby-mode): Set local beginning-of-defun-function and
1202 end-of-defun-function values.
1203
c5e28e39
MR
12042012-09-03 Martin Rudalics <rudalics@gmx.at>
1205
1206 * window.el (temp-buffer-window-setup-hook)
1207 (temp-buffer-window-show-hook): New hooks.
1208 (temp-buffer-window-setup, temp-buffer-window-show)
1209 (with-temp-buffer-window): New functions.
972debf2
SM
1210 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1211 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1212
1213 * help.el (temp-buffer-resize-mode): Fix doc-string.
1214 (resize-temp-buffer-window): New optional argument WINDOW.
1215
1216 * files.el (recover-file, save-buffers-kill-emacs):
1217 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1218
73406194
MA
12192012-09-02 Michael Albinus <michael.albinus@gmx.de>
1220
1221 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1222 remote definition of `default-directory', ensure we can connect.
1223
63dd1c6f
JL
12242012-09-02 Juri Linkov <juri@jurta.org>
1225
1226 Toggle whitespace matching mode with M-s SPC.
1227 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1228
1229 * isearch.el (search-whitespace-regexp): Doc fix.
1230 Remove cons cell customization.
1231 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1232 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1233 New variables.
1234 (isearch-forward, isearch-forward-regexp): Doc fix.
1235 (isearch-toggle-lax-whitespace): New command.
1236 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1237 (re-search-forward-lax-whitespace)
1238 (re-search-backward-lax-whitespace): New functions.
1239 (isearch-whitespace-regexp): Remove function.
1240 (isearch-query-replace): Let-bind replace-search-function and
1241 replace-re-search-function.
1242 (isearch-occur): Let-bind search-spaces-regexp according to the
1243 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1244 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1245 condition for C-q SPC.
1246 (isearch-search-fun-default): Use new functions mentioned above.
1247 (isearch-search-forward, isearch-search-backward): Remove functions.
1248 (isearch-search): Don't let-bind search-spaces-regexp.
1249 (isearch-lazy-highlight-space-regexp): Remove variable.
1250 (isearch-lazy-highlight-lax-whitespace)
1251 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1252 (isearch-lazy-highlight-new-loop): Use them.
1253 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1254
af7dda05
CY
12552012-09-02 Chong Yidong <cyd@gnu.org>
1256
1257 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1258
d67d3afd
GM
12592012-09-02 Glenn Morris <rgm@gnu.org>
1260
1261 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1262
69678719
GM
12632012-09-01 Glenn Morris <rgm@gnu.org>
1264
1265 * term.el: Tidy up menu definitions.
1266 (term-mode-map): Use easymenu for In/Out, Complete menus.
1267 (term-pager-break-map): Initialize in the defvar.
1268 (term-terminal-menu, term-signals-menu): Define with easymenu.
1269 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1270 (term-pager-menu): New, extracted from term-process-pager.
1271 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1272 (term-update-mode-line): Propertize line/char and page items.
1273 (term-process-pager): Move keymap initialization elsewhere.
1274
78dd6ab1
MR
12752012-09-01 Martin Rudalics <rudalics@gmx.at>
1276
1277 * window.el (switch-to-prev-buffer): Handle additional values of
1278 BURY-OR-KILL argument. Don't switch in minibuffer window.
1279 (switch-to-next-buffer): Don't switch in minibuffer window.
1280 (quit-restore-window): New function based on quit-window.
1281 Handle additional values of former KILL argument.
1282 (quit-window): Call quit-restore-window with appropriate
1283 interpretation of KILL argument.
1284 (display-buffer-below-selected): New buffer display action
1285 function.
1286
3d10e134
SM
12872012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * minibuffer.el (completion-at-point-functions): Complete docstring
1290 (bug#12254).
1291
0e23ef9d
PE
12922012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1293
1294 Better seed support for (random).
1295 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1296 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1297 * play/mpuz.el, play/tetris.el, play/zone.el:
1298 * calc/calc-comb.el (math-init-random-base):
1299 * play/blackbox.el (bb-init-board):
1300 * play/life.el (life):
1301 * server.el (server-use-tcp):
1302 * type-break.el (type-break):
1303 Remove unnecessary call to (random t).
1304 * net/sasl.el (sasl-unique-id-function):
1305 Change (random t) to (random), now that the latter is more random.
1306 * play/life.el (life-initialized): Remove no-longer-needed var.
1307
862382df
MR
13082012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1309
1310 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1311 Consider frame's buffer predicate when choosing the buffer.
1312 (Bug#12081)
1313
262a66e1
RS
13142012-08-30 Richard Stallman <rms@gnu.org>
1315
1316 * simple.el (special-mode-map): Delete binding for `z'.
1317
f17e1d00
AS
13182012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1319
1320 * progmodes/compile.el (compilation-always-kill): Doc fix.
1321
24777832
CY
13222012-08-30 Chong Yidong <cyd@gnu.org>
1323
1324 * window.el (display-buffer-reuse-frames): Make the obsolescence
1325 message more informative.
1326
69ba1f04
GM
13272012-08-30 Glenn Morris <rgm@gnu.org>
1328
1329 * paren.el (show-paren-delay):
1330 Add a :set function. Doc fix. (Bug#12297)
1331
f0019ede
MB
13322012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1333
1334 * progmodes/compile.el (compilation-always-kill): New var.
1335 (compilation-start): Use it.
1336
35e62fc9
SM
13372012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1338
af070a1c
SM
1339 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1340 * files.el (read-only-mode): Move to simple.el.
1341
35e62fc9
SM
1342 * files.el (read-only-mode): New minor mode.
1343 (toggle-read-only): Use it and mark obsolete.
1344 (find-file--read-only):
1345 * vc/vc.el (vc-next-action, vc-checkout):
1346 * vc/vc-cvs.el (vc-cvs-checkout):
1347 * obsolete/vc-mcvs.el (vc-mcvs-update):
1348 * ffap.el (ffap--toggle-read-only): Update callers.
1349
c2c43c23
MA
13502012-08-29 Michael Albinus <michael.albinus@gmx.de>
1351
1352 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1353 remote shell scripts.
1354 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1355
1356 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1357 "/usr/local/sbin".
1358
9fba804b
SM
13592012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1362
eada0861 13632012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1364
806f0cc7
LL
1365 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1366 completion-at-point. (Bug#12220)
1367
3bb213b9
LL
1368 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1369
22ab32ef
LL
1370 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1371
eada0861 13722012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1373
19c17fc1
CY
1374 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1375 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1376
eada0861 13772012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1378
1379 * progmodes/hideif.el (hif-compress-define-list):
1380 Fix typo. (Bug#11951)
1381
eada0861 13822012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1383
1384 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1385 buffer local setting.
1386
27d6c5a8
LL
1387 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1388 rcirc-encode-coding-system.
1389
eada0861 13902012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1391
1392 * net/rcirc.el (rcirc-split-message): New function.
1393 (rcirc-send-message): Use it. (Bug#12051)
1394
d44688e4
JL
13952012-08-28 Juri Linkov <juri@jurta.org>
1396
1397 * info.el (Info-fontify-node): Hide empty lines at the end of
1398 the node. (Bug#12272)
1399
34f10d41
MR
14002012-08-27 Drew Adams <drew.adams@oracle.com>
1401
1402 * dired.el (dired-pop-to-buffer): Make window start at beginning
1403 of buffer (Bug#12281).
1404
77f1f99c
CY
14052012-08-26 Chong Yidong <cyd@gnu.org>
1406
1407 * window.el (special-display-regexps, special-display-frame-alist)
1408 (special-display-buffer-names, special-display-function)
1409 (display-buffer-reuse-frames): Mark as obsolete.
1410
1411 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1412
1413 * help.el (help-print-return-message): Don't treat
1414 display-buffer-reuse-frames specially.
1415
d97af5a0
CY
14162012-08-26 Chong Yidong <cyd@gnu.org>
1417
9fba804b
SM
1418 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1419 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1420 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1421 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1422 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1423 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1424 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1425 the functions directly with gdb-display-buffer-other-frame-action.
1426 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1427 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1428 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1429 (gdb-display-registers-buffer): Define directly.
1430 (def-gdb-display-buffer): Macro deleted.
1431 (gdb-display-buffer): Remove second and third args, callers don't
1432 use them. Defer to the default display-buffer behavior, apart
1433 from making windows dedicated.
1434 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1435
1436 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1437
1438 * window.el (display-buffer-pop-up-frame): Handle a
1439 pop-up-frame-parameters alist entry.
1440 (display-buffer): Document it.
1441
dd7ffad6
CY
14422012-08-26 Chong Yidong <cyd@gnu.org>
1443
1444 * isearch.el (search-whitespace-regexp): Make string and nil
1445 values apply to both ordinary and regexp search. Allow a cons
1446 cell value to distinguish between the two.
1447 (isearch-whitespace-regexp, isearch-search-forward)
1448 (isearch-search-backward): New functions.
1449 (isearch-occur, isearch-search-fun-default, isearch-search)
1450 (isearch-lazy-highlight-new-loop): Use them.
1451 (isearch-forward, isearch-forward-regexp): Doc fix.
1452
4c47bd1e
CY
14532012-08-26 Chong Yidong <cyd@gnu.org>
1454
1455 * faces.el (help-argument-name): Always inherit from italic
1456 (Bug#12213).
1457
9aba119d
MR
14582012-08-25 Martin Rudalics <rudalics@gmx.at>
1459
1460 * window.el (window--even-window-heights): Even heights when
1461 WINDOW and the selected window form a vertical combination.
1462 (display-buffer-use-some-window): Provide that window used gets
1463 sized back by quit-window. (Bug#11880) and (Bug#12091)
1464
ca5256ad
PE
14652012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1466
1467 Fix file time stamp problem with bzr and CVS (Bug#12001).
1468 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1469 in the file's time stamp, since the version control system loses
1470 that information.
1471
d1c0d176
JL
14722012-08-22 Juri Linkov <juri@jurta.org>
1473
1474 * info.el (Info-fontify-node): Hide the suffix of the
1475 Info file name in the header line. (Bug#12187)
1476
141562ff
GM
14772012-08-22 Glenn Morris <rgm@gnu.org>
1478
1479 * calendar/cal-tex.el (cal-tex-weekly-common):
1480 Restore leading blank page.
1481
61a48e19 14822012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1483
1484 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1485 the region under `shift-select-mode'. (Bug#12231)
1486
14872012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1488
1489 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1490 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1491 gives details on why the space is never needed.
1492
ea95074e
MR
14932012-08-22 Martin Rudalics <rudalics@gmx.at>
1494
9fba804b
SM
1495 * window.el (walk-window-tree, window-with-parameter):
1496 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1497 should run on the minibuffer window.
1498 (window-at-side-list): Don't operate on minibuffer window.
1499 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1500 (window--size-ignore): Rename to window--size-ignore-p.
1501 Update callers.
caceae25
MR
1502 (display-buffer-in-atom-window, window--major-non-side-window)
1503 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1504 (delete-side-window, display-buffer-in-side-window):
1505 New functions.
caceae25
MR
1506 (window--side-check, window-deletable-p, delete-window)
1507 (delete-other-windows, split-window): Handle side windows and
1508 atomic windows appropriately.
1509 (window--display-buffer): Call display-buffer-record-window also
1510 when the window buffer did not change.
ea95074e 1511
80a51fa0
CS
15122012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1513
1514 * help-fns.el (help-fns--key-bindings):
1515 Abbreviate non-symbol remap targets. (Bug#12174)
1516
fbb6300b
MR
15172012-08-22 Martin Rudalics <rudalics@gmx.at>
1518
1519 * dired.el (dired-mark-remembered): Don't clobber point.
1520 (Bug#11795)
1521
2b2c0794
GM
15222012-08-22 Glenn Morris <rgm@gnu.org>
1523
1524 * progmodes/bug-reference.el (bug-reference): New custom group.
1525 (bug-reference-bug-regexp): Make it a defcustom.
1526
37219830
DU
15272012-08-22 Daiki Ueno <ueno@unixuser.org>
1528
1529 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1530 (js-paren-indent-offset, js-square-indent-offset)
1531 (js-curly-indent-offset): Add :safe (Bug#12257).
1532
94e0e559
EC
15332012-08-22 Edward O'Connor <hober0@gmail.com>
1534
1535 * json.el (json-key-format): Add error properties.
1536 (json-encode-key): New function.
1537 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1538 Use json-encode-key.
1539
da485f5e
GM
15402012-08-22 Glenn Morris <rgm@gnu.org>
1541
1542 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1543 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1544 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1545 Update for above change.
1546
c6cc78b8
AS
15472012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1548
1549 * cus-face.el (custom-face-attributes): Fix customize type for the
1550 :underline attribute. (Bug#11805)
1551
5481664a
MR
15522012-08-21 Martin Rudalics <rudalics@gmx.at>
1553
1554 * window.el (window-point-1, set-window-point-1): Remove.
1555 (window-in-direction, record-window-buffer)
1556 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1557 (window--state-get-1, display-buffer-record-window):
1558 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1559 window-point and set-window-point respectively.
1560
6d74698e
GM
15612012-08-21 Glenn Morris <rgm@gnu.org>
1562
b7fa2691
GM
1563 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1564 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1565 Use it.
1566
52f56d5a
GM
1567 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1568 (cal-tex-shortday): New function.
1569 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1570 (cal-tex-cursor-filofax-daily): Use the above.
1571
9f1ee09e
GM
1572 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1573 New functions.
1574 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1575 (cal-tex-cursor-filofax-week): Use them.
1576
79858159
GM
1577 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1578 New constants.
1579 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1580 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1581
d346b2b4
GM
1582 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1583 (cal-tex-end-document): Don't rely on buffer name.
1584
b2403709
GM
1585 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1586 Use cal-tex-vspace.
1587 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1588 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1589 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1590 Use cal-tex-arg.
b2403709 1591
1cebb5c0
GM
1592 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1593 (cal-tex-cursor-week, cal-tex-cursor-week2)
1594 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1595 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1596 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1597 (cal-tex-insert-preamble, cal-tex-b-document)
1598 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1599 Improve cal-tex-cmd usage.
1600
c68cd5d4
GM
1601 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1602 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1603 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1604 (cal-tex-weekly-paper): New function.
1605 (cal-tex-cursor-week, cal-tex-cursor-week2)
1606 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1607 (cal-tex-cursor-day): Use it.
1608
9dca4801
GM
1609 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1610 (cal-tex-cursor-filofax-week): Remove leading blank page.
1611
1941e134
GM
1612 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1613 Add autoload cookie. For now at least, don't use color, since
1614 no other cal-tex function does.
1615
6d74698e
GM
1616 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1617 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1618 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1619
64cde199
JL
16202012-08-21 Juri Linkov <juri@jurta.org>
1621
1622 * info.el (Info-file-attributes): New variable.
1623 (info-insert-file-contents): Add file attributes to
1624 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1625 `Info-toc-nodes' when previous modtime of the Info file is less
1626 than new modtime.
1627 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1628 of info.el. (Bug#12230)
1629
32757648
GM
16302012-08-20 Glenn Morris <rgm@gnu.org>
1631
1632 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1633 * calendar/holidays.el (calendar-holiday-list):
1634 Report errors with display-warning rather than beep'n'sleep.
1635
a32fbbcf
MA
16362012-08-20 Michael Albinus <michael.albinus@gmx.de>
1637
1638 * net/tramp.el (tramp-accept-process-output): Accept only output
1639 from PROC. Otherwise, process filters and sentinels might be
1640 confused. (Bug#12145)
1641
a05731a0
CY
16422012-08-20 Chong Yidong <cyd@gnu.org>
1643
1644 * descr-text.el (describe-text-properties-1): Use overlays-in to
1645 report on empty overlays (Bug#3322).
1646
36e8d1eb
GM
16472012-08-20 Glenn Morris <rgm@gnu.org>
1648
3d300447
GM
1649 * mail/rmailout.el (rmail-output-read-file-name):
1650 Trap and report errors in rmail-output-file-alist elements.
1651
36e8d1eb
GM
1652 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1653 since most non-font-lock faces are not also variables).
1654
b96e5814
ER
16552012-08-20 Edward Reingold <reingold@iit.edu>
1656
1657 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1658 New function. (Bug12160)
1659
7cef3569
GM
16602012-08-19 Glenn Morris <rgm@gnu.org>
1661
1662 * mail/rmailout.el (rmail-output-read-file-name):
1663 Fix previous change (when the alist is nil or does not match).
1664
17975d7f
CY
16652012-08-19 Chong Yidong <cyd@gnu.org>
1666
1667 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1668 (Bug#12228).
1669
2170b1bd
CY
16702012-08-18 Chong Yidong <cyd@gnu.org>
1671
1672 * simple.el (yank-handled-properties): New defcustom.
1673 (yank-excluded-properties): Add font-lock-face and category.
1674 (yank): Doc fix.
1675
9fba804b
SM
1676 * subr.el (remove-yank-excluded-properties):
1677 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1678 and category is now done this way, instead of being hard-coded.
1679 (insert-for-yank-1): Remove font-lock-face handling.
1680 (yank-handle-font-lock-face-property)
1681 (yank-handle-category-property): New function.
1682
ee218151
GM
16832012-08-17 Glenn Morris <rgm@gnu.org>
1684
1685 * mail/rmailout.el (rmail-output-read-file-name):
1686 Check rmail-output-file-alist against the full message body
1687 in the correct rmail buffer. (Bug#12214)
1688
4a6bc3fd
MA
16892012-08-17 Michael Albinus <michael.albinus@gmx.de>
1690
9fba804b
SM
1691 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1692 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1693
383dcbf9
CY
16942012-08-17 Chong Yidong <cyd@gnu.org>
1695
1696 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1697 font spec, set the font directly (Bug#3228).
1698
998c4a6a
MR
16992012-08-17 Martin Rudalics <rudalics@gmx.at>
1700
1701 * window.el (delete-window): Fix last fix.
1702
52162052
MR
17032012-08-16 Martin Rudalics <rudalics@gmx.at>
1704
1705 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1706 (window-child, window-child-count, window-last-child)
1707 (window-normalize-window, window-combined-p)
1708 (window-combinations, window-atom-root, window-min-size)
1709 (window-sizable, window-sizable-p, window-size-fixed-p)
1710 (window-min-delta, window-max-delta, window--resizable)
1711 (window--resizable-p, window-resizable, window-total-size)
1712 (window-full-height-p, window-full-width-p, window-body-size)
1713 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1714 (minimize-window, window-deletable-p, delete-window)
1715 (delete-other-windows, set-window-buffer-start-and-point)
1716 (next-buffer, previous-buffer, split-window, balance-windows-2)
1717 (set-window-text-height, window-buffer-height)
1718 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1719 (truncated-partial-width-window-p): Minor code adjustments.
1720 In doc-strings state whether the argument window has to denote a
85c2386b 1721 live, valid or any window.
52162052 1722
1c308380
PS
17232012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1724
1725 * progmodes/subword.el (subword-forward-function)
1726 (subword-backward-function, subword-forward-regexp)
1727 (subword-backward-regexp): New variables.
1728 (subword-forward, subword-forward-internal, subword-backward-internal):
1729 Use new variables, eg so that different "word" definitions
1730 can be easily used. (Bug#11411)
1731
94c9ece1
SM
17322012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1735 for composite selectors.
1736 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1737 operation just because we can't find a previous revision.
1738
f2045622
CY
17392012-08-15 Chong Yidong <cyd@gnu.org>
1740
1741 * frame.el (set-frame-font): Accept font objects.
1742
582db660
SM
17432012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1744
1745 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1746
2f29c200
WJ
17472012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1748
456e62c2
WJ
1749 * man.el (Man-overstrike-face, Man-underline-face)
1750 (Man-reverse-face): Remove variables.
1751 (Man-overstrike, Man-underline, Man-reverse): New faces.
1752 (Man-fontify-manpage): Use them instead of the variables.
1753 (Man-cleanup-manpage): Comment change.
1754 (Man-ansi-color-map): New variable.
1755 (Man-fontify-manpage): Use it.
1756 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1757
2f29c200
WJ
1758 Implement ANSI SGR parameters 22-27 (bug#12146).
1759 * ansi-color.el (ansi-colors): Doc fix.
1760 (ansi-color-context, ansi-color-context-region): Doc fix.
1761 (ansi-color--find-face): New function.
1762 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1763 Rename the local variable `face' to `codes' since it is now a list of
1764 ansi codes. Doc fix.
1765 (ansi-color-get-face): Remove.
1766 (ansi-color-parse-sequence): New function, derived from
1767 ansi-color-get-face.
1768 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1769 codes 22-27.
1770
b4f5e9df
SM
17712012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * subr.el (read-passwd): Allow use from a minibuffer.
1774
ba025fbd
EZ
17752012-08-14 Eli Zaretskii <eliz@gnu.org>
1776
1777 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1778 inside comments and strings as identifiers.
1779
1780 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1781 expression to evaluate. This allows to evaluate expressions with
1782 embedded whitespace.
1783 (gud-tooltip-tips): Add a blank before the newline in the
1784 message-box text, for the benefit of message-box emulation on
1785 MS-Windows.
1786
1787 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1788 messages from GDB, pop them up in a tooltip to give feedback to
1789 user.
b4f5e9df
SM
1790 (gdb-tooltip-print-1): Quote the expression to evaluate.
1791 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1792 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1793 if the TTY name is nil or empty (which happens when communicating
1794 with the inferior via pipes, e.g. on MS-Windows).
1795 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1796 don't send that to the GUD buffer.
1797
c548f821
GM
17982012-08-14 Glenn Morris <rgm@gnu.org>
1799
1800 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1801 Optimize away setq-default with no args, as for setq. (Bug#12195)
1802
55802e4a
CY
18032012-08-14 Chong Yidong <cyd@gnu.org>
1804
4abcdac8
CY
1805 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1806
55802e4a
CY
1807 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1808 (Bug#12085).
1809
3c3cda1a
GM
18102012-08-14 Glenn Morris <rgm@gnu.org>
1811
1812 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1813
e1873bd0
MA
18142012-08-14 Michael Albinus <michael.albinus@gmx.de>
1815
1816 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1817 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1818 Use cached shell name.
1819
925411b4
FEG
18202012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1821
1822 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1823 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1824
e636fafe
DG
18252012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1826
1827 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1828 (ruby-percent-literal-beg-re): New constant.
1829 (ruby-syntax-general-delimiters-goto-beg): Rename to
1830 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1831 (ruby-syntax-propertize-general-delimiters): Rename to
1832 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1833 popular term. Adjust comments everywhere.
1834 (ruby-syntax-propertize-percent-literal): Only propertize when not
1835 inside a simple string or comment. When the literal is unclosed,
1836 leave the text after it unpropertized.
f063063a
DG
1837 (ruby-syntax-methods-before-regexp): New constant.
1838 (ruby-syntax-propertize-function): Use it to recognize regexps.
1839 Don't look at the text after regexp, just use the whitelist.
e636fafe 1840
e5b19827
AS
18412012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1842
1843 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1844 non-nil always load the compiled file if it exists. (Bug#12197)
1845
a9f6f311
CY
18462012-08-14 Chong Yidong <cyd@gnu.org>
1847
1848 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1849 (hi-lock-set-pattern): When deciding whether to use font lock or
1850 overlays, look at font-lock-mode instead of font-lock-fontified
1851 (Bug#12168).
1852 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1853 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1854
7d806b1e
DU
18552012-08-14 Daiki Ueno <ueno@unixuser.org>
1856
1857 * subr.el (internal--after-with-selected-window): Fix typo
1858 (Bug#12193).
1859
5beed586
FEG
18602012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1861
1862 Use `completion-table-dynamic' for completion functions.
1863 * progmodes/python.el
1864 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1865 (python-shell-completion--get-completions):
1866 Remove functions.
5beed586
FEG
1867 (python-shell-completion-complete-at-point): New function.
1868 (python-completion-complete-at-point): Use it.
1869
92cb3b04
J
18702012-08-13 Jambunathan K <kjambunathan@gmail.com>
1871
1872 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1873 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1874
89660017
SM
18752012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1876
3c98c962
SM
1877 * subr.el (function-get): Refine `autoload' arg so it can also
1878 autoload functions for gv.el (bug#12191).
1879 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1880 autoloads macros.
1881
aa7c6dbe
SM
1882 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1883 Prefer pcase-let over destructuring-bind.
1884 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1885 Also, remove whitespace as we go, rather than after accumulating the
1886 various places.
1887
89660017
SM
1888 * subr.el (internal--before-with-selected-window)
1889 (internal--after-with-selected-window): Fix typo seleted->selected.
1890 (with-selected-window): Adjust callers.
1891 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1892
31cd32c9
BG
18932012-08-13 Bastien Guerry <bzg@gnu.org>
1894
0fcd3d9f 1895 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1896 enhancement. (Bug#12172)
1897
1b15d8ad
AS
18982012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1899
31e54db0
AS
1900 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1901 type 1-6.
1902 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1903 extended headers.
1904
1b15d8ad
AS
1905 * files.el (hack-local-variables-filter): Remove useless eval.
1906
35cb9c06
MR
19072012-08-13 Martin Rudalics <rudalics@gmx.at>
1908
1909 * subr.el (with-selected-window): Fix last change.
1910
1439443b
SM
19112012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * subr.el (internal--before-with-seleted-window)
1914 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1915 (with-selected-window): Use them, to replace dependency on
1916 tty-top-frame.
1439443b 1917
0d9e2599
NN
19182012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1919
1920 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1921 binding for `newline'.
1922 (ruby-move-to-block): When moving backward, stop at block opening,
1923 not indentation.
1924 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1925 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1926 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1927 `ruby-toggle-block'.
1928
ba10c48c
SM
19292012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * ibuffer.el (ibuffer-do-toggle-read-only):
1932 * dired.el (dired-toggle-read-only):
1933 * buff-menu.el (Buffer-menu-toggle-read-only):
1934 * bindings.el (mode-line-toggle-read-only):
1935 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1936
9229c658
AS
19372012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1938
1939 * descr-text.el (describe-char): Put the overlays over the
1940 "displayed as" character.
1941
0fd09128
JB
19422012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1943
1944 * calc/calc-units.el (math-default-units-table): Give an
1945 initial value.
1946 (math-put-default-units): Add options to put composite units and
1947 unit systems in the default units table.
1948 (calc-convert-units): Send composite units to
1949 `math-put-default-units' when appropriate.
1950
9ff9402d 19512012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1952
fbb5e336
GM
1953 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1954
7aacaf15
GM
1955 * tutorial.el (help-with-tutorial):
1956 * emacs-lisp/copyright.el (copyright-update-directory):
1957 * emacs-lisp/autoload.el (autoload-find-generated-file)
1958 (autoload-find-file): Disable local eval: (for insurance).
1959
f40b9f10
GM
1960 * files.el (hack-local-variables-filter): If an eval: form is not
1961 known to be safe, and enable-local-variables is :safe, then ignore
1962 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1963 This is CVE-2012-3479.
f40b9f10 1964
daa9f1a6
SM
19652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1968 (rx-form): Simplify.
1969
9cd80478
DG
19702012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1971
0d9e2599
NN
1972 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1973 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1974 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1975 (ruby-syntax-propertize-function): Adjust for changes in
1976 `ruby-syntax-propertize-heredoc'.
1977
19782012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1979
9cd80478
DG
1980 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1981 binding (use `M-;' instead).
9cd80478 1982 (ruby-singleton-class-p): New function.
0d9e2599 1983 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1984
d301b413
SM
19852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1988
1530c98e
CY
19892012-08-10 Chong Yidong <cyd@gnu.org>
1990
1991 * progmodes/python.el (python-shell-get-process-name): Don't mess
1992 with same-window-buffer-names.
1993
1994 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1995 (eshell-remove-from-window-buffer-names): Make obsolete.
1996 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1997 (eshell): Just use pop-to-buffer-same-window instead.
1998
e1293765
CY
19992012-08-10 Chong Yidong <cyd@gnu.org>
2000
2001 * bindings.el: Bind M-= back to count-words-region.
2002
2003 * simple.el (count-words-region): Accept a prefix arg for acting
2004 on the entire buffer.
2005 (count-words--buffer-message): New helper function.
2006
e1894109
SM
20072012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2010 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2011 (event-start, event-end): Use posn-at-point to return a more
2012 informative posn.
2013 (posnp): New function.
2014 * mouse.el (popup-menu-normalize-position): Use it.
2015
c69f56a2
MY
20162012-08-10 Masatake YAMATO <yamato@redhat.com>
2017
2018 * mouse.el (popup-menu-normalize-position): New function.
2019 (popup-menu): Use `popup-menu-normalize-position' to normalize
2020 the form for POSITION argument.
2021
2022 * term/x-win.el (x-menu-bar-open):
2023 Use the value returend from (posn-at-point) as position
2024 passed to `popup-menu'.
2025
31673780
JB
20262012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2027
2028 * calc/calccomp.el (math-compose-expr): Add extra argument
2029 indicating that parentheses should be put around products in
2030 denominators. Give multiplication precedence over division during
2031 composition.
2032
dab7711b
CY
20332012-08-09 Chong Yidong <cyd@gnu.org>
2034
dee4ef93
CY
2035 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2036 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2037 (Man-untabify-command, manual-program): Convert to defcustom
2038 (Bug#10429).
2039
73e2bbc5
CY
2040 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2041
3e861c8a
CY
2042 * descr-text.el (describe-char): Don't insert extra newlines
2043 (Bug#10127).
2044
a9f5a649
CY
2045 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2046 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2047
dab7711b
CY
2048 * align.el (align-region): Delete temporary markers (Bug#10047).
2049 Plus some code cleanups.
2050
e0cc4efa
FEG
20512012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2052
2053 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2054 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2055 (python-shell-internal-last-output): Use make-local-variable
2056 instead of make-variable-buffer-local.
2057
489af14f
FEG
20582012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2059
2060 * progmodes/python.el: Enhancements to forward-sexp.
2061 (python-nav-forward-sexp): Rename from
2062 python-nav-forward-sexp-function.
c69f56a2
MY
2063 (python-nav--forward-sexp, python-nav--backward-sexp):
2064 New functions.
489af14f 2065
0fc50303
JB
20662012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2067
2068 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2069 modes and simplification modes.
2070
5d65606a
SM
20712012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * delsel.el (delete-selection-pre-hook): Don't propagate the
2074 file-supersession signals (bug#12161).
2075
4250fdf5
SM
20762012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2079 (cl-map-extents): Add compatibility aliases (bug#12135).
2080
d9f9b465
MA
20812012-08-08 Michael Albinus <michael.albinus@gmx.de>
2082
2083 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2084 tests by `ignore-error'.
2085 (tramp-find-shell): Open also a new shell, when cache is already
2086 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2087
ce0fcefa
JL
20882012-08-08 Juri Linkov <juri@jurta.org>
2089
2090 * bookmark.el: Add `defaults' property to the bookmark record.
2091 (bookmark-current-buffer): Doc fix.
2092 (bookmark-make-record): Add `defaults' property with default values
2093 to the bookmark record.
2094 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2095 with `bookmark-insert-current-bookmark'.
2096 (bookmark-set): Get `defaults' property from the bookmark record
2097 and use it in `read-from-minibuffer'.
2098 (bookmark-insert-current-bookmark): Remove function.
2099
2100 * info.el (Info-bookmark-make-record): Add `defaults' property
2101 with values of canonical Info node name, the current Info file
2102 name and the current Info node name. (Bug#12107)
2103
53fa8652
JL
21042012-08-08 Juri Linkov <juri@jurta.org>
2105
2106 * files.el (basic-save-buffer): Use `buffer-name' as the default
2107 of `read-file-name' when buffer is not visiting a file (bug#12128).
2108
242c0a95
JL
21092012-08-08 Juri Linkov <juri@jurta.org>
2110
2111 * info.el (Info-isearch-search): Doc fix.
2112 (Info-search): Change search-failed message from "initial node" to
2113 "end of node" (bug#12078).
2114 (Info-isearch-search): Change `isearch-string-state' to
2115 `isearch--state-string'.
2116
32ac3a6b
GM
21172012-08-08 Glenn Morris <rgm@gnu.org>
2118
2119 * language/persian.el: Remove file.
f8c1afd5 2120 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2121 * loadup.el: Remove language/persian.
2122
2c2d9c9c
OF
21232012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2124
2125 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2126
2d79ec42
FEG
21272012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2128
2129 * progmodes/python.el Fixed defsubst warning.
2130 (python-syntax-context) Rename from python-info-ppss-context.
2131 (python-syntax-context-type): Rename from
2132 python-info-ppss-context-type.
2133 (python-syntax-comment-or-string-p): Rename from
2134 python-info-ppss-comment-or-string-p.
2135
2bd255dd
JB
21362012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2137
2138 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2139
c395097f
AS
21402012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2141
6125983e
AS
2142 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2143 a defcustom that is quoted with backquote.
2144
4250fdf5
SM
2145 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2146 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2147 (math-do-arg-check, math-define-function-body): Use backquote forms.
2148 * calc/calc-ext.el (math-defcache): Likewise.
2149 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2150 * allout.el (allout-new-exposure): Likewise.
2151 * calc/calcalg2.el (math-tracing-integral): Likewise.
2152 * info.el (Info-last-menu-item): Likewise.
2153 * emulation/vip.el (vip-loop): Likewise.
2154 * textmodes/artist.el (artist-funcall): Likewise.
2155 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2156 Construct menu-item directly.
2157
4250fdf5
SM
2158 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2159 Don't declare.
c395097f 2160
5fb50dd3
CY
21612012-08-07 Chong Yidong <cyd@gnu.org>
2162
2163 * simple.el (deactivate-mark): Preserve text properties when
2164 saving the primary selection (Bug#8384).
2165
54eea618
KR
21662012-08-07 Kevin Ryde <user42@zip.com.au>
2167
2168 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2169 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2170 and continue processing (Bug#12110).
2171
638eaeb9
SM
21722012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2175 syntax-propertize-function (bug#10095).
2176
ea376861
SM
21772012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2178
f91b35be
SM
2179 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2180 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2181 describe-function-1.
2182 (describe-function-1): Use them. Move compiler macro after sig.
2183 (help-fns--compiler-macro): Use function-get. Assume we're already in
2184 standard-output. Adjust layout to new call order.
2185
ea376861
SM
2186 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2187 re-binding a symbol that has a symbol-macro (bug#12119).
2188
d5be7bd0
MB
21892012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2190
2191 * language/persian.el: New file. (Bug#11812)
2192 * loadup.el: Add language/persian.el.
2193
90749b53
CY
21942012-08-06 Chong Yidong <cyd@gnu.org>
2195
2196 * window.el (window--maybe-raise-frame): New function.
2197 (window--display-buffer): Split off from here.
2198 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2199 (display-buffer-pop-up-window, display-buffer-use-some-window):
2200 Obey an inhibit-switch-frame action alist entry.
2201 (display-buffer): Update doc.
2202
2203 * replace.el (occur-after-change-function): Avoid losing focus by
2204 using the inhibit-switch-frame display parameter (Bug#12139).
2205
ba7b0154
FEG
22062012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2207
2208 Make internal shell process buffer names start with space.
2209 * progmodes/python.el (python-shell-make-comint): Add optional
2210 argument INTERNAL.
2211 (run-python-internal): Use it.
2212 (python-shell-internal-get-or-create-process): Check for new
2213 internal buffer names.
2214
5eaeacb5
GM
22152012-08-06 Glenn Morris <rgm@gnu.org>
2216
e296d94b 2217 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2218 Do less getting and setting of environment variables.
2219
b7ccbdc2
CY
22202012-08-05 Chong Yidong <cyd@gnu.org>
2221
777fe95e
CY
2222 * proced.el (proced): Add substitution string to docstring to
2223 trigger autoloading of the proced library on C-h f (Bug#1768).
2224
4250fdf5
SM
2225 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2226 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2227
2228 * imenu.el (imenu-generic-expression): Move documentation here
2229 from imenu--generic-function.
2230 (imenu--generic-function): Refer to imenu-generic-expression.
2231
9e3b7800 22322012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2233
2234 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2235 indentation declaration.
2236 (viper-loop): Add indentation declaration (Bug#7025).
2237
e5d9c0d1
CY
22382012-08-05 Chong Yidong <cyd@gnu.org>
2239
f0422feb
CY
2240 * help-fns.el (describe-variable): Add hyperlink for
2241 directory-local variables files. Improve buffer-local and
2242 permanent-local reporting; suggested by MON KEY (Bug#6644).
2243
2244 * help-mode.el (help-dir-local-var-def): New button type.
2245
e5d9c0d1
CY
2246 * files.el (kill-buffer-hook): Provide a defvar.
2247
a4f2deaa
GM
22482012-08-05 Glenn Morris <rgm@gnu.org>
2249
2250 * eshell/esh-ext.el (eshell/addpath):
2251 Also update eshell-path-env. (Bug#12013)
2252
a9dd5754
CY
22532012-08-05 Chong Yidong <cyd@gnu.org>
2254
a4f2deaa 2255 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2256
d014c740
CY
2257 * fringe.el (fringe-styles): Add docstring.
2258 (fringe--check-mode): New function.
2259 (set-fringe-mode, set-fringe-style): Use it.
2260 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2261
a9dd5754
CY
2262 * files.el (set-auto-mode): Fix invalid setq call.
2263
7c2dc8bd
SM
22642012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * isearch.el: Misc simplification; use defstruct.
2267 (isearch-mode-map): Dense maps now work like sparse ones.
2268 (isearch--state): New defstruct.
2269 (isearch-string-state, isearch-message-state, isearch-point-state)
2270 (isearch-success-state, isearch-forward-state)
2271 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2272 (isearch-wrapped-state, isearch-barrier-state)
2273 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2274 replaced by defstruct's accessors.
2275 (isearch--set-state): Rename from isearch-top-state and change
2276 calling convention.
2277 (isearch-push-state): Use new isearch--get-state.
2278 (isearch-toggle-word): Disable regexp when enabling word.
2279 (isearch-message-prefix): Remove unused arg _c-q-hack.
2280 (isearch-message-suffix): Remove unused arg _ellipsis.
2281
7fcc0070
AS
22822012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2283
2284 * simple.el (list-processes--refresh): For a server use :host or
2285 :local as the address.
97ad0769 2286 (list-processes): Doc fix.
7fcc0070 2287
a11035b8 22882012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2289
2290 * lisp/mpc.el: Support password in host argument.
2291 (mpc--proc-connect): Parse and use new password element.
2292 Set mpc-proc variable instead of returning process.
2293 (mpc-proc): Adjust accordingly.
2294
6dad7178
EZ
22952012-08-03 Eli Zaretskii <eliz@gnu.org>
2296
18949c2f
EZ
2297 * whitespace.el (whitespace-display-mappings): Use Unicode
2298 codepoints, instead of emacs-mule codepoints. See
2299 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2300 for the details.
2301
6dad7178
EZ
2302 * files.el (file-truename): Don't skip symlink-chasing part on
2303 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2304 Windows into the loop that recursively chases symlinks.
2305 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2306 MS-DOS.
2307
385b0198
CY
23082012-08-03 Chong Yidong <cyd@gnu.org>
2309
6200f3c4
CY
2310 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2311
385b0198
CY
2312 * sort.el (sort-regexp-fields): Doc fix.
2313
b9e74744
TH
23142012-08-03 Tassilo Horn <tsdh@gnu.org>
2315
2316 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2317 labels regex position point at the expected place.
2318
41013cb4
MK
23192012-08-03 MON KEY <monkey@sandpframing.com>
2320
2321 * net/imap.el (imap-interactive-login, imap-authenticate)
2322 (imap-mailbox-lsub, imap-mailbox-list)
2323 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2324 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2325 (imap-parse-response): Doc fix.
2326
0ffee616
JT
23272012-08-03 João Távora <joaotavora@gmail.com>
2328
2329 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2330 if sexp scanning does not move point (Bug#5734).
2331
cfcc9cc8
TH
23322012-08-02 Tassilo Horn <tsdh@gnu.org>
2333
2334 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2335 Add listings, minted, and ctable packages.
2336 (reftex-label-alist-builtin): Move listings, minted, and ctable
2337 entries before LaTeX.
a01bbb84 2338 (reftex-label-alist): Docfix.
cfcc9cc8 2339
66ec2442
BG
23402012-08-02 Bastien Guerry <bzg@gnu.org>
2341
2342 * replace.el (occur): Fix docstring (bug#12122).
2343
837b365b
GM
23442012-08-02 Glenn Morris <rgm@gnu.org>
2345
2346 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2347
e098de97
PE
23482012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2349
2350 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2351 * international/mule-cmds.el: Create
2352 inactivate-current-input-method-function as an obsolete alias for
2353 deactivate-current-input-method-function. See Katsumi Yamaoka in
2354 <http://bugs.gnu.org/10150#46>.
2355
a0f95636
JB
23562012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2357
2358 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2359 of nested `if's.
2360
0d26d7c4
GM
23612012-08-01 Glenn Morris <rgm@gnu.org>
2362
2363 * progmodes/autoconf.el (autoconf-definition-regexp):
2364 Add AH_TEMPLATE, adjust submatch numbering.
2365 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2366 (autoconf-current-defun-function): Update for above change.
2367 (autoconf-current-defun-function): First skip to end of current word.
2368
b686ba06
RS
23692012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2370
2371 * calendar/cal-html.el (cal-html-insert-agenda-days):
2372 Fix typo. (Bug#12018)
2373
0d49da68
FEG
23742012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2375
2376 Shell processes: enhancements to startup and CEDET compatibility.
2377 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2378 (python-shell-make-comint): accept-process-output at startup.
2379 (run-python-internal): Set inferior-python-mode-hook to nil.
2380 (python-shell-internal-get-or-create-process): call sit-for.
2381 (python-preoutput-result): Add obsolete alias.
2382 (python-shell-internal-send-string): Use it.
2383 (python-shell-send-setup-code): Remove call to
2384 accept-process-output.
2385
f1a71c6e
AS
23862012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2387
2388 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2389 (Bug#12108)
2390
d2605269
JB
23912012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2392
2393 * calc-mode.el (calc-basic-simplification-mode): Rename from
2394 `calc-limited-simplification-mode'.
2395 (calc-alg-simplification-mode): New function.
fc0c31f8 2396 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2397
d2605269
JB
2398 * calc.el (calc-set-mode-line): Adjust mode line display for
2399 basic simplification mode.
2400
2401 * calc-help.el (calc-m-prefix-help): Update help message.
2402
2403 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2404 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2405
a3827a43
BG
24062012-07-31 Bastien Guerry <bzg@gnu.org>
2407
2408 * man.el (man): Fix comment. (bug#12101)
2409
502e3f89
MR
24102012-07-31 Martin Rudalics <rudalics@gmx.at>
2411
2412 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2413 Don't return a non-nil value when no suitable buffer was found.
2414
d7714961
FEG
24152012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2416
2417 * progmodes/python.el (run-python-internal): Disable font lock for
2418 internal shells.
2419
1f45e27e
SM
24202012-07-30 Stefan Merten <smerten@oekonux.de>
2421
70efc5c9 2422 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2423 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2424 (rst-official-version, rst-official-cvs-rev)
2425 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2426 (rst-mode-map): New key binding.
2427
0aee6912
PE
24282012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2429
2430 Update .PHONY listings in makefiles.
2431 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2432 autoloads, update-subdirs, updates, bzr-update, update-authors,
2433 compile-onefile, compile-calc, backup-compiled-files,
2434 compile-after-backup, compile-one-process, mh-autoloads,
2435 bootstrap-clean, distclean, maintainer-clean.
2436
9052f9f0
JB
24372012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2438
1823ac5a
JB
2439 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2440 (calc-set-mode-line): Don't display "AlgSimp ".
2441
2442 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2443 (calc-lim-simplify-mode): New function.
2444 (calc-set-simplify-mode): Default to 'alg.
2445 (calc-default-simplify-mode): Make algebraic simplifications
2446 the default.
2447
2448 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2449 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2450
8d7c7eed 2451 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2452 indicate new simplification modes.
2453
1823ac5a
JB
2454 * calc/README: Mention new default simplification mode.
2455
9052f9f0
JB
2456 * calc/calc.el (math-normalize-error): New variable.
2457 (math-normalize): Set `math-normalize-error' to t
2458 when there's an error.
2459
2460 * calc/calc-alg.el (math-simplify): Don't simplify when
2461 `math-normalize' returns an error.
2462
20ba0cb4
EZ
24632012-07-29 Eli Zaretskii <eliz@gnu.org>
2464
2465 * international/mule-cmds.el (set-locale-environment): Revert last
2466 change, since display-graphic-p returns nil when this function is
2467 called during startup. Instead...
2468
2469 * term/w32console.el (terminal-init-w32console): ...setup the
2470 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2471
a5dcc929
JL
24722012-07-29 Juri Linkov <juri@jurta.org>
2473
2474 * simple.el (goto-line): Don't display default line number in the
2475 prompt because it should be displayed by `read-number' (bug#9952).
2476 Add the current line number to the defaults of `goto-line' to
2477 allow its easier modification by users with `M-n' (bug#9201).
2478
2479 * subr.el (read-number): Support multiple default values like in
2480 other minibuffer reading functions. Replace `read' with
2481 `string-to-number' for consistency with `number-to-string'.
2482
72b255c7
PE
24832012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2484
2485 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2486 * emulation/viper-init.el (viper-deactivate-input-method-action):
2487 Rename from viper-inactivate-input-method-action.
2488 (viper-deactivate-input-method):
2489 Rename from viper-inactivate-input-method.
2490 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2491 * international/mule-cmds.el (deactivate-input-method):
2492 Rename from inactivate-input-method.
2493 Also run input-method-deactivate-hook.
2494 (deactivate-current-input-method-function):
2495 Rename from inactivate-current-input-method-function.
2496 (input-method-deactivate-hook): New hook.
2497 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2498 (inactivate-input-method): Mark obsolete.
2499
72b255c7
PE
2500 * international/quail.el (quail-activate):
2501 Also run quail-deactivate-hook.
2502 (quail-deactivate): Rename from quail-inactivate.
2503 * international/robin.el (robin-activate):
2504 Also run robin-deactivate-hook.
2505 (robin-deactivate): Rename from robin-inactivate.
2506
2549c068
CY
25072012-07-29 Chong Yidong <cyd@gnu.org>
2508
2509 * simple.el (indicate-copied-region): New function.
2510 (kill-ring-save): Split off from here.
2511
2512 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2513 (kill-rectangle): Set deactivate-mark to t on read-only error.
2514
2515 * register.el (copy-to-register, copy-rectangle-to-register):
2516 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2517 (append-to-register, prepend-to-register):
2518 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2519
2520 * simple.el (async-shell-command-buffer): New defcustom.
2521 (shell-command): Use it. (Bug#4719)
2522
01bd1b0d
EZ
25232012-07-28 Eli Zaretskii <eliz@gnu.org>
2524
2525 * international/mule-cmds.el (set-locale-environment): In a
2526 console session on MS-Windows, set up keyboard and terminal
2527 encoding from the OEM codepage, not the ANSI codepage.
2528 (Bug#12055)
2529
a55739d3
CY
25302012-07-28 Chong Yidong <cyd@gnu.org>
2531
2532 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2533 gdb-get-location.
2534
0e1a094f 25352012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2536
2537 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2538 the alist (bug#12029).
2539
20329d73
EZ
25402012-07-28 Eli Zaretskii <eliz@gnu.org>
2541
2542 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2543 (compile-always, compile-first)
2544 ($(lisp)/calendar/cal-loaddefs.el)
2545 ($(lisp)/calendar/diary-loaddefs.el)
2546 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2547 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2548 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2549 instead of on update-subdirs.
2550 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2551
345a2258
CY
25522012-07-28 Chong Yidong <cyd@gnu.org>
2553
1eee6341
CY
2554 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2555 directory if vc-deduce-backend returns nil (Bug#7350).
2556
345a2258
CY
2557 * simple.el (delete-trailing-lines): New option.
2558 (delete-trailing-whitespace): Obey it (Bug#11879).
2559
049a0936
DE
25602012-07-28 David Engster <deng@randomsample.de>
2561
2562 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2563 Explanation of new 'symbol-qnames feature in doc-strings.
2564 (xml-maybe-do-ns): Return expanded names as plain symbols if
2565 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2566 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2567
aa81af71
FEG
25682012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2569
2570 Consistent completion in inferior python with emacs -nw.
2571 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2572 binding in inferior-python-mode-map with "\t".
2573 (python-shell-completion-complete-at-point)
2574 (python-completion-complete-at-point): Remove interactive spec.
2575
e827b1eb
JB
25762012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2577
2578 * calc/calccomp.el (math-compose-expr): Undo previous change.
2579
a90dfb95
FEG
25802012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2581
4250fdf5 2582 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2583 run-python.
2584 (python-shell-make-comint): Fix pop-to-buffer call.
2585 (run-python): Autoload. New arg SHOW.
2586 (python-shell-get-or-create-process): Do not pop python process
2587 buffer.
2588
32770973 25892012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2590
2591 * notifications.el (notifications-on-action-signal)
2592 (notifications-on-closed-signal): Use also the bus address for the map.
2593 (notifications-notify, notifications-close-notification)
fc0c31f8 2594 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2595
86332df2
TH
25962012-07-27 Tassilo Horn <tsdh@gnu.org>
2597
4250fdf5
SM
2598 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2599 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2600 ctable macro.
2601 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2602 labels written in keyvals syntax.
2603
ca1302a4
JB
26042012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2605
2606 * calc/calccomp.el (math-compose-expr): Use parentheses when
2607 there is a product in the denominator of a fraction.
2608
f8b91036
EZ
26092012-07-26 Eli Zaretskii <eliz@gnu.org>
2610
2611 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2612 ($(lisp)/calendar/diary-loaddefs.el)
2613 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2614 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2615 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2616 rewritten while the autoload files are built at the same time,
2617 which needs to load subdirs.el.
2618
c8e5a42c
MR
26192012-07-26 Martin Rudalics <rudalics@gmx.at>
2620
2621 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2622 (mouse-drag-line): Don't exit tracking when a switch-frame or
2623 switch-window event occurs (Bug#12006).
2624
670d85ea
SM
26252012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * mouse.el (popup-menu): Fix last change.
2628
7abaf5cc
SM
26292012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 Autoload from Lisp with more care. Follow aliases when looking for
2632 function properties.
2633 * subr.el (autoloadp): New function.
2634 (symbol-file): Use it.
2635 (function-get): New function.
2636 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2637 autoload-do-load.
2638 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2639 (lisp-indent-function):
2640 * emacs-lisp/gv.el (gv-get):
2641 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2642 * emacs-lisp/byte-opt.el (byte-optimize-form):
2643 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2644 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2645 Use function-get.
2646 * emacs-lisp/cl.el: Don't propagate function properties any more.
2647
2648 * speedbar.el (speedbar-add-localized-speedbar-support):
2649 * emacs-lisp/disass.el (disassemble-internal):
2650 * desktop.el (desktop-load-file):
2651 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2652 (describe-function-1):
2653 * emacs-lisp/find-func.el (find-function-noselect):
2654 * emacs-lisp/elp.el (elp-instrument-function):
2655 * emacs-lisp/advice.el (ad-has-proper-definition):
2656 * apropos.el (apropos-safe-documentation, apropos-macrop):
2657 * emacs-lisp/debug.el (debug-on-entry):
2658 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2659 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2660 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2661
b1364986
AA
26622012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2663
2664 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2665 function, not an obsolete variable (Bug#12046).
2666
67ada220
AS
26672012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2668
2669 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2670
f08088e3
CS
26712012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2672
2673 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2674 window only if it is still live (Bug#12034).
2675
8137e7b3
MR
26762012-07-25 Martin Rudalics <rudalics@gmx.at>
2677
2678 * subr.el (redirect-frame-focus): Add advertised calling
2679 convention (Bug#12030).
2680
09ae5da1
PE
26812012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2682
2683 Prefer typical American spelling for "acknowledgment".
2684 * vc/add-log.el (change-log-acknowledgment): Rename from
2685 change-log-acknowledgement, with an alias for the old name.
2686
3cc5a3a8
JB
26872012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2688
2689 * calc-alg.el (math-simplify-divide): Don't cross multiply
2690 in an equation when the lhs is a variable.
2691
b7af7f62
JD
26922012-07-24 Julien Danjou <julien@danjou.info>
2693
2694 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2695 Remove, unused.
2696
ec1b09b1
EZ
26972012-07-23 Eli Zaretskii <eliz@gnu.org>
2698
2699 * startup.el (command-line): Don't display an empty user name in
2700 the error message about non-existent home directory, when
2701 init-file-user was set to an empty string. See
2702 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2703 for the details and context.
2704
b525fd8a
VB
27052012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2706
2707 * ses.el (ses-cell-formula-aset): New macro.
2708 (ses-cell-references-aset): New macro.
2709 (ses-cell-p): New function.
2710 (ses-rename-cell): Do no longer rely on complex operations like
2711 ses-cell-set-formula or ses-set-cell to change the cell and handle
2712 the undo at the same time, but rather use lower level new macros
2713 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2714 the undo directly. Refresh the mode line.
b525fd8a 2715
2c73e345
LL
27162012-07-21 Leo Liu <sdl.web@gmail.com>
2717
670d85ea
SM
2718 * progmodes/cc-cmds.el (c-defun-name):
2719 Use match-string-no-properties instead for consistency.
2c73e345 2720
542dfbde
LL
27212012-07-20 Leo Liu <sdl.web@gmail.com>
2722
3646bcd6
LL
2723 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2724 (Bug#7879)
2725
542dfbde
LL
2726 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2727
25721031
CY
27282012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2731 * progmodes/bug-reference.el, misearch.el: Provide themselves
2732 (bug#11915).
2733
2734 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2735 of narrowed buffer (bug#11966).
2736
316e68a7
VB
27372012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2738
2739 * ses.el (ses-rename-cell): Set new name also in reference list of
2740 cells of which the renamed cell depends.
2741
bbf0e7d9
MY
27422012-07-20 Masatake YAMATO <yamato@redhat.com>
2743
2744 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2745 to check whether menu-bar is shown or not. If not shown,
2746 show the menu-bar as a popup menu instead of using tmm.
2747 * mouse.el (popup-menu): Accept `point' as `position' argument.
2748
c28662a8
DG
27492012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2750
2751 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2752 up inside string symbol literal (bug#11923).
2753
87ab808f
EZ
27542012-07-20 Eli Zaretskii <eliz@gnu.org>
2755
2756 * startup.el (fancy-startup-text): Read the whole tutorial, not
2757 just its first 256 bytes. Prevents gibberish in display of the
2758 tutorial title.
2759
89dea803
DA
27602012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2761
2762 Drop idle buffer compaction due to an absence of the
2763 proved efficiency.
2764 * compact.el: Remove.
2765
8a4e6db8
SS
27662012-07-19 Sam Steingold <sds@gnu.org>
2767
2768 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2769 vc-bzr-pull & vc-bzr-merge-branch.
2770 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2771 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2772 for consistency with compilation-error-regexp-alist.
2773 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2774 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2775 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2776 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2777
5db81e33
SM
27782012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * emacs-lisp/chart.el: Use lexical-binding.
2781 (chart-emacs-storage): Don't hardcode the list of entries.
2782
5b835e1d
DA
27832012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2784
2785 Next round of tweaks caused by Fgarbage_collect changes.
2786 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2787
9cd47b72
DA
27882012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2789
2790 Compact buffers when idle.
2791 * compact.el: New file.
2792
1d6fc0df
SM
27932012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * subr.el (eventp): Presume that if it looks vaguely like an event,
2796 it's an event (bug#10190).
2797
1d29cc7d
FEG
27982012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2799
2800 Enhancements to ppss related code (thanks Stefan).
2801 * progmodes/python.el (python-indent-context)
2802 (python-indent-calculate-indentation, python-indent-dedent-line)
2803 (python-indent-electric-colon, python-nav-forward-block)
2804 (python-mode-abbrev-table)
1d6fc0df 2805 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2806 for ppss context.
2807 (python-info-continuation-line-p): Cleanup.
2808 (python-info-ppss-context): Do not catch 'quote.
2809 (python-info-ppss-context-type)
2810 (python-info-ppss-comment-or-string-p): Simplify.
2811
d583cbe6
FEG
28122012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2813
2814 * progmodes/python.el: Enhancements to eldoc support.
2815 (python-info-current-symbol): New function.
2816 (python-eldoc-at-point): Use python-info-current-symbol.
2817 (python-info-current-defun): Fix cornercase on first defun scan.
2818 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2819 and signal error when no inferior python process is available.
2820
eceb6feb
DG
28212012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2822
2823 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2824 assume it's always t.
2825 (vc-git-registered): Remove caching, the function is only called
2826 once.
2827 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2828
4c8ff0fe
CY
28292012-07-18 Chong Yidong <cyd@gnu.org>
2830
19fb7186
CY
2831 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2832
9587c688
CY
2833 * simple.el (count-words): Report on narrowing (Bug#9959).
2834
0fe776a1
CY
2835 * bindings.el: Bind M-= to count-words.
2836
4c8ff0fe
CY
2837 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2838
7f5331cc
MY
28392012-07-18 Masatake YAMATO <yamato@redhat.com>
2840
2841 * progmodes/sh-script.el (sh-imenu-generic-expression):
2842 Capture a function with `function' keyword and without parentheses
2843 like "function FOO" (bug#11856).
2844
2dc2a609
TH
28452012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2846
2847 * window.el (split-window-sensibly): Make WINDOW argument
2848 optional.
2849
439f7677
CY
28502012-07-18 Chong Yidong <cyd@gnu.org>
2851
9aeb25a6
CY
2852 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2853
439f7677
CY
2854 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2855 and make C-x 8 RET exit isearch (Bug#11439).
2856
2857 * international/iso-transl.el: Move isearch-mode-map key
2858 definitions to isearch.el.
2859
12999ea8
SM
28602012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2863 (eieio-defclass): Use gv-define-setter when possible.
2864
3ab6e069
DA
28652012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2866
2867 Reflect recent changes in Fgarbage_collect.
2868 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2869 reflect new format of data returned by Fgarbage_collect.
2870
0a60bc10
FEG
28712012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2872
2873 New utility functions + python-info-ppss-context fix (Bug#11910).
2874 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2875 (python-info-ppss-comment-or-string-p): New functions.
2876 (python-info-ppss-context): Small fix for string check.
2877
6dafa0d5
JL
28782012-07-17 Juri Linkov <juri@jurta.org>
2879
2880 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2881 (dired-do-async-shell-command): Don't add `*' at the end of the
2882 command (Bug#11815).
2883 (dired-do-shell-command): Doc fix.
2884 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2885 Join the individual commands using either "&" or ";" as the
2886 separator depending on the values of these trailing characters.
2887 At the end re-add the trailing "&". (Bug#10598)
2888
2889 * simple.el (async-shell-command): Sync the interactive spec with
2890 `shell-command'. Doc fix.
2891 (shell-command): Doc fix.
2892
b19dd9d1
JL
28932012-07-17 Juri Linkov <juri@jurta.org>
2894
2895 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2896
bcdc27d7 28972012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2898
bcdc27d7 2899 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2900 * progmodes/python.el (python-nav-beginning-of-statement):
2901 Rename from python-nav-statement-start.
bcdc27d7
FEG
2902 (python-nav-end-of-statement): Rename from
2903 python-nav-statement-end.
2904 (python-nav-beginning-of-block): Rename from
2905 python-nav-block-start.
2906 (python-nav-end-of-block): Rename from python-nav-block-end.
2907
191da00e
FEG
29082012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2909
7f5331cc
MY
2910 * progmodes/python.el (python-shell-send-string-no-output):
2911 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2912 future interactions (Bug#11868).
2913
4dc7c8d5 29142012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2915
88ecaf8f
SM
2916 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2917
ef501ef0
SM
2918 * emacs-lisp/elint.el (elint-find-args-in-code):
2919 Use help-function-arglist, so as to handle lexical byte-code.
2920
aa7aaf8f
SM
2921 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2922 change (bug#11826).
2923
45fd731c
SM
29242012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2143fa32
SM
2926 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2927 Avoid spuriously marking the buffer as modified because of c-is-sws.
2928
efc26dbe
SM
2929 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2930 as not-a-comment (bug#11946).
2931
f5695c9a
SM
2932 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2933 for uninterned vars.
2934
2935 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2936 Use read-event since we don't really want to read chars but bytes.
2937
45fd731c
SM
2938 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2939 $$..$$ but also $..$ using regexps (bug#11953).
2940 Use tex-verbatim for \url and \path.
2941 (tex-font-lock-keywords): Define as defconst like the others.
2942 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2943
ddfc8813
RK
29442012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2945
2946 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2947 alias for insert-char.
2948
758e556a
FEG
29492012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2950
2951 * progmodes/python.el: Simplified imenu implementation.
2952 (python-nav-jump-to-defun): Remove command.
2953 (python-mode-map): Use `imenu' instead.
2954 (python-nav-list-defun-positions-cache)
2955 (python-imenu-include-defun-type, python-imenu-make-tree)
2956 (python-imenu-subtree-root-label, python-imenu-index-alist):
2957 Remove vars.
2958 (python-nav-list-defun-positions, python-nav-read-defun)
2959 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2960 (python-imenu-make-tree, python-imenu-create-index):
2961 Remove functions.
758e556a
FEG
2962 (python-mode): Update to interact with imenu by setting
2963 `imenu-extract-index-name-function' only.
2964
032d23ab
FEG
29652012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2966
2967 * progmodes/python.el: Enhancements to navigation commands.
2968 (python-nav-backward-sentence)
2969 (python-nav-forward-sentence): Remove.
2970 (python-nav-backward-statement, python-nav-forward-statement)
2971 (python-nav-statement-start, python-nav-statement-end)
2972 (python-nav-backward-block, python-nav-forward-block)
2973 (python-nav-block-start, python-nav-block-end)
2974 (python-nav-forward-sexp-function)
2975 (python-info-current-line-comment-p)
2976 (python-info-current-line-empty-p): New functions.
2977 (python-indent-context): Use `python-nav-statement-start'.
2978
01795a1b
MA
29792012-07-16 Michael Albinus <michael.albinus@gmx.de>
2980
9328d9aa
MA
2981 * eshell/em-ls.el (eshell/ls): Use `apply'.
2982
2983 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2984 multi-hops, instead of Tramp internals.
2985
01795a1b
MA
2986 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2987
2988 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2989 when F1 and F2 are located on different hosts.
2990
63408057
CY
29912012-07-14 Chong Yidong <cyd@gnu.org>
2992
2993 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2994 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2995 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2996 (xterm-mouse--read-event-sequence-1000)
2997 (xterm-mouse--read-event-sequence-1006): New functions. For old
2998 mouse protocol, handle M-mouse-X events correctly.
2999 (xterm-mouse-event): New arg specifying mouse protocol.
3000 (turn-on-xterm-mouse-tracking-on-terminal)
3001 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3002 sequence to toggle extended coordinates on newer XTerms.
3003 This appears to be harmless on terminals which do not support this.
63408057 3004
cd276f6e
LL
30052012-07-14 Leo Liu <sdl.web@gmail.com>
3006
28ca98ac
LL
3007 Add fringe bitmap indicators for flymake. (Bug#11253)
3008 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3009 (flymake-make-overlay): New arg BITMAP.
3010 (flymake-error-bitmap, flymake-warning-bitmap)
3011 (flymake-fringe-indicator-position): New user variables.
3012
cd276f6e
LL
3013 * fringe.el: New bitmap exclamation-mark.
3014
04408072
JD
30152012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3016
3017 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3018 also (Bug#7879).
3019
b5cf7fc4
CY
30202012-07-14 Chong Yidong <cyd@gnu.org>
3021
3022 * electric.el (electric-pair-post-self-insert-function): Fix pair
3023 insertion in empty-region case (Bug#11520).
3024
be755c79
RT
30252012-07-14 Chong Yidong <cyd@gnu.org>
3026
45fd731c
SM
3027 * bindings.el: Consolidate ctl-x-r-map bindings.
3028 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3029
3030 * rect.el, register.el: Move bindings to bindings.el.
3031
30322012-07-14 Reuben Thomas <rrt@sc3d.org>
3033
3034 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3035
7f5b3198
AS
30362012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3037
3038 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3039
97662200
JB
30402012-07-13 Juanma Barranquero <lekktu@gmail.com>
3041
80185fed
JB
3042 * bindings.el (top): Use `mapc' instead of `mapcar'.
3043
97662200
JB
3044 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3045
2bb1ae55
MA
30462012-07-13 Michael Albinus <michael.albinus@gmx.de>
3047
3048 * progmodes/sql.el (sql-comint): Suppress the check for program on
3049 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3050 (Bug#11908)
3051
dea31bd3
CY
30522012-07-13 Chong Yidong <cyd@gnu.org>
3053
3054 * bindings.el: Assign a non-nil permanent-local property to
3055 per-buffer variables which lack a default value (Bug#11930).
3056
3057 * help-fns.el (describe-variable): In the "automatically becomes
3058 local" notice, take note of permanent-local variables.
3059
b68b3337
CY
30602012-07-13 Chong Yidong <cyd@gnu.org>
3061
3062 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3063 to allow printing the message when called from Lisp.
3064
3065 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3066 Remove toggle-read-only.
3067
3068 * bs.el (bs-toggle-readonly):
45fd731c
SM
3069 * buff-menu.el (Buffer-menu-toggle-read-only):
3070 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3071
3072 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3073 Remove with-no-warnings around toggle-read-only.
3074 (ffap-read-only, ffap-read-only-other-window)
3075 (ffap-read-only-other-frame): Callers changed.
3076
3077 * help-mode.el: Don't require view package.
3078 (help-mode-finish): Set buffer-read-only instead of calling
3079 toggle-read-only.
3080
3081 * bindings.el (mode-line-toggle-read-only):
3082 * dired.el (dired-toggle-read-only):
3083 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3084 with non-nil second arg.
3085
3086 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3087 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3088 directly.
3089
56bc1586
EZ
30902012-07-12 Eli Zaretskii <eliz@gnu.org>
3091
3092 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3093 not incf.
3094
a464a6c7
SM
30952012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 More CL cleanups and reduction of use of cl.el.
3098 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3099 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3100 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3101 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3102 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3103 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3104 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3105 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3106 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3107 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3108 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3109 * eshell/em-cmpl.el, eshell/em-banner.el:
3110 * calendar/parse-time.el: Use cl-lib.
3111 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3112 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3113 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3114 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3115 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3116 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3117 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3118 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3119 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3120 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3121 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3122 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3123 `lambda' rather than with `quote'.
3124 (eshell-do-opt): Adjust accordingly.
3125 (eshell-process-option): Simplify.
3126 * eshell/esh-var.el:
3127 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3128 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3129 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3130 to `pcase--dontcare'.
3131 * emacs-lisp/cl.el (labels): Mark obsolete.
3132 (cl--letf, letf): Move to cl-lib.
3133 (cl--letf*, letf*): Remove.
3134 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3135 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3136 (cl-progv): Rewrite.
3137 (cl--letf, cl-letf): Move from cl.el.
3138 (cl-letf*): New macro.
3139 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3140
7ad4afe1
MA
31412012-07-11 Michael Albinus <michael.albinus@gmx.de>
3142
3143 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3144
9af57756
CY
31452012-07-11 Chong Yidong <cyd@gnu.org>
3146
3147 * vc/log-edit.el (log-edit-vc-backend): New variable.
3148 (log-edit): Doc fix.
3149
3150 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3151 argument of log-edit to set up all local variables.
3152 (vc-start-logentry): New optional arg specifying VC backend.
3153
3154 * vc/vc.el (vc-checkin): Use it.
3155 (vc-deduce-fileset): Handle Log Edit buffers.
3156 (vc-diff): Make first argument optional too.
3157
3158 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3159
8477cc7a
MA
31602012-07-10 Michael Albinus <michael.albinus@gmx.de>
3161
3162 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3163 command, just in case. The function is not needed anymore.
3164 (eshell-external-command): Do not call `eshell-remote-command'.
3165
19faa8e8
SM
31662012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3167
f58e0fd5
SM
3168 Reduce use of (require 'cl).
3169 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3170 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3171 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3172 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3173 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3174 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3175 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3176 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3177 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3178 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3179 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3180 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3181 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3182 (byte-compile-unfold-bcf, byte-compile-check-variable):
3183 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3184 (byte-compile-nilconstp):
3185 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3186 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3187
2519d43a
SM
3188 * emacs-lisp/gv.el (cond): Make it a valid place.
3189 (if): Simplify slightly.
3190
19faa8e8
SM
3191 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3192 (pcase--self-quoting-p): New function.
3193 (pcase--u1): Use it.
3194
c4907a5e
GM
31952012-07-10 Glenn Morris <rgm@gnu.org>
3196
3197 * emacs-lisp/authors.el (authors-fixed-entries):
3198 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3199
c4444d16
PE
32002012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3201
3202 Rename configure.in to configure.ac (Bug#11603).
3203 * emacs-lisp/authors.el (authors-canonical-file-name):
3204 * progmodes/autoconf.el (autoconf-mode):
3205 Prefer configure.ac to configure.in.
3206
d75be97d
CY
32072012-07-08 Chong Yidong <cyd@gnu.org>
3208
01ac65bd
CY
3209 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3210 Implement the mouse-1-click-follows-link handling properly.
3211
3212 * info.el (Info-link-keymap): Use follow-link mechanism for
3213 header-line links (Bug#374).
3214
d75be97d
CY
3215 * simple.el (deactivate-mark): Do not set the primary selection
3216 if another program has acquired it (Bug#11772).
3217
87a92845 32182012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3219
3220 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3221 (woman-decode-region): Replace escaped-escapes without destroying
3222 bold or underline (Bug#11552).
87a92845 3223 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3224
621b9d6c
CY
32252012-07-07 Chong Yidong <cyd@gnu.org>
3226
3227 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3228 (interprogram-cut-function, interprogram-paste-function):
3229 Mention that we typically mean the clipboard.
621b9d6c 3230
133a11fc
GM
32312012-07-06 Glenn Morris <rgm@gnu.org>
3232
0d27a45e
GM
3233 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3234
133a11fc
GM
3235 * files.el (toggle-read-only): Restrict message to interactive use.
3236
07b151f1
MA
32372012-07-06 Michael Albinus <michael.albinus@gmx.de>
3238
3239 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3240
3241 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3242
211b896b
GM
32432012-07-06 Glenn Morris <rgm@gnu.org>
3244
50394322
GM
3245 * Makefile.in (compile-one-process): Rename from "recompile".
3246
211b896b
GM
3247 * Makefile.in (bzr-update): "compile" is the same as "recompile
3248 autoloads", but parallelizable, so use that instead.
3249
4737eec9
DG
32502012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3251
3252 * window.el (quit-window): Always restore window height when
8137e7b3 3253 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3254
226c3633 32552012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3256
3257 * simple.el (kill-whole-line): Doc tweak.
3258
226c3633 32592012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3260
3261 * files.el (file-relative-name): Compare file names
3262 case-insensitively if on MS-Windows or MS-DOS, or if
3263 read-file-name-completion-ignore-case is non-nil. Don't use
3264 case-fold-search for this purpose. (Bug#11827)
3265
4dc7c8d5
SM
32662012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3267
3268 * calendar/cal-dst.el (calendar-current-time-zone):
3269 Return calendar-current-time-zone-cache if non-nil.
3270
32712012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 32722012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3273
19faa8e8
SM
3274 * calendar/cal-dst.el (calendar-current-time-zone):
3275 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3276
60198fc9
GM
32772012-07-06 Glenn Morris <rgm@gnu.org>
3278
3279 * Makefile.in (cvs-update): Remove old alias.
3280
957b3189
MA
32812012-07-05 Michael Albinus <michael.albinus@gmx.de>
3282
3283 Sync with Tramp 2.2.6-pre.
3284
3285 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3286 compatible declaration.
3287
19faa8e8
SM
3288 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3289 Protect `list-load-path-shadows' call.
957b3189
MA
3290
3291 * net/tramp-compat.el (top): Require packages, which aren't
3292 autoloaded anymore for XEmacs. Protect call of
3293 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3294 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3295 it hurts at least for SXEmacs.
3296 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3297 standard-value for `temporary-file-directory'.
3298
3299 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3300 Redirect stderr to /dev/null.
3301 (tramp-sh-handle-write-region): uid and gid can be floats.
3302 Reported by Russell Sim <russell.sim@gmail.com>.
3303 (tramp-sh-handle-vc-registered): Hide errors.
3304 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3305 and `start-file-process'.
3306 (tramp-maybe-open-connection): Check also whether `non-essential'
3307 is bound.
3308
566df3fc
CY
33092012-07-04 Chong Yidong <cyd@gnu.org>
3310
3311 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3312 (xml-parse-tag): Likewise, and avoid changing entity tables.
3313 (xml-syntax-table): Define from scratch, making sure not to give
3314 x2000 and other Unicode spaces whitespace syntax, since those are
3315 not spaces in XML.
3316 (xml-parse-fragment): Delete unused function.
3317 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3318 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3319 (xml-entity-ref, xml-pe-reference-re)
3320 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3321 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3322 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3323 (xml-entity-value-re): Use syntax references in regexps where
3324 possible; no need to define inside a let-binding.
3325 (xml-parse-dtd): Use xml-pe-reference-re.
3326 (xml-entity-or-char-ref-re): New defconst.
3327 (xml-parse-string, xml-substitute-special): Use it.
3328
30eabd7a
SM
33292012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3330
0781098a
SM
3331 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3332 (find-file--read-only): New function.
3333 (find-file-read-only, find-file-read-only-other-window)
3334 (find-file-read-only-other-frame): Use it.
3335 (insert-file-contents-literally): Don't `fset'.
3336 (get-free-disk-space): Use locate-dominating-file.
3337
b5771c0d
SM
3338 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3339 function is already compiled.
3340
30eabd7a
SM
3341 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3342
b4886f6e
MA
33432012-07-03 Michael Albinus <michael.albinus@gmx.de>
3344
3345 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3346 files on the same host.
3347
b9d82339
AS
33482012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3349
3350 * help-fns.el (describe-function-1): Only call
3351 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3352
a76e6535
CY
33532012-07-03 Chong Yidong <cyd@gnu.org>
3354
3355 * xml.el: Protect parser against XML bombs.
3356 (xml-entity-expansion-limit): New variable.
3357 (xml-parse-string, xml-substitute-special): Use it.
3358 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3359
b544fef2
GM
33602012-07-03 Glenn Morris <rgm@gnu.org>
3361
3362 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3363 Allow linking to specific messages in debbugs reports (eg 123#5).
3364
a7aef6f5
CY
33652012-07-02 Chong Yidong <cyd@gnu.org>
3366
3367 * xml.el: Fix entity and character reference expansion, allowing
3368 them to expand into markup as per XML spec.
3369 (xml-default-ns): New variable.
3370 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3371 (xml-parse-region): Make first two arguments optional.
3372 Discard text properties.
3373 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3374 All callers changed.
a7aef6f5
CY
3375 (xml-parse-tag): Call xml-parse-tag-1. For backward
3376 compatibility, this function should not modify buffer contents.
3377 (xml-parse-tag-1): Fix opening-tag regexp.
3378 (xml-parse-string): Rewrite, handling entity and character
3379 references properly.
3380 (xml--entity-replacement-text): Signal an error if a parameter
3381 entity is undefined.
3382
3df31c9f
SM
33832012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3384
2b5208f1
SM
3385 * comint.el (comint-output-filter): Filter out repeated prompts.
3386
3df31c9f
SM
3387 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3388 and file-name-absolute-p.
3389 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3390 internal calls.
3391
e3ac1281
PE
33922012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3393
3394 Spelling fixes.
3395 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3396 Rename from byte-compile--refiy-function. All uses changed.
3397
fbf2e7ad
CY
33982012-07-01 Chong Yidong <cyd@gnu.org>
3399
3400 * xml.el (xml--parse-buffer): New function. Move most of
3401 xml-parse-region here.
3402 (xml-parse-region): Copy region into a temporary buffer, since
3403 parameter entity substitution requires changing buffer contents.
3404 Use xml--parse-buffer.
3405 (xml-parse-file): Use xml--parse-buffer.
3406 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3407 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3408
9bf0aa15
GM
34092012-06-30 Glenn Morris <rgm@gnu.org>
3410
bbce2853
GM
3411 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3412
9bf0aa15
GM
3413 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3414 Remove outdated and unnecessary dbus declarations.
3415
0d23c240
EZ
34162012-06-30 Eli Zaretskii <eliz@gnu.org>
3417
3418 * emacs-lisp/timer.el (timer-until): Subtract results of
3419 float-time, instead of taking float-time of the result of
3420 time-subtract, since float-time signals an error for negative time
3421 arguments.
3422
b3218de1
CY
34232012-06-30 Chong Yidong <cyd@gnu.org>
3424
3425 * xml.el (xml-*-re): Convert defvars into defconsts, and
3426 eval-and-compile them so eval-and-compile works on derivatives.
3427 (xml--entity-replacement-text): Use eval-and-comple.
3428
a40c87a0
MA
34292012-06-30 Michael Albinus <michael.albinus@gmx.de>
3430
3431 * vc/vc-git.el (vc-git-registered): Use cache property
3432 `git-registered'.
3433 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3434 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3435 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3436
ac87de97
DG
34372012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3440 removed (likely outside Emacs). (Bug#11757)
ac87de97 3441
ac10fe06
SM
34422012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3df31c9f 3444 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3445
7f3fbd5d
CY
34462012-06-30 Chong Yidong <cyd@gnu.org>
3447
3448 * xml.el: Implement XML parameter entities.
3449 (xml-parameter-entity-alist): New variable.
3450 (xml-parse-region, xml-parse-fragment): Preserve previous values
3451 of xml-entity-alist and xml-parameter-entity-alist, so that
3452 repeated calls on different documents do not change them.
3453 (xml-parse-tag): Fix doctype regexp.
3454 (xml--entity-replacement-text): New function.
3455 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3456 properly requires url retrieval which is unimplemented.
3457 (xml-escape-string): Doc fix.
3458
3cfbebba
SM
34592012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3462
2af3565e
DA
34632012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3464
3465 * fringe.el (fringe-mode): Doc fix.
3466
929df0e7
MA
34672012-06-29 Michael Albinus <michael.albinus@gmx.de>
3468
3469 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3470 is non-nil.
3471 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3472 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3473
c8d3a25c 34742012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3475
c8d3a25c
GM
3476 * calendar/cal-dst.el (calendar-current-time-zone):
3477 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3478
c8d3a25c 34792012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3480
3481 * progmodes/which-func.el (which-func-format):
3482 Add mouse-face. (Bug#11698)
3483
c8d3a25c
GM
34842012-06-29 Leo Liu <sdl.web@gmail.com>
3485
3486 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3487
34882012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * minibuffer.el (minibuffer-confirm-exit-commands):
3491 Add completion-at-point (bug#11725).
3492
34932012-06-29 Glenn Morris <rgm@gnu.org>
3494
3495 * progmodes/f90.el (f90-font-lock-keywords-2):
3496 Add some preprocessor elements. (Bug#10499)
3497
34982012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3499
3500 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3501 Use syntax-propertize (bug#11739).
3502
2badeec4
JB
35032012-06-28 Juanma Barranquero <lekktu@gmail.com>
3504
3505 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3506
ae4969c2
JD
35072012-06-28 Julien Danjou <julien@danjou.info>
3508
3509 * term.el (term-handle-colors-array): Use a set of new faces to
3510 color the terminal. Also uses :inverse-video property.
3511 (term-default-fg-color): Set to nil by default, deprecate in favor
3512 of `term-face'.
3513 (term-default-bg-color): Set to nil by default, deprecate in favor
3514 of `term-face'.
3515 (term-current-face): Use `term-face' by default.
3516 (term-bold-attribute): Variable deleted.
3517
1c9bd870
GM
35182012-06-28 Glenn Morris <rgm@gnu.org>
3519
3520 * simple.el (completion-list-mode-finish):
3521 Don't use toggle-read-only. (Since completion-list-mode has
3522 a special mode-class, it wasn't doing anything extra anyway.)
3523
c207708c
SM
35242012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 Make inlining of other-mode interpreted functions work (bug#11799).
3527 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3528 (byte-compile): Use it to fix compilation of lexical-binding closures.
3529 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3530 function, if needed.
3531
3fd56834
SM
35322012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3533
04901786
SM
3534 * help-mode.el (help-make-xrefs): Don't just withstand
3535 cyclic-variable-indirection but any error in documentation-property.
3536
1ec4b7b2
SM
3537 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3538 memory use.
3539 * bindings.el (bindings--define-key): New function.
3540 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3541 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3542 * bindings.el: Use it to purecopy define-key bindings.
3543
e309e2a5
SM
3544 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3545
d5c6faf9
SM
3546 * emacs-lisp/cl.el (flet): Mark obsolete.
3547 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3548 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3549 * progmodes/js.el (js-c-fill-paragraph):
3550 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3551 (ebrowse-switch-member-buffer-to-derived-class):
3552 * play/5x5.el (5x5-solver): Use cl-flet.
3553
6e9590e2
SM
3554 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3555 (cl--symbol-function): New macro.
3556 (cl--letf, cl--letf*): Use it.
3557
3fd56834
SM
3558 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3559 Strip "toggle-" if any.
3560
35ff222c
GM
35612012-06-27 Glenn Morris <rgm@gnu.org>
3562
1ba6038a
GM
3563 * info.el (Info-default-directory-list): Move here from paths.el.
3564 * paths.el: Remove file, which is now empty.
3565 * loadup.el: No longer load "paths".
3566
0ea0e51b
GM
3567 * custom.el (custom-initialize-delay): Doc fix.
3568
35ff222c
GM
3569 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3570 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3571 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3572 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3573 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3574 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3575 * eshell/eshell.el (eshell-defgroup): Remove alias.
3576
c89926a5
CY
35772012-06-27 Chong Yidong <cyd@gnu.org>
3578
3579 * help.el (help-enable-auto-load): New variable.
3580
3581 * help-fns.el (help-fns--autoloaded-p): New function.
3582 (describe-function-1): Refer to a function as "autoloaded" if it
3583 was autoloaded at any time in the past. Perform autoloading if
3584 help-enable-auto-load is non-nil.
3585
cc06e7e7
EZ
35862012-06-26 Eli Zaretskii <eliz@gnu.org>
3587
3588 * makefile.w32-in (compile, compile-always): Depend on
3589 update-subdirs, not on subdirs.el. Otherwise, several different
3590 sub-targets of 'bootstrap' running in parallel could
3591 simultaneously write to subdirs.el, producing a garbled file.
3592
d2c32364
SS
35932012-06-26 Sam Steingold <sds@gnu.org>
3594
3595 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3596 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3597 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3598 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3599 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3600 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3601 * textmodes/tex-mode.el: Use it.
3602 Did not touch cedet and org because they are maintained elsewhere.
3603
5cf983b2
MR
36042012-06-26 Martin Rudalics <rudalics@gmx.at>
3605
3606 * calendar/calendar.el (calendar-exit): Don't try to delete or
3607 iconify last frame. See:
3608 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3609
8c4f2952
JD
36102012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3611
3612 * server.el (server-process-filter): Remember dir in the
3613 process's `server-client-directory' properties.
3614
772b2e2c
CY
36152012-06-24 Chong Yidong <cyd@gnu.org>
3616
3617 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3618 non-tag text.
3619
711b11e1
JB
36202012-06-23 Juanma Barranquero <lekktu@gmail.com>
3621
3622 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3623
dc5d230c
SM
36242012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * help-fns.el (describe-variable): Don't croak when doc is not found.
3627 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3628 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3629 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3630 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3631 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3632 ((lambda ..) ..).
3633 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3634
136e1c1d
CY
36352012-06-23 Chong Yidong <cyd@gnu.org>
3636
e8c1cabf
CY
3637 * info.el (Info-mouse-follow-link): Accept symbol values of
3638 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3639 (Info-fontify-node): Use Info-link-keymap for all navigation
3640 buttons, with link-args property to perform the desired action.
3641 (Info-link-keymap): Doc fix.
3642 (Info-next-link-keymap, Info-prev-link-keymap)
3643 (Info-up-link-keymap): Delete now-unused keymaps.
3644
0e9e6c6a
CY
36452012-06-23 Chong Yidong <cyd@gnu.org>
3646
05e89fea
CY
3647 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3648
0e9e6c6a
CY
3649 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3650 system abbrevs.
3651
3652 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3653
e33c6771
SM
36542012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3655
b68581e2
SM
3656 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3657 (bug#11719).
3658
e33c6771
SM
3659 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3660 the requote function doesn't work properly (bug#11714).
3661
7117e105
GM
36622012-06-23 Glenn Morris <rgm@gnu.org>
3663
3664 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3665
36cec983
SM
36662012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 Further GV/CL cleanups.
3669 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3670 gv-expander.
3671 (gv--defun-declaration): New function.
3672 (defun-declarations-alist): Use it.
3673 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3674 (gv-place): Autoload.
3675 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3676 original definition of dotimes and dolist.
3677 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3678 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3679 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3680 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3681 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3682 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3683 to the function's definition.
3684 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3685 * window.el:
3686 * files.el:
3687 * faces.el:
3688 * env.el: Don't use CL.
3689
d35af63c
PE
36902012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3691
3692 Support higher-resolution time stamps (Bug#9000).
3693
3694 * calendar/time-date.el (with-decoded-time-value): New arg
3695 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3696 (encode-time-value): New optional arg PICO. New type 3.
3697 (time-to-seconds) [!float-time]: Support the new picoseconds
3698 component if it's used.
3699 (seconds-to-time, time-subtract, time-add):
3700 Support ps-resolution time stamps as well.
3701
3702 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3703 (timerp): Timer vectors now have length 9, not 8.
3704 (timer--time): Support new-style (4-part) time stamps.
3705 (timer-next-integral-multiple-of-time): Time stamps now have
3706 picosecond resolution, so take a bit more care about rounding.
3707 (timer-relative-time, timer-inc-time): New optional arg psecs.
3708 (timer-set-time-with-usecs): Set psecs to 0.
3709 (timer--activate): Check psecs component, too.
3710
3711 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3712
ac77b21a
SM
37132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3714
f143bfe3
SM
3715 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3716 Move the non-essential binding to the post/pre-command-hook where it is
3717 more obviously correct.
3718
ac77b21a
SM
3719 * subr.el (read-passwd): Don't use a history at all.
3720 * savehist.el (savehist-save): Remove password saved accidentally
3721 because of the above bug.
3722
76386c5a
BG
37232012-06-22 Bastien Guerry <bzg@gnu.org>
3724
3725 * files.el (toggle-read-only): Display a message telling whether
3726 the buffer is read-only or not (bug#11726).
3727
2ee3d7f0
SM
37282012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 * emacs-lisp/gv.el: New file.
3731 * subr.el (push, pop): Extend to generalized variables.
3732 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3733 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3734 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3735 gv-define-simple-setter, and gv-define-expander.
3736 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3737 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3738 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3739 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3740 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3741 gv-letplace.
3742 (cl-defstruct): Don't define setf-method any more.
3743 * emacs-lisp/cl.el (flet): Don't autoload.
3744 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3745 (define-setf-expander, defsetf, define-modify-macro)
3746 (cl-struct-setf-expander): Move from cl-lib.el.
3747 * emacs-lisp/syntax.el:
3748 * emacs-lisp/ewoc.el:
3749 * emacs-lisp/smie.el:
3750 * emacs-lisp/cconv.el:
3751 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3752 (timer--time): Use gv-define-simple-setter.
3753 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3754 to avoid coding-system problems in subr.el. Adjust all users.
3755 (macroexp--maxsize, macroexp-small-p): New functions.
3756 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3757 * scroll-bar.el (scroll-bar-mode):
3758 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3759 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3760 * winner.el (winner-configuration, winner-make-point-alist)
3761 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3762 * files.el (locate-file-completion-table): Avoid list*.
3763
c5695d1d
CY
37642012-06-22 Chong Yidong <cyd@gnu.org>
3765
3766 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3767 (dired-create-files): Doc fix (Bug#11329).
3768 (dired-do-copy): Doc fix (Bug#11334).
3769 (dired-mark-read-string): Doc fix (Bug#11553).
3770
2ee3d7f0
SM
3771 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3772 Doc fix (Bug#11326).
c5695d1d
CY
3773 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3774 (dired-dwim-target): Doc fix.
3775
3776 * wdired.el (wdired-mode): Doc fix.
3777
89b5595a
GM
37782012-06-22 Glenn Morris <rgm@gnu.org>
3779
575db3f1
GM
3780 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3781 (pcmpl-rpm-cache-stamp-file): New constant.
3782 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3783 (pcmpl-rpm-packages): Optionally cache list of packages.
3784
a4c8dd51
GM
3785 * pcmpl-rpm.el (pcmpl-rpm): New group.
3786 (pcmpl-rpm-query-options): New option.
3787 (pcmpl-rpm-packages): No need to inline it.
3788 Use pcmpl-rpm-query-options.
3789
89b5595a
GM
3790 * calendar/calendar.el (calendar-in-read-only-buffer):
3791 Avoid some needless mode changes.
3792
e76f0800
CY
37932012-06-21 Chong Yidong <cyd@gnu.org>
3794
3795 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3796 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3797 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3798
297a8f1d
CY
37992012-06-20 Chong Yidong <cyd@gnu.org>
3800
3801 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3802
d34c18b1
DR
38032012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3804
3805 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3806 (bug#11201).
3807
32f7f28e
CY
38082012-06-20 Chong Yidong <cyd@gnu.org>
3809
3810 * term.el (term-window-width): Handle the case of a missing right
3811 fringe (Bug#8837).
3812 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3813 (term-mode): Use define-derived-mode. Minor cleanups.
3814 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3815 (term-move-columns, term-insert-char, term-emulate-terminal)
3816 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3817
493c6688
MA
38182012-06-20 Michael Albinus <michael.albinus@gmx.de>
3819
d34c18b1
DR
3820 * net/ange-ftp.el (ange-ftp-get-passwd):
3821 Bind `enable-recursive-minibuffers'.
493c6688
MA
3822 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3823
3f06ecf4
DR
38242012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3825
3826 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3827
68f12411
GM
38282012-06-19 Glenn Morris <rgm@gnu.org>
3829
3830 * progmodes/python.el (python-mode): Derive from prog-mode.
3831
b3820318
KG
38322012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3833
3834 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3835 (edt-user-menu-bar-update-buffers): New functions.
3836 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3837
c6bf3022
CY
38382012-06-19 Chong Yidong <cyd@gnu.org>
3839
3840 * subr.el (with-selected-window): Preserve the selected window's
3841 terminal's top-frame (Bug#4702).
3842
3843 * window.el (save-selected-window): Likewise.
3844
25f09295
SM
38452012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * progmodes/python.el (python-rx-constituents): Move backquote.
3848 (python-skeleton-define, python-define-auxiliary-skeleton):
3849 Use `declare'.
3850
6b11952a
MA
38512012-06-18 Michael Albinus <michael.albinus@gmx.de>
3852
3853 * minibuffer.el (read-file-name-default): Revert the patch from
3854 2012-06-17.
3855
ee4b1330
SM
38562012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3857
3858 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3859 (pcase--u1, pcase--q1): Don't use apply-partially.
3860
35647f79
GM
38612012-06-18 Glenn Morris <rgm@gnu.org>
3862
3863 * progmodes/python.el (python-proc, python-buffer)
3864 (python-send-receive, python-send-string): Fix obsolete versions.
3865
24b0cff0
MR
38662012-06-18 Martin Rudalics <rudalics@gmx.at>
3867
3868 * window.el (special-display-p): Completely remove stringp
3869 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3870
29855149
MA
38712012-06-17 Michael Albinus <michael.albinus@gmx.de>
3872
3873 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3874
3875 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3876
3877 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3878 * net/tramp-sh.el (tramp-maybe-open-connection):
3879 Throw if `non-essential' is non-nil.
3880
07463363
MR
38812012-06-17 Martin Rudalics <rudalics@gmx.at>
3882
3883 * window.el (special-display-p): Signal an error if BUFFER-NAME
3884 is not a string (Bug#11713).
3885
48d1354e
PE
38862012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3887
3888 * progmodes/python.el (python-info-beginning-of-backslash):
3889 Rename from python-info-beginning-of-backlash, as a spelling fix.
3890
eb4a8a9a
CY
38912012-06-17 Chong Yidong <cyd@gnu.org>
3892
3893 * term.el (term-emulate-terminal): If term-check-size is called,
3894 move point to the process mark without resetting point (Bug#4635).
3895
ddfbf826 38962012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3897
3898 * international/mule-cmds.el (mule-menu-keymap)
3899 (set-language-environment, set-locale-environment): Doc tweaks.
3900
9b0e3eba
AA
39012012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3902
3903 * cus-face.el (custom-face-attributes): Add wave-style underline
3904 attribute.
3905 * faces.el (set-face-attribute): Update docstring to describe
3906 wave-style underline attribute.
3907
771e3eae
CY
39082012-06-16 Chong Yidong <cyd@gnu.org>
3909
3910 * term/xterm.el (terminal-init-xterm): Discard input before
3911 querying background mode (Bug#10959).
3912
7ae2ea10
SM
39132012-06-16 Stefan Merten <smerten@oekonux.de>
3914
3915 * textmodes/rst.el: Added and corrected some comments.
3916 (rst-re-alist-def): Improve symbol syntax.
3917 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3918 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3919 (rst-official-version, rst-official-cvs-rev): Update version
3920 information.
7ae2ea10 3921
b6974efa
JB
39222012-06-15 Juanma Barranquero <lekktu@gmail.com>
3923
3924 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3925 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3926
8826d473
GM
39272012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3928
3929 * progmodes/python.el: New python.el merge.
3930 (python-guess-indent): Obsolete var.
3931 (python-indent-guess-indent-offset): New defcustom.
3932 (python-indent): Obsolete var.
3933 (python-indent-offset): New defcustom.
3934 (python-python-command, python-jython-command): Delete var.
3935 (python-shell-interpreter): New defcustom.
3936 (python-pdbtrack-do-tracking-p): Delete var.
3937 (python-pdbtrack-activate): New defcustom.
3938 (python-use-skeletons): Obsolete var.
3939 (python-skeleton-autoinsert): New defcustom.
3940 (inferior-python-filter-regexp, python-continuation-offset)
3941 (python-honour-comment-indentation, python-indent-string-contents)
3942 (python-jython-packages, python-mode-hook)
3943 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3944 (python-shell-prompt-alist)
3945 (python-source-modes): Delete defcustoms.
3946 (python-check-buffer-name, python-eldoc-setup-code)
3947 (python-eldoc-string-code, python-ffap-setup-code)
3948 (python-ffap-string-code, python-fill-comment-function)
3949 (python-fill-decorator-function, python-fill-paren-function)
3950 (python-fill-string-function, python-imenu-include-defun-type)
3951 (python-imenu-make-tree, python-imenu-subtree-root-label)
3952 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3953 (python-shell-compilation-regexp-alist)
3954 (python-shell-completion-module-string-code)
3955 (python-shell-completion-pdb-string-code)
3956 (python-shell-completion-setup-code)
3957 (python-shell-completion-string-code)
3958 (python-shell-enable-font-lock, python-shell-exec-path)
3959 (python-shell-extra-pythonpaths)
3960 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3961 (python-shell-process-environment)
3962 (python-shell-prompt-block-regexp)
3963 (python-shell-prompt-output-regexp)
3964 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3965 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3966 (python-shell-virtualenv-path): New defcustoms.
3967 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3968 (inferior-python-mode-syntax-table, python--prompt-regexp)
3969 (python-buffer, python-command python-python-command)
3970 (python-default-template, python-imports, python-indent-index)
3971 (python-indent-list, python-indent-list-length)
3972 (python-mode-running, python-pdbtrack-is-tracking-p)
3973 (python-preoutput-continuation, python-preoutput-leftover)
3974 (python-preoutput-result, python-preoutput-skip-next-prompt)
3975 (python-prev-dir/file, python-recursing)
3976 (python-saved-check-command, python-version-checked)
3977 (python-which-func-length-limit)
3978 (view-return-to-alist): Delete vars.
3979 (python-check-custom-command, python-dotty-syntax-table)
3980 (python-imenu-index-alist, python-indent-current-level)
3981 (python-indent-dedenters, python-indent-levels)
3982 (python-nav-beginning-of-defun-regexp)
3983 (python-nav-list-defun-positions-cache)
3984 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3985 (python-shell-internal-buffer)
3986 (python-skeleton-available): New vars.
3987 (def-python-skeleton): Delete macro.
3988 (python-skeleton-define): New macro.
3989 (python-define-auxiliary-skeleton, python-rx): New macros.
3990 (python-insert-class): Delete command.
3991 (python-skeleton-class): New command.
3992 (python-insert-def): Delete command.
3993 (python-skeleton-def): New command.
3994 (python-insert-for): Delete command.
3995 (python-skeleton-for): New command.
3996 (python-insert-if): Delete command.
3997 (python-skeleton-if): New command.
3998 (python-insert-try/except, python-insert-try/finally): Delete commands.
3999 (python-skeleton-try): New command.
4000 (python-insert-while): Delete command.
4001 (python-skeleton-while): New command.
4002 (python-backspace): Delete command.
4003 (python-indent-dedent-line-backspace): New command.
4004 (python-electric-colon): Delete command.
4005 (python-indent-electric-colon): New command.
4006 (python-guess-indent): Delete command.
4007 (python-indent-guess-indent-offset): New command.
4008 (python-shift-left): Delete command.
4009 (python-indent-shift-left): New command.
4010 (python-shift-right): Delete command.
4011 (python-indent-shift-right): New command.
4012 (python-find-function): Delete command.
4013 (python-nav-jump-to-defun): New command.
4014 (python-next-statement): Delete command.
4015 (python-nav-forward-sentence): New command.
4016 (python-previous-statement): Delete command.
4017 (python-nav-backward-sentence): New command.
4018 (python-fill-paragraph): Delete command.
4019 (python-fill-paragraph-function): New command.
4020 (python-send-buffer): Delete command.
4021 (python-shell-send-buffer): New command.
4022 (python-send-defun): Delete command.
4023 (python-shell-send-defun): New command.
4024 (python-send-region, python-send-region-and-go): Delete commands.
4025 (python-shell-send-region)
4026 (python-shell-switch-to-shell): New commands.
4027 (python-send-string): Delete command.
4028 (python-shell-send-string): New command.
4029 (python-switch-to-python): Delete command.
4030 (python-shell-switch-to-shell): New command.
4031 (python-describe-symbol): Delete command.
4032 (python-eldoc-at-point): New command.
4033 (python--set-prompt-regexp, python-args-to-list)
4034 (python-after-info-look, python-check-version)
4035 (python-check-comint-prompt, python-find-imports)
4036 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4037 (python-unload-function, python-expand-template)
4038 (python-maybe-jython, python-preoutput-filter)
4039 (python-pdbtrack-get-source-buffer)
4040 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4041 (python-pdbtrack-toggle-stack-tracking)
4042 (python-pdbtrack-track-stack-file, python-initial-text)
4043 (python-first-word, python-comment-line-p, python-send-command)
4044 (python-setup-brm, python-sentinel, python-set-proc)
4045 (python-skip-out, python-input-filter, python-outdent-p)
4046 (python-outline-level, python-backslash-continuation-line-p)
4047 (python-end-of-block, python-end-of-statement, python-mark-block)
4048 (python-beginning-of-block, python-beginning-of-statement)
4049 (python-blank-line-p, python-beginning-of-string)
4050 (python-open-block-statement-p): Delete functions.
4051 (python-indent-line, python-indent-line-1): Delete functions.
4052 (python-indent-line): New function.
4053 (python-indentation-levels): Delete function.
4054 (python-indent-calculate-levels): New function.
4055 (python-proc): Delete function.
4056 (python-shell-get-process): New function.
4057 (python-send-receive): Delete function.
4058 (python-shell-send-string-no-output): New function.
4059 (python-module-path): Delete function.
4060 (python-ffap-module-path): New function.
4061 (python-completion-at-point)
4062 (python-symbol-completions): Delete functions.
4063 (python-completion-complete-at-point): New function.
4064 (python-load-file): Delete function.
4065 (python-shell-send-file): New function.
4066 (python-calculate-indentation): Delete function.
4067 (python-indent-calculate-indentation): New function.
4068 (python-skip-comments/blanks): Delete function.
4069 (python-util-forward-comment): New function.
4070 (python-continuation-line-p): Delete function.
4071 (python-info-continuation-line-p): New function.
4072 (python-which-func, python-current-defun): Delete function.
4073 (python-info-current-defun): New function.
4074 (python-beginning-of-defun): Delete function.
4075 (python-nav-beginning-of-defun): New function.
4076 (python-close-block-statement-p)
4077 (python-block-end-p): Delete function.
4078 (python-info-closing-block): New function.
4079 (python-comint-output-filter-function)
4080 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4081 (python-fill-comment, python-fill-decorator, python-fill-paren)
4082 (python-fill-string, python-imenu-make-element-tree)
4083 (python-imenu-make-tree, python-imenu-tree-assoc)
4084 (python-indent-context, python-indent-dedent-line)
4085 (python-indent-line-function)
4086 (python-indent-post-self-insert-function)
4087 (python-indent-toggle-levels)
4088 (python-info-assignment-continuation-line-p)
4089 (python-info-beginning-of-backlash)
4090 (python-info-block-continuation-line-p)
4091 (python-info-closing-block-message)
4092 (python-info-line-ends-backslash-p)
4093 (python-info-looking-at-beginning-of-defun)
4094 (python-info-ppss-context, python-info-ppss-context-type)
4095 (python-nav-list-defun-positions, python-nav-read-defun)
4096 (python-nav-sentence-end, python-nav-sentence-start)
4097 (python-pdbtrack-comint-output-filter-function)
4098 (python-pdbtrack-set-tracked-buffer)
4099 (python-shell-calculate-exec-path)
4100 (python-shell-calculate-process-environment)
4101 (python-shell-completion--do-completion-at-point)
4102 (python-shell-completion--get-completions)
4103 (python-shell-completion-complete-at-point)
4104 (python-shell-completion-complete-or-indent)
4105 (python-shell-get-or-create-process)
4106 (python-shell-get-process-name)
4107 (python-shell-internal-get-or-create-process)
4108 (python-shell-internal-get-process-name)
4109 (python-shell-internal-send-string, python-shell-make-comint)
4110 (python-shell-parse-command, python-shell-send-setup-code)
4111 (python-skeleton-add-menu-items)
4112 (python-util-clone-local-variables, python-util-position)
4113 (run-python-internal, python-indentation-levels)
4114 (python-nav-beginning-of-defun)
4115 (python-completion-complete-at-point): New functions.
4116 (run-python): Change arguments. New API requirements.
4117
4302f5ba
SM
41182012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4119
f38ea36d
SM
4120 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4121 (bug#11649).
4122
4123 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4124 (macroexp--expand-all): Use it.
4125
4302f5ba
SM
4126 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4127 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4128 Use `cl-function' instead.
4129
33377562
JB
41302012-06-14 Juanma Barranquero <lekktu@gmail.com>
4131
4132 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4133 Suggested by Stefan Monnier while discussing bug#11657.
4134
54c5ba1a
SS
41352012-06-14 Sam Steingold <sds@gnu.org>
4136
4137 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4138
f9f1b1fe
AS
41392012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4140
4141 * play/doctor.el (doctor-doc): Remove parameter and use
4142 doctor-sent instead of sent.
4143 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4144
a81068ba
SM
41452012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4146
5a315f9c
SM
4147 * files.el: Require cl-lib.
4148 (file-name-non-special): Replace case -> cl-case.
4149
4150 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4151
a81068ba
SM
4152 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4153 mapping from #' to function*.
4154
8cca9703
CY
41552012-06-13 Chong Yidong <cyd@gnu.org>
4156
4157 * mouse.el (mouse-drag-track): Do not set the mark if the user
4158 releases the mouse without selecting anything (Bug#11588).
4159
a12ac9d7
SM
41602012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4161
ccf1dc18
SM
4162 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4163 as well (bug#11646).
4164
ef62b23d
SM
4165 * loadup.el: Count byte-code functions as well.
4166
c4c8444a
SM
4167 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4168 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4169
a12ac9d7
SM
4170 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4171 (bug#11649). Add cl-defun and cl-defmacro.
4172
87e6e64f
DA
41732012-06-13 Drew Adams <drew.adams@oracle.com>
4174
4175 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4176 Fix last change.
4177
682cefaf
MA
41782012-06-13 Michael Albinus <michael.albinus@gmx.de>
4179
4180 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4181 Otherwise, it blocks in batch mode.
4182
773e1f08
JB
41832012-06-13 Juanma Barranquero <lekktu@gmail.com>
4184
4185 * help-mode.el (bookmark-make-record-default): Declare.
4186
60057926
CY
41872012-06-13 Chong Yidong <cyd@gnu.org>
4188
4189 * emacs-lisp/package.el (list-packages): Compute a list of
4190 packages that are newly-available since the last list-packages
4191 invocation.
4192 (package-menu--new-package-list): New var.
4193 (package-menu--generate, package-menu--print-info)
4194 (package-menu--status-predicate, package-menu-mark-install):
4195 Handle new status label "new".
4196
ad4d226c
SM
41972012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4200 conversion to backquotes.
4201
f1a4e679
CY
42022012-06-12 Chong Yidong <cyd@gnu.org>
4203
4204 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4205 Rename from gud-inhibit-global-bindings.
4206
4207 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4208
4209 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4210 hook from nxml-glyph-set-hook.
4211
4212 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4213 declaration.
4214
4215 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4216
4217 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4218 Convert to defcustom.
4219
0c9e42b5
DA
42202012-06-12 Drew Adams <drew.adams@oracle.com>
4221
4222 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4223 New functions.
4224 (help-mode): Use them.
4225
09e06855
GM
42262012-06-11 Glenn Morris <rgm@gnu.org>
4227
4228 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4229 Use preprocessor face for directives.
4230 (fortran-directive-re): Doc fix.
4231
71adb94b
SM
42322012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4233
2eb87922
SM
4234 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4235 conversion to backquotes (bug#11652).
4236
71adb94b
SM
4237 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4238 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4239 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4240 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4241 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4242 (cl-ninth, cl-tenth): Mark them as inlinable.
4243 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4244 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4245 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4246 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4247 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4248 (cl-list*, cl-adjoin): Don't put an autoload manually.
4249 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4250 (cl--compiler-macro-list*): Add autoload cookie.
4251 (cl--compiler-macro-cXXr): New function.
2eb87922 4252
71adb94b
SM
4253 * help-fns.el (help-fns--compiler-macro): New function extracted from
4254 describe-function-1; follow aliases and use `compiler-macro' property.
4255 (describe-function-1): Use it.
4256
a6674402
CY
42572012-06-11 Chong Yidong <cyd@gnu.org>
4258
4259 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4260 is uninstalled, if imagemagick is installed.
4261
bb3faf5b
SM
42622012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4263
4264 * emacs-lisp/cl-lib.el: Use lexical-binding.
4265 (cl-map-extents, cl-maclisp-member): Remove.
4266 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4267 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4268 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4269 * emacs-lisp/cl-extra.el: Use lexical-binding.
4270 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4271 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4272 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4273 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4274 * emacs-lisp/cl-seq.el: Use lexical-binding.
4275 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4276 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4277 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4278 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4279 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4280 CL's internals.
4281
2fe4b125
MA
42822012-06-11 Michael Albinus <michael.albinus@gmx.de>
4283
4284 Sync with Tramp 2.2.6-pre.
4285
4286 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4287 `print-length' and `print-level' to nil, in order to avoid
4288 truncation. Reported by Christopher Schmidt
4289 <christopher@ristopher.com>.
4290
4291 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4292
4293 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4294 New defmacro.
4295 (tramp-compat-copy-directory): Add optional argument
4296 COPY-CONTENTS. It is not handled yet.
4297
4298 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4299 (tramp-ftp-file-name-p): Simplify.
4300
4301 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4302 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4303 connection vector.
4304
4305 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4306 (tramp-methods): Do not use `tramp-password-end-of-line'.
4307 (tramp-completion-function-alist-putty): Handle UNIX case.
4308 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4309 (tramp-do-file-attributes-with-stat)
4310 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4311 gid as real numbers. They could run out of integer range on cygwin.
4312 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4313 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4314 (tramp-open-connection-setup-interactive-shell):
4315 Use `tramp-cleanup'. Move check for busyboxes ...
4316 (tramp-find-shell): ... here. Simplify implementation.
4317 Set "remote-shell" property also for alternative shells.
4318 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4319 If failing, a regular file would be written otherwise.
4320 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4321 (tramp-find-inline-encoding): Cache the coding commands in the
4322 process cache. Apply test command on the remote side, if defined.
4323 (tramp-find-inline-compress): Cache the compress commands in the
4324 process cache.
4325 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4326 when requested. Handle hops.
4327 (tramp-current-connection): New defvar.
87e6e64f
DA
4328 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4329 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4330 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4331 (tramp-get-inline-compress, tramp-get-inline-coding):
4332 Read connection properties from the process cache.
2fe4b125
MA
4333
4334 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4335 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4336 New defconsts.
2fe4b125
MA
4337 (tramp-smb-prompt): Extend for powershell prompt.
4338 (tramp-smb-file-name-handler-alist): Add handlers for
4339 `process-file', `shell-command' and `start-file-process'.
4340 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4341 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4342 (tramp-smb-file-name-p): Simplify.
4343 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4344 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4345 (tramp-smb-shell-quote-argument): New defuns.
4346 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4347 Implement using "tar". By this, time-stamps are preserved.
4348 (tramp-smb-handle-copy-file): Handle also the case of directories.
4349 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4350 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4351 Use `tramp-get-connection-buffer').
2fe4b125
MA
4352 (tramp-smb-handle-rename-file): Use "rename", when source and
4353 target are on the same share.
87e6e64f
DA
4354 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4355 Use `tramp-smb-server-version'.
2fe4b125
MA
4356 (tramp-smb-wait-for-output): Remove prompt.
4357
4358 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4359 (tramp-methods, tramp-rsh-end-of-line):
4360 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4361 (tramp-save-ad-hoc-proxies): New defcustom.
4362 (tramp-completion-function-alist): Adapt docstring.
4363 (tramp-default-password-end-of-line): Remove defcustom.
4364 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4365 (tramp-user-regexp, tramp-file-name-regexp-unified)
4366 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4367 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4368 (tramp-remote-file-name-spec-regexp): New defconst.
4369 (tramp-file-name-structure): Extend structure for hops.
4370 (tramp-get-method-parameter): Move up.
4371 (tramp-file-name-p, tramp-dissect-file-name)
4372 (with-parsed-tramp-file-name): Handle hops.
4373 (tramp-file-name-hop): New defun.
4374 (tramp-make-tramp-file-name): New optional arg HOP.
4375 (tramp-message-show-progress-reporter-message): New defvar.
4376 (tramp-with-progress-reporter): Use it. We cannot use
4377 `tramp-message-show-message' here, because this suppresses also
4378 error buffers.
4379 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4380 `tramp-message-show-message' is nil.
4381 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4382 (tramp-cleanup): New defun.
4383 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4384 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4385 an error unchanged.
4386 (tramp-completion-handle-file-name-all-completions): Handle hops.
4387 Fix an error when called from ido.
4388 (tramp-completion-dissect-file-name): Use better local variable
4389 name. Add hop to the vector.
4390 (tramp-handle-insert-file-contents): Use progress-reporter for the
4391 whole scenario.
4392 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4393 to `t'.
4394 (tramp-check-for-regexp): Simplify search.
4395 (tramp-enter-password): Remove it. Move implementation ...
4396 (tramp-action-password): ... here.
4397 (tramp-mode-string-to-int, tramp-local-host-p)
4398 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4399 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4400 Set tramp-autoload cookie.
2fe4b125
MA
4401
4402 * net/trampver.el: Update release number.
4403
44042012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4405 Michael Albinus <michael.albinus@gmx.de>
4406
4407 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4408 (tramp-parse-group, tramp-parse-file)
4409 (tramp-parse-shostkeys-sknownhosts): New defuns.
4410 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4411 (tramp-parse-shosts-group, tramp-parse-sconfig)
4412 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4413 (tramp-parse-sknownhosts, tramp-parse-hosts)
4414 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4415 Use them.
4416 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4417 (tramp-parse-putty-group): Don't narrow.
4418 (tramp-parse-putty): Make a loop.
4419 (tramp-file-name-handler): Catch the `suppress' signal.
4420
72834e10
CY
44212012-06-11 Chong Yidong <cyd@gnu.org>
4422
4423 * image.el (imagemagick-register-types): Put the ImageMagick entry
4424 at the end of image-type-file-name-regexps.
4425
a4712e11
JB
44262012-06-11 Johan Bockgård <bojohan@gnu.org>
4427
4428 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4429 (pcase, pcase-let*, pcase-dolist): Use them.
4430
82ad98e3
SM
44312012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * emacs-lisp/pcase.el (pcase--let*): New function.
4434 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4435 (pcase--expand): Use macroexp-let².
4436
f80efb86
SM
44372012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4440 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4441 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4442 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4443 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4444 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4445
31ca4639 44462012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4447
31ca4639
CY
4448 * mail/rmail.el (rmail-yank-current-message): Leave point at
4449 correct position. (Bug#11660)
94f0aa34 4450
31ca4639 44512012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4452
31ca4639 4453 * allout-widgets.el: Fix code header.
9e1b8ec4 4454
31ca4639 44552012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4456
f80efb86
SM
4457 * cus-edit.el (customize-changed-options-previous-release):
4458 Bump to 24.1.
31ca4639 4459
642b6d30
AS
44602012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4461
4462 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4463
4f5d2ba1
CY
44642012-06-09 Chong Yidong <cyd@gnu.org>
4465
4466 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4467
e75852fd
MR
44682012-06-09 Martin Rudalics <rudalics@gmx.at>
4469
4470 * window.el (special-display-popup-frame): Don't use
4471 window--display-buffer (Bug#11651).
4472
1e48e282
EZ
44732012-06-09 Eli Zaretskii <eliz@gnu.org>
4474
8a26b487
EZ
4475 Fix parallel builds: make sure loaddefs.el is not being written
4476 while Lisp files are compiled.
4477 (compile): Don't depend on 'mh-autoloads'.
4478 (compile-CMD, compile-SH): Depend on 'autoloads'.
4479 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4480
1e48e282
EZ
4481 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4482
6175e34b
CY
44832012-06-09 Chong Yidong <cyd@gnu.org>
4484
4485 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4486 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4487 Doc fixes (Bug#11225).
4488
d9857e53
SM
44892012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4492 a function if there's a clear indication that it has a compiler-macro.
4493 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4494 (macro-declarations-alist): Add arglist to declaration functions.
4495 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4496 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4497 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4498 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4499 Also add autoload to find the compiler macro.
4500 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4501 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4502 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4503 (cl--compiler-macro-get): New functions, replacing calls to
4504 cl-define-compiler-macro.
4505 (cl-typep) [compiler-macro]: Use macroexp-let².
4506
f81298f8 45072012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4508
4509 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4510 string properly, fixes Bug#11473.
4511
4b56d0fe
CY
45122012-06-08 Chong Yidong <cyd@gnu.org>
4513
4514 * faces.el (set-face-attribute): Doc fix.
4515 (modify-face): Don't use :bold and :italic.
4516 (error, warning, success): Tweak definitions.
4517
4518 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4519 (custom-modified, custom-set, custom-changed, custom-themed)
4520 (custom-saved, custom-button, custom-button-mouse)
4521 (custom-button-pressed, custom-state, custom-comment-tag)
4522 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4523 (custom-group-subtitle): Use new-style face specs.
4524 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4525 (custom-set-face, custom-changed-face, custom-saved-face)
4526 (custom-button-face, custom-button-pressed-face)
4527 (custom-documentation-face, custom-state-face)
4528 (custom-comment-face, custom-comment-tag-face)
4529 (custom-variable-tag-face, custom-variable-button-face)
4530 (custom-face-tag-face, custom-group-tag-face-1)
4531 (custom-group-tag-face): Remove obsolete face alias.
4532
4533 * epa.el (epa-validity-high, epa-validity-medium)
4534 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4535 (epa-field-name, epa-field-body):
4536 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4537 (font-lock-keyword-face, font-lock-builtin-face)
4538 (font-lock-function-name-face, font-lock-variable-name-face)
4539 (font-lock-type-face, font-lock-constant-face):
4540 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4541 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4542 * speedbar.el (speedbar-button-face, speedbar-file-face)
4543 (speedbar-directory-face, speedbar-tag-face)
4544 (speedbar-selected-face, speedbar-highlight-face)
4545 (speedbar-separator-face):
4546 * whitespace.el (whitespace-newline, whitespace-space)
4547 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4548 (whitespace-line, whitespace-space-before-tab)
4549 (whitespace-space-after-tab, whitespace-indentation)
4550 (whitespace-empty):
4551 * emulation/cua-base.el (cua-global-mark):
4552 * eshell/em-prompt.el (eshell-prompt):
4553 * net/newst-plainview.el (newsticker-new-item-face)
4554 (newsticker-old-item-face, newsticker-immortal-item-face)
4555 (newsticker-obsolete-item-face, newsticker-date-face)
4556 (newsticker-statistics-face, newsticker-default-face):
4557 * net/newst-reader.el (newsticker-feed-face)
4558 (newsticker-extra-face, newsticker-enclosure-face):
4559 * net/newst-treeview.el (newsticker-treeview-face)
4560 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4561 (newsticker-treeview-immortal-face)
4562 (newsticker-treeview-obsolete-face)
4563 (newsticker-treeview-selection-face):
4564 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4565 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4566 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4567 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4568 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4569 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4570 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4571 (mpuz-text):
4572 * progmodes/vera-mode.el (vera-font-lock-number)
4573 (vera-font-lock-function, vera-font-lock-interface):
4574 * textmodes/table.el (table-cell): Use new-style face specs, and
4575 don't use the old :bold and :italic attributes.
4576
4577 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4578 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4579 (ebrowse-member-class, ebrowse-progress): Likewise.
4580 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4581 (ebrowse-file-name-face, ebrowse-default-face)
4582 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4583 (ebrowse-progress-face): Remove obsolete faces.
4584
4585 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4586 Inherit from error and warning faces respectively.
4587
4588 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4589 Likewise.
f80efb86
SM
4590 (flyspell-incorrect-face, flyspell-duplicate-face):
4591 Remove obsolete aliases.
4b56d0fe 4592
03310646
MA
45932012-06-08 Michael Albinus <michael.albinus@gmx.de>
4594
4595 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4596 Avoid infloop.
4597
513749ee
SM
45982012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * startup.el (argv, argi): Make lexically scoped.
4601 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4602 * emacs-lisp/cl-macs.el: Use lexical-binding.
4603 Rename cl-bind-* to cl--bind-*.
4604 * files.el: Don't require `cl' since it doesn't use it.
4605 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4606
595ef4ad
JB
46072012-06-08 Juanma Barranquero <lekktu@gmail.com>
4608
4609 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4610 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4611 instead of calling external sort utility.
4612 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4613
e9f66fcb
EZ
46142012-06-08 Eli Zaretskii <eliz@gnu.org>
4615
4616 * descr-text.el (describe-char): Mention how to insert the
4617 character, if the current input method doesn't support it.
4618 See the discussion in this thread for the details:
4619 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4620
3d10db47
SS
46212012-06-08 Sam Steingold <sds@gnu.org>
4622
4623 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4624 XF86Back to previous-buffer.
4625 (minibuffer-local-map): Bind them to next-history-element and
4626 previous-history-element respectively.
4627 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4628 help-go-back respectively.
4629 * info.el (Info-mode-map): Bind them to Info-history-forward and
4630 Info-history-back respectively.
4631 These are the keys next to Up on the ThinkPad keyboard.
4632
de7e2b36
SM
46332012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4636 * emacs-lisp/cl-macs.el: Provide itself.
4637 (cl--labels-convert-cache): New var.
4638 (cl--labels-convert): New function.
4639 (cl-flet, cl-labels): New implementation with new semantics, relying on
4640 lexical-binding.
4641 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4642 (cl-closure-vars, cl--function-convert-cache)
4643 (cl--function-convert): Move from cl-macs.el.
4644 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4645 rename by removing the "cl-" prefix.
4646 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4647
6fa6c4ae
SM
46482012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4651 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4652 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4653 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4654 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4655 (cl-hash-table-count): Add old compatibility aliases.
4656
4657 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4658 Use macroexpand-all-environment instead.
4659 (cl--old-macroexpand): New var.
4660 (cl--sm-macroexpand): New function.
4661 (cl-symbol-macrolet): Use it during macro expansion.
4662 (cl--function-convert-cache): New var.
4663 (cl--function-convert): New function, extracted from
4664 cl-macroexpand-all.
4665 (cl-lexical-let): Use it.
4666
4667 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4668 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4669 (cl-member): Remove old alias.
4670
4671 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4672 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4673 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4674 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4675 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4676 (cl-macroexpand-cmacs): Remove var.
4677 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4678 Use macroexpand-all instead.
4679
4dd1c416
SM
46802012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4683 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4684 (macroexp-copyable-p): New functions and macros.
4685 * emacs-lisp/edebug.el (edebug-unwrap):
4686 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4687 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4688 (pcase--let*): Remove.
4689 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4690 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4691 macroexp-const-p instead.
4692 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4693
4694 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4695 instead of "cl-" for internal definitions. Use macroexp-const-p.
4696 (cl-old-bc-file-form): Remove var.
4697 (cl-const-exprs-p): Remove fun.
4698 (cl-labels, cl-macrolet): Use backquote.
4699 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4700 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4701 (cl-define-setf-expander): Rename from cl-define-setf-method.
4702 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4703
4704 * international/mule-cmds.el: Don't require CL.
4705 (view-hello-file): Don't use `letf'.
4706
ed8bd4d7
SM
47072012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4708
7287f2f3
SM
4709 * tmm.el (tmm-prompt): Use string-prefix-p.
4710 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4711 (tmm-add-prompt): Use minibuffer-completion-help.
4712 (tmm-delete-map): Remove.
4713
ed8bd4d7
SM
4714 * subr.el (kbd): Make it its own function.
4715
7b4cdbf4
SM
47162012-06-07 Stefan Merten <smerten@oekonux.de>
4717
4718 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4719 Silence compiler warnings. Fix versions.
ed8bd4d7 4720 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4721 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4722 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4723 (rst-package-emacs-version-alist): Correct Emacs version to
4724 represent major merge with upstream.
ed8bd4d7 4725 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4726
2b48d721
GM
47272012-06-06 Glenn Morris <rgm@gnu.org>
4728
4729 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4730 Only print environment variables if set.
4731
fa779ab0
SM
47322012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4735 (macroexp--cons): Rename from maybe-cons.
4736 (macroexp--accumulate): Rename from macroexp-accumulate.
4737 (macroexp--all-forms): Rename from macroexpand-all-forms.
4738 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4739 (macroexp--expand-all): Rename from macroexpand-all-1.
4740
628299e0
SS
47412012-06-06 Sam Steingold <sds@gnu.org>
4742
4743 * calendar/calendar.el (calendar-in-read-only-buffer):
4744 Call `special-mode' to enable the standard read-only keybindings.
4745
b7bb5838
SM
47462012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4749 with "loading" messages (bug#11635).
4750
dfb308ba
MA
47512012-06-06 Michael Albinus <michael.albinus@gmx.de>
4752
4753 * files.el (enable-remote-dir-locals): New option.
4754 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4755
0372ee92
MA
4756 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4757 Ensure, that the temp directory is local.
4758
4759 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4760 `temporary-file-directory'.
4761
eed0bb91
MA
4762 * progmodes/python.el (python-send-region): Ensure, that the
4763 temporary file is created also in the remote case.
4764
7a58f64d
GM
47652012-06-06 Glenn Morris <rgm@gnu.org>
4766
f7dd4e98
GM
4767 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4768 (vc-rcs-update-changelog): Use it.
4769
090bd7cb 4770 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4771
7a58f64d
GM
4772 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4773 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4774 (vc-sccs-diff): Replace use of the external vcdiff script.
4775
daed4003
GM
47762012-06-05 Glenn Morris <rgm@gnu.org>
4777
4778 * ledit.el: Move to obsolete/.
4779
48c455c7
SS
47802012-06-05 Sam Steingold <sds@gnu.org>
4781
ed9265fc 4782 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4783 patch (Bug#11140).
4784
57a7d507
SM
47852012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4786
090bd7cb 4787 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4788
53aacf21
SM
4789 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4790 compiler-macro expansion.
4791
57a7d507
SM
4792 Add native compiler-macro support.
4793 * emacs-lisp/macroexp.el (macroexpand-all-1):
4794 Support compiler-macros directly. Properly follow aliases and apply
4795 the compiler macros more thoroughly.
4796 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4797 macroexpand now properly follows aliases.
4798 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4799 (cl-compiler-macroexpand): Use new prop.
4800 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4801
4802 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4803
51a5f9d8
MR
48042012-06-05 Martin Rudalics <rudalics@gmx.at>
4805
4806 * window.el (get-lru-window, get-mru-window, get-largest-window):
4807 New argument NOT-SELECTED to avoid picking the selected window.
4808 (window--display-buffer-1, window--display-buffer-2): Replace by
4809 new function window--display-buffer
4810 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4811 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4812 Use window--display-buffer.
51a5f9d8
MR
4813 (display-buffer-use-some-window): Remove temporary dedication
4814 hack by calling get-lru-window and get-largest-window with
4815 NOT-SELECTED argument non-nil. Call window--display-buffer.
4816
08f9f738
GM
48172012-06-05 Glenn Morris <rgm@gnu.org>
4818
4819 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4820 Replace external vcdiff script.
4821
e364a2b7
SM
48222012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4825
041df390
CY
48262012-06-04 Chong Yidong <cyd@gnu.org>
4827
e364a2b7
SM
4828 * image.el (imagemagick-types-inhibit): Revert last change.
4829 Add INFO and M.
47b36b94 4830 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4831
7c1898a7
SM
48322012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * emacs-lisp/cl-lib.el: Rename from cl.el.
4835 * emacs-lisp/cl.el: New compatibility file.
4836 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4837 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4838 to obey the "cl-" prefix.
4839 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4840
0c3461de
GM
48412012-06-03 Glenn Morris <rgm@gnu.org>
4842
1e266c88
GM
4843 * emacs-lisp/authors.el (authors-aliases): Addition.
4844
0c3461de
GM
4845 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4846 Fix :version.
4847
d8a52e15
SM
48482012-06-03 Stefan Merten <smerten@oekonux.de>
4849
4850 * textmodes/rst.el: Add comments.
4851 (rst-transition, rst-adornment): New faces.
4852 (rst-adornment-faces-alist): Make default safe to reevaluate.
4853 Fixes
4854 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4855 Improve customization tags.
4856 (rst-define-level-faces): Clarify meaning.
4857
5205d6f6
CY
48582012-06-03 Chong Yidong <cyd@gnu.org>
4859
4860 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4861 (compilation-mode-line-run, compilation-mode-line-exit):
4862 New faces.
5205d6f6
CY
4863 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4864
757ee657
JD
48652012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4866
7c1898a7
SM
4867 * progmodes/which-func.el (which-func-update-ediff-windows):
4868 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4869
5f2c76c6
CY
48702012-06-03 Chong Yidong <cyd@gnu.org>
4871
4872 * bindings.el: Remove explicit help text from format-mode-line.
4873 It is now supplied by mode-line-default-help-echo.
4874 (mode-line-front-space, mode-line-end-spaces)
4875 (mode-line-misc-info): New variables.
4876 (mode-line-modes, mode-line-position): Move the default value to
4877 the variable definition.
4878 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4879 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4880 (mode-line-modified-help-echo): New functions.
4881 (mode-line-mule-info, mode-line-modified): Use them.
4882 (mode-line-eol-desc, propertized-buffer-identification):
4883 Consistency fixes for help text.
cbe46e5f
CY
4884 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4885 set-buffer-file-coding-system (Bug#289).
4886 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4887
f2d6a3df
SM
48882012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4889
4890 * simple.el (execute-extended-command): Set real-this-command
4891 (bug#11506).
4892
37269466
CY
48932012-06-02 Chong Yidong <cyd@gnu.org>
4894
4895 Remove incorrect uses of "modeline" in comments, docstrings, and
4896 function/variable names (Bug#10329).
4897
4898 * cus-edit.el (mode-line):
4899 * dframe.el (dframe-mouse-hscroll):
4900 * emacs-lisp/re-builder.el:
4901 * emacs-lisp/easy-mmode.el (define-minor-mode):
4902 * frame.el (set-frame-name):
4903 * help.el (lookup-minor-mode-from-indicator):
4904 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4905 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4906 (c-toggle-hungry-state):
4907 * progmodes/antlr-mode.el (antlr-language-alist):
4908 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4909 * progmodes/vhdl-mode.el (vhdl-mode):
4910 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4911 * term/ns-win.el (ns-face-at-pos):
4912 * term/sup-mouse.el (sup-mouse-report):
4913 * textmodes/flyspell.el (flyspell-mode-line-string):
4914 * textmodes/ispell.el (ispell-highlight-face):
4915 * textmodes/reftex-global.el:
4916 * vc/vc-arch.el (vc-arch-mode-line-string):
4917 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4918 * vc/vc-git.el (vc-git-mode-line-string):
4919 * vc/vc-hooks.el (vc-display-status)
4920 (vc-default-mode-line-string):
4921 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4922
4923 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4924
4925 * dired.el (dired-sort-set-mode-line): Rename from
4926 dired-sort-set-modeline. All callers changed.
4927
4928 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4929 eshell-status-in-modeline.
4930
4931 * foldout.el (foldout-mode-line-string): Rename from
4932 foldout-modeline-string. All callers changed.
4933 (foldout-update-mode-line): Rename from foldout-update-modeline.
4934
4935 * subr.el (redraw-modeline): Make into obsolete alias.
4936
4937 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4938 timeclock-modeline-display. Make old name an alias.
4939 (timeclock-update-mode-line): Likewise. All callers changed.
4940 (timeclock-mode-line-display): No need to check before using
4941 add-hook.
4942 (timeclock-relative, timeclock-day-over-hook)
4943 (timeclock-use-elapsed, timeclock-mode-string)
4944 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4945
4946 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4947 crisp-mode-modeline-string.
4948
4949 * play/solitaire.el (solitaire-build-mode-line): Rename from
4950 solitaire-build-modeline. All callers changed.
4951
4952 * play/zone.el (zone-hiding-mode-line): Rename from
4953 zone-hiding-modeline. All callers changed.
4954 (zone): Remove unusued `modeline-hidden-level' property.
4955
4956 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4957 xscheme-modeline-initialize. All callers changed.
4958
4959 * strokes.el (strokes-lighter): Rename from
4960 strokes-modeline-string.
4961
4962 * textmodes/sgml-mode.el (html-face-tag-alist)
4963 (html-tag-face-alist): Use mode-line face instead of obsolete
4964 alias modeline.
4965
42152ee4
SM
49662012-06-02 Stefan Merten <smerten@oekonux.de>
4967
4968 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4969 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4970
95f520b5
CY
49712012-06-02 Chong Yidong <cyd@gnu.org>
4972
4973 * image.el (imagemagick-enabled-types): Rename from
4974 imagemagick-types-enable. Add many more types.
4975 (imagemagick-types-inhibit): Change default to nil.
4976 (imagemagick-filter-types): Caller changed.
4977
4a5f187a
SM
49782012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4979
03fef3e6
SM
4980 * emacs-lisp/cl-macs.el: Use backquotes.
4981 (cl-transform-function-property): Use eval-and-compile rather than
4982 abusing `require'.
4983 (defstruct): Use declare-function instead of with-no-warnings.
4984
4a5f187a
SM
4985 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4986 (byte-compile-output-docform): Re-add the print-circle bindings.
4987 (byte-compile-fix-header): Use #$ just because it's shorter.
4988 (byte-compile-output-file-form): Remove defun/defmacro.
4989
bd56924f
MR
49902012-06-01 Martin Rudalics <rudalics@gmx.at>
4991
4992 * simple.el (choose-completion): Remove now obsolete binding for
4993 owindow.
4994
046e38ce
MA
49952012-06-01 Michael Albinus <michael.albinus@gmx.de>
4996
4997 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4998 in order to avoid "Stack overflow in regexp matcher".
4999
32d72c2f
GM
50002012-05-31 Glenn Morris <rgm@gnu.org>
5001
5002 * image.el: For clarity, call imagemagick-register-types at
5003 top-level, rather than relying on a custom :initialize.
5004 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5005 (imagemagick-filter-types): New function. (Bug#7406)
5006 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5007 If disabling support, remove elements altogether rather
5008 than using an impossible regexp.
5009 (imagemagick-types-inhibit): Give it the default init function.
5010
dd41169b
SM
50112012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5012
4a5f187a
SM
5013 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5014 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5015
efc00ab1 50162012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5017
5018 * desktop.el (desktop-read): Clear previous and next buffers for
5019 all windows and bury *Messages* buffer (bug#11556).
5020
500fcedc
SM
50212012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 Add `declare' for `defun'. Align `defmacro's with it.
5024 * emacs-lisp/easy-mmode.el (define-minor-mode)
5025 (define-globalized-minor-mode): Don't autoload the var definitions.
5026 * emacs-lisp/byte-run.el: Use lexical-binding.
5027 (defun-declarations-alist, macro-declarations-alist): New vars.
5028 (defmacro, defun): Use them.
5029 (make-obsolete, define-obsolete-function-alias)
5030 (make-obsolete-variable, define-obsolete-variable-alias):
5031 Use `declare'.
5032 (macro-declaration-function): Mark obsolete.
5033 * emacs-lisp/autoload.el: Use lexical-binding.
5034 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5035
6e8a1786
AM
50362012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5037
5038 * textmodes/ispell.el (ispell-with-no-warnings):
5039 Define as a macro.
500fcedc
SM
5040 (ispell-kill-ispell, ispell-change-dictionary):
5041 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5042 `interactive-p'.
5043
61b108cc
SM
50442012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5047 (macro-declaration-function): Move var from C code.
5048 (macro-declaration-function): Define function with defalias.
5049 * emacs-lisp/macroexp.el (macroexpand-all-1):
5050 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5051 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5052 defun/defmacro any more.
5053 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5054 Provide fallback for unknown arglist.
5055 (byte-compile-arglist-warn): Change calling convention.
5056 (byte-compile-output-file-form): Move print-vars binding.
5057 (byte-compile-output-docform): Simplify accordingly.
5058 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5059 (byte-compile-defmacro-declaration): Remove.
5060 (byte-compile-file-form-defmumble): Generalize to defalias.
5061 (byte-compile-output-as-comment): Return byte-positions.
5062 Simplify callers accordingly.
5063 (byte-compile-lambda): Use `assert'.
5064 (byte-compile-defun, byte-compile-defmacro): Remove.
5065 (byte-compile-file-form-defalias):
5066 Use byte-compile-file-form-defmumble.
5067 (byte-compile-defalias-warn): Remove.
5068
6d3f7c2f
SM
50692012-05-29 Stefan Merten <smerten@oekonux.de>
5070
5071 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5072 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5073
5074 (rst-mode-abbrev-table): Merge definition.
5075 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5076 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5077
6dbaa1c7
UJ
50782012-05-29 Ulf Jasper <ulf.jasper@web.de>
5079
5080 * calendar/icalendar.el
5081 (icalendar-export-region): Export UID properly.
5082
d209e2fb 50832012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5084 * calendar/icalendar.el (icalendar-import-format):
5085 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5086 (icalendar-import-format-uid): New.
5087 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5088 Export UID.
5089
6876a58d
SM
50902012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5093 different alternative patterns.
5094 (pcase-codegen): Be more careful to preserve identity.
5095 (pcase--u1): Don't forget to mark vars as used.
5096
5097 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5098 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5099 (byte-compile-from-buffer): ...rather than here.
5100
5101 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5102 functions from byte-compile-function-environment.
5103
46b7967e
TN
51042012-05-29 Troels Nielsen <bn.troels@gmail.com>
5105
5106 * window.el (window-deletable-p): Avoid deleting the root window
5107 of a frame with an active minibuffer.
5108
69d565e2
MR
51092012-05-29 Martin Rudalics <rudalics@gmx.at>
5110
5111 * simple.el (choose-completion): Use quit-window (Bug#11567).
5112
a149fa51
CY
51132012-05-29 Chong Yidong <cyd@gnu.org>
5114
5115 * whitespace.el (whitespace-cleanup): Fix usage of
5116 whitespace-empty-at-bob-regexp (Bug#11492).
5117
2b311310
AH
51182012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5119
5120 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5121 revert (Bug#11488).
5122
b9cb2387
JL
51232012-05-29 Juri Linkov <juri@jurta.org>
5124
5125 * isearch.el (isearch-mode-map): Bind `M-s _' to
5126 `isearch-toggle-symbol'. Bind `M-s c' to
5127 `isearch-toggle-case-fold'.
5128 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5129 (isearch-forward): Add `M-s _' to the docstring.
5130 (isearch-forward-symbol, isearch-toggle-case-fold)
5131 (isearch-symbol-regexp): New functions. (Bug#11381)
5132
d5e61c1c
JL
51332012-05-29 Juri Linkov <juri@jurta.org>
5134
5135 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5136 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5137 a function, call it to get the regexp.
5138 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5139 property `isearch-message-prefix' instead of the string "word ".
5140 (isearch-search-fun-default): For the case of `isearch-word',
5141 return a lambda that calls re-search-forward/re-search-backward
5142 with a regexp returned by `word-search-regexp' or by the function
5143 in `isearch-word'.
5144
8cbd80f7
JL
51452012-05-29 Juri Linkov <juri@jurta.org>
5146
5147 * isearch.el (isearch-search-fun-default): New function.
5148 (isearch-search-fun): Move default part to the new function
5149 `isearch-search-fun-default'.
5150 (isearch-search-fun-function): Set the default value to
5151 `isearch-search-fun-default'. (Bug#11381)
5152
5153 * comint.el (comint-history-isearch-end):
5154 Use `isearch-search-fun-default'.
5155 (comint-history-isearch-search): Use `isearch-search-fun-default'
5156 and remove spacial case for `isearch-word'.
5157 (comint-history-isearch-wrap): Remove spacial case for
5158 `isearch-word'.
5159
5160 * hexl.el (hexl-isearch-search-function):
5161 Use `isearch-search-fun-default'.
5162
5163 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5164 Use `word-search-regexp' for `isearch-word'.
5165
5166 * misearch.el (multi-isearch-search-fun):
5167 Use `isearch-search-fun-default'.
5168
5169 * simple.el (minibuffer-history-isearch-search):
5170 Use `isearch-search-fun-default' and remove spacial case for
5171 `isearch-word'.
5172 (minibuffer-history-isearch-wrap): Remove spacial case for
5173 `isearch-word'.
5174
5175 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5176 Remove spacial case for `isearch-word'.
5177 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5178
85c8c5b6
AM
51792012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5180
5181 Decrease XEmacs incompatibilities.
5182 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5183 Use `string-match'.
5184 (flyspell-delete-region-overlays): Use alternative definition for
5185 XEmacs.
5186 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5187 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5188 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5189 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5190 `define-obsolete-face-alias' under XEmacs, but old method.
5191
5192 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5193 `with-no-warnings' definition or Emacs alias.
5194 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5195 (ispell-word): Do not use `region-p' if XEmacs.
5196
8cab9efc
AM
51972012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5198
5199 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5200 Check for `ispell-dictionary-base-alist' instead of full
5201 `ispell-dictionary-alist'.
5202 (ispell-init-process): Show spellchecker when starting new Ispell
5203 process.
5204
fda91268
RZ
52052012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5208 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5209
694ea8e3
JB
52102012-05-27 Juanma Barranquero <lekktu@gmail.com>
5211
5212 * version.el (motif-version-string, gtk-version-string)
5213 (ns-version-string): Declare.
5214
e4d4f539
JL
52152012-05-27 Juri Linkov <juri@jurta.org>
5216
5217 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5218 after the `eval-defun-1' specialcaseing
5219 like in `edebug-eval-defun' (bug#10181).
5220
5221 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5222 like in `eval-defun-1'.
5223
33017faf 52242012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5225
fda91268
RZ
5226 * mail/sendmail.el (mail-yank-region):
5227 Recognize rmail-yank-current-message in addition to insert-buffer.
5228 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5229 a *mail* buffer created through rmail-start-mail with sendmail as
5230 mail-user-agent.
5231
33017faf
GM
52322012-05-27 Chong Yidong <cyd@gnu.org>
5233
5234 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5235 Default to 256 (Bug#11267).
5236
5237 * help.el (describe-mode): Doc fix.
5238
04188bb9
GM
52392012-05-26 Glenn Morris <rgm@gnu.org>
5240
38264cc9
GM
5241 * w32-fns.el (w32-init-info): Remove.
5242 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5243
eb7afdad
GM
5244 * info.el (info-initialize): For self-contained NS builds, put the
5245 included info/ directory at the front. (Bug#2791)
5246
04188bb9
GM
5247 * paths.el (Info-default-directory-list): Make it a defcustom,
5248 mainly so that we can use custom-initialize-delay.
5249
a179e3f7
SM
52502012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5251
43416392
SM
5252 * subr.el (buffer-has-markers-at): Mark obsolete.
5253
a179e3f7 5254 * subr.el (lambda): Use declare.
43416392 5255
a179e3f7
SM
5256 * emacs-lisp/lisp-mode.el (lambda):
5257 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5258
34a008d9
AH
52592012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5260
5261 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5262
0a3b289f
GM
52632012-05-26 Glenn Morris <rgm@gnu.org>
5264
5265 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5266
758c81e8
GM
52672012-05-25 Glenn Morris <rgm@gnu.org>
5268
f9f334f0
GM
5269 * paths.el: Remove no-byte-compile.
5270 * loadup.el: No need to load paths.el uncompiled.
5271
87eb79c2
GM
5272 * image.el (imagemagick-types-inhibit): Doc fix.
5273
758c81e8
GM
5274 * version.el: Remove no-byte-compile and associated formatting.
5275 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5276 is ancient code from when there was an "inc-vers.el".
5277
e7e85dc0
SM
52782012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * progmodes/gdb-mi.el: Minor style changes.
5281 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5282 Turn into minor modes.
5283 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5284 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5285 (gdb-shell): Remove unneeded let-binding.
5286 (gdb-get-many-fields): Eliminate O(n²) behavior.
5287
f31237a4
EZ
52882012-05-25 Eli Zaretskii <eliz@gnu.org>
5289
5290 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5291 platforms that don't link in fontset.c.
5292
bc1b21bb
JL
52932012-05-25 Juri Linkov <juri@jurta.org>
5294
5295 Use the same diff color scheme as in modern VCSes (bug#10181).
5296
5297 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5298 to avoid confusion with `diff-added' that now uses green colors.
5299 (diff-removed): Use shades of red.
5300 (diff-added): Use shades of green.
5301 (diff-changed): Leave just the yellow color.
5302 (diff-use-changed-face): New variable.
5303 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5304 how to highlight context diff changes.
5305 (diff-refine-change): Use shades of yellow.
5306 (diff-refine-removed): New face that uses shades of red.
5307 (diff-refine-added): New face that uses shades of green.
5308 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5309 `diff-refine-removed' in the call to `smerge-refine-subst'
5310 depending on the value of `diff-use-changed-face'.
5311
5312 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5313 (smerge-other): Use shades of green.
5314 (smerge-base): Use shades of yellow.
5315 (smerge-refined-change): Empty face.
5316 (smerge-refined-removed): New face that uses shades of red.
5317 (smerge-refined-added): New face that uses shades of green.
5318 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5319 args `props-r' and `props-a', and use them. Doc fix.
5320 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5321 on its value use different faces `smerge-refined-change',
5322 `smerge-refined-removed', `smerge-refined-added' in the call to
5323 `smerge-refine-subst'.
5324
5325 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5326 Add face condition `min-colors 88' with shades of red.
5327 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5328 `min-colors 88' with shades of green.
5329 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5330 `min-colors 88' with shades of yellow.
5331
6df9112c
GM
53322012-05-24 Glenn Morris <rgm@gnu.org>
5333
ead5edc0
GM
5334 * paths.el (prune-directory-list, remote-shell-program): Move to...
5335 * files.el (prune-directory-list, remote-shell-program): ...here.
5336 For the latter, delay initialization, prefer ssh, just search PATH.
5337
f18b81e6
GM
5338 * paths.el (term-file-prefix): Move to faces.el (the only user).
5339 * faces.el (term-file-prefix): Move here, make it a defcustom.
5340
ee2f89a6
GM
5341 * paths.el (news-directory, news-path, news-inews-program):
5342 Move to gnus/nnspool.el.
61a583ca 5343
f8815e4c
GM
5344 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5345
c8f3b42c
GM
5346 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5347 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5348 Make the latter a defcustom, with a delayed initialization.
5349
6df9112c
GM
5350 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5351 These were deleted from Gnus itself late 2010.
5352
5dadff36
JB
53532012-05-22 Juanma Barranquero <lekktu@gmail.com>
5354
9e1701c6
JB
5355 * progmodes/which-func.el (which-func-ff-hook):
5356 Check against user-error, not error.
5357
bd7239f5 5358 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5359 cl-specs.el, which no longer exists.
5360
3290526d
GM
53612012-05-22 Glenn Morris <rgm@gnu.org>
5362
5363 * info.el (info-emacs-bug): New command.
5364 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5365 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5366
ff0c3cfb
GM
53672012-05-21 Glenn Morris <rgm@gnu.org>
5368
5369 * makefile.w32-in (update-subdirs-SH):
5370 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5371
5814f126
SM
53722012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5373
a52c0aa0
SM
5374 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5375
5814f126
SM
5376 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5377 Simplify Maven regexp, and make sure the file can't start with a space
5378 (bug#11517).
5379
b847032c
GM
53802012-05-21 Glenn Morris <rgm@gnu.org>
5381
5382 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5383 Scrap superfluous subshells.
5384
3858bfe7
SM
53852012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5388 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5389
d14b0029
JB
53902012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5391
5392 * calc/calc.el (calc-ensure-consistent-units): New variable.
5393
a52c0aa0
SM
5394 * calc/calc-units.el (math-consistent-units-p)
5395 (math-check-unit-consistency): New functions.
5396 (calc-quick-units, calc-convert-units):
5397 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5398 is non-nil.
d14b0029
JB
5399 (calc-extract-units): Fix typo.
5400
60c4db3a
SM
54012012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5402
77f3b62e
SM
5403 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5404
60c4db3a
SM
5405 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5406 (flyspell-default-deplacement-commands): Don't spell check after
5407 repeated window/frame switches (e.g. triggered by mouse-movement).
5408 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5409 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5410 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5411 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5412 Remove unused vars.
5413 (flyspell-get-casechars, flyspell-get-not-casechars):
5414 Simplify; Don't bother removing a ] just to add it back.
5415 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5416
d209e2fb 54172012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5418
5419 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5420 New functions.
bd7239f5 5421 (math-function-table): Add support for more C functions.
b1a10716 5422
3f1b25b5
AM
54232012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5424
090bd7cb
JB
5425 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5426 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5427 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5428
b581bb5c
SM
54292012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5432 their respective macro declarations.
5433 * skeleton.el (define-skeleton):
5434 * progmodes/compile.el (define-compilation-mode):
5435 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5436 (define-ibuffer-filter):
5437 * emacs-lisp/generic.el (define-generic-mode):
5438 * emacs-lisp/easy-mmode.el (define-minor-mode)
5439 (define-globalized-minor-mode):
5440 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5441 * emacs-lisp/byte-run.el (defsubst):
5442 * custom.el (deftheme): Add doc-string metadata.
5443
70b8ef8f
SM
54442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5447
b1198e17
SM
54482012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5449
9abdc45d
SM
5450 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5451
b1198e17
SM
5452 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5453 * emacs-lisp/cl-macs.el: Idem.
5454 * emacs-lisp/cl-specs.el: Remove.
5455
4735906a
SM
54562012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 Minor renaming of internal CL functions and variables.
5459 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5460 (cl--position): Rename from cl-position.
5461 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5462 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5463 (cl--random-state): Rename from *random-state*.
5464
ac348012
SM
54652012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5468 parens around the arg list (bug#11499).
5469
a0a79cde
JL
54702012-05-17 Juri Linkov <juri@jurta.org>
5471
5472 * isearch.el (word-search-regexp, word-search-backward)
5473 (word-search-forward, word-search-backward-lax)
5474 (word-search-forward-lax): Move functions from search.c
5475 (bug#10145, bug#11381).
5476
65034a51
AM
54772012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5478
090bd7cb
JB
5479 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5480 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5481 Delay for otherchars as for normal word components.
65034a51 5482
1a72a195
SM
54832012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5484
5485 * minibuffer.el (completion--sifn-requote): Fix last change.
5486 (minibuffer-local-must-match-filename-map):
5487 Move define-obsolete-variable-alias before its var.
5488
fdb058c2
SM
54892012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5490
c41045e6
SM
5491 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5492
036dfb8b
SM
5493 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5494 behavior.
5495 (completion--string-equal-p): New function.
5496 (completion--twq-all): Use it to get better assertion failure data.
5497
2473256d
SM
5498 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5499 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5500 (shell--requote-argument): New functions.
5501 (shell-completion-vars): Use them.
5502 (shell--parse-pcomplete-arguments): Rename from
5503 shell-parse-pcomplete-arguments.
5504 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5505 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5506 Obey comint-file-name-quote-list.
5507
fdb058c2
SM
5508 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5509 (smie-indent-keyword): Use it.
5510
51fa99f1
SM
55112012-05-14 Stefan Merten <smerten@oekonux.de>
5512
5513 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5514
e18afed7 55152012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5516
5517 * net/rlogin.el (rlogin-mode-map): Fix last change.
5518
e18afed7 55192012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5520
5521 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5522 the following \r\n using a single `process-send-string', since the
5523 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5524 with two `process-send-string's (Bug#11444).
8633b1f4 5525
e18afed7 55262012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5527
fdb058c2
SM
5528 * shell.el (shell-parse-pcomplete-arguments):
5529 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5530
2d21d7f6
WJ
55312012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5532
e18afed7 5533 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5534 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5535 (image-transform-width, image-transform-fit-width): New functions.
5536 (image-transform-properties): Use them.
5537 (image-transform-check-size): New function.
5538 (image-toggle-display-image): Use it (for testing).
5539 (image-transform-set-rotation): Reduce angle mod 360.
5540 Delete obsolete comment.
5541
7102e6d0
WJ
55422012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5543
5544 * image-mode.el: Fix scaling (bug#11399).
5545 (image-transform-resize): Doc fix.
5546 (image-transform-properties): Default scale is 1 and height should
5547 be an integer.
5548
06bc5e6e
SM
55492012-05-13 Johan Bockgård <bojohan@gnu.org>
5550
5551 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5552 than hard-coding `car', to fix misbehavior when moving forward.
5553
0ae03b6a
CY
55542012-05-13 Chong Yidong <cyd@gnu.org>
5555
5556 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5557 (tabulated-list-entries, tabulated-list-padding)
5558 (tabulated-list-sort-key): Make permanent-local.
5559
5560 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5561 (electric-buffer-list): Put electric buffer menu
5562 command descriptions in this docstring, instead of the docstring
5563 of electric-buffer-menu-mode. Code cleanups.
5564 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5565 Electric-buffer-menu-mode.
5566 (electric-buffer-update-highlight): Minor code cleanup.
5567
205a7391
MA
55682012-05-13 Michael Albinus <michael.albinus@gmx.de>
5569
5570 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5571 (Bug#11447)
5572
e5bd0a28
SM
55732012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 Move define-obsolete-variable-alias before the var's definition.
5576 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5577 * tooltip.el (tooltip-hook):
5578 * textmodes/reftex-toc.el (reftex-toc-map):
5579 * textmodes/reftex-sel.el (reftex-select-label-map)
5580 (reftex-select-bib-map):
5581 * textmodes/reftex-index.el (reftex-index-map)
5582 (reftex-index-phrases-map):
5583 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5584 * progmodes/meta-mode.el (meta-mode-map):
5585 * novice.el (disabled-command-hook):
5586 * loadhist.el (unload-hook-features-list):
5587 * frame.el (blink-cursor):
5588 * files.el (find-file-not-found-hooks, write-file-hooks)
5589 (write-contents-hooks):
5590 * emulation/tpu-edt.el (GOLD-map):
5591 * emacs-lock.el (emacs-lock-from-exiting):
5592 * emacs-lisp/generic.el (generic-font-lock-defaults):
5593 * emacs-lisp/chart.el (chart-map):
5594 * dos-fns.el (register-name-alist):
5595 * dired-x.el (dired-omit-files-p):
5596 * desktop.el (desktop-enable):
5597 * cus-edit.el (custom-mode-hook):
5598 * buff-menu.el (buffer-menu-mode-hook):
5599 * bookmark.el (bookmark-read-annotation-text-func)
5600 (bookmark-exit-hooks):
5601 * allout.el (allout-mode-deactivate-hook)
5602 (allout-exposure-change-hook, allout-structure-added-hook)
5603 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5604 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5605 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5606 comes before the corresponding variable's definition.
5607
ac59c2f6
CY
56082012-05-12 Chong Yidong <cyd@gnu.org>
5609
5610 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5611 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5612 (Buffer-menu-mode-map): Bind it.
5613 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5614
dee6c9a3
SM
56152012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5616
2171cea5
SM
5617 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5618 (prolog-upper-case-string, prolog-lower-case-string)
5619 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5620 (prolog-use-smie, prolog-smie-grammar): New vars.
5621 (prolog-smie-forward-token, prolog-smie-backward-token)
5622 (prolog-smie-rules): New funs.
5623 (prolog-comment-indent): Remove.
5624 (prolog-mode-variables): Use default comment indentation instead.
5625 Setup SMIE.
5626 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5627 (prolog-mode): Don't call them any more.
5628 (prolog-electric-colon, prolog-electric-dash)
5629 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5630
aa0382bd
SM
5631 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5632
dbacb4bd
SM
5633 * minibuffer.el (completion--twq-all): Again, allow case differences.
5634
13bdd94c
SM
5635 * term.el: Move keymap initialization code to be more idiomatic.
5636 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5637 (term-terminal-menu): Move initialization into declaration.
5638 (term-escape-char): Let the user set it in her .emacs.
5639
ff46c759
SM
5640 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5641 Provide SMIE-based indentation (not enabled by default yet).
5642 (sh-mode-map): Don't bind electric keys.
5643 Use electric-pair-mode instead of skeleton-pair.
5644 (sh-assignment-regexp): Fit within 80 columns.
5645 (sh-indent-supported): Specify actual shell name instead of boolean.
5646 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5647 (sh-maybe-here-document): Use it. Make obsolete.
5648 (sh-electric-here-document-mode) New minor mode.
5649 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5650 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5651 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5652 (sh-smie-rc-grammar, sh-use-smie): New vars.
5653 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5654 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5655 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5656 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5657 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5658 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5659 (sh-set-shell): Use smie-setup if requested.
5660
dee6c9a3
SM
5661 * term.el (term-set-escape-char): Properly set term-escape-char.
5662 See http://stackoverflow.com/questions/10524656.
5663
9f9aa044
CY
56642012-05-10 Chong Yidong <cyd@gnu.org>
5665
5666 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5667 Use url-generic-parse-url, and handle host names and Windows
5668 filenames properly.
5669 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5670 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5671 URL schemes to work on.
5672 (ffap--toggle-read-only): New function.
5673 (ffap-read-only, ffap-read-only-other-window)
5674 (ffap-read-only-other-frame): Use it.
5675 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5676 necessary for ffap-url-unwrap-remote.
5677
836d29b3
DA
56782012-05-10 Dave Abrahams <dave@boostpro.com>
5679
5680 * cus-start.el (create-lockfiles): Add it.
5681
00fd78ed
CY
56822012-05-09 Chong Yidong <cyd@gnu.org>
5683
5684 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5685 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5686
666b903b 56872012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5688
5689 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5690
666b903b 56912012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5692
5693 * ansi-color.el (ansi-color-process-output): Check for validity of
5694 comint-last-output-start before using it. This avoids a bad
5695 interaction with gdb-mi's input/output buffer.
5696
666b903b 56972012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5698
5699 * files.el (dir-locals-read-from-file):
5700 Mention dir-locals in any error message.
5701
666b903b 57022012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5703
5704 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5705 package (Bug#11410).
5706
f677562b
CY
5707 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5708 variables into description.
5709
666b903b 57102012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5711
5712 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5713 shell-delimiter-argument-list (bug#11348).
5714 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5715
b499d8d0
JB
57162012-05-09 Juanma Barranquero <lekktu@gmail.com>
5717
8f6b6da8
JB
5718 * textmodes/rst.el: Silence byte-compiler warnings.
5719 (rst-re-alist, rst-reset-section-caches): Move around.
5720 (rst-re): Use `characterp', not `char-valid-p'.
5721 (font-lock-beg, font-lock-end): Declare.
5722
4824146a
JB
5723 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5724 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5725
b499d8d0
JB
5726 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5727
ad89bb83
GM
57282012-05-08 Glenn Morris <rgm@gnu.org>
5729
5730 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5731
8bba5a75
SM
57322012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5733
49ed9c8e
SM
5734 * vc/log-edit.el: Add GNU coding standards highlighting.
5735 (log-edit-font-lock-gnu-style)
5736 (log-edit-font-lock-gnu-keywords): New vars.
5737 (log-edit-font-lock-keywords): New fun.
5738 (log-edit-mode): Don't fold case in font-lock.
5739 (log-edit-font-lock-keywords): Do not assume case-folding.
5740
07d00b56
SM
5741 * imenu.el: Misc cleanup. Make docstrings out of comments.
5742 Use lexical-binding.
5743 (imenu--index-alist, imenu--last-menubar-index-alist)
5744 (imenu-menubar-modified-tick): Use defvar-local.
5745 (imenu--split-menu): Remove unused var.
5746 (imenu--cleanup-seen): Declare as global.
5747 (imenu--cleanup): Use dolist.
5748
8bba5a75
SM
5749 * subr.el (defvar-local): Add debug spec and doc-string position.
5750
5075bdb5
GM
57512012-05-08 Glenn Morris <rgm@gnu.org>
5752
090bd7cb 5753 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5754 * language/english.el, language/georgian.el, language/greek.el:
5755 * language/japanese.el, language/khmer.el, language/korean.el:
5756 * language/lao.el, language/misc-lang.el, language/romanian.el:
5757 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5758 * language/thai.el, language/utf-8-lang.el:
5759 Remove no-byte-compile setting.
5760
5075bdb5
GM
5761 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5762
06f679a7
AH
57632012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5764
5765 * progmodes/make-mode.el (makefile-browse):
5766 Remove unnecessary interactive. (Bug#11324)
5767
03794570
GM
57682012-05-07 Glenn Morris <rgm@gnu.org>
5769
af8630f4
GM
5770 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5771
03794570
GM
5772 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5773
f0809a9d
SM
57742012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5775
28be5ce7
SM
5776 * loadup.el: Preload newcomment.el.
5777 * newcomment.el: Move autoload-only code to toplevel.
5778
f0809a9d
SM
5779 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5780 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5781 Handle new :right-align column property.
5782 (tabulated-list-print-col): Idem, plus use `display' text-property to
5783 try and preserve alignment for variable pitch fonts.
5784
1241b724
CY
57852012-05-07 Chong Yidong <cyd@gnu.org>
5786
5787 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5788 (tabulated-list-use-header-line): New var.
5789 (tabulated-list-init-header): Use it.
5790 (tabulated-list-print-fake-header): New function.
5791 (tabulated-list-print): Use it.
5792 (tabulated-list-sort-button-map): Add non-header-line commands.
5793 (tabulated-list-init-header): Add column name property to basic
5794 labels as well.
5795 (tabulated-list-col-sort): Handle non-header-line button case.
5796 (tabulated-list--sort-by-column-name): Fix a corner case.
5797
f0809a9d
SM
5798 * buff-menu.el (list-buffers--refresh):
5799 Handle Buffer-menu-use-header-line.
1241b724 5800
e5f9458f
CY
58012012-05-06 Chong Yidong <cyd@gnu.org>
5802
5803 * buff-menu.el: Convert to Tabulated List mode.
5804 (Buffer-menu-buffer+size-width): Make obsolete.
5805 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5806 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5807 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5808 documentation into docstring of buffer-menu.
5809 (Buffer-menu-toggle-files-only): Add an informative message.
5810 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5811 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5812 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5813 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5814 (Buffer-menu-execute, Buffer-menu-select)
5815 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5816 (Buffer-menu-bury): Use Tabulated List machinery.
5817 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5818 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5819 Delete.
e5f9458f
CY
5820 (list-buffers--refresh): New function.
5821 (list-buffers-noselect): Use it.
5822 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5823 (Buffer-menu--pretty-file-name): New helper functions.
5824
5825 * loadup.el: Preload tabulated-list.
5826
5827 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5828 tabulated-list-sort-column.
5829 (tabulated-list-init-header): Add the initial aligning space even
5830 if tabulated-list-padding is zero.
5831
e129292c
CS
58322012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5833
5834 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5835 whose cdr is not a cons cell correctly (bug#11038).
5836
6632d361
CY
58372012-05-06 Chong Yidong <cyd@gnu.org>
5838
e129292c
CS
5839 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5840 Accept additional plist in column descriptors.
6632d361
CY
5841 (tabulated-list-init-header): Obey it.
5842 (tabulated-list-get-entry): New function.
5843 (tabulated-list-put-tag): Use it. Use string-width instead of
5844 length.
5845 (tabulated-list--column-number): New function.
5846 (tabulated-list-print): Use it.
e129292c
CS
5847 (tabulated-list-print-col): New function.
5848 Set `tabulated-list-column-name' property on each column's text.
6632d361 5849 (tabulated-list-print-entry): Use it.
e129292c
CS
5850 (tabulated-list-delete-entry, tabulated-list-set-col):
5851 New functions.
6632d361
CY
5852 (tabulated-list-sort-column): New command (Bug#11337).
5853
3cc99f68
CY
5854 * buff-menu.el (list-buffers): Move C-x C-b binding from
5855 buff-menu.el to bindings.el.
5856
5857 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5858 :advertised-binding feature.
5859
52b61776
TN
58602012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5861
5862 * progmodes/compile.el (compilation-internal-error-properties):
5863 Calculate start position correctly when end-col is set but
5864 end-line is not (Bug#11382).
5865
ebfe2597
WJ
58662012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5867
5868 * man.el (Man-unindent): Use text-property-default-nonsticky to
5869 prevent untabify from inheriting face properties (Bug#11408).
5870
6d3f7c2f
SM
58712012-05-05 Stefan Merten <smerten@oekonux.de>
5872
5873 * textmodes/rst.el: Major merge with upstream development up to
5874 Docutils SVN r7399 / rst.el V1.2.1.
5875
5876 Clarify maintainership and authors.
5877
5878 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5879 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5880 (rst-official-version, rst-official-cvs-rev, rst-version)
5881 (rst-package-emacs-version-alist): New functions and variables
5882 for version information.
5883
5884 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5885 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5886 (rst-mode-syntax-table, rst-mode): New and corrected functions
5887 and variables representing reStructuredText features.
5888
5889 (rst-re): New function for reStructuredText regexes. Use in
5890 many places.
5891
5892 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5893 (rst-mode-map): Rebind keys.
5894
5895 (rst-mode-lazy, rst-font-lock-keywords)
5896 (rst-font-lock-extend-region)
5897 (rst-font-lock-extend-region-internal)
5898 (rst-font-lock-extend-region-extend)
5899 (rst-font-lock-find-unindented-line-limit)
5900 (rst-font-lock-find-unindented-line-match)
5901 (rst-adornment-level, rst-font-lock-adornment-level)
5902 (rst-font-lock-adornment-match)
5903 (rst-font-lock-handle-adornment-pre-match-form)
5904 (rst-font-lock-handle-adornment-matcher): Major revision of
5905 font-locking. Integrate with other code. Use `jit-lock-mode'.
5906
5907 (rst-preferred-adornments, rst-adjust-hook)
5908 (rst-new-adornment-down, rst-preferred-bullets)
5909 (rst-preferred-bullets, rst-indent, rst-indent-width)
5910 (rst-indent-field, rst-indent-literal-normal)
5911 (rst-indent-literal-minimized, rst-indent-comment): Change,
5912 extend and improve customization.
5913
5914 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5915 (rst-normalize-cursor-position, rst-get-decoration)
5916 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5917 (rst-rstrip, rst-toc-insert-find-delete-contents)
5918 (rst-shift-fill-region, rst-compute-bullet-tabs)
5919 (rst-debug-print-tabs, rst-debug-mark-found)
5920 (rst-shift-region-guts, rst-shift-region-right)
5921 (rst-shift-region-left, rst-use-char-classes)
5922 (rst-font-lock-keywords-function)
5923 (rst-font-lock-indentation-point)
5924 (rst-font-lock-find-unindented-line-begin)
5925 (rst-font-lock-find-unindented-line-end)
5926 (rst-font-lock-find-unindented-line)
5927 (rst-font-lock-adornment-point, rst-font-lock-level)
5928 (rst-adornment-level-alist): Remove functions and variables.
5929
5930 (rst-compare-adornments, rst-get-adornment-match)
5931 (rst-suggest-new-adornment, rst-get-adornments-around)
5932 (rst-adornment-complete-p, rst-get-next-adornment)
5933 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5934 (rst-straighten-adornments): Standardize function names to
5935 use "adornment" instead of "decoration". Correct callers.
5936 Similar standardizing in many places.
5937
5938 (rst-update-section, rst-adjust, rst-promote-region)
5939 (rst-enumerate-region, rst-bullet-list-region)
5940 (rst-repeat-last-character): Correct use of `interactive'.
5941
5942 (rst-classify-adornment, rst-find-all-adornments)
5943 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5944 (rst-find-leftmost-column, rst-repeat-last-character):
5945 Refactor functions.
5946
5947 (rst-find-title-line, rst-reset-section-caches)
5948 (rst-get-adornments-around, rst-adjust-adornment-work)
5949 (rst-arabic-to-roman, rst-roman-to-arabic)
5950 (rst-insert-list-pos, rst-insert-list-new-item)
5951 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5952 New functions.
5953
5954 (rst-all-sections, rst-section-hierarchy)
5955 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5956 New variables.
5957
5958 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5959 configuration instead of only buffer. Change where necessary.
5960
5961 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5962 (rst-shift-region, rst-adaptive-fill): New functions for
5963 indentation and filling.
5964
5965 (rst-comment-line-break, rst-comment-indent)
5966 (rst-comment-insert-comment, rst-comment-region)
5967 (rst-uncomment-region): New functions for handling comments.
5968
5969 (rst-compile): Quote shell arguments.
5970
5971 (rst-compile-pdf-preview, rst-compile-slides-preview):
5972 Delete temporary files after use.
5973
a43f98b3
GM
59742012-05-05 Glenn Morris <rgm@gnu.org>
5975
48176e8b
GM
5976 * calendar/cal-html.el: Optionally include holidays in the output.
5977 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5978 (cal-html-holidays): New option.
5979 (cal-html-css-default): Add holiday entry.
5980 (holiday-in-range): Autoload it.
5981 (cal-html-htmlify-entry): Add optional class argument.
5982 (cal-html-htmlify-list): Add optional holidays argument.
5983 (cal-html-insert-agenda-days): Include holidays in the output.
5984 (cal-html-one-month): Maybe include holidays.
5985
a43f98b3
GM
5986 * calendar/holidays.el (holiday-in-range):
5987 Move here from cal-tex-list-holidays.
5988 * calendar/cal-tex.el (cal-tex-list-holidays):
5989 Make it an obsolete alias for holiday-in-range. Update all callers.
5990
fef9d149 59912012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5992
5993 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5994 Nextstep.
5995
248da2f4
RW
59962012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5997
5998 * files.el (file-auto-mode-skip): New var.
5999 (set-auto-mode-1): Use it.
6000
f95e9344
SM
60012012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6002
df96ab1e
SM
6003 * repeat.el: Use lexical-binding.
6004 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6005 (repeat-undo-count): Remove.
6006 (repeat):
6007 * progmodes/octave-mod.el (octave-abbrev-start):
6008 * progmodes/f90.el (f90-abbrev-start):
6009 * face-remap.el (text-scale-adjust):
6010 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6011
5342bb06
SM
6012 * emacs-lisp/pcase.el (pcase--let*): New function.
6013 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6014 a bit more.
6015 (pcase--split-pred): Be more clever about ruling out overlap between
6016 a predicate and some constant pattern.
6017 (pcase--q1): Use `null' instead of (eq foo nil).
6018
f95e9344
SM
6019 * subr.el (setq-local, defvar-local): New macros.
6020 (kbd): Redefine as an alias.
6021 (with-selected-window): Leave unrelated frames alone.
6022 (set-temporary-overlay-map): New function.
6023
71873e2b
SM
60242012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6025
6026 * subr.el (user-error): New function.
6027 * window.el (switch-to-buffer):
6028 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6029 (smerge-match-conflict):
6030 * simple.el (previous-matching-history-element)
6031 (next-matching-history-element, goto-history-element, undo-more)
6032 (undo-start):
6033 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6034 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6035 (next-file, tags-loop-scan, list-tags, complete-tag):
6036 * progmodes/compile.el (compilation-loop):
6037 * mouse.el (mouse-minibuffer-check):
6038 * man.el (Man-bgproc-sentinel, Man-goto-page):
6039 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6040 (Info-history-forward, Info-follow-reference, Info-menu)
6041 (Info-extract-menu-item, Info-extract-menu-counting)
6042 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6043 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6044 (Info-next-reference, Info-prev-reference, Info-index)
6045 (Info-index-next, Info-follow-nearest-node)
6046 (Info-copy-current-node-name):
6047 * imenu.el (imenu--make-index-alist)
6048 (imenu-default-create-index-function, imenu-add-to-menubar):
6049 * files.el (basic-save-buffer, recover-file):
6050 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6051 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6052 (checkdoc-message-text, checkdoc-defun):
6053 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6054 * cus-edit.el (customize-changed-options, customize-rogue)
6055 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6056 (custom-variable-mark-to-reset-standard)
6057 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6058 (custom-file):
6059 * completion.el (check-completion-length):
6060 * comint.el (comint-search-arg)
6061 (comint-previous-matching-input-string-position)
6062 (comint-previous-matching-input)
6063 (comint-replace-by-expanded-history-before-point, comint-send-input)
6064 (comint-copy-old-input, comint-backward-matching-input)
6065 (comint-goto-process-mark, comint-set-process-mark):
6066 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6067 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6068
8a61ee22
SM
60692012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6070
66408d1e
SM
6071 * dabbrev.el (dabbrev--ignore-case-p): New function.
6072 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6073 Use it.
6074
8a61ee22
SM
6075 * files.el (automount-dir-prefix): Mark as obsolete.
6076
3c74813a
GM
60772012-05-04 Glenn Morris <rgm@gnu.org>
6078
6079 * patcomp.el, play/bruce.el: Move to obsolete/.
6080
0bfcf5c5
PE
60812012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6082
6083 Fix minor Y10k bugs.
6084 * arc-mode.el (archive-unixdate):
6085 * autoinsert.el (auto-insert-alist):
6086 * calc/calc-forms.el (math-this-year):
6087 * emacs-lisp/copyright.el (copyright-current-year)
6088 (copyright-update-year, copyright):
6089 * tar-mode.el (tar-clip-time-string):
6090 * time.el (display-time-update):
6091 Don't assume years have 4 digits.
6092
78f3273a
CY
60932012-05-04 Chong Yidong <cyd@gnu.org>
6094
6095 * dos-w32.el (file-name-buffer-file-type-alist)
6096 (direct-print-region-use-command-dot-com):
6097 * ffap.el (ffap-menu-regexp):
6098 * find-file.el (ff-special-constructs):
6099 * follow.el (follow-debug):
6100 * forms.el (forms--debug):
6101 * iswitchb.el (iswitchb-all-frames):
6102 * ido.el (ido-all-frames):
6103 * emacs-lisp/timer.el (timer-max-repeats):
6104 * mail/feedmail.el (feedmail-mail-send-hook)
6105 (feedmail-mail-send-hook-queued):
6106 * mail/footnote.el (footnote-signature-separator):
6107 * mail/mailabbrev.el (mail-alias-separator-string)
6108 (mail-abbrev-mode-regexp):
6109 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6110 * progmodes/idlwave.el (idlwave-libinfo-file)
6111 (idlwave-default-completion-case-is-down)
6112 (idlwave-library-routines): Convert defvars to defcustoms.
6113
6114 * mail/rmail.el (rmail-decode-mime-charset):
6115 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6116 (idlwave-shell-fix-inserted-breaks)
6117 (idlwave-shell-activate-alt-keybindings)
6118 (idlwave-shell-use-breakpoint-glyph):
6119 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6120
f7ae6719
SM
61212012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6124
47086495
WS
61252012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6126
6127 * progmodes/verilog-mode.el (font-lock-keywords):
6128 Fix mis-highligting auto. Reported by Craig Barner.
6129 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6130 defines from global name space. Reported by Dan Dever.
47086495
WS
6131 (verilog-auto-reset, verilog-auto-reset-widths)
6132 (verilog-auto-tieoff): Support using unbased numbers for
6133 AUTORESET and AUTOTIEOFF.
6134 (verilog-submit-bug-report): Update variable list.
6135 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6136 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6137 (verilog-auto-template-lint): Fix hash error when linting modules
6138 with no used templates.
6139 (verilog-warn, verilog-warn-error)
6140 (verilog-warn-fatal): When non-interactive report multiple
6141 warnings before exiting. Suggested by Brad Dobbie.
6142 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6143 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6144 to report unused template errors. Reported by Brad Dobbie.
6145 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6146 nets, bug438. Reported by Vns Blore.
47086495
WS
6147 (verilog-auto-inout-module, verilog-auto-reg)
6148 (verilog-read-decls, verilog-read-sub-decls-sig)
6149 (verilog-signals-edit-wire-reg, verilog-signals-with):
6150 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6151 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6152 "reg" for backwards compatibility presuming Verilog 2001.
6153 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6154 (verilog-preprocess): Fix replication of preprocess output.
6155 Reported by Brad Dobbie.
6156 (verilog-auto-inst-interfaced-ports):
6157 Create verilog-auto-inst-interfaced-ports, bug429.
6158 Reported by Julian Gorfajn.
6159 (verilog-after-save-font-hook)
6160 (verilog-before-save-font-hook): New variable.
6161 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6162 (verilog-save-font-mods): Wrap disabling fontification, reported
6163 by David Rogoff.
6164 (verilog-do-indent, verilog-pretty-declarations-auto)
6165 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6166 Reported by Pierre-David Pfister.
6167 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6168 of class declarations, bug292. Reported by Kevin Heilman.
6169 (verilog-read-decls): Fix 'parameter type' not appearing in
6170 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6171 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6172 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6173 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6174 Reported by David Kravitz.
6175
61762012-05-03 Michael McNamara <mac@mail.brushroad.com>
6177
6178 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6179 assignment with tests in ifs and for loops.
6180 (verilog-extended-complete-re, verilog-complete-reg): Change so
6181 that DPI inport functions don't look like fuction declarations.
6182 (verilog-pretty-expr): Don't line up assignment
6183 operations to the test and increment in if and for loops
6184 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6185 that DPI inport functions don't look like fuction declarations.
47086495 6186
2e51d4b5
KH
61872012-05-03 Kenichi Handa <handa@m17n.org>
6188
6189 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6190 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6191 (Bug#11282).
6192
2bd785a2
SM
61932012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * emacs-lisp/bytecomp.el
6196 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6197 since cconv.el might have introduced :fun-body, internal-make-closure,
6198 and friends for bytecomp to handle (bug#11391).
6199 * custom.el (defcustom): Avoid ((λ ..) ..).
6200
99d27583
SM
62012012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6204
55a71479
JB
62052012-05-02 Juanma Barranquero <lekktu@gmail.com>
6206
6207 * notifications.el (dbus-debug):
6208 * term/linux.el (gpm-mouse-enable):
6209 * term/screen.el (xterm-register-default-colors): Declare.
6210
7b97c764
CY
62112012-05-02 Chong Yidong <cyd@gnu.org>
6212
2bc356d7
CY
6213 * cus-start.el (gc-cons-percentage, exec-suffixes)
6214 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6215 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6216 (make-cursor-line-fully-visible, void-text-area-pointer)
6217 (font-list-limit): Add customization data.
6218
7b97c764
CY
6219 * allout.el (allout-exposure-change-functions)
6220 (allout-structure-added-functions)
6221 (allout-structure-deleted-functions)
6222 (allout-structure-shifted-functions): Rename abnormal hooks from
6223 *-hook, and convert to defcustoms.
5d3385a0
JB
6224 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6225 Convert to defcustoms.
7b97c764
CY
6226 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6227
6228 * allout-widgets.el: Hook callers changed.
6229
90207a15 62302012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6231
6232 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6233 the yanked message in preference to the default value of
6234 buffer-file-coding-system.
6235
90207a15 62362012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6237
5d3385a0
JB
6238 * window.el (display-buffer--action-function-custom-type):
6239 Fix entry.
d9558cad 6240
90207a15 62412012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6242
6243 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6244
d80ac57b
GM
62452012-05-01 Glenn Morris <rgm@gnu.org>
6246
976f7668
GM
6247 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6248
beb83b5a
GM
6249 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6250
d80ac57b
GM
6251 * cus-edit.el (custom-variable-documentation): Simplify with format.
6252
b593d6a9 62532012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6254 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6255
6256 * simple.el (suggest-key-bindings, execute-extended-command):
6257 Move from keyboard.c.
6258
782fbf2a
CY
62592012-05-01 Chong Yidong <cyd@gnu.org>
6260
6261 * follow.el: Eliminate advice.
6262 (set-process-filter, process-filter, sit-for): Advice deleted.
6263 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6264 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6265 Vars deleted.
782fbf2a
CY
6266 (follow-auto): Use a :set function.
6267 (follow-mode): Rewritten. Don't advise process filters.
6268 (follow-switch-to-current-buffer-all, follow-scroll-up)
6269 (follow-scroll-down): Assume follow-mode is bound.
6270 (follow-comint-scroll-to-bottom)
6271 (follow-align-compilation-windows): New functions.
6272 (follow--window-sorter): New function.
6273 (follow-all-followers): Use it to explicitly sort windows by their
6274 positions; don't make assumptions about next-window order.
6275 (follow-windows-start-end, follow-delete-other-windows-and-split)
6276 (follow-calc-win-start): Doc fix.
6277 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6278 vertical-motion unnecessarily.
6279 (follow-adjust-window): New function.
6280 (follow-post-command-hook): Use it.
6281 (follow-call-set-process-filter, follow-call-process-filter)
6282 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6283 (follow-stop-intercept-process-output, follow-generic-filter):
6284 Functions deleted.
6285 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6286 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6287 New functions, replacing advice on scroll-bar-* commands.
87233a14 6288 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6289
6290 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6291 (comint-postoutput-scroll-to-bottom): Use it.
6292 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6293
290af740
GM
62942012-05-01 Glenn Morris <rgm@gnu.org>
6295
6296 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6297 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6298 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6299 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6300 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6301 Remove no-byte-compile setting.
6302
6eac8dc9
SM
63032012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6304
6305 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6306 all-completions code to not return a number in the last cdr.
6307
9cc7819c
LL
63082012-04-30 Leo Liu <sdl.web@gmail.com>
6309
6310 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6311 read-only error.
6312
c93b886f
CY
63132012-04-29 Chong Yidong <cyd@gnu.org>
6314
6315 * follow.el (follow-calc-win-end): Rewrite to handle partial
6316 screen lines correctly (Bug#8390).
6317 (follow-avoid-tail-recenter): Minor cleanup.
6318
8b6c19f4
SM
63192012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 Avoid the obsolete `assoc' package.
6322 * speedbar.el (speedbar-refresh): Avoid adelete.
6323 (speedbar-file-lists): Simplify and avoid aput.
6324 * man.el (Man--sections, Man--refpages): New vars, replacing
6325 Man-sections-alist and Man-refpages-alist.
6326 (Man-build-section-alist, Man-build-references-alist):
6327 Use them; avoid aput.
6328 (Man--last-section, Man--last-refpage): New vars.
6329 (Man-follow-manual-reference): Use them.
6330 Use the `default' arg of completing-read.
6331 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6332
c5bb7569
CY
63332012-04-27 Chong Yidong <cyd@gnu.org>
6334
d1d2e2e8
CY
6335 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6336
15cd8efd
CY
6337 * startup.el (x-apply-session-resources): New function.
6338
6339 * term/ns-win.el (ns-initialize-window-system):
6340 * term/w32-win.el (w32-initialize-window-system):
6341 * term/x-win.el (x-initialize-window-system): Use it to properly
6342 set menu-bar-mode and other vars from X resources, even if the
6343 initial frame is not a window-system frame (Bug#2299).
6344
c5bb7569
CY
6345 * subr.el (read-key): Avoid running filter function when setting
6346 up temporary tool bar entries (Bug#9922).
6347
a8e7d6d7 63482012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6349
6350 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6351 (Bug#11344)
6352
a8e7d6d7 63532012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6354
6355 * select.el (xselect--encode-string): New function, split from
6356 xselect-convert-to-string.
6357 (xselect-convert-to-string): Use it.
6358 (xselect-convert-to-filename, xselect-convert-to-os)
6359 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6360 returned strings are properly encoded (Bug#11315).
6361
a8e7d6d7 63622012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6363
6364 * simple.el (delete-active-region): Move to killing custom group.
6365
a8e7d6d7 63662012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6367
6368 * progmodes/which-func.el (which-func-current): Quote %
6369 characters for mode-line processing.
6370
578c1d4b 63712012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6372
6373 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6374 reaching eob (Bug#11286).
6375
a8e7d6d7 63762012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6377
6378 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6379 (gdb): Make it buffer-local and init to zero.
6380 (gdb-control-commands-regexp): New variable.
6381 (gdb-send): Don't wrap in "-interpreter-exec console" if
6382 gdb-control-level is positive. Increment gdb-control-level
6383 whenever the command matches gdb-control-commands-regexp, and
6384 decrement it each time the command is "end". (Bug#11279)
6385
a8e7d6d7 63862012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6387
6388 * window.el (adjust-window-trailing-edge, enlarge-window)
6389 (shrink-window, window-resize):
6390 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6391 windows (Bug#11276).
6392
b3608390
CY
63932012-04-27 Chong Yidong <cyd@gnu.org>
6394
6395 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6396 fix "missing prefix" warning. All callers changed.
b3608390 6397
797e6e88
SM
63982012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * emacs-lisp/assoc.el: Move to obsolete/.
6401
e95a67dc
SM
64022012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6403
657c21e4 6404 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6405
6406 * term/ns-win.el (ns-define-service):
6407 * progmodes/pascal.el (pascal-goto-defun):
6408 * progmodes/js.el (js--read-tab):
6409 * progmodes/etags.el (tags-lazy-completion-table):
6410 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6411 * emacs-lisp/ewoc.el (ewoc--wrap):
6412 * emacs-lisp/assoc.el (aput, adelete, amake):
6413 * doc-view.el (doc-view-convert-current-doc):
6414 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6415
cb3e7ae0
CY
64162012-04-26 Chong Yidong <cyd@gnu.org>
6417
dce04f7f
CY
6418 * image.el (image-type-from-buffer): Only return supported image
6419 type (Bug#9045).
6420
cb3e7ae0
CY
6421 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6422 value, for symmetry with diff-end-of-hunk.
6423 (diff-split-hunk, diff-find-source-location)
6424 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6425 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6426 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6427 compute the relevant hunk or file properly (Bug#6005).
6428 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6429
0d42eb3e
SM
64302012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * vc/vc-mtn.el:
6433 * vc/vc-hg.el:
6434 * vc/vc-git.el:
6435 * vc/vc-dir.el:
6436 * vc/vc-cvs.el:
6437 * vc/vc-bzr.el:
6438 * vc/vc-arch.el:
6439 * vc/vc.el: Replace lexical-let by lexical-binding.
6440 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6441 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6442 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6443
f08ae1c9
CY
64442012-04-26 Chong Yidong <cyd@gnu.org>
6445
8b71081d
CY
6446 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6447 (diff-mode-shared-map): Bind it to / and [remap undo].
6448
f08ae1c9
CY
6449 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6450 (ediff-window-setup-function): Use it as the default, to set up
6451 windows based on whether the current frame is graphical (Bug#2138).
6452 (ediff-choose-window-setup-function-automatically): Make obsolete.
6453
6454 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6455
ef24141c
SM
64562012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6457
cc356a5d
SM
6458 * ffap.el: Remove old code for obsolete package.
6459 (ffap-complete-as-file-p): Remove.
6460
b4ff4f1f
SM
6461 Use completion-table-with-quoting for comint and pcomplete.
6462 * comint.el (comint--unquote&requote-argument)
6463 (comint--unquote-argument, comint--requote-argument): New functions.
6464 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6465 (comint-quote-filename): Use regexp-opt-charset.
6466 (comint--common-suffix, comint--common-quoted-suffix)
6467 (comint--table-subvert): Remove.
6468 (comint-unquote-function, comint-requote-function): New vars.
6469 (comint--complete-file-name-data): Use them with
6470 completion-table-with-quoting.
6471 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6472 * pcomplete.el (pcomplete-arg-quote-list)
6473 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6474 (pcomplete-unquote-argument-function): Default to non-nil.
6475 (pcomplete-unquote-argument): Simplify.
6476 (pcomplete--common-quoted-suffix): Remove.
6477 (pcomplete-requote-argument-function): New var.
6478 (pcomplete--common-suffix): New function.
6479 (pcomplete-completions-at-point): Use completion-table-with-quoting
6480 and completion-table-subvert.
6481
79c4eeb4
SM
6482 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6483 (minibuffer--double-dollars): Preserve properties.
6484 (completion--sifn-requote): New function.
6485 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6486
ef24141c
SM
6487 * minibuffer.el: Add support for completion of quoted/escaped data.
6488 (completion-table-with-quoting, completion-table-subvert): New funs.
6489 (completion--twq-try, completion--twq-all): New functions.
6490 (completion--nth-completion): New function.
6491 (completion-try-completion, completion-all-completions): Use it.
6492
784e7d6e
LL
64932012-04-25 Leo Liu <sdl.web@gmail.com>
6494
dd2ac746
SM
6495 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6496 Use compilation-message if available to find real filename.
784e7d6e 6497
07875ee7
CY
64982012-04-25 Chong Yidong <cyd@gnu.org>
6499
6500 * vc/diff-mode.el (diff-setup-whitespace): New function.
6501 (diff-mode): Use it.
6502
6503 * vc/diff.el (diff-sentinel):
6504 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6505 Whitespace mode variables based on diff style (Bug#8612).
6506
5055880d
LL
65072012-04-25 Leo Liu <sdl.web@gmail.com>
6508
daf75653
LL
6509 * progmodes/python.el (python-send-region): Add suffix .py to the
6510 temp file.
6511
5055880d
LL
6512 * files.el (auto-mode-alist): Use javascript-mode instead.
6513
db9b177b
AH
65142012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6515
ef24141c 6516 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6517
090bd7cb 6518 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6519 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6520 references, see Bug#9.
ef24141c 6521 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6522 when receiving a fault reply.
ef24141c 6523 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6524
090bd7cb 6525 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6526 (soap-inspect-simple-type): New function.
db9b177b 6527
090bd7cb 6528 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6529 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6530 (soap-decode-basic-type, soap-encode-basic-type):
6531 support unsignedInt and double basic types.
db9b177b 6532 (soap-resolve-references-for-simple-type)
ef24141c
SM
6533 (soap-parse-simple-type, soap-encode-simple-type): New function.
6534 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6535
090bd7cb 6536 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6537 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6538 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6539 the local name of "soapenc:Array".
6540 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6541 decoding integer, byte and anyURI xsd types.
6542
1fc6097b
CY
65432012-04-25 Chong Yidong <cyd@gnu.org>
6544
6545 * cus-edit.el (custom-buffer-create-internal): Update header text.
6546
afc6df87
EZ
65472012-04-25 Eli Zaretskii <eliz@gnu.org>
6548
6549 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6550 settings on 'system-type', not on 'window-system'. On MS-Windows,
6551 set interactive-mode on in GDB.
6552
dfbd787f
SM
65532012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6556 (ruby-syntax-propertize-regexp): Remove.
6557 (ruby-syntax-propertize-function): Split regexp into chunks.
6558 Match following code directly.
6559
85222d44
DG
65602012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6561
51a8ea2a
DG
6562 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6563 (ruby-syntax-propertize-regexp): New function.
6564 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6565 by a special keyword.
6566
85222d44
DG
6567 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6568 (ruby-syntax-general-delimiters-goto-beg)
6569 (ruby-syntax-propertize-general-delimiters): New functions.
6570 (ruby-syntax-propertize-function): Use them to handle GDL.
6571 (ruby-font-lock-keywords): Move old handling of GDL...
6572 (ruby-font-lock-syntactic-keywords): .. to here.
6573 (ruby-calculate-indent): Adjust indentation for GDL.
6574
b613912b
MA
65752012-04-24 Michael Albinus <michael.albinus@gmx.de>
6576
b5380639
MA
6577 * notifications.el (top): Remove unneeded declarations.
6578 (notifications-specification-version): Change to "1.2".
e43042fe 6579 (notifications-interface, notifications-notify-method)
b613912b
MA
6580 (notifications-close-notification-method): Fix docstring.
6581 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6582 (notifications-notify): Add :action-items, :resident and
6583 :transient hints. Change "image_data" to "image-data" and
6584 "image_path" to "image-path".
b613912b
MA
6585 (notifications-get-capabilities): New defun.
6586
257440aa
LL
65872012-04-24 Leo Liu <sdl.web@gmail.com>
6588
6589 * progmodes/python.el: Move hideshow setup to the end.
6590
b1bac16e
MR
65912012-04-24 Martin Rudalics <rudalics@gmx.at>
6592
6593 * window.el (handle-select-window): Clear echo area since this is
6594 no more done by read_char (Bug#11304).
6595
d81bd059
SM
65962012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6599 and `/ M' to filter-derived-mode.
6600 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6601 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6602 (ibuffer-mark-by-mode): Use default rather than initial-input.
6603 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6604
c4cf6d91
IA
66052012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6606
6607 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6608 (ibuffer-filter-by-derived-mode): New filter.
6609 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6610
7511ded8
CY
66112012-04-23 Andreas Politz <politza@fh-trier.de>
6612
6613 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6614
775c916b
CY
66152012-04-23 Chong Yidong <cyd@gnu.org>
6616
6617 * cus-edit.el (customize-apropos, customize-apropos-options):
6618 Disable matching of non-option variables (Bug#11176).
6619 (customize-option, customize-option-other-window)
6620 (customize-changed-options): Doc fix.
6621 (customize-apropos-options, customize-apropos-faces)
6622 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6623
6624 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6625 Fix word list splitting (Bug#11132).
46c71e23
CY
6626 (apropos-symbol, apropos-keybinding, apropos-label)
6627 (apropos-property, apropos-function-button)
6628 (apropos-variable-button, apropos-misc-button): New faces.
6629 (apropos-symbol-face, apropos-keybinding-face)
6630 (apropos-label-face, apropos-property-face, apropos-match-face):
6631 Variables removed (Bug#8396).
6632 (apropos-library-button, apropos-format-plist, apropos-print)
6633 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6634
2df41f9c
MA
66352012-04-23 Michael Albinus <michael.albinus@gmx.de>
6636
6637 * net/xesam.el (xesam-mode-map): Use let-bound map in
6638 initialization. (Bug#11292)
6639
da00640a
AM
66402012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6641
6642 Preserve ispell session localwords when switching back to
6643 original buffer.
6644
090bd7cb
JB
6645 * textmodes/ispell.el (ispell-buffer-session-localwords):
6646 New buffer-local variable to hold buffer session localwords.
ed9265fc 6647 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6648 localwords.
6649 (ispell-command-loop, ispell-change-dictionary)
6650 (ispell-buffer-local-words): Preserve session localwords when
6651 needed.
6652
090bd7cb
JB
6653 * textmodes/flyspell.el (flyspell-process-localwords)
6654 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6655
f621ccf5
AM
66562012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6657
090bd7cb
JB
6658 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6659 using obsolete `translation-table-for-input'.
ef24141c
SM
6660 (ispell-word, ispell-process-line, ispell-complete-word):
6661 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6662
c2d1019e
CY
66632012-04-22 Chong Yidong <cyd@gnu.org>
6664
6665 * cus-edit.el (custom-variable-menu)
6666 (custom-variable-reset-saved, custom-face-menu)
6667 (custom-face-reset-saved): If there is no saved value, make the
6668 "reset-saved" operation bring back the default (Bug#9509).
6669 (custom-face-state): Properly detect themed faces.
6670
eeddc531
CY
6671 * faces.el (face-spec-set): Stop supporting deprecated form of
6672 third arg.
6673
dcbf5805
MA
66742012-04-22 Michael Albinus <michael.albinus@gmx.de>
6675
6676 Move functions from C to Lisp. Make non-blocking method calls
6677 the default. Implement further D-Bus standard interfaces.
6678
ef24141c
SM
6679 * net/dbus.el (dbus-message-internal): Declare function.
6680 Remove unneeded function declarations.
dcbf5805
MA
6681 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6682 (dbus-message-type-method-return, dbus-message-type-error)
6683 (dbus-message-type-signal): Declare variables. Remove local
6684 definitions.
6685 (dbus-interface-dbus, dbus-interface-peer)
6686 (dbus-interface-introspectable, dbus-interface-properties)
6687 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6688 Adapt docstring.
6689 (dbus-interface-objectmanager): New defconst.
6690 (dbus-call-method, dbus-call-method-asynchronously)
6691 (dbus-send-signal, dbus-method-return-internal)
6692 (dbus-method-error-internal, dbus-register-service)
6693 (dbus-register-signal, dbus-register-method): New defuns, moved
6694 from dbusbind.c
6695 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6696 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6697 New defuns.
dcbf5805
MA
6698 (dbus-call-method-non-blocking): Make it an obsolete function.
6699 (dbus-unregister-object, dbus-unregister-service)
6700 (dbus-handle-event, dbus-register-property)
6701 (dbus-property-handler): Obey the new structure of
6702 `bus-registered-objects'.
6703 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6704 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6705 Use `dbus-call-method'.
6706
cf20dee0
CY
67072012-04-22 Chong Yidong <cyd@gnu.org>
6708
6709 * cus-edit.el (custom-commands, custom-reset-menu)
6710 (Custom-reset-standard): Tweak labels.
6711 (custom-reset-button-menu): Change default to t.
6712 (custom-buffer-create-internal): For the custom-reset-button-menu
6713 case, put the revert button first.
6714 (custom-group-subtitle): New face.
6715 (custom-group-value-create): Align docstring to a specific column.
6716
6717 * wid-edit.el (widget-documentation-link-add): Don't handle
6718 indentation in this function.
6719 (widget-documentation-string-indent-to): New function.
6720 (widget-documentation-string-value-create): Use it.
6721
6722 * autorevert.el (auto-revert):
6723 * epg-config.el (epg):
6724 * ibuffer.el (ibuffer):
6725 * mpc.el (mpc):
6726 * ses.el (ses):
6727 * eshell/eshell.el (eshell):
6728 * net/ange-ftp.el (ange-ftp):
6729 * progmodes/ebnf2ps.el (postscript):
6730 * progmodes/flymake.el (flymake):
6731 * progmodes/prolog.el (prolog):
6732 * progmodes/verilog-mode.el (verilog-mode):
6733 * progmodes/which-func.el (which-func):
6734 * term/xterm.el (xterm):
6735 * textmodes/picture.el (picture):
6736 * textmodes/tildify.el (tildify):
6737 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6738 customization buffers.
6739
583e23bd
AM
67402012-04-22 Alan Mackenzie <acm@muc.de>
6741
6742 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6743 Adding a ) can hide the resulting (..) from searches. Fix it.
6744 Bound the backward search to the position of the existing (.
6745
7dd51bf1
JB
67462012-04-21 Juanma Barranquero <lekktu@gmail.com>
6747
6748 * progmodes/verilog-mode.el (verilog-mode): Check whether
6749 which-func-modes is t before adding verilog-mode.
6750 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6751
d64a438f
LL
67522012-04-21 Leo Liu <sdl.web@gmail.com>
6753
7dd51bf1 6754 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6755
081e8d65
MV
67562012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6757
6758 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6759 filling of the last column of a table (Bug#5635).
6760 (woman-find-next-control-line): New arg, specifying an additional
6761 regexp component for the control line.
6762 (woman2-roff-buffer): Use it.
6763 (woman-break-table): New function.
6764 (woman2-TS): Use it.
6765
67662012-04-21 Chong Yidong <cyd@gnu.org>
6767
6768 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6769 (woman-horizontal-escapes, woman-negative-vertical-space)
6770 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6771 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6772
ed571ccb
SM
67732012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * minibuffer.el (completion-file-name-table): Complete user names.
6776
39773899
LL
67772012-04-20 Leo Liu <sdl.web@gmail.com>
6778
6779 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6780 and pcase-let*.
6781
de6ff46d
CY
67822012-04-20 Chong Yidong <cyd@gnu.org>
6783
6784 * server.el (server-execute): Respect initial-buffer-choice if it
6785 is a string and there are no files to open (Bug#2825).
6786 (server-create-window-system-frame, server-create-tty-frame):
6787 Don't switch buffers here.
2d0e8e61
CY
6788 (server-process-filter): Only try to open a window system frame if
6789 compiled with graphical support (Bug#8314).
de6ff46d 6790
54071013
DN
67912012-04-20 Dan Nicolaescu <dann@gnu.org>
6792
6793 * battery.el (battery-echo-area-format): Display remaining time
6794 for sysfs backend too (Bug#11269).
6795 (battery-linux-sysfs): Fix conditional for the charge.
6796
f30d612a
CY
67972012-04-20 Chong Yidong <cyd@gnu.org>
6798
c07a4c0b 6799 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6800 (gdb-inferior-io--init-proc): New function.
6801 (gdb-init-1): Use it.
6802 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6803 responsible for allocating a new pty and hooking it to gdb when
6804 the old pty gets an EIO due to process exit.
6805 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6806 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6807 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6808
2116e93c
EZ
68092012-04-20 Eli Zaretskii <eliz@gnu.org>
6810
6811 * window.el (window-min-size, window-sizable, window-min-delta)
6812 (window-max-delta, window--resizable, window-resizable)
6813 (window-total-size, window-full-height-p, window-full-width-p)
6814 (window-in-direction, window--resize-mini-window, window-resize)
6815 (window--resize-child-windows-normal)
6816 (window--resize-child-windows, window--resize-siblings)
6817 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6818 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6819
c07a4c0b 68202012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6821
ef24141c
SM
6822 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6823 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6824 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6825 pty process (Bug#11273).
6826 (gdb-update): New arg to suppress talking to the gdb process.
6827 (gdb-done-or-error): Use it.
6828 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6829 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6830 sentinel not being called.
6831
6832 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6833
d02766ab
CY
6834 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6835
c07a4c0b 68362012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6837
6838 * net/network-stream.el (open-network-stream): Doc fix.
6839
c07a4c0b 68402012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6841
6842 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6843
c07a4c0b 68442012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6845
6846 Ensure searching for keywords is case sensitive.
6847
6848 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6849 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6850 (c-defun-name, c-mark-function, c-cpp-define-name)
6851 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6852 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6853
ef24141c
SM
6854 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6855 Bind case-fold-search to nil.
f0f6bc35 6856
c07a4c0b 68572012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6858
6859 * mail/sendmail.el (mail-bury): Call return action with the right
6860 Rmail buffer (Bug#11242).
6861
9a864fa2
CY
6862 * server.el (server-process-filter): Handle corner case where both
6863 tty and nowait options are present (Bug#11102).
6864
539aa513
EZ
68652012-04-20 Eli Zaretskii <eliz@gnu.org>
6866
6867 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6868 (top level): Put into the executable the ident-style '$Id:' tag on
6869 windows-nt as well.
539aa513 6870
cfc7d5da
SM
68712012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6872
6873 * electric.el (electric-indent-post-self-insert-function): Check that
6874 electric-indent-mode is enabled in current buffer.
6875
5b01685c
JB
68762012-04-19 Juanma Barranquero <lekktu@gmail.com>
6877
6878 * imenu.el (imenu-progress-message): Restore; it is "used" in
6879 erc/erc-imenu.el and net/snmp-mode.el.
6880
4d6769e1
JB
68812012-04-19 Juanma Barranquero <lekktu@gmail.com>
6882
6883 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6884 (mouse-avoidance-nudge-mouse): Remove unused binding.
6885
6886 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6887
6888 * descr-text.el (describe-char):
6889 * progmodes/python.el (python-describe-symbol):
6890 Don't call `toggle-read-only', set `buffer-read-only'.
6891
6892 * imenu.el (imenu-default-goto-function): Mark unused args.
6893 (imenu-progress-message): Remove obsolete macro; all callers changed.
6894
6895 * subr.el (keymap-canonicalize): Remove unused binding.
6896 (read-passwd): Mark unused arg.
6897
6898 * tutorial.el (tutorial--display-changes): Remove unused binding.
6899 (tutorial--save-tutorial-to): Remove unused variable.
6900
6901 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6902 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6903 (package-generate-autoloads, package-menu--generate)
6904 (package-menu--find-upgrades): Remove unused bindings.
6905
6906 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6907 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6908 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6909 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6910 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6911 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6912 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6913 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6914 (cua-delete-char-rectangle): Mark unused args.
6915 (cua-align-rectangle): Remove unused binding.
6916
6917 * mail/rmail.el (compilation--message->loc)
6918 (epa--find-coding-system-for-mime-charset): Declare.
6919
6920 * net/dbus.el (dbus-register-service): Declare.
6921 (dbus-name-owner-changed-handler): Remove unused binding.
6922
6923 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6924 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6925 (nxml-scan-backward-within): Mark unused arg.
6926 (nxml-dynamic-markup-word): Remove unused binding.
6927
6928 * mouse.el (mouse-menu-major-mode-map):
6929 * emacs-lisp/authors.el (authors-scan-change-log)
6930 (authors-add-to-author-list):
6931 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6932 * emacs-lisp/smie.el (smie-auto-fill):
6933 * mail/sendmail.el (mail-bury):
6934 * mail/unrmail.el (unrmail):
6935 * net/tls.el (open-tls-stream):
6936 * textmodes/picture.el (picture-mouse-set-point):
6937 Remove unused bindings.
6938
8c8fc5df
MA
69392012-04-19 Michael Albinus <michael.albinus@gmx.de>
6940
6941 * net/tramp.el (tramp-action-password): Let-bind
6942 `enable-recursive-minibuffers' to t.
6943
a77b0ac9
SS
69442012-04-18 Sam Steingold <sds@gnu.org>
6945
6946 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6947 instead of 'string to accommodate values like [f11].
6948 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6949 * progmodes/gdb-mi.el: Likewise.
6950
12a106a9
LL
69512012-04-18 Leo Liu <sdl.web@gmail.com>
6952
6953 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6954 current buffer.
6955 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6956 LOCAL is nil.
6957
bc6494ef
CY
69582012-04-18 Chong Yidong <cyd@gnu.org>
6959
6960 * simple.el (line-move): Use forward-line if in batch mode
6961 (Bug#11053).
6962
c09c46b2
CS
69632012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6964
6965 * files.el (after-find-file): Do not try to add a final newline if
6966 the buffer is read-only (Bug#11156).
6967
5f6530ea
RS
69682012-04-17 Richard Stallman <rms@gnu.org>
6969
6970 * mail/rmail.el (rmail-start-mail):
6971 Pass (rmail-mail-return...) for the return-action.
6972 Pass (rmail-yank-current-message...) for the yank-action.
6973 (rmail-yank-current-message): New function.
6974 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6975 (rmail-reply): Likewise.
6976 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6977
6978 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6979 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6980 buffer, not newbuf.
6981
197b6f3c
JB
69822012-04-17 Juanma Barranquero <lekktu@gmail.com>
6983
6984 * server.el (server-ensure-safe-dir): Simplify.
6985
2311d8e5 69862012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6987
2311d8e5
GM
6988 * emacs-lisp/smie.el: Provide smarter auto-filling.
6989 (smie-auto-fill): New function.
6990 (smie-setup): Use it.
98fb480e 6991
2311d8e5
GM
6992 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6993
69942012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6995
6996 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6997 (comment-indent): Use it.
6998
2311d8e5 69992012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7000
7001 * ses.el: The overall change is to add cell renaming, that is
7002 setting fancy names for cell symbols other than name matching
7003 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7004 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7005 (ses-create-cell-variable): New defun.
2311d8e5 7006 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7007 (ses-relocate-formula): Relocate formulas only for cells the
7008 symbols of which are not renamed, i.e. symbols whose names do not
7009 match regexp "\\`[A-Z]+[0-9]+\\'".
7010 (ses-relocate-all): Relocate values only for cells the symbols of
7011 which are not renamed.
7012 (ses-load): Create cells variables as the (ses-cell ...) are read,
7013 in order to check row col consistency with cell symbol name only
7014 for cells that are not renamed.
7015 (ses-replace-name-in-formula): New defun.
7016 (ses-rename-cell): New defun.
4bdf2ad2 7017
fc72b15c
PO
70182012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7019
7020 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7021 New option (bug#11118).
7022 (perl-calculate-indent): Respect it.
7023
12e10e61
GM
70242012-04-17 Glenn Morris <rgm@gnu.org>
7025
7026 * dired-aux.el (dired-mark-read-string): Doc fix.
7027
30009afd
DA
70282012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7029
7030 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7031 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7032
41f03f4d
GM
70332012-04-17 Glenn Morris <rgm@gnu.org>
7034
7035 * mouse.el (mouse-drag-track):
7036 * speedbar.el (speedbar-frame-mode):
7037 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7038
f45f90f3
LL
70392012-04-16 Leo Liu <sdl.web@gmail.com>
7040
7041 * progmodes/python.el: Trivial cleanup.
7042
94ee8db5
GM
70432012-04-16 Glenn Morris <rgm@gnu.org>
7044
121b8917
GM
7045 * vc/vc.el (vc-string-prefix-p):
7046 * vc/pcvs-util.el (cvs-string-prefix-p):
7047 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7048 * mpc.el (mpc-string-prefix-p):
7049 Make all of these into obsolete aliases for string-prefix-p.
7050 Update callers.
7051 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7052
1197ecfa
GM
7053 * textmodes/two-column.el: Move custom options to the start.
7054 (frame-width): Remove compat definition.
7055 (2C-associate-buffer, 2C-dissociate):
7056 Use with-current-buffer rather than save-excursion.
7057 (2C-dissociate): Force a mode-line update.
7058 (2C-autoscroll): Use ignore-errors.
7059
099e7202
GM
7060 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7061 Autoload trivia.
7062
bf350d6a
GM
7063 * emacs-lisp/cl-extra.el (*random-state*):
7064 Remove unnecessary declaration.
7065
0e829eab
GM
7066 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7067
e3ad7552
GM
7068 * play/cookie1.el (cookie-snarf):
7069 Give an explicit error if input file cannot be read.
7070
68892d27
GM
7071 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7072
20f0c46d
GM
7073 * progmodes/perl-mode.el (c-macro-expand):
7074 Remove unnecessary autoload (it is in loaddefs.el).
7075
5a0978ce
GM
7076 * textmodes/picture.el (picture-desired-column)
7077 (picture-update-desired-column): Convert comments to doc-strings.
7078 (picture-substitute): Remove function.
7079 (picture-mode-map): Initialize in the defvar.
7080
6b955486
GM
7081 * woman.el: Remove eval-after-load for tar-mode.
7082 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7083 (woman-tar-extract-file): Autoload it.
7084
94ee8db5
GM
7085 * frame.el (automatic-hscrolling): Make this alias obsolete.
7086
177eca34
AM
70872012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7088
090bd7cb 7089 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7090 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7091 (ispell-dictionary-base-alist): Revert to original XEmacs
7092 friendly version for default. [:alpha:] will be added in
090bd7cb 7093 `ispell-set-spellchecker-params' if needed.
177eca34 7094
c505aaeb
CY
70952012-04-16 Chong Yidong <cyd@gnu.org>
7096
b19dd9d1 7097 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7098 (imagemagick-register-types): Use it.
7099 (imagemagick-types-inhibit): Add :set function. Allow new value
7100 of t to inhibit all types.
7101
7102 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7103 so we can preload it.
7104
7105 * loadup.el (fboundp): Preload regexp-opt, needed by
7106 imagemagick-register-types.
7107
60efac0f
CY
71082012-04-15 Chong Yidong <cyd@gnu.org>
7109
7110 * frame.el (scrolling): Remove nearly unused customization group.
7111
7112 * scroll-all.el (scroll-all-mode): Move to windows group.
7113
5dd1713e
CY
71142012-04-15 Chong Yidong <cyd@gnu.org>
7115
7116 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7117
e6fd457e
CY
71182012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7121 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7122
e153c136
GM
71232012-04-15 Glenn Morris <rgm@gnu.org>
7124
7125 * simple.el (process-file-side-effects): Doc fix.
7126
e6fd457e 71272012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7128
7129 * international/mule-cmds.el (set-language-environment): Doc fix.
7130
3603c3b1
JB
71312012-04-14 Juanma Barranquero <lekktu@gmail.com>
7132
7133 * server.el (server-auth-key, server-generate-key): Doc fixes.
7134 (server-get-auth-key): Doc fix. Use `string-match-p'.
7135 (server-start): Reflow docstring.
7136
e6de100c
LI
71372012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7138
7139 * server.el (server-generate-key): `called-interactively-p'
7140 requires a parameter.
7141
29734c21
MN
71422012-04-14 Michal Nazarewicz <mina86@mina86.com>
7143
7144 * server.el (server-auth-key): New variable.
75f1671a 7145 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7146 (server-start): Use the new variable and functions to allow
7147 setting a permanent server key (bug#9423).
7148
d65c9521
LL
71492012-04-14 Leo Liu <sdl.web@gmail.com>
7150
7151 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7152
5ae255c7
PE
71532012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7154
7155 Spelling fixes.
7156 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7157 Emacs uses American spelling.
7158
d5e6342e
JB
71592012-04-14 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7162 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7163 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7164 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7165
ab036cd7
SM
71662012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * progmodes/which-func.el (which-func-modes): Change default.
7169
35dc09a1 71702012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7171
7172 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7173 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7174
35dc09a1 71752012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7176
7177 * custom.el (custom-theme-set-variables): Doc fix.
7178
35dc09a1 71792012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7180
7181 * international/mule.el (set-auto-coding-for-load): Doc fix.
7182
35dc09a1 71832012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7184
35dc09a1
GM
7185 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7186 imenu work again for Objective C Mode. Correct the *-index values,
7187 these having been disturbed by a previous change in 2011-08.
57f845ee 7188
0de3da9f
AM
7189 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7190 Correct two search limits.
7191
35dc09a1 71922012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7193
7194 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7195
35dc09a1 71962012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7197
7198 * international/characters.el: Fix sorting.
7199
35dc09a1 72002012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7201
7202 * international/characters.el: Add more missing Latin case pairs.
7203
35dc09a1 72042012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7205
7206 * files.el (dir-locals-set-class-variables): Doc fix.
7207
35dc09a1 72082012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7209
3f1b5bf8
EZ
7210 * international/characters.el: Add set-case-syntax-pair call for
7211 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7212 counterpart. (Bug#11209)
7213
9f847f41
EZ
7214 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7215
35dc09a1 72162012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7217
7218 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7219
35dc09a1 72202012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7221
35dc09a1
GM
7222 * textmodes/ispell.el (ispell-dictionary-base-alist):
7223 Add data for Hebrew.
e2627d21 7224
35dc09a1 72252012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7226
35dc09a1
GM
7227 * net/rcirc.el (rcirc-cmd-quit):
7228 Revert 2012-03-18 change (Bug#11192).
5c14e333 7229
35dc09a1 72302012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7231
7232 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7233
35dc09a1 72342012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7235
4517fe3a
SM
7236 * minibuffer.el (completion-in-region-mode-map):
7237 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7238
b472a594
VD
72392012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7240
7241 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7242
09b95ce3
MY
72432012-04-13 Masatake YAMATO <yamato@redhat.com>
7244
7245 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7246 to allow `C-M-f' and `C-M-b' to move to the nearest path
7247 separator (bug#9511).
7248
4b63a9ca
LI
72492012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7250
7251 * avoid.el: Require cl when compiling. And also move the
7252 `provide' to the end.
7253
7b55b8bf
TV
72542012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7255
7256 * avoid.el (mouse-avoidance-banish-position): New variable.
7257 (mouse-avoidance-banish-destination): Use it (bug#10165).
7258
adedaa1f
LL
72592012-04-13 Leo Liu <sdl.web@gmail.com>
7260
7261 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7262
70e74021
KB
72632012-04-13 Ken Brown <kbrown@cornell.edu>
7264
7265 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7266 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7267 (browse-url-filename-alist): For the same reason, don't modify
7268 file:// URLs on Cygwin.
7269
e75e89ba
SM
72702012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7273 the region on shift if the binding is already shifted (bug#11221).
7274
82f289a4
GM
72752012-04-12 Glenn Morris <rgm@gnu.org>
7276
7277 * mail/mailpost.el: Move to obsolete/.
7278
d333dc4c
DA
72792012-04-12 Drew Adams <drew.adams@oracle.com>
7280
7281 * imenu.el (imenu--generic-function): Ignore invisible definitions
7282 (bug#10123).
7283
0d15b5ba
VD
72842012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7285
7286 * hexl.el (hexl-bits): New variable.
7287 (hexl-options): Mention the variable in the doc string.
75f1671a 7288 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7289 (hexl-mode): Mention the new variable.
75f1671a
JB
7290 (hexl-mode, hexl-current-address, hexl-current-address):
7291 Use the displen.
0d15b5ba
VD
7292 (hexl-ascii-start-column): New function.
7293 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7294 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7295
64a440db
AM
72962012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7297
7298 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7299 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7300 the encoding, as expected by hunspell.
7301
6decb6c2
SM
73022012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * battery.el (battery--linux-sysfs-regexp): New const.
7305 (battery-status-function): Use it. Remove yeeloong special case.
7306 (battery-yeeloong-sysfs): Remove.
7307 (battery-echo-area-format): Remove yeeloong special case.
7308
088be6fb
SM
73092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7310
6622e416
SM
7311 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7312 Reported by Noah Friedman.
7313
088be6fb
SM
7314 * subr.el (read-passwd): Use read-string.
7315
b49f886e
LMI
73162012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7317
7318 * vcursor.el (vcursor-move): Increase the priority of the overlay
7319 (bug#9663).
7320
a63067fc
DD
73212012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7322
7323 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7324 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7325
ac3cf14a
WS
73262012-04-11 William Stevenson <yhvh2000@gmail.com>
7327
7328 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7329 define-minor-mode (bug#10760).
7330
c4fc691b 73312012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7332
4d6769e1 7333 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7334 that directories matching `grep-find-ignored-files' won't be
7335 pruned (bug#10351).
7336
af23e2e5
CY
73372012-04-11 Chong Yidong <cyd@gnu.org>
7338
7339 * startup.el (command-line): Remove support for long-obsolete
7340 variable font-lock-face-attributes.
7341
ab7ce8c1
GM
73422012-04-11 Glenn Morris <rgm@gnu.org>
7343
7344 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7345
de8c03dc
SM
73462012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * window.el (window--state-get-1): Obey window-point-insertion-type.
7349
050cc68b
LB
73502012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7351
7352 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7353 to previous function when point is on the first character of a
75f1671a 7354 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7355
a38c310c
GM
73562012-04-11 Glenn Morris <rgm@gnu.org>
7357
effed0c2
GM
7358 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7359 not just file-errors.
7360
a38c310c
GM
7361 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7362 (vc-bzr-sha1): Use internal sha1.
7363
0221e323
SM
73642012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7367
43956923
SG
73682012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7369
7370 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7371 that start in the middle of the line (bug#10496).
7372
6a8c9eaf
DN
73732012-04-10 Dan Nicolaescu <dann@gnu.org>
7374
7375 * battery.el (battery-linux-proc-acpi): Only one battery is
7376 discharged at a time, but that seems to confuse battery.el when
7377 computing `rate-type' for the battery not being discharged
7378 (bug#10332).
7379
1930bf5d
SM
73802012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7381
2a718f6f
SM
7382 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7383
599430d0
SM
7384 * international/quail.el: Use dolist and simplify.
7385 (quail-define-package, quail-update-keyboard-layout)
7386 (quail-define-rules): Use dolist.
7387 (quail-insert-kbd-layout, quail-get-translation): CSE.
7388
a2754b6c
SM
7389 * tmm.el: Use dolist, remove left over hook.
7390 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7391 Use dolist.
7392 (calendar-load-hook): Don't mess with it.
7393
1930bf5d
SM
7394 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7395 Use derived-mode-p. Run the diff asynchronously.
7396
9f67961c
LMI
73972012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7398
7399 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7400
2a8ce227
JB
74012012-04-10 Juanma Barranquero <lekktu@gmail.com>
7402
7403 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7404 (list-dynamic-libraries--loaded): New function.
7405 (list-dynamic-libraries--refresh): Use it.
7406
8f33b5f8
NW
74072012-04-10 Nathan Weizenbaum <nweiz@google.com>
7408
1930bf5d
SM
7409 * progmodes/python.el (python-fill-paragraph):
7410 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7411 disabled (bug#7018).
7412
b12f0439
L
74132012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7414
1930bf5d 7415 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7416 DOS/MS Windows for the Baltic languages. There are still plenty
7417 of texts written in this encoding/codepage (bug#6519).
b12f0439 7418
57c3bd01
GM
74192012-04-10 Glenn Morris <rgm@gnu.org>
7420
7421 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7422 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7423
6c3eab30
FA
74242012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7425
1930bf5d 7426 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7427 next-line "n" and previous-line "p" in order to make recentf more
7428 consistent with ibuffer, dired or org-mode (bug#9387).
7429
24d78a88
LMI
74302012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7431
bc72b5d9
LMI
7432 * image.el (put-image): Return the overlay created instead of the
7433 optional input string (bug#7834). Note that this may break code
7434 that is (for some reason or other) depending on `put-image'
7435 returning the string.
7436
bd2dba5a
LMI
7437 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7438
74beb59f
LMI
7439 * simple.el (zap-to-char): Allow zapping using input methods
7440 (bug#1580).
7441
24d78a88
LMI
7442 * textmodes/fill.el (fill-region): Leave point and mark where they
7443 were before filling (bug#5399).
7444
263f20cd
GM
74452012-04-09 Glenn Morris <rgm@gnu.org>
7446
7447 * version.el (emacs-bzr-get-version):
7448 Handle lightweight checkouts of local branches.
7449
58d1f797
AS
74502012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7451
263f20cd 7452 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7453
b4d3bc10
CY
74542012-04-09 Chong Yidong <cyd@gnu.org>
7455
7456 * custom.el (custom-variable-p): Return nil for non-symbol
7457 arguments instead of signaling an error.
7458 (user-variable-p): Obsolete alias for custom-variable-p.
7459
7460 * apropos.el (apropos-variable):
7461 * files-x.el (read-file-local-variable):
7462 * simple.el (set-variable):
7463 * woman.el (woman-mini-help):
7464 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7465
fd06db5d
GM
74662012-04-09 Glenn Morris <rgm@gnu.org>
7467
e5fcdb5e
GM
7468 * startup.el (normal-top-level): Don't look for leim-list.el
7469 in places where it will not be found. (Bug#910)
7470
fd06db5d
GM
7471 * international/mule-cmds.el (set-default-coding-systems):
7472 * files.el (normal-mode):
7473 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7474 This function was removed with ucs-tables.el in 2008.
7475
b39bb7e1
EZ
74762012-04-08 Eli Zaretskii <eliz@gnu.org>
7477
7478 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7479 ispell-encoding8-command to "-i", without a trailing space.
7480 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7481 separate command-line arguments, to specify the encoding, since
7482 that's how hunspell expects it.
7483
5c5b8e23
GM
74842012-04-08 Glenn Morris <rgm@gnu.org>
7485
7486 * loadup.el: Load bindings before cus-start.
7487 This reduces somewhat the number of "rogue" settings in emacs -Q.
7488
a1ed8b05
GM
74892012-04-07 Glenn Morris <rgm@gnu.org>
7490
7491 * version.el (emacs-bzr-get-version): New function.
dfae128a 7492 (emacs-bzr-version): New variable.
a1ed8b05
GM
7493 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7494 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7495
b142f158
EZ
74962012-04-07 Eli Zaretskii <eliz@gnu.org>
7497
dfae128a
GM
7498 * international/uni-bidi.el, international/uni-category.el:
7499 * international/uni-combining.el, international/uni-decimal.el:
7500 * international/uni-decomposition.el, international/uni-digit.el:
7501 * international/uni-lowercase.el, international/uni-mirrored.el:
7502 * international/uni-name.el, international/uni-numeric.el:
7503 * international/uni-titlecase.el, international/uni-uppercase.el:
7504 Update for Unicode 6.1.
b142f158 7505
9078ead6
EZ
75062012-04-07 Eli Zaretskii <eliz@gnu.org>
7507
7508 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7509
f23d2c7d
LMI
75102012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7511
7512 * window.el (shrink-window): Mention the `window-min-height'
7513 variable in the doc string.
7514
0a0a3573
BG
75152012-04-05 Bastien Guerry <bzg@altern.org>
7516
7517 * color.el (color-lighten-name): Fix typo.
7518
e5248ac9
SM
75192012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * server.el (server--on-display-p): New function.
7522 (server--on-display-p): Use it.
7523
b4243e22
GV
75242012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7525
7526 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7527 (bug#11145).
7528
305d9f44
SM
75292012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * comint.el (comint--common-quoted-suffix): Check string boundary
7532 before comparing (bug#11158).
7533 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7534
3d439cd1
CY
75352012-04-04 Chong Yidong <cyd@gnu.org>
7536
321cc491
CY
7537 * minibuffer.el (completion-extra-properties): Doc fix.
7538
3d439cd1
CY
7539 * subr.el (delayed-warnings-hook): Doc fix.
7540
2d562c0f
DU
75412012-04-04 Daiki Ueno <ueno@unixuser.org>
7542
7543 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7544 selection (Bug#11159).
7545 (epa-insert-keys): Inform that the default public key will be
7546 exported if no key is selected.
7547
4443f204
RS
75482012-04-04 Richard Stallman <rms@gnu.org>
7549
7550 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7551
529c06b6
CY
75522012-04-03 Chong Yidong <cyd@gnu.org>
7553
7554 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7555 mail-insert-file, not its obsolete alias mail-attach-file.
7556
66b907dc
MA
75572012-04-03 Michael Albinus <michael.albinus@gmx.de>
7558
7559 * notifications.el (notifications-notify): Fix docstring.
7560
c0ea195d
GM
75612012-04-02 Glenn Morris <rgm@gnu.org>
7562
7563 * emacs-lisp/authors.el (authors-aliases): Another addition.
7564
5ca64e00
MA
75652012-04-02 Michael Albinus <michael.albinus@gmx.de>
7566
7567 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7568 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7569 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7570
42ee526b
CY
75712012-04-01 Chong Yidong <cyd@gnu.org>
7572
7573 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7574 Handle root directory properly.
7575 (copy-directory): Caller changed.
7576
7577 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7578 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7579
0b021094
GM
75802012-03-31 Glenn Morris <rgm@gnu.org>
7581
40f86458
GM
7582 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7583
7019c177
GM
7584 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7585
a1daddd6
GM
7586 * calendar/calendar.el (calendar-window-list)
7587 (calendar-hide-window): Restore. (Bug#11140)
7588 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7589
0b021094
GM
7590 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7591
40311efc
TV
75922012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7593
7594 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7595 Check if file is a symlink (Bug#10489).
7596
7597 * files.el (copy-directory): Likewise.
7598
5319014e
CY
75992012-03-30 Chong Yidong <cyd@gnu.org>
7600
7601 * image.el (imagemagick-types-inhibit)
7602 (imagemagick-register-types): Doc fix.
7603
935d1290
AM
76042012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7605
090bd7cb 7606 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7607 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7608 and treats ~word as ordinary words in pipe mode.
935d1290 7609
61c6e8fd
GM
76102012-03-30 Glenn Morris <rgm@gnu.org>
7611
7612 * tutorial.el (help-with-tutorial): Ensure local variables don't
7613 happen to make the buffer read-only. (Bug#11127)
7614
81fdff00
SM
76152012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7618 (perl-calculate-indent): Return `noindent' in strings.
7619
6e7a6ec0
SS
76202012-03-28 Sam Steingold <sds@gnu.org>
7621
7622 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7623 instead of the broken adhockery which does not prevent calendar
7624 buffers from being displayed at random after exit.
7625 (calendar-window-list, calendar-hide-window): Remove the broken
7626 adhockery.
7627
fee88ca0
GM
76282012-03-28 Glenn Morris <rgm@gnu.org>
7629
7630 * replace.el (query-replace-map): Doc fix.
7631
38de3354
AS
76322012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7635 contents. (Bug#11109)
7636
b973155e
SM
76372012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7640 (bug#11077).
7641 (avl-tree--check, avl-tree--check-node): New funs.
7642
dcb6e7b3
MR
76432012-03-27 Martin Rudalics <rudalics@gmx.at>
7644
7645 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7646 (switch-to-prev-buffer, switch-to-next-buffer):
7647 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7648 showing a buffer already is done on the same frame.
7649
b4fa35fa
GM
76502012-03-27 Glenn Morris <rgm@gnu.org>
7651
7652 * startup.el (mail-host-address): Doc fix.
7653
f9210e18
SM
76542012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7657 than 197 variables.
7658
c0bf7753
AF
76592012-03-26 Ami Fischman <ami@fischman.org>
7660
7661 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7662
33da7b16
GM
76632012-03-26 Glenn Morris <rgm@gnu.org>
7664
02243d9d
GM
7665 * files.el (save-buffers-kill-emacs): Doc fix.
7666
33da7b16
GM
7667 * startup.el (normal-top-level, command-line, command-line-1):
7668 Give them doc strings.
7669
e5a69fd0
EZ
76702012-03-25 Eli Zaretskii <eliz@gnu.org>
7671
7672 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7673 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7674
9a69676a
CY
76752012-03-25 Chong Yidong <cyd@gnu.org>
7676
4125cb8b
CY
7677 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7678 theme if it was previously enabled before (Bug#11031).
7679
dd470960
CY
7680 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7681 spec with custom-face-get-current-spec if its :shown-value is not
7682 determined yet (Bug#9337).
4125cb8b 7683 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7684
9a69676a
CY
7685 * button.el (button-at): Minor addition to docstring.
7686
6e7e90fa
SL
76872012-03-24 Simon Leinen <simon.leinen@gmail.com>
7688
7689 * vc/vc.el (vc-merge): Fix a prompt.
7690
f06e2758
CY
76912012-03-24 Chong Yidong <cyd@gnu.org>
7692
7693 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7694 point (Bug#9623).
7695
6e7e90fa
SL
7696 * button.el (button-at): Minor addition to docstring.
7697
b9d0879b
SM
76982012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * newcomment.el (comment-choose-indent): No space after BOL.
7701
e71cebb3
SS
77022012-03-22 Sam Steingold <sds@gnu.org>
7703
7704 * window.el (switch-to-prev-buffer): Revert last patch because the
7705 bug turned out to be an advertised feature (Elisp manual 28.14).
7706
335aff35
GM
77072012-03-22 Glenn Morris <rgm@gnu.org>
7708
7709 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7710 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7711
c676576a
LMI
77122012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7713
7714 * net/network-stream.el (network-stream-open-starttls): Make error
7715 message under Windows be less misleading.
7716
126f3d39
LW
77172012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7718
7719 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7720 understands (bug#9942).
7721
64fee311
CY
77222012-03-22 Chong Yidong <cyd@gnu.org>
7723
7724 * simple.el (end-of-visible-line): Handle return value of
7725 next-single-property-change properly (Bug#9371).
7726
a640d29a
KH
77272012-03-22 Kenichi Handa <handa@m17n.org>
7728
7729 * international/quail.el (quail-insert-kbd-layout): Fix previous
7730 change. To avoid unwanted bidi reordering, use
7731 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7732
39675016
DG
77332012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7734
7735 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7736 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7737 (ruby-beginning-of-indent): Be more careful with the difference
7738 between word-boundary and symbol boundary.
7739 (ruby-mode-syntax-table): Make : a symbol constituent.
7740
0a6934fc 77412012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7742
3d008e4f
SM
7743 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7744
0a6934fc
SM
77452012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7746
af67c9d7
SM
7747 * progmodes/etags.el (tags-completion-at-point-function):
7748 Improve last fix.
7749
1acad97c
SM
7750 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7751
e298b5da
SS
77522012-03-21 Sam Steingold <sds@gnu.org>
7753
7754 * progmodes/etags.el (tags-completion-at-point-function):
7755 Avoid the error when point is inside the pattern.
7756
91d82a70
JY
77572012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7758
7759 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7760 line (Bug#10855).
7761
69188b79
CY
77622012-03-21 Drew Adams <drew.adams@oracle.com>
7763
7764 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7765
99fc91fe
AK
77662012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7767
7768 * ido.el (ido-set-current-directory, ido-read-internal)
7769 (ido-choose-completion-string, ido-completion-help): Handle nil
7770 value of ido-completion-buffer (Bug#11008).
7771
087bbb4c
SS
77722012-03-21 Sam Steingold <sds@gnu.org>
7773
7774 * window.el (switch-to-prev-buffer): Do not switch to a visible
7775 window previous buffer, just like with the frame previous buffers.
7776
fb5b8aca
CY
77772012-03-21 Chong Yidong <cyd@gnu.org>
7778
7779 * faces.el (make-face, make-empty-face, copy-face):
7780 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7781 Doc fixes.
7782
dc9924b8
SM
77832012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7786 (widget-complete): Remove broken use of it.
7787
f0bcceb9
CY
77882012-03-20 Chong Yidong <cyd@gnu.org>
7789
dc9924b8
SM
7790 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7791 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7792 characters.
7793
ee52ebf3
TH
77942012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7795
7796 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7797 to draw rectangles, not squares. (Regression introduced by revno
7798 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7799
4c5779ab
CY
78002012-03-18 Chong Yidong <cyd@gnu.org>
7801
7802 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7803 it is not yet defined (for temacs).
7804
15360934
LL
78052012-03-18 Leo Liu <sdl.web@gmail.com>
7806
dc9924b8 7807 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7808
d9a8eb66
EZ
78092012-03-17 Eli Zaretskii <eliz@gnu.org>
7810
7811 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7812 (ispell-choices-win-default-height, ispell-silently-savep)
7813 (ispell-dictionary-alist, ispell-encoding8-command)
7814 (ispell-check-version, ispell-aspell-find-dictionary)
7815 (ispell-valid-dictionary-list, ispell-words-keyword)
7816 (ispell-get-word, ispell-internal-change-dictionary)
7817 (ispell-region, ispell-skip-region-list)
7818 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7819 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7820 (ispell-message-text-end, ispell-message)
7821 (ispell-buffer-local-parsing): Doc fix.
7822
f02ff80d
J
78232012-03-13 Jambunathan K <kjambunathan@gmail.com>
7824
7825 * htmlfontify.el: Add support for code block fontification for ODT
7826 export (Bug #9914).
7827 (hfy-optimisations): Define new option
7828 `body-text-only'
7829 (hfy-fontify-buffer): Honor above setting.
7830 (hfy-begin-span, hfy-end-span): New routines factored out form
7831 `hfy-fontify-buffer'.
7832 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7833 that permit insertion of custom tags.
7834 (hfy-fontify-buffer): Use above handlers.
7835 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7836 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7837 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7838 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7839 bind a special variable `hfy-user-sheet-assoc'.
7840 (htmlfontify-string): New defun.
7841 (hfy-compile-face-map): Make sure that the last char in the
7842 buffer is correctly fontified.
7843 (hfy-face-resolve-face): Whitespace only change.
7844
9ac7a13f
EZ
78452012-03-17 Eli Zaretskii <eliz@gnu.org>
7846
7847 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7848 message more clear.
7849
e2b5bdd7
LL
78502012-03-16 Leo Liu <sdl.web@gmail.com>
7851
7852 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7853
2e492df3
AM
78542012-03-16 Alan Mackenzie <acm@muc.de>
7855
7856 Further optimise the handling of large macros.
7857
7858 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7859 limit to a call of `c-literal-limits'.
7860 (c-determine-+ve-limit): New function.
dc9924b8
SM
7861 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7862 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7863 In CASE 5B, restrict a search limit to 500.
7864 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7865
7866 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7867 Restrict macro bounds to +-500 from after-change's BEG END.
7868
50e94f0c
LL
78692012-03-16 Leo Liu <sdl.web@gmail.com>
7870
7871 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7872
6f09f6ed
AH
78732012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7874
7875 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7876 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7877
c7e73d51
GM
78782012-03-16 Glenn Morris <rgm@gnu.org>
7879
da986230
GM
7880 * view.el (view-buffer, view-buffer-other-window)
7881 (view-buffer-other-frame): Doc fixes re special mode-class.
7882
0835f01e
GM
7883 * subr.el (eval-after-load): If named feature is provided not from
7884 a file, run after-load forms. (Bug#10946)
7885
c7e73d51
GM
7886 * calendar/calendar.el (calendar-insert-at-column):
7887 Handle non-unit-width characters a bit better. (Bug#10978)
7888
3f2eafd1
CY
78892012-03-15 Chong Yidong <cyd@gnu.org>
7890
7891 * emacs-lisp/ring.el (ring-extend): New function.
7892 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7893
7894 * comint.el (comint-read-input-ring)
7895 (comint-add-to-input-history): Grow comint-input-ring lazily.
7896
103af3fe
SM
78972012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7898
663b1677
SM
7899 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7900 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7901
103af3fe
SM
7902 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7903 (imenu-add-to-menubar): Don't add a redundant index.
7904 (imenu-update-menubar): Handle a dynamically composed keymap.
7905
899cb7cb
KY
79062012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7907
7908 * mail/sendmail.el (mail-encode-header):
7909 Bind rfc2047-encode-encoded-words to nil.
7910
3809f91d
GM
79112012-03-13 Glenn Morris <rgm@gnu.org>
7912
7913 * calendar/calendar.el (calendar-string-spread):
7914 Handle non-unit-width characters a bit better. (Bug#10978)
7915
9e345a01
LL
79162012-03-13 Leo Liu <sdl.web@gmail.com>
7917
7918 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7919 directory and file as argument (Bug#10822).
7920
4a07df36
KS
79212012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7922
7923 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7924 For dynamically generated code, follow $PC.
7925 (gdb-disassembly-handler-custom): Handle no function name case.
7926
4aaa9356
TL
79272012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7928
7929 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7930 * emulation/ws-mode.el (ws-query-replace):
7931 * sort.el (sort-regexp-fields):
7932 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7933
225979da
SM
79342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * dabbrev.el: Fix cycle completion order (bug#10963).
7937 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7938 (dabbrev-completion): Don't use an obarray; provide
7939 a cycle-sort-function.
7940
e2f1fdab
LL
79412012-03-12 Leo Liu <sdl.web@gmail.com>
7942
dc9924b8 7943 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7944 (kill-do-not-save-duplicates): Doc fix.
7945
b19490ed
SM
79462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * dabbrev.el: Fix cycle completion (bug#10963).
7949 Use lexical binding and wrap to 80 columns.
7950 (dabbrev-completion): Delay computing the list of completions.
7951
4b05d722
KH
79522012-03-12 Kenichi Handa <handa@m17n.org>
7953
7954 * international/quail.el (quail-insert-kbd-layout): Surround each
7955 row by LRO and PDF instead of inserting many LRMs. Pad the left
7956 and right of each non-spacing marks. Insert invisible space
7957 between lower and upper characters to prevent composition.
7958
dbbc2e69
SM
79592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * minibuffer.el (minibuffer-complete): Don't get confused when the
7962 function is run twice via different commands (bug#10958).
7963 (complete-with-action): Fix docstring.
7964
292112ed
CY
79652012-03-12 Chong Yidong <cyd@gnu.org>
7966
5d1ac394
CY
7967 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7968 (nxml-completion-at-point-function): New function.
7969 (nxml-mode): Use it.
7970 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7971
292112ed
CY
7972 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7973 Load generated autoloads file before byte compiling (Bug#10970).
7974 (package--make-autoloads-and-compile): New helper fun.
7975
4098f8f7
CS
79762012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7977
7978 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7979
8f754691
MA
79802012-03-11 Michael Albinus <michael.albinus@gmx.de>
7981
7982 * autorevert.el (auto-revert-handler): Ensure, that
7983 file-readable-p is applied only for local files or in
7984 auto-revert-tail-mode.
7985
e29ab36b
AS
79862012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7987
dbbc2e69
SM
7988 * server.el (server-eval-at): Handle non-tcp connections.
7989 Decode result string.
ad0bf5b6 7990
e29ab36b
AS
7991 * server.el (server-msg-size): New constant.
7992 (server-reply-print): New function.
7993 (server-eval-and-print): Use it.
7994 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7995 Handle -print-nonl.
7996
de5939ba
CS
79972012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7998
7999 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8000 (Bug#10987).
8001
0c93eabf
CY
80022012-03-11 Chong Yidong <cyd@gnu.org>
8003
397a688f
CY
8004 * simple.el (goto-line): Doc fix (Bug#9938).
8005
2cc775f9
CY
8006 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8007
0c93eabf
CY
8008 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8009 when finished (Bug#10963).
8010
c491fa41
MR
80112012-03-11 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (split-window-below): Fix bug in case where
8014 split-window-keep-point is nil (Bug#10971).
8015
300e8fa5
JL
80162012-03-11 Juri Linkov <juri@jurta.org>
8017
8018 * replace.el (replace-highlight): Set isearch-word to nil
8019 unconditionally. (Bug#10887)
8020
dbf6c5a1
EZ
80212012-03-10 Eli Zaretskii <eliz@gnu.org>
8022
8023 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8024 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8025 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8026 (mairix-widget-create-query): Add usage information about mairix
8027 search forms: negating words, searching for substrings, etc.
8028
b9e501de
JP
80292012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8030
8031 * international/fontset.el (font-encoding-alist): Add an entry for
8032 ksx1001 (Bug#5667).
8033
92795c91
RS
80342012-03-10 Richard Stallman <rms@gnu.org>
8035
1694e6c1
RS
8036 * mail/sendmail.el (mail-encode-header):
8037 Set rfc2047-encode-encoded-words.
8038
607e8555
RS
8039 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8040
de3bc99a
RS
8041 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8042 view buffer means not swapped.
8043 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8044 (rmail-write-region-annotate): Error if real text has disappeared.
8045
92795c91
RS
8046 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8047
699bd04e
CY
80482012-03-10 Chong Yidong <cyd@gnu.org>
8049
8050 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8051 * emulation/cua-base.el (cua--init-keymaps):
8052 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8053
570a1714
MR
80542012-03-10 Martin Rudalics <rudalics@gmx.at>
8055
dbbc2e69
SM
8056 * speedbar.el (speedbar-unhighlight-one-tag-line):
8057 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8058
82dcf4e4
CY
80592012-03-10 Chong Yidong <cyd@gnu.org>
8060
7a2c7ca7
CY
8061 * minibuffer.el (completion-in-region, completion-help-at-point):
8062 Give the completion field overlay a high priority (Bug#6830).
8063
82dcf4e4
CY
8064 * dired.el (dired-goto-file): Recognize absolute file name
8065 listings (Bug#7126).
8066 (dired-goto-file-1): New helper function.
8067 (dired-toggle-read-only): Inhibit warnings.
8068
052e28ac
MA
80692012-03-09 Michael Albinus <michael.albinus@gmx.de>
8070
75f1671a 8071 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8072 there are no properties.
8073
95d5e396
LL
80742012-03-09 Leo Liu <sdl.web@gmail.com>
8075
8076 * savehist.el (savehist-printable): Stricter check for string
8077 value (Bug#10937).
8078
3f018d6d
EZ
80792012-03-09 Eli Zaretskii <eliz@gnu.org>
8080
dbbc2e69
SM
8081 * mail/smtpmail.el (smtpmail-send-it):
8082 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8083 valid mbox format.
8084
f7fd3d79
GM
80852012-03-09 Glenn Morris <rgm@gnu.org>
8086
8087 * files.el (dir-locals-find-file):
8088 Don't check result is regular, readable.
8089 (dir-locals-read-from-file): Demote errors.
8090
6ff6e72f
EZ
80912012-03-08 Eli Zaretskii <eliz@gnu.org>
8092
dbbc2e69
SM
8093 * international/quail.el (quail-insert-kbd-layout):
8094 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8095 layout cell, to prevent their reordering by bidi display engine.
8096 For details, see the discussion in
8097 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8098
9cec7834
AM
80992012-03-08 Alan Mackenzie <acm@muc.de>
8100
8101 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8102 the starting position; make it extend the marked region when
8103 invoked repeatedly - all under appropriate circumstances.
8104 Fixes bugs #5525, #10906.
8105
9a40b8d4
GM
81062012-03-08 Glenn Morris <rgm@gnu.org>
8107
8108 * files.el (locate-dominating-file, dir-locals-find-file):
8109 Undo 2012-03-06 change.
8110
7a08ed35
EZ
81112012-03-07 Eli Zaretskii <eliz@gnu.org>
8112
dbbc2e69
SM
8113 * international/quail.el (quail-help):
8114 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8115 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8116 for the reason.
8117
5aca4f71 81182012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8119
8120 Avoid superfluous registering of signals. (Bug#10807)
8121
8122 * notifications.el (notifications-on-action-object)
8123 (notifications-on-close-object): New defvars.
8124 (notifications-on-action-signal, notifications-on-closed-signal):
8125 Unregister the signal if not needed any longer.
8126 (notifications-notify): Register `notifications-action-signal' or
8127 `notifications-closed-signal', if :on-action or :on-close has been
8128 passed as argument.
8129
78e8b10a
CY
81302012-03-07 Chong Yidong <cyd@gnu.org>
8131
8132 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8133 non-X platforms.
8134
69481eb8
GM
81352012-03-06 Glenn Morris <rgm@gnu.org>
8136
8137 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8138 (x-disown-selection-internal, x-get-selection-internal):
8139 Doc fix (add arglist signatures). (Bug#10783)
8140
133b8e11
KS
81412012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8142
8143 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8144 Handle breakpoints with no "type".
8145
99a83064
GM
81462012-03-06 Glenn Morris <rgm@gnu.org>
8147
8148 * files.el (locate-dominating-file): Add optional predicate argument.
8149 (dir-locals-find-file): Make use of above change.
8150
17798e78
TTN
81512012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8152
8153 * info.el (Info-insert-dir): Also try "dir.gz".
8154
eb182446
GM
81552012-03-06 Glenn Morris <rgm@gnu.org>
8156
8f2114ee
GM
8157 * files.el (dir-locals-find-file):
8158 Ignore non-readable or non-regular files. (Bug#10928)
8159
eb182446
GM
8160 * files.el (locate-dominating-file): Doc fix.
8161
24679323
AS
81622012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8163
8164 * calendar/calendar.el (calendar-set-mode-line):
8165 `getenv' returns a string. (Bug#10951)
8166
01d972a9
LL
81672012-03-05 Leo Liu <sdl.web@gmail.com>
8168
109aa8a9
LL
8169 * simple.el (backward-delete-char-untabify): Constrain point to
8170 field (Bug#10939).
8171
01d972a9
LL
8172 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8173
10607bea
CY
81742012-03-05 Chong Yidong <cyd@gnu.org>
8175
8176 * simple.el (count-words): If called from Lisp, return the word
8177 count, for symmetry with `count-lines'. Arglist changed.
8178 (count-words--message): Args changed. Consolidate counting code
8179 from count-words and count-words-region.
8180 (count-words-region): Caller changed.
8181 (count-lines-region): Make it an obsolete alias.
8182
5dd11cfe
TH
81832012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8184
8185 * saveplace.el (save-place-to-alist)
8186 (save-place-ignore-files-regexp): Allow value nil to disable this
8187 feature.
8188
c349f4e6
CY
81892012-03-04 Chong Yidong <cyd@gnu.org>
8190
8191 * faces.el (face-spec-reset-face): For the default face, reset the
8192 attributes to default values (Bug#10748).
8193
e627be4c
LMI
81942012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8195
8196 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8197 previous patch: Check `message-send-mail-function', and not the
8198 default function (bug#10897).
8199
ebeabff4
MA
82002012-03-04 Michael Albinus <michael.albinus@gmx.de>
8201
a41a6cf4
MA
8202 * notifications.el (notifications-on-action-signal)
8203 (notifications-on-closed-signal): Check for unique service name of
8204 incoming event. Fix error in removing entry.
ebeabff4 8205 (top): Register for signals with wildcard service name.
a41a6cf4 8206 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8207
c1ca42b4
CY
82082012-03-04 Chong Yidong <cyd@gnu.org>
8209
dc9924b8 8210 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8211
ea16568d
GM
82122012-03-04 Glenn Morris <rgm@gnu.org>
8213
8214 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8215 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8216 (expand-abbrev, define-abbrev-table): Doc fixes.
8217
fbae4637
LMI
82182012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8219
8220 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8221 `message-default-send-mail-function' and not `send-mail-function'
8222 when doing the prompting for `sendmail-query-once' before sending
8223 in Message buffers (bug#10897).
8224
a1e7225c
LMI
8225 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8226 This is inconsistent with all the other stream functions, which leave
8227 the setting up to the higher levels (if so wanted) (bug#10931).
8228
56d093a9
AM
82292012-03-02 Alan Mackenzie <acm@muc.de>
8230
8231 Depessimize the handling of very large macros.
8232
8233 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8234 (c-macro-cache-syntactic): New variables to implement a one
8235 element macro cache.
8236 (c-invalidate-macro-cache): New function.
8237 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8238 Adapt to use the new cache.
8239 (c-state-safe-place): Use better the cache of safe positions.
8240 (c-state-semi-nonlit-pos-cache)
8241 (c-state-semi-nonlit-pos-cache-limit):
8242 New variables for...
8243 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8244 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8245 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8246 Use c-state-semi-safe-place.
56d093a9 8247
dbbc2e69
SM
8248 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8249 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8250
817e5c3d
MA
82512012-03-02 Michael Albinus <michael.albinus@gmx.de>
8252
dbbc2e69
SM
8253 * jka-compr.el (jka-compr-call-process):
8254 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8255 not remote.
8256
a032a702
MA
82572012-03-01 Michael Albinus <michael.albinus@gmx.de>
8258
8259 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8260 access of FILE2, if FILE1 does not exist.
8261
99a54f21
MA
8262 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8263 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8264
8265 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8266 Add "PAGER=" to `process-environment'.
8267
f6561e1f
MM
82682012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8269
8270 * progmodes/sql.el: Bug fix
8271 (sql-get-login-ext): Save login values in globals.
8272 (sql-get-login): Use new version of `sql-get-login-ext'.
8273 (sql-interactive-mode): Set global `sql-connection' to nil.
8274 (sql-connect): Set global values for connection.
8275 (sql-product-interactive): Save global values as buffer local.
8276
2d44d9cc
LL
82772012-02-29 Leo Liu <sdl.web@gmail.com>
8278
8279 * abbrev.el (define-abbrevs): Reset sys to nil.
8280
96b49301 82812012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8282
bf7f9bc5
JB
8283 * files.el (file-equal-p): Rename from `files-equal-p'.
8284 Return nil when one or both files don't exist.
96b49301 8285 (file-subdir-of-p): Now only top directory must exists,
8286 return nil if it doesn't.
bf7f9bc5
JB
8287 (copy-directory): No need to test with `file-subdir-of-p' after
8288 creating dir.
8289 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8290 to `file-equal-p'.
96b49301 8291
44e97401
GM
82922012-02-28 Glenn Morris <rgm@gnu.org>
8293
8294 * shell.el (shell-mode):
8295 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8296 * play/landmark.el (landmark-font-lock-face-O):
8297 * play/handwrite.el (handwrite):
8298 * play/gomoku.el (gomoku-O):
8299 * net/browse-url.el (browse-url-browser-display):
8300 * international/mule.el (define-charset):
8301 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8302 * filesets.el (filesets-find-file-delay):
8303 * eshell/em-xtra.el (eshell-xtra):
8304 * eshell/em-unix.el (eshell-grep):
8305 * emulation/viper.el (viper-mode):
8306 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8307 * emacs-lisp/easymenu.el (easy-menu-define):
8308 * calendar/timeclock.el (timeclock-use-display-time):
8309 * bs.el (bs-mode):
8310 * bookmark.el (bookmark-save-flag):
8311 Doc fix (standardize possessive apostrophe usage).
8312
c98c6276
CY
83132012-02-27 Chong Yidong <cyd@gnu.org>
8314
bf7f9bc5
JB
8315 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8316 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8317
c98c6276
CY
8318 * font-lock.el (font-lock-specified-p): Rename from
8319 font-lock-spec-present. Callers changed.
8320
9c62cd04 83212012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8322
bf7f9bc5
JB
8323 * emacs-lisp/package.el (package-compute-transaction):
8324 Handle holding a package version to t in package-load-list.
8ac9e529 8325
530739c9
MA
83262012-02-26 Michael Albinus <michael.albinus@gmx.de>
8327
8328 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8329 (tramp-get-inode, tramp-get-device): Use cached values.
8330
487915d7
AM
83312012-02-26 Alan Mackenzie <acm@muc.de>
8332
8333 Check there is a font-lock specification before doing initial
8334 fontification.
8335
8336 * font-core.el (font-lock-mode): Move the conditional from
8337 :after-hook to font-lock-initial-fontify.
8338 (font-lock-default-function): Move the check for a specification
8339 to font-lock-spec-present.
8340
dc9924b8 8341 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8342 (font-lock-spec-present): New function.
8343
4fd96557
JB
83442012-02-26 Jim Blandy <jimb@red-bean.com>
8345
8346 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8347 (gdb-send): Apply it to the operand of the '-interpreter-exec
8348 console' command, so that we can pass arguments with (say) quotes
8349 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8350
9a4888c0
CY
83512012-02-26 Chong Yidong <cyd@gnu.org>
8352
07498861
CY
8353 * help-fns.el (describe-function-1): Clarify description of
8354 remapping (Bug#10844).
8355
9a4888c0
CY
8356 * files.el (files-equal-p): Doc fix.
8357 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8358 and quit the loop once a mismatch is found.
8359
ea8fb88d
JB
83602012-02-25 Juanma Barranquero <lekktu@gmail.com>
8361
8362 * bs.el (bs--show-with-configuration): Don't throw an error
8363 if the window cannot be split; otherwise, subsequent calls to
8364 bs-show fail, restoring a stale window config. (Bug#10882)
8365
525795c1
JD
83662012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8367
8368 * term/ns-win.el (global-map): Bind ns-drag-file to
8369 ns-find-file (Bug#5855, Bug#10050).
8370
f008086f
AS
83712012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8372
8373 * calendar/parse-time.el (parse-time-string): Allow extractor to
8374 return nil.
8375
a3fcfa99
MA
83762012-02-25 Michael Albinus <michael.albinus@gmx.de>
8377
91027d08
JB
8378 * net/tramp.el (tramp-file-name-for-operation):
8379 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8380
8381 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8382 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8383 Add COPY-CONTENTS argument.
a3fcfa99 8384
67b0de11
CY
83852012-02-25 Chong Yidong <cyd@gnu.org>
8386
8387 Add custom groups for VC backends, for consistency with vc-bzr.
8388
8389 * vc/vc-arch.el (vc-arch):
8390 * vc/vc-cvs.el (vc-cvs):
8391 * vc/vc-git.el (vc-git):
8392 * vc/vc-hg.el (vc-hg):
8393 * vc/vc-mtn.el (vc-mtn):
8394 * vc/vc-rcs.el (vc-rcs):
8395 * vc/vc-sccs.el (vc-sccs):
8396 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8397 All relevant defcustoms reassigned.
8398
3c9dfce6
CY
83992012-02-25 Chong Yidong <cyd@gnu.org>
8400
1339bf43
CY
8401 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8402
3c9dfce6
CY
8403 * term/x-win.el (x-initialize-window-system): Reduce default for
8404 x-selection-timeout to 5 seconds (Bug#8869).
8405
25b2e303 84062012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8407
ec70a47d
GM
8408 * files.el (files-equal-p, file-subdir-of-p): New functions.
8409 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8410 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8411 * dired-aux.el (dired-copy-file-recursive): Same.
8412 (dired-create-files): Modify destination when source is equal to
8413 dest when copying files.
53a46cd0 8414 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8415
914260cd
MA
84162012-02-24 Michael Albinus <michael.albinus@gmx.de>
8417
8418 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8419 (Bug#10874)
8420
2cb228f7
AM
84212012-02-23 Alan Mackenzie <acm@muc.de>
8422
8423 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8424 parameter "after-hook:" to allow the expansion to run code after
8425 the execution of the mode hooks.
8426
8427 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8428 from font-lock-mode-internal.
2cb228f7 8429
91027d08 8430 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8431 :after-hook.
8432
8f0fde21
SM
84332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8434
3e88618b
SM
8435 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8436 (completion--cache-all-sorted-completions): New function.
8437 (completion-all-sorted-completions): Use it.
8438 (completion--do-completion, minibuffer-force-complete):
8439 Use it to re-instate the flush hook.
8440
8f0fde21
SM
8441 * icomplete.el (icomplete-completions): Replace last fix with a better
8442 one (bug#10850).
8443
8e911f6f
DG
84442012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8445
8446 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8447 when it might call us back infinitely (bug#10797).
8448
49fe4321
GM
84492012-02-23 Glenn Morris <rgm@gnu.org>
8450
8451 * minibuffer.el (completion-category-overrides): Doc fix.
8452
b291b572
SM
84532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8456 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8457
31a9ef2e
GM
84582012-02-23 Glenn Morris <rgm@gnu.org>
8459
5e6e6794 8460 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8461 (authors-obsolete-files-regexps, authors-ignored-files)
8462 (authors-ambiguous-files, authors-renamed-files-alist):
8463 Add more entries.
8464
0bd1e074
JL
84652012-02-23 Juri Linkov <juri@jurta.org>
8466
8467 * isearch.el (isearch-occur): Sync interactive spec with occur's
8468 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8469
b617673c
JL
8470 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8471
19e9789e
JL
84722012-02-22 Juri Linkov <juri@jurta.org>
8473
8474 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8475 (ucs-insert): Doc fix. Check for hex digits in the string.
8476 Don't display `nil' in the error message. (Bug#10857)
8477
f41ce09d
AM
84782012-02-22 Alan Mackenzie <acm@muc.de>
8479
7a71b18d 8480 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8481
ac2eceee
GM
84822012-02-22 Glenn Morris <rgm@gnu.org>
8483
8484 * ffap.el (ffap-c-path):
8485 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8486
abd1f678
CY
84872012-02-22 Chong Yidong <cyd@gnu.org>
8488
8489 * custom.el (load-theme): Doc fix.
8490
f25aef2e
GM
84912012-02-22 Glenn Morris <rgm@gnu.org>
8492
8493 * dired-x.el (dired-guess-shell-alist-default):
8494 Remove escape sequences from nroff output. (Bug#172)
8495
5f8dc2ca
GM
84962012-02-21 Glenn Morris <rgm@gnu.org>
8497
6ff86ec4
GM
8498 * vc/emerge.el (emerge-defvar-local):
8499 Set `permanent-local' property rather than unused `preserved'.
8500
be3223a3 8501 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8502 (picture-mode-map): Use it. (Bug#10860)
8503 (picture-mode): Doc fix.
8504
3fe58f4f
JB
85052012-02-21 Juanma Barranquero <lekktu@gmail.com>
8506
8507 * newcomment.el (uncomment-region-default): Remove unused binding.
8508
f9a998c3
GM
85092012-02-21 Glenn Morris <rgm@gnu.org>
8510
8511 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8512 (picture-self-insert, picture-tab-chars): Doc fix.
8513 (picture-mode-map): Fix C-a, C-e.
8514
c6029348
GM
85152012-02-20 Glenn Morris <rgm@gnu.org>
8516
8517 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8518
ab1ce9d7
LL
85192012-02-20 Leo Liu <sdl.web@gmail.com>
8520
8521 * icomplete.el (icomplete-completions): Check FROM arg before
8522 passing to substring (Bug#10850).
8523
0fd40f89
CY
85242012-02-19 Chong Yidong <cyd@gnu.org>
8525
8526 * comint.el: Require ansi-color.
8527 (comint-output-filter-functions): Add ansi-color-process-output.
8528
8529 * ansi-color.el: Don't set comint-output-filter-functions; it is
8530 now in the initial value defined in comint.el.
8531 (ansi-color-apply-face-function): New variable.
8532 (ansi-color-apply-on-region): Use it.
8533 (ansi-color-apply-overlay-face): New function.
8534
8535 * shell.el (shell): No need to require ansi-color.
8536 (shell-mode): Use ansi-color-apply-face-function to highlight
8537 color escapes using font-lock-face property (Bug#10835).
8538
20af2394
CY
85392012-02-19 Chong Yidong <cyd@gnu.org>
8540
8541 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8542 mode-line formats (Bug#10839).
8543
e23a3fbe
GM
85442012-02-18 Glenn Morris <rgm@gnu.org>
8545
b474519e
GM
8546 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8547
8548 * mail/undigest.el (unforward-rmail-message): Doc fix.
8549
e23a3fbe
GM
8550 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8551
57939ff4
EZ
85522012-02-18 Eli Zaretskii <eliz@gnu.org>
8553
8554 * international/characters.el (script-list): Sync with the latest
8555 Unicode Character Database.
8556
0c23686e
AS
85572012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8558
8559 * international/titdic-cnv.el: Remove duplicate coding tag.
8560 * language/cham.el: Likewise.
8561 * language/tai-viet.el: Likewise.
8562
6818b449
GM
85632012-02-18 Glenn Morris <rgm@gnu.org>
8564
8565 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8566 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8567 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8568 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8569 * calendar/holidays.el (holiday-bahai-holidays)
8570 (calendar-holidays, list-holidays):
8571 Use utf-8 Bahá'í in doc-strings, menus, etc.
8572
0311a3fc
TH
85732012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8574
8575 * saveplace.el (save-place-ignore-files-regexp): New variable
8576 allowing for excluding files from saving their location of point.
8577 The default value matches the temporary commit message editing
8578 files from Git, SVN, Bazaar, and Mercurial.
8579 (save-place-to-alist): Use it.
8580
d209e2fb 85812012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8582 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8583
8584 * newcomment.el (uncomment-region-default): Don't leave extra space
8585 when an arg is provided (bug#8150).
8586
ee0ce425
TZ
85872012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8588
eb864a71 8589 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8590
95ddf442
GM
85912012-02-17 Glenn Morris <rgm@gnu.org>
8592
8593 * net/socks.el: Require network-stream. (Bug#10599)
8594
48dd1e39 85952012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8596
8597 * international/charprop.el:
8598 * international/uni-name.el:
8599 * international/uni-old-name.el:
8600 * international/uni-comment.el: Regenerate.
8601
d68cd087
GM
86022012-02-16 Glenn Morris <rgm@gnu.org>
8603
8604 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8605 Interactively in calendar buffer, give an error if not on a date.
8606
13932042
GM
86072012-02-15 Glenn Morris <rgm@gnu.org>
8608
8609 * shell.el (shell-delimiter-argument-list):
8610 Revert 2011-02-17 change. (Bug#8027)
8611
c3a70e2b
CY
86122012-02-15 Chong Yidong <cyd@gnu.org>
8613
60236b0d
CY
8614 * minibuffer.el (completion-at-point-functions): Doc fix.
8615
c3a70e2b
CY
8616 * custom.el (defcustom): Doc fix; note use of defvar.
8617
9f26dc24
GM
86182012-02-15 Glenn Morris <rgm@gnu.org>
8619
8620 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8621 Doc fixes.
8622
6546b134
GM
86232012-02-14 Glenn Morris <rgm@gnu.org>
8624
8625 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8626
d29b2b4c
LI
86272012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8628
8629 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8630 way the ports list is computed.
835bdcba
LI
8631 (smtpmail-query-smtp-server): Prompt the user for a port number if
8632 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8633
08dcdbc9
TZ
86342012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8635
8636 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8637
2605051a
GM
86382012-02-13 Glenn Morris <rgm@gnu.org>
8639
8640 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8641
7ee99f32
TZ
86422012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8643
8644 * net/gnutls.el (gnutls-trustfiles): New variable.
8645 (gnutls-negotiate): Use it.
8646
5f0af64f
LI
86472012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8648
8649 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8650 does its stuff if Gnus is running.
8651
c14fcc95
AM
86522012-02-13 Alan Mackenzie <acm@muc.de>
8653
8654 Fix a loop in c-set-fl-decl-start.
8655
7a71b18d 8656 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8657 c-backward-syntactic-ws actually moves backwards.
8658
142b4d90
LL
86592012-02-13 Leo Liu <sdl.web@gmail.com>
8660
8661 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8662 beginning so that all \C-o chars are removed.
8663
fa9958a6
TZ
86642012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8665
dc9924b8 8666 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8667
0bc5886a
AM
86682012-02-12 Alan Mackenzie <acm@muc.de>
8669
8670 Fix infinite loop with long macros.
4d6769e1 8671 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8672
d4bd55e7
CY
86732012-02-12 Chong Yidong <cyd@gnu.org>
8674
8675 * window.el (display-buffer): Doc fix (Bug#10785).
8676
66f3fe22
GM
86772012-02-12 Glenn Morris <rgm@gnu.org>
8678
bd7da63e
GM
8679 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8680 (x-disown-selection-internal, x-get-selection-internal):
8681 Sync docs with the xselect.c versions.
8682
66f3fe22
GM
8683 * allout-widgets.el: Add missing license notice.
8684
3e0d2fa7
GM
86852012-02-11 Glenn Morris <rgm@gnu.org>
8686
cfecdf09
GM
8687 * select.el (x-get-selection-internal, x-own-selection-internal)
8688 (x-disown-selection-internal):
8689 * x-dnd.el (x-get-selection-internal): Update declarations.
8690
6d216d7f
GM
8691 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8692
2bed3f04
GM
8693 * window.el (window-sides-slots):
8694 * tool-bar.el (tool-bar-position):
8695 * term/xterm.el (xterm-extra-capabilities):
8696 * ses.el (ses-self-reference-early-detection):
8697 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8698 (verilog-auto-wire-type)
8699 (verilog-auto-delete-trailing-whitespace)
8700 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8701 (verilog-auto-tieoff-declaration):
8702 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8703 (sql-oracle-statement-starters, sql-oracle-scan-on):
8704 * progmodes/prolog.el (prolog-align-comments-flag)
8705 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8706 (prolog-left-indent-regexp, prolog-paren-indent-p)
8707 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8708 (prolog-types, prolog-mode-specificators)
8709 (prolog-determinism-specificators, prolog-directives)
8710 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8711 (prolog-electric-dot-flag)
8712 (prolog-electric-dot-full-predicate-template)
8713 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8714 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8715 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8716 (prolog-program-switches, prolog-prompt-regexp)
8717 (prolog-debug-on-string, prolog-debug-off-string)
8718 (prolog-trace-on-string, prolog-trace-off-string)
8719 (prolog-zip-on-string, prolog-zip-off-string)
8720 (prolog-use-standard-consult-compile-method-flag)
8721 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8722 (prolog-imenu-max-lines, prolog-info-predicate-index)
8723 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8724 (prolog-char-quote-workaround):
8725 * progmodes/cc-vars.el (c-defun-tactic):
8726 * net/tramp.el (tramp-encoding-command-interactive)
8727 (tramp-local-end-of-line):
8728 * net/soap-client.el (soap-client):
8729 * net/netrc.el (netrc-file):
8730 * net/gnutls.el (gnutls):
8731 * minibuffer.el (completion-category-overrides)
8732 (completion-cycle-threshold)
8733 (completion-pcm-complete-word-inserts-delimiters):
8734 * man.el (Man-name-local-regexp):
8735 * mail/feedmail.el (feedmail-display-full-frame):
8736 * international/characters.el (glyphless-char-display-control):
8737 * eshell/em-ls.el (eshell-ls-date-format):
8738 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8739 (lisp-lambda-list-keyword-parameter-indentation)
8740 (lisp-lambda-list-keyword-parameter-alignment):
8741 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8742 * dired-x.el (dired-omit-verbose):
8743 * cus-theme.el (custom-theme-allow-multiple-selections):
8744 * calc/calc.el (calc-highlight-selections-with-faces)
8745 (calc-lu-field-reference, calc-lu-power-reference)
8746 (calc-note-threshold):
8747 * battery.el (battery-mode-line-limit):
8748 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8749 (archive-7z-update):
8750 * allout.el (allout-prefixed-keybindings)
8751 (allout-unprefixed-keybindings)
8752 (allout-inhibit-auto-fill-on-headline)
8753 (allout-flattened-numbering-abbreviation):
8754 * allout-widgets.el (allout-widgets-auto-activation)
8755 (allout-widgets-icons-dark-subdir)
8756 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8757 (allout-widgets-theme-dark-background)
8758 (allout-widgets-theme-light-background)
8759 (allout-widgets-item-image-properties-emacs)
8760 (allout-widgets-item-image-properties-xemacs)
8761 (allout-widgets-run-unit-tests-on-load)
8762 (allout-widgets-time-decoration-activity)
8763 (allout-widgets-hook-error-post-time)
8764 (allout-widgets-track-decoration):
8765 Add missing :version tags to new defcustoms and defgroups.
8766
5fec1b8e
GM
8767 * progmodes/sql.el (sql-ansi-statement-starters)
8768 (sql-oracle-statement-starters): Add custom type.
8769
3e0d2fa7
GM
8770 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8771 (prolog-system-version): Give it a type.
8772
90b671e2
EZ
87732012-02-11 Eli Zaretskii <eliz@gnu.org>
8774
8775 * term/pc-win.el (x-select-text, x-selection-owner-p)
8776 (x-own-selection-internal, x-disown-selection-internal)
8777 (x-get-selection-internal): Sync doc strings and argument lists
8778 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8779
5eac0c02
LL
87802012-02-11 Leo Liu <sdl.web@gmail.com>
8781
8782 * progmodes/python.el (python-end-of-statement): Fix infinite
8783 loop. (Bug#10788)
8784
f82cb659
GM
87852012-02-10 Glenn Morris <rgm@gnu.org>
8786
8787 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8788 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8789
cc26d239
LI
87902012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8791
8792 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8793 about SMTP before checking the From header.
8794
91027d08 8795 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8796 into own function for reuse by emacsbug.el.
8797
1be3ca5a
LL
87982012-02-10 Leo Liu <sdl.web@gmail.com>
8799
8800 * subr.el (condition-case-unless-debug): Rename from
8801 condition-case-no-debug. All callers changed.
8802 (with-demoted-errors): Fix caller.
8803
8804 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8805 * nxml/rng-valid.el (rng-do-some-validation):
8806 * emacs-lisp/package.el (package-refresh-contents)
8807 (package-menu-execute):
8808 * desktop.el (desktop-create-buffer):
91027d08 8809 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8810
b011fbfe
GM
88112012-02-10 Glenn Morris <rgm@gnu.org>
8812
b2096d72
GM
8813 * textmodes/bibtex.el:
8814 Add missing :version tags for new/changed defcustoms.
8815
b011fbfe
GM
8816 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8817
4c7e65bf
LI
88182012-02-09 Lars Ingebrigtsen <larsi@rusty>
8819
8820 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8821 (smtpmail-via-smtp): Use it, or fall back on the From address.
8822 (smtpmail-send-it): Ditto.
8823
f3934f6f
SM
88242012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8827 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8828 (byte-compile-tmp-var): New const.
8829 (byte-compile-defvar): Use it to minimize .elc size.
8830 Just use `defvar' rather than simulate it (bug#10761).
8831
a075a2c5
GM
88322012-02-09 Glenn Morris <rgm@gnu.org>
8833
cf3aa21b
GM
8834 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8835
354998cd
GM
8836 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8837 Add :version tags.
8838
dc9924b8
SM
8839 * progmodes/compile.el (compilation-error-screen-columns)
8840 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8841
dab3703d
GM
8842 * vc/log-view.el (log-view-toggle-entry-display):
8843 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8844
3f88cd72
GM
8845 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8846 (report-emacs-bug-can-use-xdg-email):
8847 (report-emacs-bug-insert-to-mailer): Doc fixes.
8848 (report-emacs-bug): Message fix.
8849
d95b247d
GM
8850 * net/browse-url.el (browse-url-can-use-xdg-open)
8851 (browse-url-xdg-open): Doc fixes.
8852
a075a2c5
GM
8853 * electric.el (electric-indent-mode, electric-pair-mode)
8854 (electric-layout-rules, electric-layout-mode): Doc fixes.
8855 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8856
ffb6157e
MR
88572012-02-08 Martin Rudalics <rudalics@gmx.at>
8858
8859 * server.el (server-unselect-display): Don't inadvertently kill
8860 the current buffer. (Bug#10729)
8861
e1ac4066
GM
88622012-02-08 Glenn Morris <rgm@gnu.org>
8863
34e8a2da
GM
8864 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8865 (sql-list-table): Doc fixes.
8866
b4ac6e8c
GM
8867 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8868 Comment out (does nothing).
8869
e1ac4066
GM
8870 * completion.el (dynamic-completion-mode):
8871 * dirtrack.el (dirtrack-debug-mode):
8872 * electric.el (electric-layout-mode):
8873 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8874 * face-remap.el (text-scale-mode, buffer-face-mode):
8875 * iimage.el (iimage-mode):
8876 * image-mode.el (image-transform-mode):
8877 * minibuffer.el (completion-in-region-mode):
8878 * scroll-lock.el (scroll-lock-mode):
8879 * simple.el (next-error-follow-minor-mode):
8880 * tar-mode.el (tar-subfile-mode):
8881 * tooltip.el (tooltip-mode):
8882 * vcursor.el (vcursor-use-vcursor-map):
8883 * wid-browse.el (widget-minor-mode):
8884 * emulation/tpu-edt.el (tpu-edt-mode):
8885 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8886 * international/iso-ascii.el (iso-ascii-mode):
8887 * language/thai-util.el (thai-word-mode):
8888 * mail/supercite.el (sc-minor-mode):
8889 * net/goto-addr.el (goto-address-mode):
8890 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8891 * progmodes/cwarn.el (cwarn-mode):
8892 * progmodes/flymake.el (flymake-mode):
8893 * progmodes/glasses.el (glasses-mode):
8894 * progmodes/hideshow.el (hs-minor-mode):
8895 * progmodes/pascal.el (pascal-outline-mode):
8896 * textmodes/enriched.el (enriched-mode):
8897 * vc/smerge-mode.el (smerge-mode):
8898 Doc fixes (minor mode argument).
8899
5e0d957f
EZ
89002012-02-07 Eli Zaretskii <eliz@gnu.org>
8901
8902 * ls-lisp.el (ls-lisp-sanitize): New function.
8903 (ls-lisp-insert-directory): Use it to fix or remove any elements
8904 in file-alist with missing attributes. (Bug#4673)
8905
98d7371e
AM
89062012-02-07 Alan Mackenzie <acm@muc.de>
8907
8908 Fix spurious recognition of c-in-knr-argdecl.
8909
8910 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8911 putative K&R region.
8912
667ced3a
AM
89132012-02-07 Alan Mackenzie <acm@muc.de>
8914
eb864a71
LM
8915 * progmodes/cc-engine.el (c-forward-objc-directive):
8916 Prevent looping in "#pragma mark @implementation".
667ced3a 8917
5b77774d
MA
89182012-02-07 Michael Albinus <michael.albinus@gmx.de>
8919
8920 * notifications.el (notifications-on-closed-signal): Make `reason'
8921 optional. (Bug#10744)
8922
af008560
GM
89232012-02-07 Glenn Morris <rgm@gnu.org>
8924
60d47423
GM
8925 * emacs-lisp/easy-mmode.el (define-minor-mode):
8926 Doc fixes for the macro and the mode it defines.
8927
dd605cc4
GM
8928 * image.el (imagemagick-types-inhibit): Doc fix.
8929
af008560
GM
8930 * cus-start.el (imagemagick-render-type): Add it.
8931
5cc59a37
LI
89322012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8933
4d6769e1
JB
8934 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8935 Set the default at load time, too, so that `font-lock-fontify-buffer'
8936 can be called without setting up the entire mode first. This fixes
8937 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8938
9a6dd747
CY
89392012-02-06 Chong Yidong <cyd@gnu.org>
8940
2d16b285
CY
8941 * simple.el (list-processes--refresh): Delete exited processes
8942 (Bug#8094).
8943
171e9b6e
CY
8944 * comint.el (comint-next-prompt): next-single-char-property-change
8945 and prev-single-char-property-change never return nil (Bug#8657).
8946
9a6dd747
CY
8947 * custom.el (defcustom): Doc fix (Bug#9711).
8948
aa4589a7
CY
89492012-02-05 Chong Yidong <cyd@gnu.org>
8950
5c2a252f
CY
8951 * cus-edit.el (custom-variable-reset-backup): Quote the value
8952 before storing it in the customized-value property (Bug#6712).
4aab9006 8953 (custom-display): Add a customization type tag.
983b9602 8954 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8955
aa4589a7
CY
8956 * wid-edit.el (widget-field-value-get): New optional arg to
8957 suppress trailing whitespace truncation.
8958 (character): Use it (Bug#2689).
8959
1ff980ae
AS
89602012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8961
8962 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8963 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8964
03988c98
CY
89652012-02-05 Chong Yidong <cyd@gnu.org>
8966
eeb6cc88
CY
8967 * cus-edit.el (custom-variable-value-create): For mismatched
8968 types, show the current value (Bug#7600).
8969
03988c98
CY
8970 * custom.el (defcustom): Doc fix.
8971
f8cdeef0
GM
89722012-02-05 Glenn Morris <rgm@gnu.org>
8973
8974 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8975
0696d255
JB
89762012-02-05 Juanma Barranquero <lekktu@gmail.com>
8977
8978 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8979 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8980 (pp-last-sexp): Use `looking-at-p'.
8981
34c99998
GM
89822012-02-04 Glenn Morris <rgm@gnu.org>
8983
8f05da42
GM
8984 * files.el (revert-buffer):
8985 Doc fix (mention revert-buffer-in-progress-p).
8986
f160676e
GM
8987 * emacs-lisp/ert-x.el (ert-simulate-command):
8988 Check deferred-action-list (which is obsolete) is bound.
8989
c7291ad9
GM
8990 * subr.el (with-wrapper-hook): Doc fixes.
8991
34c99998
GM
8992 * simple.el (filter-buffer-substring-functions)
8993 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8994
6283a7d3
LL
89952012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8996
8997 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8998 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8999
e96e3013
LL
90002012-02-04 Leo Liu <sdl.web@gmail.com>
9001
9002 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9003
8ded50f2
GM
90042012-02-04 Glenn Morris <rgm@gnu.org>
9005
82ff1d13
GM
9006 * image.el (image-extension-data): Add obsolete alias.
9007
987a0a16
GM
9008 * isearch.el (isearch-update): Doc fix.
9009
ea32ef46
GM
9010 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9011
8ded50f2
GM
9012 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9013
eea14f31
GM
90142012-02-03 Glenn Morris <rgm@gnu.org>
9015
9016 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9017 (image-animate-timeout): Doc fix.
9018
9019 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9020
12f381b7
GM
90212012-02-02 Glenn Morris <rgm@gnu.org>
9022
953cebf5
GM
9023 * server.el (server-auth-dir): Doc fix.
9024 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9025
12f381b7
GM
9026 * subr.el (run-mode-hooks): Doc fix.
9027
953a8c3b
JL
90282012-02-02 Juri Linkov <juri@jurta.org>
9029
9030 * image-mode.el (image-toggle-display-image): Remove tautological
9031 `major-mode' from the `derived-mode-p' test.
9032
c5d3843c
KH
90332012-02-02 Kenichi Handa <handa@m17n.org>
9034
9f6e692e 9035 * composite.el (compose-region): Cancel previous change.
c5d3843c 9036
159462d4 90372012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9038
9039 * composite.el (compose-region, compose-string): Signal error for
9040 a null string component (Bug#6988).
9041
9f562668
CY
90422012-02-01 Chong Yidong <cyd@gnu.org>
9043
e2cef717
CY
9044 * view.el (view-buffer-other-window, view-buffer-other-frame):
9045 Handle special modes like view-buffer (Bug#10650).
9046 (view-buffer): Simplify.
9047
9f562668
CY
9048 * frame.el (set-frame-font): Tweak meaning of third argument.
9049
9f6e692e
JB
9050 * dynamic-setting.el (font-setting-change-default-font):
9051 Use set-frame-font (Bug#9982).
9f562668 9052
781acb9f
GM
90532012-02-01 Glenn Morris <rgm@gnu.org>
9054
6035be52
GM
9055 * progmodes/compile.el (compilation-internal-error-properties):
9056 Respect compilation-first-column in the "*compilation*" buffer.
9057
781acb9f
GM
9058 * emacs-lisp/easy-mmode.el (define-minor-mode):
9059 Relax :variable's test for a named function.
9060
abbceb00
AM
90612012-01-31 Alan Mackenzie <acm@muc.de>
9062
9063 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9064 off by one error.
9065
fce3fdeb
CY
90662012-01-31 Chong Yidong <cyd@gnu.org>
9067
9068 * frame.el (set-frame-font): New arg ALL-FRAMES.
9069
9070 * menu-bar.el (menu-set-font): Use set-frame-font.
9071
9072 * faces.el (face-spec-reset-face): Don't apply unspecified
9073 attribute values to the default face.
9074
47893581
JB
90752012-01-31 Juanma Barranquero <lekktu@gmail.com>
9076
9077 * progmodes/cwarn.el (cwarn): Remove dead link.
9078 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9079 Remove * from defcustom docstrings.
9080 (turn-on-cwarn-mode): Make obsolete.
9081 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9082 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9083
e58e988a
GM
90842012-01-31 Glenn Morris <rgm@gnu.org>
9085
60dc2671 9086 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9087 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9088 Allow named functions to be used as the cdr of :variable.
e58e988a 9089
7a3f511d
GM
90902012-01-30 Glenn Morris <rgm@gnu.org>
9091
9092 * emacs-lisp/authors.el (authors-fixed-entries):
9093 Remove reference to deleted file rnewspost.el.
9094
cb882333
JB
90952012-01-29 Juanma Barranquero <lekktu@gmail.com>
9096
9097 * window.el (window-with-parameter): Remove unused variable `windows'.
9098 (window--side-check): Remove unused variable `code'.
9099 (window--resize-siblings): Remove unused variable `first'.
9100 (adjust-window-trailing-edge): Remove unused variable `failed'.
9101 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9102 Use `let', not `let*'.
9103 (balance-windows-2): Remove unused variable `found'.
9104 (window--state-put-2): Remove unused variable `splits'.
9105 (window-state-put): Remove unused variable `selected'.
9106 (same-window-p): Use `string-match-p'.
9107 (display-buffer-assq-regexp): Remove unused variable `value'.
9108 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9109 Mark argument ALIST as ignored.
9110 (pop-to-buffer): Remove unused variable `old-window'.
9111
907201af
EZ
91122012-01-29 Eli Zaretskii <eliz@gnu.org>
9113
9114 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9115 and .lzma compressed files.
9116
ea162670
CY
91172012-01-29 Chong Yidong <cyd@gnu.org>
9118
5b95ee8a
CY
9119 * frame.el (window-system-default-frame-alist): Doc fix.
9120
ea162670
CY
9121 * dynamic-setting.el (font-setting-change-default-font): Don't
9122 change the default face if SET-FONT argument is non-nil (Bug#9982).
9123
d6e6f4b1
SB
91242012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9125
9126 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9127
0f29fa41 91282012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9129
9130 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9131 breakpoints in files outside current directory (Bug#6098).
9132
db174434
CY
91332012-01-29 Chong Yidong <cyd@gnu.org>
9134
6b25e4e2
SE
9135 * progmodes/python.el: Require ansi-color at top-level.
9136
6df6ae42
JB
9137 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9138 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9139 (lisp-mode-abbrev-table): Add doc.
9140 (lisp-mode-variables): Don't set local-abbrev-table.
9141 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9142
e70ee681
RW
91432012-01-28 Roland Winkler <winkler@gnu.org>
9144
9145 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9146
ace88aa2
RW
91472012-01-28 Roland Winkler <winkler@gnu.org>
9148
9149 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9150 (bibtex-set-dialect): Use it. Either set global values of
9151 dialect-dependent variables or bind these variables buffer-locally
9152 (Bug#10254).
9153 (bibtex-mode): Call bibtex-set-dialect via
9154 hack-local-variables-hook.
eb864a71
LM
9155 (bibtex-dialect): Update docstring.
9156 Add safe-local-variable predicate.
ace88aa2
RW
9157 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9158 bibtex-set-dialect.
9159 (bibtex-mode-map): Define menu for each dialect.
9160 (bibtex-entry): Fix docstring.
9161
93376c5b
CY
91622012-01-28 Chong Yidong <cyd@gnu.org>
9163
9164 * eshell/esh-arg.el (eshell-quote-argument): New function.
9165
9166 * eshell/esh-ext.el (eshell-invoke-batch-file):
9167 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9168 first arg to eshell-parse-command (Bug#10523).
9169
4372494f
DA
91702012-01-28 Drew Adams <drew.adams@oracle.com>
9171
9172 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9173 `default-directory' is non-nil.
9174
4d4ec1f8
EZ
91752012-01-28 Eli Zaretskii <eliz@gnu.org>
9176
9177 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9178 line that displays system-configuration-options. (Bug#9924)
9179
7c188927
DA
91802012-01-28 Drew Adams <drew.adams@oracle.com>
9181
9182 * descr-text.el (describe-char): Show information about POS, in
9183 addition to information about the character at POS. Improve and
9184 update the doc string. Change "code point" to "code point in
9185 charset", to avoid confusion with the character's Unicode code
9186 point shown above that. (Bug#10129)
9187
e0da685a
EZ
91882012-01-28 Eli Zaretskii <eliz@gnu.org>
9189
9190 * descr-text.el (describe-char): Show the raw character, not only
9191 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9192 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9193 for the reasons.
9194
70550acf
PH
91952012-01-28 Phil Hagelberg <phil@hagelb.org>
9196
eb864a71
LM
9197 * emacs-lisp/package.el (package-install):
9198 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9199
0ce8e868
CY
92002012-01-28 Chong Yidong <cyd@gnu.org>
9201
cb882333
JB
9202 * emacs-lisp/package.el (package-maybe-load-descriptor):
9203 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9204 (package-maybe-load-descriptor): Use it.
9205 (package-download-transaction): Fully load required packages
9206 inside the loop, so that `require' calls work (Bug#10593).
9207 (package-install): No need to call package-initialize now.
9208
2e7f3bea
CY
92092012-01-28 Chong Yidong <cyd@gnu.org>
9210
6e9bad14
CY
9211 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9212
f823b8ca
CY
9213 * tooltip.el (tooltip-mode): Doc fix.
9214 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9215
2680c309
CY
9216 * frame.el (set-cursor-color): Doc fix (Bug#352).
9217
d7a9e63b
CY
9218 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9219 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9220
2e7f3bea
CY
9221 * cus-edit.el (custom-buffer-create-internal): Fix search button
9222 action (Bug#10542).
2ae01800 9223 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9224
fc4f7a23
EW
92252012-01-27 Eduard Wiebe <usenet@pusto.de>
9226
9227 * dired.el (dired-mark-files-regexp):
9228 Include any subdirectory components. (Bug#10445)
9229
7dd37071
ML
92302012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9231
9232 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9233 Handle [host]:port syntax. (Bug#10533)
9234
a268160b
AH
92352012-01-27 Alex Harsanyi <harsanyi@mac.com>
9236
9237 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9238
e43273ef
GM
92392012-01-26 Glenn Morris <rgm@gnu.org>
9240
9241 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9242 * term.el (term-raw-escape-map): Use Control-X-prefix.
9243 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9244
1edf595d
MR
92452012-01-25 Martin Rudalics <rudalics@gmx.at>
9246
9247 * window.el (window-state-get, window--state-get-1): Don't deal
9248 with fixed-sizeness of windows. Simplify code.
9249
fa8eafef
JC
92502012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9251
6df6ae42
JB
9252 * window.el (window--state-get-1, window--state-put-2):
9253 Don't save and restore the mark.
fa8eafef 9254
0b21c100
CY
92552012-01-25 Chong Yidong <cyd@gnu.org>
9256
9257 * custom.el (custom-variable-p): Doc fix.
9258
5ae1a6c8
GM
92592012-01-25 Glenn Morris <rgm@gnu.org>
9260
40047858
GM
9261 * dired.el (dired-goto-file): Handle some of the more common
9262 characters that `ls -b' escapes. (Bug#10596)
9263
5ddce96c
GM
9264 * progmodes/compile.el (compilation-next-error-function):
9265 Respect compilation-first-column in the "*compilation*" buffer.
9266 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9267
5ae1a6c8
GM
9268 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9269
b559f1a9
GM
92702012-01-24 Glenn Morris <rgm@gnu.org>
9271
9272 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9273
6725d21a
JD
92742012-01-24 Julien Danjou <julien@danjou.info>
9275
9276 * color.el (color-rgb-to-hsl): Fix value computing.
9277 (color-hue-to-rgb): New function.
9278 (color-hsl-to-rgb): New function.
9279 (color-clamp, color-saturate-hsl, color-saturate-name)
9280 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9281 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9282
70df4bbe
GM
92832012-01-24 Glenn Morris <rgm@gnu.org>
9284
9285 * vc/vc-rcs.el (vc-rcs-create-tag):
9286 * vc/vc-sccs.el (vc-sccs-create-tag):
9287 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9288
802a2ae2
ML
92892012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9290
9291 * eshell/esh-util.el (eshell-read-hosts-file):
9292 Skip comment lines. (Bug#10549)
9293
d7128bb1
ML
9294 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9295
d1a5c3b4
JB
92962012-01-23 Juanma Barranquero <lekktu@gmail.com>
9297
2724d9c7
JB
9298 * subr.el (display-delayed-warnings): Doc fix.
9299 (collapse-delayed-warnings): New function to collapse identical
9300 adjacent warnings.
9301 (delayed-warnings-hook): Add it.
d1a5c3b4 9302
a5509865
MA
93032012-01-22 Michael Albinus <michael.albinus@gmx.de>
9304
9305 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9306
a5509865
MA
9307 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9308 (tramp-default-user-alist): Don't add "pscp".
9309 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9310 property "login-as", if set. (Bug#10530)
9311
cc6d5805
MA
93122012-01-21 Michael Albinus <michael.albinus@gmx.de>
9313
9314 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9315 "plink1" and "psftp". (Bug#10530)
9316
93172012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9318
9319 * international/mule-cmds.el (prefer-coding-system): Show a
9320 warning message if the default value of file-name-coding-system
9321 was not changed.
9322
f0960428
JC
93232012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9324
cb882333
JB
9325 * windmove.el (windmove-reference-loc):
9326 Fix windmove-reference-loc miscalculation.
f0960428 9327
dd6f2a63
JB
93282012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9329
9330 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9331 default unit.
9332
7b447e9b
GM
93332012-01-21 Glenn Morris <rgm@gnu.org>
9334
117a9ea1
GM
9335 * international/mule.el (auto-coding-alist): Add .tbz.
9336
7b447e9b
GM
9337 * files.el (local-enable-local-variables): Doc fix.
9338 (inhibit-local-variables-regexps): Rename from
9339 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9340 Doc fix. Add some extensions from auto-coding-alist.
9341 (inhibit-local-variables-suffixes):
9342 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9343 (inhibit-local-variables-p):
9344 New function, extracted from set-auto-mode-1.
9345 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9346 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9347 (hack-local-variables): Doc fix. Make the mode-only case
9348 respect enable-local-variables and friends.
9349 Respect inhibit-local-variables-regexps for file-locals, but
9350 not for directory-locals.
9351 (set-visited-file-name):
9352 Take account of inhibit-local-variables-regexps.
9353 Whether it applies may change as the file name is changed.
9354 * jka-cmpr-hook.el (jka-compr-install):
9355 * jka-compr.el (jka-compr-uninstall):
9356 Update for inhibit-first-line-modes-suffixes name change.
9357
dd6e3cdd
MR
93582012-01-20 Martin Rudalics <rudalics@gmx.at>
9359
9360 * help-macro.el (make-help-screen): Temporarily restore original
9361 binding for minor-mode-map-alist (Bug#10454).
9362
0d0deb38
JD
93632012-01-19 Julien Danjou <julien@danjou.info>
9364
9365 * color.el (color-name-to-rgb): Use the white color to find the max
9366 color component value and return correctly computed values.
9367 (color-name-to-rgb): Add missing float conversion for max value.
9368
34a02f46
MR
93692012-01-19 Martin Rudalics <rudalics@gmx.at>
9370
9371 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9372 special state value for window-persistent-parameters.
9373 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9374 (window--state-put-2): Reset all window parameters to nil before
9375 assigning values of persistent parameters.
9376
606c44c4
AM
93772012-01-18 Alan Mackenzie <acm@muc.de>
9378
9379 Eliminate sluggishness and hangs in fontification of "semicolon
9380 deserts".
9381
cb882333
JB
9382 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9383 Change value 10000 -> 3000.
606c44c4
AM
9384 (c-state-safe-place): Reformulate so it doesn't stack up an
9385 infinite number of wrong entries in c-state-nonlit-pos-cache.
9386 (c-determine-limit-get-base, c-determine-limit): New functions to
9387 determine backward search limits disregarding literals.
9388 (c-find-decl-spots): Amend commenting.
9389 (c-cheap-inside-bracelist-p): New function which detects "={".
9390
9391 * progmodes/cc-fonts.el
9392 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9393 backward search.
9394 (c-font-lock-declarations): Fix an occurrence of point being
9395 undefined. Check additionally for point being in a bracelist or
9396 near a macro invocation without a semicolon so as to avoid a
9397 fruitless time consuming search for a declarator. Give a more
9398 precise search limit for declarators using the new
9399 c-determine-limit.
9400
f3860cea
GM
94012012-01-18 Glenn Morris <rgm@gnu.org>
9402
9403 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9404 (set-auto-mode): Doc fixes.
9405
1db03b16
GM
94062012-01-17 Glenn Morris <rgm@gnu.org>
9407
0e6038be
GM
9408 * isearch.el (search-nonincremental-instead): Fix doc typo.
9409
1db03b16
GM
9410 * dired.el (dired-insert-directory): Handle newlines in directory name.
9411 (dired-build-subdir-alist): Unescape newlines in directory name.
9412
4cb0aa75
MA
94132012-01-17 Michael Albinus <michael.albinus@gmx.de>
9414
9415 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9416 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9417 (tramp-action-terminal): Use it. (Bug#10530)
9418
1d00653d
SM
94192012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9422
6a6ee00d
MR
94232012-01-16 Martin Rudalics <rudalics@gmx.at>
9424
9425 * window.el (window-state-ignored-parameters): Remove variable.
9426 (window--state-get-1): Rename argument MARKERS to IGNORE.
9427 Handle persistent window parameters. Make copy of clone-of
9428 parameter only if requested. (Bug#10348)
9429 (window--state-put-2): Install a window parameter only if it has
9430 a non-nil value or an existing parameter shall be overwritten.
9431
97912def
MA
94322012-01-15 Michael Albinus <michael.albinus@gmx.de>
9433
9434 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9435
688070a5
EZ
94362012-01-14 Eli Zaretskii <eliz@gnu.org>
9437
9438 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9439 don't pass the (nil) value of `upnode' to string-match.
9440
301afadc
CY
94412012-01-14 Chong Yidong <cyd@gnu.org>
9442
9443 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9444 Fix values recognized by the cursorBlink resource.
301afadc 9445
9e5788aa
PE
94462012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9447
9448 * epg.el (epg--make-temp-file): Avoid permission race condition
9449 when running on old Emacs versions (bug#10403).
9450
3cdb7f5a
GM
94512012-01-14 Glenn Morris <rgm@gnu.org>
9452
9453 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9454
8c82b1b4
AM
94552012-01-13 Alan Mackenzie <acm@muc.de>
9456
9457 Fix filling for when filladapt mode is enabled.
9458
9459 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9460 c-mask-paragraph, pass in `fill-paragraph' rather than
9461 `fill-region-as-paragraph'. (This is a reversion of a previous
9462 change.)
eb864a71
LM
9463 * progmodes/cc-mode.el (c-basic-common-init):
9464 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9465
e517eda4
GM
94662012-01-13 Glenn Morris <rgm@gnu.org>
9467
1498536e
GM
9468 * dired.el (dired-switches-escape-p): New function.
9469 (dired-insert-directory): Use dired-switches-escape-p.
9470 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9471
e517eda4
GM
9472 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9473
328f984d
GM
94742012-01-12 Glenn Morris <rgm@gnu.org>
9475
9476 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9477 changes in adaptive-fill-regexp. (Bug#10276)
9478
2cc769a8
AM
94792012-01-11 Alan Mackenzie <acm@muc.de>
9480
9481 Fix Emacs bug #10463 - put `widen's around the critical spots.
9482
1d00653d 9483 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9484 widen around each invocation of c-state-pp-to-literal. Remove an
9485 unused let variable.
9486
e52c37fa
GM
94872012-01-11 Glenn Morris <rgm@gnu.org>
9488
9489 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9490 Doc fix.
e52c37fa 9491
96f8741e
CY
94922012-01-10 Chong Yidong <cyd@gnu.org>
9493
1d00653d
SM
9494 * net/network-stream.el (network-stream-open-starttls):
9495 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9496 response to the capability command.
9497
b09a806e
GM
94982012-01-10 Glenn Morris <rgm@gnu.org>
9499
9500 * mail/unrmail.el (unrmail): Tweak previous change.
9501
7655cb66
CY
95022012-01-09 Chong Yidong <cyd@gnu.org>
9503
9504 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9505
9d5a8f0b
AM
95062012-01-08 Alan Mackenzie <acm@muc.de>
9507
9508 Optimise font locking in long enum definitions.
9509
9510 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9511 arm to a cond form to handle enums.
9512 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9513 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9514
9a0115ab 95152012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9516
9517 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9518 (Bug#10401)
6bb72cbd 9519
f186bb95
LMI
95202012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9521
29232a68
LMI
9522 * faces.el (set-face-attribute): Clarify the meaning of the nil
9523 frame (bug#10294).
9524
4e5d086d
LMI
9525 * subr.el (with-selected-frame): Mention that the selected frame
9526 is restored (bug#9980).
9527
8e66aebe
LMI
9528 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9529 (bug#9759).
9530
cd394be1 9531 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9532 (password-read): Don't autoload unused function.
9533
adf4e762
JB
95342012-01-07 Juanma Barranquero <lekktu@gmail.com>
9535
9536 * progmodes/which-func.el (which-func-mode): Turn into a
9537 non-interactive function and mark as obsolete (bug#10428).
9538
89bd9ccd
CY
95392012-01-06 Chong Yidong <cyd@gnu.org>
9540
9541 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9542 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9543 functions, along with 1 and -1.
9544
4afee9d5
EZ
95452012-01-06 Eli Zaretskii <eliz@gnu.org>
9546
9547 * time.el (display-time-load-average)
9548 (display-time-default-load-average): Doc fixes. See the thread
9549 starting at
9550 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9551 for the details.
9552
536aea70
GM
95532012-01-06 Glenn Morris <rgm@gnu.org>
9554
665ae865
GM
9555 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9556 has no messages. (Bug#10377)
9557
c869783d
GM
9558 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9559 than Info-edit. (Bug#10385)
9560
2bb4227e
GM
9561 * time.el (display-time-load-average, display-time-next-load-average):
9562 Doc fixes.
9563
7d5944b9
GM
9564 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9565 local setting of buffer-read-only to the input buffer. (Bug#10419)
9566
536aea70
GM
9567 * calendar/calendar.el (calendar-mode):
9568 Locally set scroll-margin to 0. (Bug#10379)
9569
7dccca16
UM
95702012-01-06 Ulrich Mueller <ulm@gentoo.org>
9571
9572 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9573
afbb7930
GM
95742012-01-05 Glenn Morris <rgm@gnu.org>
9575
9576 * eshell/em-unix.el (diff-no-select): Autoload it.
9577 (eshell/diff): Use diff-no-select. (Bug#10420)
9578
04482335
CY
95792012-01-05 Chong Yidong <cyd@gnu.org>
9580
7baca3bc
CY
9581 * shell.el (shell-dynamic-complete-functions): Revert last change.
9582 (shell-command-completion-function): New function.
9583 (shell-completion-vars): Use it to implement
9584 shell-completion-execonly (Bug#10417).
9585
04482335
CY
9586 * custom.el (enable-theme): Don't set custom-safe-themes.
9587
1d00653d
SM
9588 * cus-theme.el (custom-theme-merge-theme):
9589 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9590
bb5aa5d6
MM
95912012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9592
9593 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9594 first prompt in `sql-interacive-mode'.
9595 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9596 keywords.
6df6ae42 9597 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9598 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9599 context of original buffer. Invoke `sql-login-hook'.
9600
a7183d7c
EZ
96012012-01-04 Eli Zaretskii <eliz@gnu.org>
9602
9603 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9604 letters in cite-prefix.
9605
a1eacd1e
LMI
96062012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9607
9608 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9609
787cdb34
CY
96102012-01-03 Chong Yidong <cyd@gnu.org>
9611
1d00653d
SM
9612 * shell.el (shell-dynamic-complete-functions):
9613 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9614 comint-filename-completion first (Bug#10417).
9615
30710442
RS
96162012-01-02 Richard Stallman <rms@gnu.org>
9617
9618 * battery.el (battery-status-function):
9619 Detect when to use battery-yeeloong-sysfs.
9620 (battery-echo-area-format): Add string for Yeeloong.
9621 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9622 (battery-yeeloong-sysfs): New function.
9623
f75bfc33
CY
96242012-01-02 Chong Yidong <cyd@gnu.org>
9625
9626 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9627 (dirtrack): Merge code for handling relative filenames in prompt
9628 from shell-dir-cookie-watcher.
9629 (dirtrack-debug-message): New arg to avoid excess format calls.
9630
9631 * shell.el (shell-dir-cookie-re): Variable deleted.
9632 (shell-dir-cookie-watcher): Function deleted.
9633 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9634 with dirtrack-mode.
9635
651e947e
EZ
96362012-01-01 Eli Zaretskii <eliz@gnu.org>
9637
1d00653d
SM
9638 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9639 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9640 libgnutls-26.dll.
9641
94d4c7dc
AS
96422011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9643
9644 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9645
8d43f3cd
EZ
96462011-12-31 Eli Zaretskii <eliz@gnu.org>
9647
9648 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9649 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9650
98c8795a
MA
96512011-12-29 Michael Albinus <michael.albinus@gmx.de>
9652
9653 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9654 also for alternative shells.
9655 (tramp-open-connection-setup-interactive-shell): Check, whether
9656 the shell is a busybox.
9657 (tramp-send-command): Don't suppress multiple prompts for
9658 busyboxes, it hurts.
9659
51281b32
CY
96602011-12-28 Chong Yidong <cyd@gnu.org>
9661
9662 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9663 (gdb-get-source-file): Move mode line update to
9664 gdb-get-source-file (Bug#10087).
9665
2170cb53
CY
96662011-12-25 Chong Yidong <cyd@gnu.org>
9667
9668 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9669 gud-gdb-marker-filter without taking it as an argument.
9670 (gud-gdb-run-command-fetch-lines): Caller changed.
9671 (gud-gdb-completion-function): New variable.
9672 (gud-gdb-completion-at-point): Use it.
9673 (gud-gdb-completions-1): Split from gud-gdb-completions.
9674
9675 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9676 function as separate arguments.
9677 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9678 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9679 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9680 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9681 (gdb-stopped, def-gdb-auto-update-trigger)
9682 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9683 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9684 Callers changed.
2170cb53
CY
9685 (gud-gdbmi-completions): New function.
9686 (gdb): Use it for generating the completion table.
9687
be8b11bb
AM
96882011-12-24 Alan Mackenzie <acm@muc.de>
9689
9690 Introduce a mechanism to widen the region used in context font
1d00653d 9691 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9692
1d00653d
SM
9693 * progmodes/cc-langs.el (c-before-font-lock-functions):
9694 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9695 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9696 functions to be run just before context (etc.) font locking.
9697
9698 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9699 New, functionality extracted from
be8b11bb 9700 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9701 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9702 (c-after-change): Set c-in-after-change-fontification.
9703 (c-set-fl-decl-start): Rejig its interface, so it can be called
9704 from both after-change and context fontifying.
b81d40f0
JB
9705 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9706 New functions.
9707 (c-standard-font-lock-fontify-region-function): New variable.
9708 (c-font-lock-fontify-region): New function.
be8b11bb 9709
341cf6ac
JL
97102011-12-24 Juri Linkov <juri@jurta.org>
9711
9712 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9713 (Bug#10348)
9714
bffcee0a
MA
97152011-12-23 Michael Albinus <michael.albinus@gmx.de>
9716
9717 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9718 existence of source file. (Bug#10325)
9719
cb5e207c
AM
97202011-12-23 Alan Mackenzie <acm@muc.de>
9721
9722 Fix unstable fontification inside templates.
9723
b81d40f0
JB
9724 * progmodes/cc-langs.el (c-before-font-lock-functions):
9725 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9726 additionally has c-set-fl-decl-start. The other languages (apart
9727 from AWK) have that as a single entry.
9728
b81d40f0
JB
9729 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9730 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9731 c-set-fl-decl-start.
9732
b81d40f0
JB
9733 * progmodes/cc-mode.el (c-common-init, c-after-change):
9734 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9735 (c-set-fl-decl-start): New function, extracted from
9736 c-font-lock-enclosing-decls and enhanced.
9737
60ff536c
JB
97382011-12-23 Juanma Barranquero <lekktu@gmail.com>
9739
9740 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9741
1c4757d6
JL
97422011-12-22 Juri Linkov <juri@jurta.org>
9743
9744 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9745
d031f2c7
CY
97462011-12-22 Chong Yidong <cyd@gnu.org>
9747
9748 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9749
bace743a
DA
97502011-12-21 Drew Adams <drew.adams@oracle.com>
9751
9752 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9753
728a1f2b
JC
97542011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9755
9756 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9757
0d373f73
TZ
97582011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9759
fec0aaa4
TZ
9760 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9761 highlighting and support. Fix up comments for capitalization.
9762 (cfengine-mode-debug): New var.
9763 (cfengine3-mode): Change the modeline indicator to "CFE3".
9764 (cfengine3-font-lock-keywords): Improve defun highlighting.
9765 (cfengine2-actions): Rename from `cfengine-actions'.
9766 (cfengine2-font-lock-keywords): Rename from
9767 `cfengine-font-lock-keywords'.
9768 (cfengine2-imenu-expression): Rename from
9769 `cfengine-imenu-expression'.
9770 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9771 (cfengine2-beginning-of-defun): Rename from
9772 `cfengine-beginning-of-defun'.
9773 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9774 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9775 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9776 modeline indicator to "CFE2".
9777 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9778 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9779
bc86f573
CY
97802011-12-21 Chong Yidong <cyd@gnu.org>
9781
9782 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9783 filename argument.
9784
d45ba96b
MR
97852011-12-20 Martin Rudalics <rudalics@gmx.at>
9786
9787 * window.el (window-normalize-buffer-to-display): Remove.
9788 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9789
a6198c90
CY
97902011-12-19 Chong Yidong <cyd@gnu.org>
9791
9792 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9793 Don't signal an error in a predicate function; return non-nil.
9794 (vc-dir-mark-file): Move the error here.
9795 (vc-dir-mark-unmark): If acting on the region, keep going if one
9796 of the entries cannot be marked/unmarked.
9797 (vc-dir-mark-all-files): If current entry is a directory, mark
9798 only child files, as documented.
9799
34c5fb55
VB
98002011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9801
9802 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9803 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9804 addition.
9805
c803b2b7
JD
98062011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9807
9808 * term/ns-win.el (ns-get-selection-internal)
9809 (ns-store-selection-internal): Declare.
1154d12e
JB
9810 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9811 Declare as obsolete.
9812 (ns-get-pasteboard, ns-paste-secondary):
9813 Use ns-get-selection-internal.
41e9b956 9814 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 9815 Use ns-store-selection-internal.
c803b2b7 9816
9cff91f8 98172011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9818
9819 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9820 (vc-deduce-fileset): Doc fix.
99a289d9 9821
f16c898a
AS
98222011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9823
9824 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9825
763237c4
SS
98262011-12-13 Sam Steingold <sds@gnu.org>
9827
9828 * man.el (Man-getpage-in-background): When running under a
9829 window-system, ignore $MANWIDTH and $COLUMNS.
9830
5fc1c122
KH
98312011-12-15 Kenichi Handa <handa@m17n.org>
9832
9833 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9834 (setup-ethiopic-environment-internal): Comment out key-binding for
9835 ethio-toggle-punctuation.
9836
13d49cbb
AM
98372011-12-13 Alan Mackenzie <acm@muc.de>
9838
898169a2
AM
9839 Add the switch statement to AWK Mode.
9840
7a71b18d 9841 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9842 "default" to the keywords regexp.
9843
7a71b18d 9844 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9845 expression as the rest.
1d00653d
SM
9846 (c-nonlabel-token-key): Allow string literals for AWK.
9847 Refactor for the other modes.
898169a2 9848
13d49cbb 9849 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9850 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9851 routines. Limit backward searching in c-font-lock-enclosing.decl.
9852
9853 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9854 pp-state and literal type in addition to the limits.
1d00653d 9855 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9856 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9857 (c-slow-in-literal, c-fast-in-literal): Remove.
9858 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9859
9860 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9861 being in a literal. Add a limit for backward searching.
9862
9863 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9864 c-slow-in-literal.
9865
15e0efc7
SM
98662011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9869
454592a6
MR
98702011-12-13 Martin Rudalics <rudalics@gmx.at>
9871
9872 * window.el (delete-other-windows): Use correct frame in call to
9873 window-with-parameter.
9874
87393f26
DP
98752011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9876
9877 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9878 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9879 (makefile-gmake-statements, makefile-makepp-statements):
9880 Use it and add new makepp keywords.
9881 (makefile-makepp-font-lock-keywords): Add new patterns.
9882 (makefile-match-function-end): Match new [...] and [[...]].
9883
11636b22
JB
98842011-12-11 Juanma Barranquero <lekktu@gmail.com>
9885
9886 * ses.el (ses-call-printer-return, ses-cell-property-get)
9887 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9888 (ses-create-cell-variable, ses-reset-header-string)
9889 (ses-cell-set-formula, ses-repair-cell-reference-all)
9890 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9891 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9892 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9893 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9894 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9895 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9896 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9897 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9898 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9899 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9900 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9901 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9902
cf018193
VB
99032011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9904
9905 * ses.el: The overall change is to add cell renaming, that is
9906 setting fancy names for cell symbols other than name matching
9907 "\\`[A-Z]+[0-9]+\\'" regexp .
9908 (ses-create-cell-variable): New defun.
9909 (ses-relocate-formula): Relocate formulas only for cells the
9910 symbols of which are not renamed, i.e. symbols whose names do not
9911 match regexp "\\`[A-Z]+[0-9]+\\'".
9912 (ses-relocate-all): Relocate values only for cells the symbols of
9913 which are not renamed.
9914 (ses-load): Create cells variables as the (ses-cell ...) are read,
9915 in order to check row col consistency with cell symbol name only
9916 for cells that are not renamed.
9917 (ses-replace-name-in-formula): New defun.
9918 (ses-rename-cell): New defun.
9919
ee957461
CY
99202011-12-11 Chong Yidong <cyd@gnu.org>
9921
9922 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9923 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9924
9a9e9ef0
MR
99252011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9926
9927 * window.el (other-window): Fix docstring.
9928
92a8eba5
EZ
99292011-12-10 Eli Zaretskii <eliz@gnu.org>
9930
9931 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9932 `from' or `to' address before taking its substring.
9933 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9934 encoded name is chopped in the middle of the encoded string, and
9935 thus displayed encoded.
9936
e152e577
JB
99372011-12-10 Juanma Barranquero <lekktu@gmail.com>
9938
9939 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9940
e5d84bfe
EZ
99412011-12-10 Eli Zaretskii <eliz@gnu.org>
9942
9943 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9944 to use texinfo-update-node and commands that call it if the
9945 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9946 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9947 (texinfo-all-menus-update, texinfo-master-menu)
9948 (texinfo-update-node, texinfo-every-node-update)
9949 (texinfo-multiple-files-update): Doc fix. Warn against updating
9950 all the @node lines.
9951 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9952 argument is numeric. Explain better in the doc string what the
9953 function really does.
9954 (texinfo-insert-master-menu-list): Improve the error message
9955 displayed if there's no menu in the Top node.
9956 (Bug#2975) See also this thread:
e5d84bfe
EZ
9957 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9958
1d84e9bb
MG
99592011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9960
9961 * speedbar.el (speedbar-supported-extension-expressions):
9962 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9963
382c953b
JB
99642011-12-09 Juanma Barranquero <lekktu@gmail.com>
9965
9966 * printing.el (pr-mode-alist):
9967 * simple.el (filter-buffer-substring-functions)
9968 (completion-list-insert-choice-function):
9969 * window.el (window-with-parameter, window-atom-root)
9970 (window-sides-slots, window-size-fixed, window-min-delta)
9971 (window-max-delta, window--resize-mini-window)
9972 (window--resize-child-windows-normal, window-tree)
9973 (delete-other-windows, quit-window, split-window)
9974 (display-buffer-record-window, special-display-buffer-names)
9975 (special-display-regexps, special-display-popup-frame)
9976 (same-window-p, split-window-sensibly)
9977 (display-buffer-overriding-action, display-buffer-alist)
9978 (display-buffer-base-action, display-buffer, switch-to-buffer)
9979 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9980 (fit-window-to-buffer, recenter-positions)
9981 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9982 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9983 and remove unneeded backslashes in docstrings.
9984
39c9faef
SM
99852011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9986
98449af8
SM
9987 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9988
39c9faef
SM
9989 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9990 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9991 end in ".mk".
9992 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9993 when reading the makefile (bug#10116).
9994
86ed9fdc
SM
99952011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9996
9997 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9998 (bug#10116).
9999
5580f89d
GM
100002011-12-06 Glenn Morris <rgm@gnu.org>
10001
10002 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10003
28d3917c
CY
100042011-12-06 Chong Yidong <cyd@gnu.org>
10005
10006 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10007
a98edce9
JB
100082011-12-06 Juanma Barranquero <lekktu@gmail.com>
10009
10010 * textmodes/table.el (table-shorten-cell): Fix typo.
10011
e65adfac
CG
100122011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10013
10014 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10015
71cc0b74
EZ
100162011-12-05 Eli Zaretskii <eliz@gnu.org>
10017
10018 * descr-text.el (describe-char): Fix display of strong
10019 right-to-left characters and directional embeddings and overrides.
10020
10021 * simple.el (what-cursor-position): Fix display of codepoints of
10022 strong right-to-left characters.
10023
315bc30d
CY
100242011-12-05 Chong Yidong <cyd@gnu.org>
10025
10026 * faces.el (read-color): Doc fix.
10027
58a70b94
GM
100282011-12-05 Glenn Morris <rgm@gnu.org>
10029
10030 * align.el (align--set-marker): Add doc-string.
10031 Don't try to move something that is not a marker. (Bug#10216)
10032
5158face
GM
100332011-12-04 Glenn Morris <rgm@gnu.org>
10034
10035 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10036 overly zealous deletion of trailing whitespace.
10037
520fca41
JB
100382011-12-04 Juanma Barranquero <lekktu@gmail.com>
10039
10040 * server.el (server-delete-client): On Windows, do not try to delete
10041 the only terminal.
10042 (server-process-filter): On Windows, treat requests for a tty frame as
10043 if they were for a GUI frame if the running server is in GUI mode.
10044
5e605a2e
GM
100452011-12-03 Glenn Morris <rgm@gnu.org>
10046
10047 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10048
5c3fe83f
SM
100492011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10050
6f5e57e7
SM
10051 * electric.el: Streamline electric-indent's hook.
10052 (electric-indent-chars): Revert to simple list.
10053 (electric-indent-functions): New var.
10054 (electric-indent-post-self-insert-function): Use it.
10055
5c3fe83f
SM
10056 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10057 there's no inferior buffer (bug#10196).
10058 (prolog-consult-compile): Don't use toggle-read-only.
10059
6bdac736
MA
100602011-12-02 Michael Albinus <michael.albinus@gmx.de>
10061
10062 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10063 interrupt. (Bug#10187)
10064
6131ba7f
SM
100652011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10066
99c79fee
SM
10067 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10068 (bug#9160).
10069
6131ba7f
SM
10070 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10071 (bug#10191).
10072
cb0a02ea
JL
100732011-12-02 Juri Linkov <juri@jurta.org>
10074
10075 * info.el (Info-search): Display "end of manual" when Isearch
10076 reaches the end of single-file Info manual. (Bug#9918)
10077
66e0570c
EZ
100782011-12-02 Eli Zaretskii <eliz@gnu.org>
10079
10080 * isearch.el (isearch-message-prefix): Run the input method part
10081 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10082
02b16839
JL
100832011-12-02 Juri Linkov <juri@jurta.org>
10084
10085 * isearch.el (isearch-occur): Use `word-search-regexp' for
10086 `isearch-word'.
10087 (isearch-search-and-update): Add condition for `isearch-word' and
10088 call `word-search-regexp'. (Bug#10145)
10089
0b950688
GM
100902011-12-01 Glenn Morris <rgm@gnu.org>
10091
10092 * eshell/em-hist.el (eshell-hist-initialize):
10093 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10094 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10095
9505c3c7
SM
100962011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10099
1bbe96b2 101002011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10101
a1beca85
SM
10102 * progmodes/verilog-mode.el (verilog-pretty-expr):
10103 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10104 verilog, such as += *= and the like.
10105 (verilog-assignment-operator-re): Regular expression to find the
10106 assigment operator in a verilog assignment.
10107 (verilog-assignment-operation-re): Regular expression to find an
10108 assignment statement for pretty-expr.
10109 (verilog-in-attribute-p): Query returns true if point is in an
10110 attribute context; used to skip these for expression line up from
10111 pretty-expr.
10112 (verilog-in-parameter-p): Query returns true if point is in an
10113 parameter definition context; used to skip these for expression
10114 line up from pretty-expr.
10115 (verilog-in-parenthesis-p): Query returns true if point is in a
10116 parenthetical expression, specifically ( ) but not [ ] or { };
10117 used by pretty-expr.
10118 (verilog-just-one-space): If there is no space, don't add one.
10119 (verilog-get-lineup-indent-2): Specifically skip just attribute
10120 contexts for expression lineup, rather than skipping all
10121 parenthetical expressions.
10122 (verilog-calculate-indent): Fix comment, and fix indent.
10123 (verilog-do-indent): Indent declarations in lists (suggested by
10124 Joachim Lechner).
10125 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10126 skeleton items.
10127 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10128 by Alain Mellan).
10129
1bbe96b2 101302011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10131
10132 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10133 parameters with embedded comments. Reported by Ray Stevens.
10134 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10135 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10136 Reported by Tim Holt.
10137 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10138 instantiated by upper module causing wrong expansion until AUTOed a
10139 second time. Reported by K C Buckenmaier.
10140 (verilog-diff-auto): Fix showing .* as a difference when
10141 `verilog-auto-star-save' off. Reported by Dan Dever.
10142 (verilog-auto-reset, verilog-read-always-signals)
10143 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10144 temporary signals in reset list if
10145 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10146 style to each signal's assignment type, bug381.
10147 Reported by Thomas Esposito.
6288f0ca
WS
10148 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10149 (verilog-uvm-statement-re): Support UVM indentation and
10150 highlighting, with old OVM keywords only.
a1beca85 10151 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10152 Support AUTOTIEOFF creating non-wire data types.
10153 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10154 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10155 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10156 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10157 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10158 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10159 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10160 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10161 non-numeric vector width. Reported by Alex Reed.
10162 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10163 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10164 (verilog-auto-delete-trailing-whitespace):
10165 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10166 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10167 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10168 Fix verilog-scan-cache corruption when running user AUTO expansion
10169 hooks that call indentation routines.
10170 (verilog-simplify-range-expression): Fix typo ignoring lower case
10171 identifiers.
10172 (verilog-delete-auto): Fix delete-autos to also remove user created
10173 automatics, as long as they start with AUTO.
10174 (verilog-batch-diff-auto, verilog-diff-auto)
10175 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10176 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10177 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10178 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10179 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10180 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10181 is disabled and its cache will get corrupt, causing AUTOS not to
10182 expand. Instead use only -quick functions.
10183 (verilog-scan-region): Fix scanning over escaped quotes.
10184 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10185 (verilog-re-search-backward-quick)
10186 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10187 related functions now ignore strings, to fix misparsing of strings
10188 with magic comments embedded in them.
a1beca85
SM
10189 (verilog-read-auto-template):
10190 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10191 Reported by Brad Dobbie.
10192 (verilog-read-auto-template):
10193 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10194 Reported by Brad Dobbie.
6288f0ca
WS
10195 (verilog-auto-inst, verilog-auto-inst-param)
10196 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10197 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10198 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10199 debugging templates without merge conflicts, bug357.
10200 Reported by Brad Dobbie.
10201 (verilog-read-auto-template):
10202 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10203 Reported by Brad Dobbie.
10204 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10205 abbrevs so user won't be asked to save.
10206 (verilog-read-auto-lisp-present): Fix to start at beginning of
10207 buffer in case called outside of verilog-auto.
10208 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10209 to "X-2". Reported by Matthew Myers.
10210 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10211 all inputs from module templates. Reported by Leith Johnson.
10212 (verilog-module-inside-filename-p): Fix locating programs as with
10213 modules.
10214 (verilog-auto-inst-port): Fix vl-width expressions when using
10215 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10216 (verilog-decls-get-regs, verilog-decls-get-signals,
10217 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10218 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10219 verilog-read-decls): Combine reg and wire structures into one var
10220 structure to represent SystemVerilog concepts.
10221 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10222 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10223 (verilog-auto-wire-type, verilog-insert-definition):
10224 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10225 SystemVerilog "logic" keyword instead of "wire"/"reg".
10226 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10227 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10228 ifdef or generate if so there's not a driver conflict).
10229 Reported by Matthew Myers.
10230 (verilog-auto-declare-nettype, verilog-insert-definition):
10231 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10232 `default_nettype none. Reported by Julian Gorfajn.
10233 (verilog-read-always-signals-recurse, verilog-read-decls)
10234 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10235 malformed end statement, bug325. Reported by Joshua Wise and
10236 Andrew Drake.
10237 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10238 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10239 when expanding .* in interfaces, bug320.
10240 Reported by Pierre-David Pfister.
6288f0ca 10241 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10242 name and open parenthesis, bug317.
10243 Reported by Pierre-David Pfister.
6288f0ca
WS
10244 (verilog-simplify-range-expression): Fix simplification of
10245 multiplications inside AUTOWIRE connections, bug303.
10246 (verilog-auto-inst-port): Support parameter expansion in
10247 multidimensional arrays.
10248 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10249 after "assert property". Reported by Julian Gorfajn.
10250 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10251 with multiplication, bug303.
10252 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10253 Reported by Jan Frode Lonnum.
10254
1bbe96b2
GM
102552011-11-30 Juanma Barranquero <lekktu@gmail.com>
10256
10257 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10258 (hfy-shell-file-name, hfy-shell):
10259 * international/fontset.el (x-decompose-font-name): Fix typos.
10260
102612011-11-29 Ken Brown <kbrown@cornell.edu>
10262
10263 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10264 (gdb-version): Remove defvar.
10265 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10266 (gdb-gud-context-command, gdb-non-stop-handler)
10267 (gdb-current-context-command, gdb-stopped): Use it.
10268 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10269 (gdb-non-stop-handler): Don't enable pretty-printing here.
10270 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10271 non-stop mode. Use the following.
10272 (gdb-check-target-async): New defun.
10273 (gud-watch, gdb-stopped): Fix whitespace.
10274 (gdb-get-source-file): Don't try to display the source file if
10275 `gdb-main-file' is nil.
10276
102772011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10278
10279 * align.el: Try to generate fewer markers (bug#10047).
10280 (align--set-marker): New macro.
10281 (align-region): Use it.
10282
c935221f
SM
102832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10286
e70b5064
CY
102872011-11-29 Chong Yidong <cyd@gnu.org>
10288
10289 * indent.el (indent-for-tab-command, indent-according-to-mode):
10290 Doc fix.
10291 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10292
f3af92b7
MA
102932011-11-29 Michael Albinus <michael.albinus@gmx.de>
10294
10295 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10296 aware of remote file names. (Bug#10124)
10297
ed472be9
CY
102982011-11-29 Chong Yidong <cyd@gnu.org>
10299
10300 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10301
24510c22
SM
103022011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * files.el (find-file): Don't use force-same-window (bug#10144).
10305 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10306 use pop-to-buffer if the selected window can't be used.
10307 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10308
c60c3703
EZ
103092011-11-28 Eli Zaretskii <eliz@gnu.org>
10310
10311 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10312 special-mode-map.
10313
e95def75
CY
103142011-11-28 Chong Yidong <cyd@gnu.org>
10315
10316 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10317
c3f1c606
NR
103182011-11-27 Nick Roberts <nickrob@snap.net.nz>
10319
10320 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10321 gdb-get-source-file-list on gdb-create-source-file-list.
10322
00db469c
EZ
103232011-11-26 Eli Zaretskii <eliz@gnu.org>
10324
10325 * whitespace.el (whitespace-newline): Use a different foreground
10326 color for 16-color light-background displays.
10327
4ad3bc2a
CY
103282011-11-24 Chong Yidong <cyd@gnu.org>
10329
10330 * window.el (display-buffer--special-action): Doc fix.
10331
e9fce1ac
JB
103322011-11-25 Juanma Barranquero <lekktu@gmail.com>
10333
10334 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10335 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10336 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10337 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10338 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10339 (avl-tree-stack-first):
10340 * emacs-lisp/cconv.el (cconv--analyse-use):
10341 * net/gnutls.el (gnutls-negotiate): Fix typos.
10342
cb825e5d
GM
103432011-11-24 Glenn Morris <rgm@gnu.org>
10344
3adbe224
GM
10345 * lpr.el (lpr-windows-system, lpr-lp-system):
10346 * mail/binhex.el (binhex-begin-line):
10347 * progmodes/grep.el (grep-history, grep-find-history):
10348 * textmodes/flyspell.el:
10349 * vc/pcvs-defs.el (cvs-global-menu):
10350 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10351 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10352 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10353
321decc8
GM
10354 * net/tls.el: Fix case of "GnuTLS".
10355
420b63ad
GM
10356 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10357
cb825e5d
GM
10358 * version.el (emacs-build-system): Give it a doc-string.
10359
a0649f08
JL
103602011-11-24 Juri Linkov <juri@jurta.org>
10361
10362 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10363
c0bc0fd4
GM
103642011-11-24 Glenn Morris <rgm@gnu.org>
10365
10366 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10367 if called on a non-mime message just toggle the headers. (Bug#8006)
10368
20db1522
JB
103692011-11-24 Juanma Barranquero <lekktu@gmail.com>
10370
10371 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10372 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10373 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10374 (allout-rebullet-heading, allout-open-sibtopic)
10375 (allout-toggle-current-subtree-encryption)
10376 (allout-toggle-subtree-encryption, allout-encrypt-string)
10377 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10378 (allout-distinctive-bullets-string, allout-auto-activation):
10379 * window.el (window-normalize-buffer-to-display):
10380 * progmodes/verilog-mode.el (verilog-batch-indent):
10381 * textmodes/bibtex.el (bibtex-field-braces-opt)
10382 (bibtex-field-strings-opt):
10383 * vc/cvs-status.el (cvs-tree-merge):
10384 Fix typos.
10385
7262a87c
MA
103862011-11-23 Michael Albinus <michael.albinus@gmx.de>
10387
10388 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10389 `non-essential' to t, in order to avoid remote connections.
10390
283430a1
EZ
103912011-11-23 Eli Zaretskii <eliz@gnu.org>
10392
a1beca85
SM
10393 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10394 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10395 case-insensitively.
10396
d2992a38
ML
103972011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10398
10399 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10400
50419064
GM
104012011-11-23 Glenn Morris <rgm@gnu.org>
10402
da94eca1
GM
10403 * paths.el (rmail-file-name): Reformat the doc-string so that it
10404 is picked up.
10405
9aac4de2
GM
10406 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10407 (rmail-auto-file): Ignore case in the "special" field names,
10408 as mail-fetch-field does for all others.
10409
8038d2d2
GM
10410 * mail/rmail.el (rmail-forward):
10411 * mail/rmailkwd.el (rmail-set-label):
10412 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10413 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10414
f3fe222a
GM
10415 * mail/rmail.el (rmail-current-message): Doc fix.
10416
50419064
GM
10417 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10418
28109f49
SM
104192011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10420
10421 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10422
394c65f1
GM
104232011-11-22 Glenn Morris <rgm@gnu.org>
10424
10425 * mail/rmailmm.el (test-rmail-mime-handler)
10426 (test-rmail-mime-bulk-handler)
10427 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10428
f2a0aa3a
JL
104292011-11-21 Juri Linkov <juri@jurta.org>
10430
1154d12e
JB
10431 * calc/calc.el (calc-read-key-sequence):
10432 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10433
9c34a344
LMI
104342011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10435
10436 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10437 Tell the caller that the next line needs recomputation, even
10438 though it doesn't start a sexp (bug#10094).
10439
f04a3be9
SM
104402011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10443
7978747f
SM
104442011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10445
f04a3be9
SM
10446 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10447 Use force-same-window.
7978747f 10448
fe7a3057
JB
104492011-11-20 Juanma Barranquero <lekktu@gmail.com>
10450
10451 * descr-text.el (describe-char-unicode-data):
10452 * json.el (json-string-escape):
10453 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10454 (Footnote-unicode, Footnote-style-p):
10455 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10456
24901d61
CY
104572011-11-20 Chong Yidong <cyd@gnu.org>
10458
10459 * window.el (replace-buffer-in-windows): Restore interactive spec.
10460
bac7ff22
SM
104612011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10462
24f3d7b9
SM
10463 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10464
bac7ff22
SM
10465 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10466 (byte-compile-global-not-obsolete-vars): New var.
10467 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10468 Use it.
10469 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10470
cd1181db
JB
104712011-11-20 Juanma Barranquero <lekktu@gmail.com>
10472
10473 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10474 * progmodes/pascal.el (electric-pascal-equal):
10475 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10476 * xml.el (xml-substitute-special): Fix typos.
10477
7fb18e9e
GM
104782011-11-20 Glenn Morris <rgm@gnu.org>
10479
10480 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10481 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10482 Doc fixes.
10483 (rmail-decode-mime-charset): Mark as obsolete.
10484
10485 * mail/rmailsum.el (rmail-message-regexp-p-1):
10486 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10487 Before using mime functions, check they are set. (Bug#10077)
10488
d5a6b3ba
JL
104892011-11-19 Juri Linkov <juri@jurta.org>
10490
10491 * info.el (Info-finder-find-node): Use `package--builtins' instead
10492 of `package-alist'. Use node names formed by the pattern "Keyword "
10493 and the keyword name.
10494
e981b61f
AS
104952011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10496
1d00653d 10497 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10498
3ffbc301
JL
104992011-11-19 Juri Linkov <juri@jurta.org>
10500
10501 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10502 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10503 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10504 `old-history', `old-history-forward'. Add let-binding
10505 `window-selected'. Remove calls to `kill-buffer',
10506 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10507 before calling `Info-find-node', so `Info-find-node-2' will reread
10508 the Info file. Restore window positions only when `window-selected'
10509 is non-nil.
10510
30c62133
JL
105112011-11-19 Juri Linkov <juri@jurta.org>
10512
10513 * isearch.el (isearch-lazy-highlight-new-loop):
10514 Remove condition `(not isearch-error)'. (Bug#9918)
10515
10516 * misearch.el (multi-isearch-search-fun): Add condition
10517 `(not bound)' to ignore lazy-highlighting search.
10518 Add the search-failed message "end of multi" when the end of
10519 multi-sequence is reached. Uncapitalize the search-failed
10520 message "Repeat for next buffer".
10521
10522 * info.el (Info-search): Add the search-failed message
10523 "end of the manual" when the end of the manual is reached
10524 in Isearch mode.
10525
645ca9cf
JL
105262011-11-19 Juri Linkov <juri@jurta.org>
10527
10528 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10529 Use non-destructive `remove' instead of `delete' because
10530 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10531 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10532
df754f66
JL
105332011-11-19 Juri Linkov <juri@jurta.org>
10534
10535 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10536 to nil instead of binding `search-ring' and `regexp-search-ring'.
10537 (Bug#9185)
10538
0e23d96a
EZ
105392011-11-19 Eli Zaretskii <eliz@gnu.org>
10540
10541 * simple.el (line-move): Force movement by logical lines for any
10542 hscrolled window, not only when auto-hscroll-mode is on.
10543 (line-move-visual): Update doc string to that effect. (Bug#10076)
10544
8a6ccb66
AS
105452011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10546
10547 * language/european.el (macintosh): Define as alias for mac-roman.
10548
49ae5b39
EZ
105492011-11-19 Eli Zaretskii <eliz@gnu.org>
10550
10551 * mail/rmailmm.el (rmail-mime-display-header)
10552 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10553 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10554 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10555 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10556 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10557 of a raw aref.
10558 (rmail-mime-entity-segment): To get past the tagline, move forward
10559 2 more lines, to account for the 2 empty lines that precede and
10560 follow the line with the buttons.
10561 (rmail-mime-update-tagline): Move one more line, to get past the
10562 empty line that follows the buttons in the tagline. (Bug#9520)
10563
c56cad4a
MR
105642011-11-19 Martin Rudalics <rudalics@gmx.at>
10565
10566 * window.el (window-max-delta-1, window-min-delta-1)
10567 (window-min-size-1, window-state-get-1, window-state-put-1)
10568 (window-state-put-2): Use "window--" prefix.
10569
cbe71af3
SM
105702011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10571
2ad52c60
SM
10572 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10573 (smie-warning-count): New var.
10574 (smie-set-prec2tab): Use it.
10575 (smie-bnf->prec2): Improve warnings. Add docstring.
10576 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10577 (smie-bnf--set-class): New function.
10578 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10579 corner case.
10580
6944dbc1
SM
10581 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10582 (compilation-error-properties, compilation-move-to-column):
10583 Handle compilation-first-column while in the target buffer.
10584
c400c4d7
SM
10585 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10586 Don't hardcode point-min==1.
10587
6dbe3e96
SM
10588 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10589 (eshell-rewrite-for-command): Remove workaround.
10590 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10591 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10592 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10593
cbe71af3
SM
10594 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10595
a8e1496d
GM
105962011-11-17 Glenn Morris <rgm@gnu.org>
10597
10598 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10599 Ignore buffer-local generated-autoload-file if it is the same
10600 as the global value. (Bug#10049)
10601
df85d315
JB
106022011-11-17 Juanma Barranquero <lekktu@gmail.com>
10603
10604 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10605 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10606 (reftex-toc-previous-heading, reftex-toc-max-level)
10607 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10608 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10609 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10610 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10611 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10612 (reftex-toc-rename-label, reftex-toc-visit-location)
10613 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10614 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10615 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10616 leaving "*toc*" only for references to the buffer.
10617
a0c2d0ae
MR
106182011-11-17 Martin Rudalics <rudalics@gmx.at>
10619
10620 * window.el (window-resize, delete-window, split-window):
10621 Replace window-splits by window-combination-resize.
1d00653d 10622 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10623
35c0bac8
GM
106242011-11-17 Glenn Morris <rgm@gnu.org>
10625
10626 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10627 Make bash entry derive from sh entry, not shell entry.
10628
d0c8fc8a
MA
106292011-11-16 Michael Albinus <michael.albinus@gmx.de>
10630
7262a87c
MA
10631 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10632 local file name.
10633
7877f373
JB
106342011-11-16 Juanma Barranquero <lekktu@gmail.com>
10635
10636 * menu-bar.el (menu-bar-file-menu):
10637 * printing.el (pr-ps-utility):
10638 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10639 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10640 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10641 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10642 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10643 (icalendar--convert-cyclic-to-ical)
10644 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10645 (icalendar--convert-ical-to-diary)
10646 (icalendar--convert-recurring-to-diary)
10647 (icalendar--convert-non-recurring-all-day-to-diary)
10648 (icalendar-import-format-sample):
10649 * progmodes/idlw-shell.el (idlwave-shell-mode):
10650 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10651 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10652 (vhdl-ps-print-init): Fix typos.
10653
10649b82
KM
106542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10655
9d0cfcd6
GM
10656 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10657 FSF and collapse date sequence, obscure author/maintainer email address
10658 better, remove extra version line, track relocation of author's webpage.
10649b82 10659
9d0cfcd6
GM
10660 * progmodes/python.el (python-pdbtrack-input-prompt)
10661 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10662 regular python pdb prompts. Adjustments shamelessly taken exactly as
10663 suggested in EmacsWiki page (tiny change):
10664 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10665
58179cce
JB
106662011-11-16 Juanma Barranquero <lekktu@gmail.com>
10667
10668 * expand.el (expand-pos, expand-index, expand-point):
10669 Remove redundant info from docstring.
10670 (expand-add-abbrevs): Doc fix.
10671 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10672 (expand-sample-perl-mode-expand-list): Fix typos.
10673
10674 * net/dbus.el (dbus-event-member-name):
10675 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10676 * term/pc-win.el (msdos-create-frame-with-faces):
10677 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10678
b6f67890
MR
106792011-11-16 Martin Rudalics <rudalics@gmx.at>
10680
10681 * window.el (split-window, window-state-get-1)
10682 (window-state-put-1, window-state-put-2): Rename occurrences of
10683 window-nest to window-combination-limit.
1d00653d 10684 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10685
ce7ddba0
CY
106862011-11-16 Chong Yidong <cyd@gnu.org>
10687
10688 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10689 regexp (Bug#10033).
10690
3ae704f4
SM
106912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10692
10693 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10694 `completing-read' will remove *Completions* and will preserve
10695 current-buffer for us.
10696 (tmm-add-prompt): Users of *Completions* will always (re)set its
10697 major mode.
10698 (tmm-old-comp-map): Remove.
10699
6ad1cdde
GM
107002011-11-16 Glenn Morris <rgm@gnu.org>
10701
10702 * mail/rmailedit.el: Require rmailmm when compiling.
10703 (rmail-old-mime-state): New declaration.
10704 (rmail-edit-current-message): If editing a mime message,
10705 edit the "raw" message from the mbox buffer.
10706 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10707
d20faa20
GM
107082011-11-15 Glenn Morris <rgm@gnu.org>
10709
10710 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10711 which wasn't being used. Add optional arg to force given state.
10712 (rmail-mime): Add optional arg to force given state.
10713
c7015153
JB
107142011-11-15 Juanma Barranquero <lekktu@gmail.com>
10715
10716 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10717 * frame.el (display-mm-dimensions-alist):
10718 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10719 (outline-move-subtree-down):
10720 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10721 (newsticker--treeview-do-get-node):
10722 * net/quickurl.el (quickurl-list-buffer-name):
10723 * progmodes/dcl-mode.el (dcl-mode):
10724 * progmodes/gdb-mi.el (gdb-mapcar*):
10725 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10726
45261b50
GM
107272011-11-15 Glenn Morris <rgm@gnu.org>
10728
10729 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10730 in a boolean sense, so just make it a boolean, and fix the doc.
10731 (rmail-show-mime-function, rmail-mime-feature)
10732 (rmail-require-mime-maybe): Doc fixes.
10733 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10734
10735 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10736
0d26e0b6
JB
107372011-11-15 Juanma Barranquero <lekktu@gmail.com>
10738
10739 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10740 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10741 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10742 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10743
447f30f6
GM
107442011-11-15 Glenn Morris <rgm@gnu.org>
10745
672b871d
GM
10746 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10747 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10748 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10749 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10750 (rmail-mime, rmail-show-mime): Doc fixes.
10751
f6aa5bb1
GM
10752 * term/ns-win.el (mode-line-frame-identification):
10753 Leave it alone. (Bug#10051)
10754
947cd66b
GM
10755 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10756
447f30f6
GM
10757 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10758 Handle empty buffers. (Bug#9978)
10759
0b381c7e
JB
107602011-11-14 Juanma Barranquero <lekktu@gmail.com>
10761
10762 * international/mule.el (define-charset):
10763 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10764 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10765 * progmodes/verilog-mode.el (verilog-backward-token):
10766 * textmodes/ispell.el (lookup-words):
10767 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10768
71e027ac
GM
107692011-11-14 Glenn Morris <rgm@gnu.org>
10770
56632ce4
GM
10771 * progmodes/executable.el
10772 (executable-make-buffer-file-executable-if-script-p):
10773 Handle file-modes returning nil.
10774
40500957
GM
10775 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10776 message - not necessary, and causes problems. (Bug#9831)
10777
071c2340
GM
10778 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10779
d3cfca60
GM
10780 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10781
71e027ac
GM
10782 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10783 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10784 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10785
89d61221
MR
107862011-11-12 Martin Rudalics <rudalics@gmx.at>
10787
10788 * window.el (window-resize, delete-window): Use window-splits
10789 variable instead of function.
10790 (window-state-get-1, window-state-put-2, window-state-put):
10791 Don't deal with windows' splits status.
10792
98282f6f
GM
107932011-11-12 Glenn Morris <rgm@gnu.org>
10794
10795 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10796 (apropos-documentation): Doc fixes.
10797
40a8bdf6
JB
107982011-11-11 Juanma Barranquero <lekktu@gmail.com>
10799
10800 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10801 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10802
65bd19ff
SM
108032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * electric.el (electric-indent-post-self-insert-function): Make it
10806 possible for a char to only indent in some circumstances.
10807 (electric-indent-mode): Simplify.
10808
54f9154c
MR
108092011-11-11 Martin Rudalics <rudalics@gmx.at>
10810
10811 * window.el (windows-with-parameter): Remove unused function.
10812 (windows-at-side): Rename to window-at-side-list.
10813 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10814 (window-side-check, window-size-ignore, window-size-fixed-1)
10815 (window-in-direction-2): Prefix with "window--".
10816 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10817
68cbc58b
GM
108182011-11-11 Glenn Morris <rgm@gnu.org>
10819
10820 * subr.el (eval-after-load): If FILE is already loaded,
10821 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10822
b2621720
GM
108232011-11-10 Glenn Morris <rgm@gnu.org>
10824
9a4de110
GM
10825 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10826 Call svn via vc-svn-command rather than vc-do-command.
10827 (vc-svn-command): Add --non-interactive. (Bug#9993)
10828 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10829
b2621720
GM
10830 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10831 Add toggle-read-only. (Bug#7292)
10832 * files.el (toggle-read-only): Mention that it should only
10833 be used interactively. (Bug#10006)
10834
1dce7193
SM
108352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10836
d9ac1a1e
SM
10837 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10838 Adjust regexp for OCaml warnings.
10839
0c325082
SM
10840 * electric.el (electric-pair-post-self-insert-function): Let user
10841 turn it off buffer-locally (bug#9932).
10842
90132c14
SM
10843 * progmodes/python.el (python-beginning-of-statement):
10844 Rewrite (bug#2703).
10845
1dce7193
SM
10846 * progmodes/compile.el: Better handle TABs (bug#9749).
10847 (compilation-internal-error-properties)
10848 (compilation-next-error-function): Obey the target buffer's
10849 compilation-error-screen-columns.
10850
c4e7c63a
JB
108512011-11-09 Juanma Barranquero <lekktu@gmail.com>
10852
10853 * progmodes/meta-mode.el: Remove obsolete comments.
10854 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10855 Fix typos in docstrings.
10856
2cffd681
MR
108572011-11-09 Martin Rudalics <rudalics@gmx.at>
10858
10859 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10860 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10861 (window--resizable): New function. Make all callers of
10862 window-resizable call window--resizable instead.
10863 (window-resizable): Rewrite in terms of window--resizable.
10864
0edcba87
GM
108652011-11-08 Glenn Morris <rgm@gnu.org>
10866
10867 * progmodes/delphi.el (delphi-mode-syntax-table):
10868 Let define-derived-mode define a proper syntax table. (Bug#9994)
10869
4b0d61e3
SM
108702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * window.el: Stay away from defsubst.
10873 (window-list-no-nils): Remove.
10874 (window-state-get-1, window-state-get): Use backquote instead.
10875
cd394be1 108762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10877
4b0d61e3 10878 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10879 Fix incorrect use of default argument in `completing-read'.
10880
e1c2c6f2
MR
108812011-11-08 Martin Rudalics <rudalics@gmx.at>
10882
10883 * window.el (display-buffer-function, special-display-function):
10884 Mention display-buffer-record-window but do not mention
10885 help-setup parameter in doc-strings.
b3f4a882 10886 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10887
105216ed
CY
108882011-11-08 Chong Yidong <cyd@gnu.org>
10889
10890 * window.el (window-total-height, window-total-width): Doc fix.
10891 (window-body-size): Move from C.
10892 (window-body-height, window-body-width): Move to C.
10893
0a9f9ab5
SM
108942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * window.el: Make special-display like display-buffer-alist (bug#9532).
10897 (display-buffer--special-action): New function, morphed
10898 from display-buffer--special.
10899 (display-buffer): Use it to handle special-display-buffers at higher
10900 priority (just after display-buffer-alist).
10901 (display-buffer-fallback-action, display-buffer--other-frame-action)
10902 (pop-to-buffer-same-window): Remove display-buffer--special.
10903
a769dd15
GM
109042011-11-07 Glenn Morris <rgm@gnu.org>
10905
10906 * calendar/cal-menu.el (cal-menu-set-date-title):
10907 Do nothing if not in a calendar. (Bug#9976)
10908
05a61ee3
SM
109092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * files.el (find-file): Always use selected-window.
10912
be7f5545
MR
109132011-11-07 Martin Rudalics <rudalics@gmx.at>
10914
10915 * window.el (window-combinations): Make WINDOW argument
10916 mandatory. Rewrite doc-string.
10917 (walk-window-subtree, window-atom-check, window-min-delta)
10918 (window-max-delta, window--resize-this-window)
10919 (window--resize-root-window-vertically, window-tree)
10920 (balance-windows, window-state-put): Rewrite doc-strings as to
10921 not mention the term "subwindow".
10922 (window--resize-subwindows-skip-p): Rename to
10923 window--resize-child-windows-skip-p.
10924 (window--resize-subwindows-normal): Rename to
10925 window--resize-child-windows-normal.
10926 (window--resize-subwindows): Rename to
10927 window--resize-child-windows.
10928 (window-or-subwindow-p): Rename to window--in-subtree-p.
10929
3c6702ef
ML
109302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10931
10932 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10933 Ensure that mbox format messages end in two newlines (Bug#9974).
10934
49745b39
CY
109352011-11-06 Chong Yidong <cyd@gnu.org>
10936
10937 * window.el (window-combination-p): Function deleted; its
10938 side-effect is not used in any existing code.
10939 (window-combinations, window-combined-p): Call window-*-child
10940 directly.
10941
24300f5f
CY
109422011-11-05 Chong Yidong <cyd@gnu.org>
10943
10944 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10945 (window-size-ignore, window-state-get): Callers changed.
10946 (window-normalize-window): Rename from window-normalize-any-window.
10947 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10948 (window-normalize-live-window): Delete.
447f16b8
CY
10949 (window-combination-p, window-combined-p, window-combinations)
10950 (walk-window-subtree, window-atom-root, window-min-size)
10951 (window-sizable, window-sizable-p, window-size-fixed-p)
10952 (window-min-delta, window-max-delta, window-resizable)
10953 (window-resizable-p, window-full-height-p, window-full-width-p)
10954 (window-current-scroll-bars, window-point-1, set-window-point-1)
10955 (window-at-side-p, window-in-direction, window-resize)
10956 (adjust-window-trailing-edge, maximize-window, minimize-window)
10957 (window-deletable-p, delete-window, delete-other-windows)
10958 (record-window-buffer, unrecord-window-buffer)
10959 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10960 (quit-window, split-window, window-state-put)
10961 (set-window-text-height, fit-window-to-buffer)
10962 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10963
89bd5ee1
EZ
109642011-11-04 Eli Zaretskii <eliz@gnu.org>
10965
53479029
EZ
10966 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10967 rfc2047-decode-string.
10968 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10969 warnings.
10970
89bd5ee1
EZ
10971 * window.el (window-body-height, window-body-width): Mention in
10972 the doc string that the return values are in frame's canonical
10973 units. (Bug#9949)
10974
bd17fdee
AM
109752011-11-03 Alan Mackenzie <acm@muc.de>
10976
10977 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10978 change in cc-engine.el.
10979
acc825c5
SM
109802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10983
1885e5b8
MR
109842011-11-02 Martin Rudalics <rudalics@gmx.at>
10985
10986 * window.el (quit-window): Call unrecord-window-buffer after
10987 showing another buffer in the window. (Bug#9937)
acc825c5 10988 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10989
ebe06da9
JB
109902011-11-02 Juanma Barranquero <lekktu@gmail.com>
10991
10992 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10993 Accept status with more than 9 shelves. (Bug#9935)
10994 Reported by Colin D Bennett <colin@gibibit.com>.
10995
4ee88440
MR
109962011-11-01 Martin Rudalics <rudalics@gmx.at>
10997
10998 * help.el (with-help-window): Don't reference
10999 temp-buffer-show-specifiers in doc-string.
11000
08e1d82c
AS
110012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11002
11003 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11004 menu-item.
11005
84bd6e9e
VJL
110062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11007
11008 * whitespace.el: New version 13.2.2.
11009 (whitespace-newline-mode): Disable properly. Reported by Sarah
11010 <EmacsWiki>.
11011
dba0634a
UJ
110122011-10-30 Ulf Jasper <ulf.jasper@web.de>
11013
11014 * net/newst-treeview.el: Remove "Time-stamp".
11015 (newsticker--group-manage-orphan-feeds): Do not call
11016 newsticker--treeview-tree-update.
db22a3c2
JB
11017 (newsticker-treeview-update, newsticker-treeview):
11018 Call newsticker--treeview-tree-update if necessary.
dba0634a 11019
3d8daefe
MR
110202011-10-30 Martin Rudalics <rudalics@gmx.at>
11021
11022 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11023 (window-iso-combinations): Remove "iso-" infix.
11024 Suggested by Chong Yidong.
3d8daefe
MR
11025 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11026 (window-max-delta-1, window-resize, window--resize-siblings)
11027 (window--resize-this-window, adjust-window-trailing-edge)
11028 (split-window, balance-windows-1)
11029 (shrink-window-if-larger-than-buffer):
11030 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11031 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11032
1bc4c3ae
SM
110332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11034
11035 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11036 in place (bug#9907).
11037 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11038 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11039 (eshell-structure-basic-command, eshell-rewrite-while-command)
11040 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11041 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11042 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11043 (eshell-do-pipelines-synchronously, eshell-eval-command):
11044 Use backquotes and prefer setq to set.
11045 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11046 (eshell-macrop): Use functionp.
c1e2f5fa 11047 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11048
30b65d9c
CY
110492011-10-30 Chong Yidong <cyd@gnu.org>
11050
11051 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11052 instead of set-mark (Bug#9810).
11053
2d197ffb
CY
110542011-10-30 Chong Yidong <cyd@gnu.org>
11055
11056 * window.el (split-window-below, split-window-right): Rename from
11057 split-window-above-each-other and split-window-side-by-side
11058 respectively. All callers changed.
11059 (split-window-sensibly, split-window-sensibly): Use them.
11060 (split-window-keep-point): Doc fix.
11061
11062 * isearch.el: Add isearch-scroll property to split-window-below
11063 and split-window-right.
11064
11065 * follow.el (follow-mode):
11066 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11067 * progmodes/ada-xref.el (ada-gdb-application):
11068 * emulation/vip.el (vip-buffer-in-two-windows):
11069 * image-dired.el (image-dired-dired-with-window-configuration):
11070 * dired-x.el (dired-do-find-marked-files):
11071 * dired.el (dired-pop-to-buffer):
11072 * bs.el (bs--show-with-configuration):
11073 * vc/emerge.el (emerge-setup-windows):
11074 * textmodes/two-column.el (2C-two-columns):
11075 * textmodes/reftex-toc.el (reftex-toc):
11076 * progmodes/gdb-mi.el (gdb-setup-windows):
11077 * progmodes/fortran.el (fortran-window-create):
11078 * net/newst-treeview.el (newsticker--treeview-window-init):
11079 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11080 * emulation/tpu-edt.el (tpu-gold-map):
11081 * emulation/crisp.el (crisp-mode-map):
11082 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11083
38bb2ca8
CY
110842011-10-29 Chong Yidong <cyd@gnu.org>
11085
aa4de341
CY
11086 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11087
e1eb5385
CY
11088 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11089
5d2ece3c
CY
11090 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11091 forged Ispell output (Bug#7904).
11092
38bb2ca8
CY
11093 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11094
d0af9f77
SM
110952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * doc-view.el: Avoid ugly errors about not finding nil.
11098 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11099 (doc-view-dvipdf-program, doc-view-unoconv-program)
11100 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11101 Avoid nil or absolute file name as default value.
11102 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11103
52bedd34
AM
111042011-10-28 Alan Mackenzie <acm@muc.de>
11105
db22a3c2 11106 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11107
7e43cfa5
AM
111082011-10-28 Alan Mackenzie <acm@muc.de>
11109
11110 Amend the handling of c-beginning/end-of-defun in nested declaration
11111 scopes.
11112
52bedd34
AM
11113 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11114 cc-langs.el. Change it to a defcustom.
7e43cfa5 11115
52bedd34
AM
11116 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11117 cc-vars.el.
7e43cfa5 11118
d0af9f77
SM
11119 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11120 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11121
52bedd34 11122 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11123 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11124 (c-widen-to-enclosing-decl-scope): New function.
11125 (c-while-widening-to-decl-block): New macro.
11126 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11127 outward for defun boundaries, and correspondingly change symbol
11128 `respect-enclosure' to `go-outward'.
11129 (c-declaration-limits): Change algorithm to report only the "innermost"
11130 defun's boundaries.
11131
1a2ce9ee
DD
111322011-10-28 Deniz Dogan <deniz@dogan.se>
11133
11134 * net/rcirc.el (rcirc-mode): Use hard newlines.
11135
bc97a826
AM
111362011-10-28 Alan Mackenzie <acm@muc.de>
11137
11138 Amend to indent and fontify macros "which include their own semicolon"
11139 correctly, using the "virtual semicolon" mechanism.
11140
52bedd34 11141 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11142
d0af9f77 11143 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11144 Recode to scan one line at a time rather than having \n and \r
58179cce 11145 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11146 (c-forward-label): Amend for virtual semicolons.
58179cce 11147 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11148
52bedd34
AM
11149 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11150 of the new C macros.
bc97a826 11151
52bedd34 11152 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11153 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11154 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11155 (c-opt-cpp-macro-define): Make into a full language variable.
11156 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11157 AWK Mode (including \n, \r) removed, no longer needed.
11158
d0af9f77
SM
11159 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11160 Invoke c-make-macro-with-semi-re.
bc97a826 11161
52bedd34
AM
11162 * progmodes/cc-vars.el (c-macro-with-semi-re):
11163 (c-macro-names-with-semicolon): New variables.
58179cce 11164 (c-make-macro-with-semi-re): New function.
bc97a826 11165
7a6c0941
SM
111662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * vc/log-edit.el: Fill empty field rather than adding new one.
11169 (log-edit-add-field): New function.
11170 (log-edit-insert-changelog): Use it.
11171
b0c4cdcf
ML
111722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11173
11174 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11175
ee1f1da9
SM
111762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11179 (gdb--check-interpreter): New function.
11180 (gdb): Use it.
11181
51bc5f8b
GM
111822011-10-27 Glenn Morris <rgm@gnu.org>
11183
416a2c45
GM
11184 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11185 (least-positive-float, least-negative-float)
11186 (least-positive-normalized-float, least-negative-normalized-float)
11187 (float-epsilon, float-negative-epsilon):
11188 Remove unnecessary declarations.
11189
11190 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11191 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11192 (least-positive-float, least-negative-float)
11193 (least-positive-normalized-float, least-negative-normalized-float)
11194 (float-epsilon, float-negative-epsilon): Add doc-strings,
11195 based on those in cl.texi.
11196
51bc5f8b
GM
11197 * files.el (set-visited-file-name): If the major-mode changed,
11198 reload the local variables. (Bug#9796)
11199
15de15c6
CY
112002011-10-27 Chong Yidong <cyd@gnu.org>
11201
11202 * subr.el (change-major-mode-after-body-hook): New hook.
11203 (run-mode-hooks): Run it.
11204
ee1f1da9
SM
11205 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11206 Use change-major-mode-before-body-hook.
15de15c6
CY
11207
11208 * simple.el (fundamental-mode):
11209 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11210 change introducing fundamental-mode-hook.
11211
5430d399
JB
112122011-10-26 Juanma Barranquero <lekktu@gmail.com>
11213
acc825c5 11214 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11215
ad74a69e
MA
112162011-10-26 Michael Albinus <michael.albinus@gmx.de>
11217
11218 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11219 tramp.el explicitly. (Bug#7583)
ad74a69e 11220
71d4c2a5
SM
112212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11222
11223 * progmodes/octave-mod.el:
11224 * progmodes/octave-inf.el: Update maintainer.
11225
b1f6fa26
CY
112262011-10-26 Chong Yidong <cyd@gnu.org>
11227
11228 * subr.el (with-wrapper-hook): Rewrite doc.
11229
3f04efd6
MA
112302011-10-25 Michael Albinus <michael.albinus@gmx.de>
11231
11232 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11233 filenames "/method:foo:". (Bug#9793)
3f04efd6 11234
410488d3
SM
112352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11238 (bug#9865).
11239
c1ebb47e
GM
112402011-10-24 Glenn Morris <rgm@gnu.org>
11241
11242 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11243
7f5c46c7
MA
112442011-10-24 Michael Albinus <michael.albinus@gmx.de>
11245
11246 * notifications.el: Add the requirement of a running D-Bus session
11247 bus to the Commentary.
11248
db2440b6
JL
112492011-10-24 Juri Linkov <juri@jurta.org>
11250
11251 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11252 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11253 (Bug#9364)
11254
feecf435
JL
112552011-10-24 Juri Linkov <juri@jurta.org>
11256
11257 * info.el (Info-following-node-name-re): Add newline to the list
11258 of allowed characters for leading space. (Bug#9824)
11259
a3839de2
SM
112602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11261
acc825c5
SM
11262 * progmodes/octave-inf.el (inferior-octave-mode-map):
11263 Fix C-c C-h binding.
a3839de2
SM
11264 * progmodes/octave-mod.el (octave-help): Remove.
11265
09388e76
MA
112662011-10-23 Michael Albinus <michael.albinus@gmx.de>
11267
11268 Sync with Tramp 2.2.3.
11269
11270 * net/tramp-cache.el (top): Pacify byte-compiler using
11271 `init-file-user' and `site-run-file'.
11272
11273 * net/trampver.el: Update release number.
11274
86c60681
CY
112752011-10-23 Chong Yidong <cyd@gnu.org>
11276
11277 * files.el (toggle-read-only): Remove obsolete comment about
11278 version control.
11279
11280 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11281 for toggle-read-only. Note that this hasn't called vc-next-action
11282 since 2008-05-02, though it wasn't documented at the time.
11283
a3839de2
SM
11284 * vc/ediff-init.el (ediff-toggle-read-only-function):
11285 Use toggle-read-only.
86c60681 11286
cd5495ff
AM
112872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11288
11289 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11290 of c-parse-state.
11291
00b77525 11292 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11293 correct faulty logical expression.
cd5495ff
AM
11294 (c-parse-state-state, c-record-parse-state-state):
11295 (c-replay-parse-state-state): New defvar/defuns.
11296 (c-debug-parse-state): Use new functions.
11297
42ee24ed
MR
112982011-10-22 Martin Rudalics <rudalics@gmx.at>
11299
11300 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11301 last fix. Use window-in-direction correctly.
42ee24ed 11302
a7dee7e7
CY
113032011-10-21 Chong Yidong <cyd@gnu.org>
11304
11305 * progmodes/idlwave.el (idlwave-mode):
11306 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11307 require-final-newline; that's done in prog-mode.
11308 Suggested by Stefan Monnier.
a7dee7e7 11309
e07b9a6d
MR
113102011-10-21 Martin Rudalics <rudalics@gmx.at>
11311
11312 * mouse.el (mouse-drag-window-above)
11313 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11314 (mouse-drag-mode-line-1, mouse-drag-header-line)
11315 (mouse-drag-vertical-line-rightward-window): Remove.
11316 (mouse-drag-line): New function.
11317 (mouse-drag-mode-line, mouse-drag-header-line)
11318 (mouse-drag-vertical-line): Call mouse-drag-line.
11319 * window.el (window-at-side-p, windows-at-side): New functions.
11320
7e1361d9
UM
113212011-10-21 Ulrich Mueller <ulm@gentoo.org>
11322
11323 * tar-mode.el (tar-grind-file-mode):
11324 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11325
30fcaf3a
CY
113262011-10-21 Chong Yidong <cyd@gnu.org>
11327
11328 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11329 * progmodes/vera-mode.el (vera-mode):
11330 Use mode-require-final-newline.
30fcaf3a 11331
516eddb0
GM
113322011-10-20 Glenn Morris <rgm@gnu.org>
11333
db22a3c2 11334 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11335
10d5f513
CS
113362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11337
11338 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11339
ac6c8639
CY
113402011-10-20 Chong Yidong <cyd@gnu.org>
11341
11342 * emulation/cua-base.el (cua-mode):
11343 * mail/footnote.el (footnote-mode):
11344 * mail/mailabbrev.el (mail-abbrevs-mode):
11345 * net/xesam.el (xesam-minor-mode):
11346 * progmodes/bug-reference.el (bug-reference-mode):
11347 * progmodes/cap-words.el (capitalized-words-mode):
11348 * progmodes/compile.el (compilation-minor-mode)
11349 (compilation-shell-minor-mode):
11350 * progmodes/gud.el (gud-tooltip-mode):
11351 * progmodes/hideif.el (hide-ifdef-mode):
11352 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11353 * progmodes/subword.el (subword-mode):
11354 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11355 * progmodes/which-func.el (which-function-mode):
11356 * term/tvi970.el (tvi970-set-keypad-mode):
11357 * term/vt100.el (vt100-wide-mode):
11358 * textmodes/flyspell.el (flyspell-mode):
11359 * textmodes/ispell.el (ispell-minor-mode):
11360 * textmodes/nroff-mode.el (nroff-electric-mode):
11361 * textmodes/paragraphs.el (use-hard-newlines):
11362 * textmodes/refill.el (refill-mode):
11363 * textmodes/reftex.el (reftex-mode):
11364 * textmodes/rst.el (rst-minor-mode):
11365 * textmodes/sgml-mode.el (html-autoview-mode)
11366 (sgml-electric-tag-pair-mode):
11367 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11368 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11369 * emulation/crisp.el (crisp-mode):
11370 * emacs-lisp/eldoc.el (eldoc-mode):
11371 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11372 minor mode behavior.
11373
aa42ab43
JL
113742011-10-19 Juri Linkov <juri@jurta.org>
11375
11376 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11377 the list of hard-coded chars with escape-glyph face.
11378
89400f1d
SM
113792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11382
305c07f6
MA
113832011-10-19 Michael Albinus <michael.albinus@gmx.de>
11384
11385 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11386 running process.
11387
13754b54
GM
113882011-10-19 Glenn Morris <rgm@gnu.org>
11389
11390 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11391 Ignore ignored files. (Bug#9726)
11392
06e21633
CY
113932011-10-19 Chong Yidong <cyd@gnu.org>
11394
11395 Doc fix for minor modes, stating that an omitted argument enables
11396 the mode unconditionally when called from Lisp.
11397
11398 * abbrev.el (abbrev-mode):
11399 * allout.el (allout-mode):
11400 * autoinsert.el (auto-insert-mode):
11401 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11402 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11403 (global-auto-revert-mode):
11404 * battery.el (display-battery-mode):
11405 * composite.el (global-auto-composition-mode)
11406 (auto-composition-mode):
11407 * delsel.el (delete-selection-mode):
11408 * desktop.el (desktop-save-mode):
11409 * dired-x.el (dired-omit-mode):
11410 * dirtrack.el (dirtrack-mode):
11411 * doc-view.el (doc-view-minor-mode):
11412 * double.el (double-mode):
11413 * electric.el (electric-indent-mode, electric-pair-mode):
11414 * emacs-lock.el (emacs-lock-mode):
11415 * epa-hook.el (auto-encryption-mode):
11416 * follow.el (follow-mode):
11417 * font-core.el (font-lock-mode):
11418 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11419 * help.el (temp-buffer-resize-mode):
11420 * hilit-chg.el (highlight-changes-mode)
11421 (highlight-changes-visible-mode):
11422 * hi-lock.el (hi-lock-mode):
11423 * hl-line.el (hl-line-mode, global-hl-line-mode):
11424 * icomplete.el (icomplete-mode):
11425 * ido.el (ido-everywhere):
11426 * image-file.el (auto-image-file-mode):
11427 * image-mode.el (image-minor-mode):
11428 * iswitchb.el (iswitchb-mode):
11429 * jka-cmpr-hook.el (auto-compression-mode):
11430 * linum.el (linum-mode):
11431 * longlines.el (longlines-mode):
11432 * master.el (master-mode):
11433 * mb-depth.el (minibuffer-depth-indicate-mode):
11434 * menu-bar.el (menu-bar-mode):
11435 * minibuf-eldef.el (minibuffer-electric-default-mode):
11436 * mouse-sel.el (mouse-sel-mode):
11437 * msb.el (msb-mode):
11438 * mwheel.el (mouse-wheel-mode):
11439 * outline.el (outline-minor-mode):
11440 * paren.el (show-paren-mode):
11441 * recentf.el (recentf-mode):
11442 * reveal.el (reveal-mode, global-reveal-mode):
11443 * rfn-eshadow.el (file-name-shadow-mode):
11444 * ruler-mode.el (ruler-mode):
11445 * savehist.el (savehist-mode):
11446 * scroll-all.el (scroll-all-mode):
11447 * scroll-bar.el (scroll-bar-mode):
11448 * server.el (server-mode):
11449 * shell.el (shell-dirtrack-mode):
11450 * simple.el (auto-fill-mode, transient-mark-mode)
11451 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11452 (line-number-mode, column-number-mode, size-indication-mode)
11453 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11454 * strokes.el (strokes-mode):
11455 * time.el (display-time-mode):
11456 * t-mouse.el (gpm-mouse-mode):
11457 * tool-bar.el (tool-bar-mode):
11458 * tooltip.el (tooltip-mode):
11459 * type-break.el (type-break-mode-line-message-mode)
11460 (type-break-query-mode):
11461 * view.el (view-mode):
11462 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11463 (global-whitespace-mode, global-whitespace-newline-mode):
11464 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11465
a3839de2
SM
11466 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11467 Fix autogenerated docstring.
06e21633 11468
5214e501
JL
114692011-10-19 Juri Linkov <juri@jurta.org>
11470
11471 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11472 by checking environment variables "DESKTOP_SESSION" and
11473 "XDG_CURRENT_DESKTOP". (Bug#9779)
11474
195f8db9
JL
114752011-10-19 Juri Linkov <juri@jurta.org>
11476
11477 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11478 (browse-url-chromium-program, browse-url-chromium-arguments):
11479 New defcustoms.
11480 (browse-url-default-browser): Check for `browse-url-chromium' and
11481 call `browse-url-chromium-program'.
11482 (browse-url-chromium): New command. (Bug#9779)
11483
343a34ff
JB
114842011-10-18 Juanma Barranquero <lekktu@gmail.com>
11485
11486 * facemenu.el (list-colors-duplicates): On Windows, detect more
11487 duplicates by assuming that only colors matching "^System" are
11488 special "system colors". (Bug#9722)
11489
6978a151
SM
114902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11491
11492 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11493 to distinguish the author from the committer.
11494
6a80b297
MA
114952011-10-18 Michael Albinus <michael.albinus@gmx.de>
11496
11497 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11498
b31a5677
JK
114992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11500
11501 * international/mule.el (sgml-html-meta-auto-coding-function):
11502 Add support for detecting encoding in HTML5 specified only as
11503 <meta charset="UTF-8">. Implementation just makes http-equiv and
11504 content-type parts from HTML4 encoding string optional. (Bug#9716)
11505
80c6d77f
GM
115062011-10-18 Glenn Morris <rgm@gnu.org>
11507
11508 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11509
08b0fee8
CY
115102011-10-18 Chong Yidong <cyd@gnu.org>
11511
11512 * faces.el (cursor): Doc fix.
11513
67e729a5
CY
115142011-10-17 Chong Yidong <cyd@gnu.org>
11515
11516 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11517
343a34ff 115182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11519
11520 * dirtrack.el (dirtrack): Support shell buffers with path
11521 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11522
0bc06380
TZ
115232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11524
11525 * json.el: Bump version to 1.3 and note change in History.
11526 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11527
8b79f3e0
SM
115282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11529
5a7c536b
SM
11530 * comint.el (comint-insert-input, comint-send-input)
11531 (comint-get-old-input-default, comint-backward-matching-input)
11532 (comint-next-prompt): Use nil instead of `input' for field property of
11533 past user input (bug#114).
11534
96a8a0df
SM
11535 * minibuffer.el (completion--replace): Inherit surrounding properties
11536 (bug#114).
11537 (minibuffer-complete-and-exit): Use it.
11538
8b79f3e0
SM
11539 * comint.el (comint--table-subvert): Quote the all-completions output
11540 (bug#9160).
11541
b8f7ff0d
MR
115422011-10-17 Martin Rudalics <rudalics@gmx.at>
11543
8b79f3e0 11544 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11545
b8f7ff0d 11546 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11547 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11548 entries and separate them from frame entries.
11549
c235b555
GM
115502011-10-15 Glenn Morris <rgm@gnu.org>
11551
11552 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11553 Doc fixes.
11554
6bbfa6e1
CY
115552011-10-15 Chong Yidong <cyd@stupidchicken.com>
11556
8b79f3e0
SM
11557 * net/network-stream.el (network-stream-open-starttls):
11558 Improve detection of failure due to lack of TLS support.
ec5c990d 11559
6bbfa6e1
CY
11560 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11561 putting the input text in front and in bold.
11562
98488977
SM
115632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11564
3d1337be
SM
11565 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11566
ee0b45e4
SM
11567 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11568 empty buffer.
11569
98488977
SM
11570 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11571 unread-command-events rather than pushing yet-another event.
11572
186f4720
EZ
115732011-10-14 Eli Zaretskii <eliz@gnu.org>
11574
11575 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11576 the explanation of the possible choices. Make the options passed
11577 to completing-read shorter.
11578
8b7a997c
AM
115792011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11580
11581 * textmodes/flyspell.el (flyspell-large-region): Make sure
11582 extended character mode is used if defined (Bug#1339).
11583
12587bbb
EZ
115842011-10-13 Eli Zaretskii <eliz@gnu.org>
11585
11586 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11587 character info for LRE, LRO, RLE, and RLO characters by appending
11588 an invisible PDF.
12587bbb 11589
bad41229
SM
115902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11591
11592 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11593 even in case of error; add debug spec; simplify data flow.
11594 (with-timeout-handler): Remove.
11595
28dbc92f
MA
115962011-10-12 Michael Albinus <michael.albinus@gmx.de>
11597
11598 Fix Bug#6019, Bug#9315.
11599
11600 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11601 complete `buffer-file-name', the local file name part could look
11602 remotely (for example on VMS).
11603
11604 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11605 `tramp-run-real-handler'.
11606 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11607 already quoted by '"'.
11608
11609 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11610 Let `file-name-handler-alist' be nil, the local file name part
11611 could look remotely (for example on VMS).
11612
e1b0b23a
SM
116132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11616 from here...
11617 (flyspell-post-command-hook): ...to here.
11618
a120bde9
SM
116192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11620
11621 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11622 if not needed.
11623 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11624 using completion. Protect against "slow" callers.
11625 Remove the "message hack".
11626
7ce7717b
JL
116272011-10-11 Juri Linkov <juri@jurta.org>
11628
11629 * isearch.el (isearch-lazy-highlight-word): New variable.
11630 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11631 Use it. (Bug#9727)
11632
c02ee9d6
GM
116332011-10-11 Glenn Morris <rgm@gnu.org>
11634
11635 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11636 like f90-previous-statement does.
11637
93e616fd 116382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11639
1f190e73 11640 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11641 only in interactive use, to avoid error.
11642
af7b6078
SM
116432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * minibuffer.el (completion-file-name-table): Fix last change,
11646 i.e. ignore normal errors but not the other ones.
11647
0563dae9
MR
116482011-10-10 Martin Rudalics <rudalics@gmx.at>
11649
11650 * window.el (special-display-buffer-names)
11651 (special-display-regexps): Remove some remnants of earlier
11652 changes from doc-strings.
366ca7f3
MR
11653 (quit-windows-on): New function.
11654
11655 * vc/vc.el (vc-revert, vc-rollback):
11656 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11657 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11658 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11659
49677495
MR
116602011-10-09 Martin Rudalics <rudalics@gmx.at>
11661
11662 * window.el (frame-auto-hide-function): Add version tag.
11663 (Bug#9699)
11664
56f2d1e1
MA
116652011-10-09 Michael Albinus <michael.albinus@gmx.de>
11666
11667 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11668 condition.
11669
112a6592
LL
116702011-10-09 Leo Liu <sdl.web@gmail.com>
11671
11672 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11673 (Bug#9701)
11674
0812589b
GM
116752011-10-08 Glenn Morris <rgm@gnu.org>
11676
11677 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11678 before the first code statement zero indent. (Bug#9690)
11679
b2b0776e
CY
116802011-10-08 Chong Yidong <cyd@stupidchicken.com>
11681
11682 * simple.el (count-words-region): Always count in the region.
11683 Report the number of lines and characters too.
11684 (count-words): New command, which counts in the buffer if the
11685 region is inactive, as count-words-region used to.
11686 (count-words--message): New function. Handle plurals.
11687 (count-lines-region): Make it an alias for count-words-region.
11688
11689 * bindings.el (esc-map): Replace count-lines-region with
11690 count-words-region.
11691
c557cd6b
MR
116922011-10-08 Martin Rudalics <rudalics@gmx.at>
11693
11694 * window.el (window--delete): Delete dedicated frame
11695 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11696 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11697
61a57ef4 116982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11699
3a7d293b 11700 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11701
c3833279
CY
117022011-10-07 Chong Yidong <cyd@stupidchicken.com>
11703
11704 * bindings.el ([M-left],[M-right]): Bind to left-word and
11705 right-word respectively.
11706
21ce8245
GM
117072011-10-07 Glenn Morris <rgm@gnu.org>
11708
11709 * cus-start.el (debug-on-quit): Fix custom type.
11710
6d823bb2
LMI
117112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11712
0181e193
LMI
11713 * subr.el (define-key-after): Clarify that the function is not
11714 useful for non-menu keymaps.
11715
6d823bb2
LMI
11716 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11717
8e3459ce 117182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11719
21ce8245 11720 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11721 in current minibuffer (Fix bug with recursive minibuffers).
11722
a1c2d21e
CY
117232011-10-06 Chong Yidong <cyd@stupidchicken.com>
11724
11725 * progmodes/gdb-mi.el (gdb): Doc fix.
11726
5a4cf282
MR
117272011-10-05 Martin Rudalics <rudalics@gmx.at>
11728
11729 * window.el (frame-auto-hide-function): New option replacing
11730 frame-auto-delete. Suggested by Stefan Monnier.
11731 (window--delete): Call frame-auto-hide-function instead of
11732 investigating frame-auto-delete.
c96111ea
MR
11733 (window-point-1, set-window-point-1): New functions.
11734 (window-in-direction, record-window-buffer, window-state-get-1)
11735 (display-buffer-record-window): Use window-point-1 instead of
11736 window-point.
11737 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11738
9854542e
SM
117392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11742
8943cfb0
GM
117432011-10-05 Glenn Morris <rgm@gnu.org>
11744
11745 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11746 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11747
647ab967
LL
117482011-10-05 Leo Liu <sdl.web@gmail.com>
11749
11750 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11751 works with buffer object.
11752
3ddfbced
SM
117532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * mpc.el (mpc-tool-bar-map): Add labels.
11756
bdfa5dd2
GM
117572011-10-04 Glenn Morris <rgm@gnu.org>
11758
11759 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11760
0e2070b5
MR
117612011-10-04 Martin Rudalics <rudalics@gmx.at>
11762
11763 * window.el (window--delete): New function.
11764 (frame-auto-delete): Resuscitate option.
11765 (bury-buffer, replace-buffer-in-windows)
11766 (quit-window): Rewrite using window--delete.
11767 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11768 Pass display-buffer-mark-dedicated to window--display-buffer-2
11769 (Bug#9639).
11770
3dc61a09
SM
117712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11772
915a9b64
SM
11773 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11774 returns a list (bug#9554). Add remote file name completion.
11775 * comint.el (comint--table-subvert): Curry and get quote&unquote
11776 functions as arguments.
11777 (comint--complete-file-name-data): Adjust call accordingly.
11778 * pcomplete.el (pcomplete--table-subvert): Remove.
11779 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11780
3dc61a09
SM
11781 * minibuffer.el (completion-table-case-fold): Use currying.
11782 (completion--styles-type, completion--cycling-threshold-type):
11783 New constants.
11784 (completion-styles, completion-category-overrides)
11785 (completion-cycle-threshold): Use them.
11786 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11787 completion-table-case-fold.
11788
8ea0a993
SB
117892011-10-03 Stephen Berman <stephen.berman@gmx.net>
11790
11791 * minibuffer.el (completion-category-overrides): Fix type of styles
11792 and add more user friendly tags (bug#9660).
11793
8c24b7f6
SM
117942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11795
11796 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11797 (mule-input-method-string): New widget.
11798 (default-input-method, language-info-custom-alist): Use it.
11799
428fe61a
SM
118002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11801
32c1fffd
SM
11802 * pcomplete.el: Require comint.
11803 (pcomplete--common-suffix): Remove.
11804 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11805 (pcomplete--table-subvert): Sync with comint--table-subvert.
11806 (pcomplete--entries): Use comint-completion-file-name-table.
11807 * comint.el (comint-unquote-filename): Simplify.
11808 (comint-completion-file-name-table): New function (bug#9616).
11809 (comint--complete-file-name-data): Use it.
11810
428fe61a
SM
11811 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11812 (pcmpl-gnu-tar-buffer): Remove.
11813 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11814 around. Make sure pcomplete-suffix-list is only changed temporarily.
11815 Don't look inside the tar's file if it's too large.
428fe61a 11816
04c52e2f
CY
118172011-10-01 Chong Yidong <cyd@stupidchicken.com>
11818
ce3cefcc
CY
11819 * cus-edit.el (custom-mode-map):
11820 * epa.el (epa-key-list-mode-map):
11821 * man.el (Man-mode-map):
11822 * startup.el (splash-screen-keymap):
11823 * simple.el (special-mode-map): Use scroll-up-command and
11824 scroll-down-command.
11825
11826 * progmodes/idlw-help.el (idlwave-help-mode-map):
11827 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11828 * net/newst-plainview.el (newsticker-mode-map):
11829 * emulation/ws-mode.el (wordstar-mode-map):
11830 * emulation/vi.el (vi-com-map):
11831 * calc/calc-graph.el (calc-graph-show-dumb):
11832 * term/sun.el (terminal-init-sun):
11833 * term/ns-win.el (global-map):
11834 * progmodes/grep.el (grep-mode-map):
11835 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11836 * mail/rmail.el (rmail-mode-map):
11837 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11838
04c52e2f
CY
11839 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11840 custom-safe-themes as special.
11841
79adf8c8
JD
118422011-10-01 Julien Danjou <julien@danjou.info>
11843
11844 * notifications.el (notifications-notify): Fix docstring.
11845
63bd50d3
PS
118462011-10-01 Per Starbäck <per@starback.se>
11847
11848 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11849
199e4c7e
MR
118502011-09-30 Martin Rudalics <rudalics@gmx.at>
11851
11852 * startup.el (command-line-1): Fix last fix by inserting
11853 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11854 (Bug#9605) and (Bug#9636)
199e4c7e 11855
fe5f08dd
EZ
118562011-09-29 Eli Zaretskii <eliz@gnu.org>
11857
11858 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11859 window is hscrolled, move by logical lines. (Bug#9607)
11860 (line-move-visual): Update the doc string to the above effect.
11861
b5516bbd
MR
118622011-09-29 Martin Rudalics <rudalics@gmx.at>
11863
ccee00c0
MR
11864 * window.el (display-buffer-record-window): When WINDOW is the
11865 selected window use `point' instead of `window-point'. (Bug#9626)
11866
b5516bbd
MR
11867 * startup.el (command-line-1): Use insert-before-markers when
11868 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11869
b5516bbd
MR
11870 * help.el (help-window): Remove variable.
11871
52aa0014
GM
118722011-09-29 Glenn Morris <rgm@gnu.org>
11873
11874 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11875
df9a7357
JB
118762011-09-29 Juanma Barranquero <lekktu@gmail.com>
11877
11878 * descr-text.el (describe-char-categories): Accept category
11879 descriptions more than one line long.
11880
a8406c20
SM
118812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11882
88d9610c
SM
11883 * simple.el (delete-trailing-whitespace): Fix last change.
11884
a5daf810
SM
11885 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11886 Don't confuse "y => 3" as the beginning of a `y' operation.
11887
a8406c20
SM
11888 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11889 object has more than 4 slots (bug#9613).
11890
a239d4e9
JB
118912011-09-28 Juanma Barranquero <lekktu@gmail.com>
11892
11893 * subr.el (with-output-to-temp-buffer):
11894 * net/quickurl.el (quickurl, quickurl-browse-url):
11895 Fix typos in docstrings.
11896
693fbdb6
EZ
118972011-09-27 Eli Zaretskii <eliz@gnu.org>
11898
11899 * minibuffer.el (completion-styles)
11900 (completion-category-overrides): Cross reference each other in doc
11901 strings.
11902
8b457e28
GM
119032011-09-27 Glenn Morris <rgm@gnu.org>
11904
11905 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11906 to split-string. (Bug#9606)
11907
85a16208
LMI
119082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11909
11910 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11911 (bug#9615).
11912
502f9ebd
CY
119132011-09-27 Chong Yidong <cyd@stupidchicken.com>
11914
11915 * emacs-lisp/package.el (list-packages): Fix echo area message.
11916
7690bdea
LL
119172011-09-27 Leo Liu <sdl.web@gmail.com>
11918
11919 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11920
e2ee6f30
MA
119212011-09-25 Michael Albinus <michael.albinus@gmx.de>
11922
11923 * net/dbus.el (dbus-unregister-object): Don't release services for
11924 registered signals. (Bug#9581)
11925
f3f98342
TZ
119262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11927
11928 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11929 function that picks between cfengine 2 and 3 support
11930 automatically. Update docs accordingly.
11931
dd7aa8dd
KH
119322011-09-22 Kenichi Handa <handa@m17n.org>
11933
11934 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11935 ZERO.
11936 (indian-itrans-v5-table-for-tamil): New variable.
11937 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11938
3f2b07f8
KM
119392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11940
11941 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11942 that's true if the current command involved collapsing of text.
11943 It's reset to false at the beginning of the next command.
11944 (allout-post-command-business): Move the cursor to the beginning
11945 of entry if the cursor is hidden and collapsing activity just
11946 happened.
11947
371d6a61
CY
119482011-09-24 Chong Yidong <cyd@stupidchicken.com>
11949
11950 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11951 tracking (Bug#9541).
11952
2ac2721a
UJ
119532011-09-24 Ulf Jasper <ulf.jasper@web.de>
11954
11955 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11956 (newsticker-show-news): Automatically load html rendering package
11957 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11958 because w3m-fill-column is let-bound" and the error "Symbol's value
11959 as variable is void: w3m-fill-column".
2ac2721a 11960
fac7ae53
MA
119612011-09-24 Michael Albinus <michael.albinus@gmx.de>
11962
11963 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11964 Release services only if they are defined. (Bug#9581)
11965
e08b633b
RS
119662011-09-23 Richard Stallman <rms@gnu.org>
11967
e488d29c
RS
11968 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11969 distinguish start of paragraph from start of its text.
11970
19c38752
RS
11971 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11972
e08b633b
RS
11973 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11974 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11975 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11976
0a39f27e
AS
119772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11978
11979 * international/mule-diag.el (mule-diag): Insert a newline after
11980 each fontset description.
11981
db4e950d
SM
119822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * simple.el (delete-trailing-whitespace):
11985 Document last change; simplify.
11986
eca3f3ea
PW
119872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11988
d68e189a
PW
11989 * simple.el (delete-trailing-whitespace): Also delete
11990 extra newlines at the end of the buffer.
11991
eca3f3ea
PW
11992 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11993 (picture-newline): Use forward-line so as to ignore fields.
11994
01c157cc
SM
119952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * subr.el (with-wrapper-hook): Fix edebug spec.
11998
022de23e
LMI
119992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12000
12001 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12002 (bug#4538).
12003
91683089
MA
120042011-09-23 Michael Albinus <michael.albinus@gmx.de>
12005
eca3f3ea
PW
12006 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12007 Fix nasty bug using wrong cached values.
91683089 12008
5bdd6fa4
AM
120092011-09-23 Alan Mackenzie <acm@muc.de>
12010
12011 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12012
97adfb97
CY
120132011-09-23 Chong Yidong <cyd@stupidchicken.com>
12014
12015 * window.el (pop-to-buffer): Ensure right window is selected if we
12016 chose another frame.
12017
d4ef2b50
EZ
120182011-09-22 Eli Zaretskii <eliz@gnu.org>
12019
12020 * simple.el (what-cursor-position): Use get-char-property-change
12021 and next-single-char-property-change, to be able to show display
12022 properties that come from overlays as well as text properties.
12023
72258fe5
CY
120242011-09-22 Chong Yidong <cyd@stupidchicken.com>
12025
12026 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12027
12028 * cmuscheme.el (run-scheme, switch-to-scheme):
12029 * cus-edit.el (customize-group, custom-buffer-create)
12030 (customize-browse):
12031 * info.el (info):
12032 * shell.el (shell):
12033 * mail/sendmail.el (mail):
12034 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12035
8f098516
RS
120362011-09-22 Richard Stallman <rms@gnu.org>
12037
12038 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12039 move back only to line beg, don't move back over blank lines.
12040
e74f1bb6
MA
120412011-09-22 Michael Albinus <michael.albinus@gmx.de>
12042
12043 * files.el (copy-directory): Set directory attributes only in case
12044 they could be retrieved from the source directory. (Bug#9565)
12045
bfeef8b6
DK
120462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12047
12048 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12049 (hs-find-block-beginning, hs-hide-level-recursive):
12050 Ignore strings as well as comments. (Bug#9502)
12051
7e423bb8
AS
120522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12053
12054 * progmodes/sql.el (sql-comint-postgres):
12055 Convert port number to a string. (Bug#9566)
12056
b4d72fcf
MR
120572011-09-22 Martin Rudalics <rudalics@gmx.at>
12058
12059 * window.el (quit-window): Undedicate window when switching to
12060 previous buffer. Reported by Thierry Volpiatto
12061 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12062 (special-display-popup-frame): When popping up a new frame reset
12063 its previous buffers to nil. Simplify code.
b4d72fcf 12064
a7b88dc6
MA
120652011-09-21 Michael Albinus <michael.albinus@gmx.de>
12066
12067 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12068 and process filter, as done also in `shell-command'.
12069
cf4eacfd
MR
120702011-09-21 Martin Rudalics <rudalics@gmx.at>
12071
eca3f3ea 12072 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12073 Call set-window-start with NOFORCE argument t.
12074 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12075 (quit-window): Reword doc-string. Handle new format of
12076 quit-restore parameter. Don't delete window if it has a
12077 previous buffer we can show instead of the present one.
12078 (display-buffer-record-window): Rewrite using a new format for
12079 the quit-restore window parameter
12080 (special-display-popup-frame, display-buffer-same-window)
12081 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12082 (display-buffer-pop-up-window, display-buffer-use-some-window):
12083 Adapt symbol passed to display-buffer-record-window.
12084 * help.el (help-window-setup): Handle new format of quit-restore
12085 parameter.
12086
8d28cb95
SM
120872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12088
94ab793f
SM
12089 * faces.el (face-list): Fix docstring (bug#9564).
12090
8d28cb95
SM
12091 * window.el (display-buffer--action-function-custom-type):
12092 Don't include internal functions in the Custom interface.
12093
3820edeb
JL
120942011-09-20 Juri Linkov <juri@jurta.org>
12095
12096 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12097 (Info-forward-node, Info-backward-node, Info-next-preorder)
12098 (Info-last-preorder): Use it. (Bug#9528)
12099
5147931d
JL
121002011-09-20 Juri Linkov <juri@jurta.org>
12101
12102 * info.el (Info-last-preorder): Visit last menu item only when
12103 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12104
cf499a1a
JD
121052011-09-20 Julien Danjou <julien@danjou.info>
12106
12107 * password-cache.el (password-cache-remove): Remove entries even if the
12108 value is nil, so that password with a nil value (negative caching) is
12109 possible to invalidate.
12110
f84e2fe2
LM
121112011-09-20 Lawrence Mitchell <wence@gmx.li>
12112
12113 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12114 all whitespace around breakpoint. (Bug#9553)
12115 (f90-find-breakpoint): Only break at whitespace inside a comment.
12116
78054a46
SM
121172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12118
12119 * minibuffer.el (completion-file-name-table): Keep track of errors.
12120 (completion-table-with-predicate): Handle the case where pred1 is nil.
12121 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12122
345083b2
SM
121232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12124
e24e27be
SM
12125 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12126 (debugger-return-value): Signal an error if the debugging context does
12127 not await any return value.
12128
345083b2
SM
12129 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12130 * image-mode.el (image-toggle-display-text)
12131 (image-toggle-display-image): Stay away from evil `intangible'.
12132
08d355e3
LL
121332011-09-19 Leo Liu <sdl.web@gmail.com>
12134
12135 * replace.el (occur-revert-arguments): Make it permanent-local.
12136 (occur-mode): Don't call font-lock-defontify.
12137
f01da43f
CY
121382011-09-19 Chong Yidong <cyd@stupidchicken.com>
12139
12140 * net/ldap.el (ldap-search-internal): Don't push empty search
12141 result (Bug#9508).
12142
b6072fa6
SM
121432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12144
12145 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12146
443d6696
MA
121472011-09-19 Michael Albinus <michael.albinus@gmx.de>
12148
12149 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12150 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12151
7cc6e154
JL
121522011-09-18 Juri Linkov <juri@jurta.org>
12153
12154 * buff-menu.el (Buffer-menu-mode-map):
12155 * dired.el (dired-mode-map):
12156 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12157 (lisp-interaction-mode-map):
12158 * emacs-lisp/package.el (package-menu-mode-map):
12159 * epa.el (epa-key-list-mode-map):
12160 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12161 (menu-bar-options-menu):
12162 * outline.el (outline-mode-menu-bar-map):
12163 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12164 * vc/vc-dir.el (vc-dir-menu-map):
12165 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12166 Capitalize non-function content words in menu item strings.
12167
12168 * dired.el (dired-mode-map): Add menu item for
12169 `image-dired-dired-toggle-marked-thumbs'.
12170
80302a81
JL
121712011-09-18 Juri Linkov <juri@jurta.org>
12172
12173 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12174 to `isearch-case-fold-search' and restore its original value
12175 after the `isearch-mode' call.
12176
46c5cf66
JL
121772011-09-18 Juri Linkov <juri@jurta.org>
12178
12179 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12180 because `zgrep' returns 1 for successful matches (bug#9226).
12181
d18b513b
JL
121822011-09-18 Juri Linkov <juri@jurta.org>
12183
12184 * info.el (Info-extract-menu-node-name): Check the second match
12185 for empty string (second test-case of bug#9528).
12186 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12187 intermediate nodes to the history (first test-case of bug#9528).
12188
72753f87
JL
121892011-09-18 Juri Linkov <juri@jurta.org>
12190
12191 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12192 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12193
c9384295
JL
121942011-09-18 Juri Linkov <juri@jurta.org>
12195
1154d12e
JB
12196 * info.el (Info-file-supports-index-cookies):
12197 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12198 outputs one more line for long file names (bug#4142).
c9384295 12199
d473dce8
CY
122002011-09-18 Chong Yidong <cyd@stupidchicken.com>
12201
12202 * newcomment.el (comment-normalize-vars): If prompting for
12203 comment-start, set comment-start-skip too (Bug#8424).
12204
2176854d
JB
122052011-09-18 Johan Bockgård <bojohan@gnu.org>
12206
12207 * icomplete.el: Fix previous fix of Bug#5849.
12208 (icomplete-mode): Don't set completion-show-inline-help.
12209 (icomplete-minibuffer-setup): Set completion-show-inline-help
12210 locally during icompletion.
12211
3aace4e4
CY
122122011-09-18 Chong Yidong <cyd@stupidchicken.com>
12213
c940224f
CY
12214 * woman.el (woman2-process-escapes): Don't delete unrecognized
12215 escapes (Bug#7843).
12216
3aace4e4
CY
12217 * files.el (inhibit-first-line-modes-regexps): Add image files.
12218 (hack-local-variables-prop-line): Return nil for malformed
12219 prop-lines (Bug#9044).
12220
710dec63
MA
122212011-09-18 Michael Albinus <michael.albinus@gmx.de>
12222
12223 * net/tramp.el (top): Don't require 'shell.
12224 (tramp-methods): Fix docstring.
12225 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12226 Return complete remote file name. Handle "smb" case.
12227 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12228 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12229
12230 * net/tramp-compat.el (top): Require 'shell.
12231
12232 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12233 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12234 `tramp-current-host'.
12235 (tramp-get-remote-tmpdir): Remove.
12236
12237 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12238 `tramp-tmpdir' entries.
12239 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12240 (tramp-smb-handle-file-attributes): Ignore errors.
12241 (tramp-smb-wait-for-output): Check also for process end.
12242
5d5ac8ec
LMI
122432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12244
12245 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12246 when sending QUIT (bug#9312).
12247
8c0f49f0
CY
122482011-09-17 Chong Yidong <cyd@stupidchicken.com>
12249
12250 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12251 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12252 occur-mode-display-occurrence.
12253 (occur-edit-mode): Add usage message.
12254 (occur-cease-edit): New command.
12255 (occur-after-change-function): Use text properties to find the
12256 position of the prefix text.
12257 (occur-engine): Set stickiness of prefix text properties.
12258
8f1383f7
GM
122592011-09-17 Glenn Morris <rgm@gnu.org>
12260
12261 * progmodes/etags.el (complete-tag):
12262 Fix call to completion-in-region. (Bug#9526)
12263
744ba0e3
JL
122642011-09-17 Juri Linkov <juri@jurta.org>
12265
12266 * textmodes/ispell.el (ispell-word): Add to the error message
12267 the word, ispell program name and current dictionary (bug#9121).
12268 (ispell-tex-arg-end): Capitalize "error" in the error message.
12269
d9bbf400
AS
122702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12271
12272 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12273 check. (Bug#4251)
12274
8da11505
JL
122752011-09-17 Juri Linkov <juri@jurta.org>
12276
12277 * window.el (window-safe-min-height, window-safe-min-width):
12278 Fix typos (followup to bug#9522).
12279
a91adc7e
SJ
122802011-09-17 Sven Joachim <svenjoac@gmx.de>
12281
12282 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12283
064f328a
EZ
122842011-09-16 Eli Zaretskii <eliz@gnu.org>
12285
12286 * simple.el (line-move): If goal-column is set, move by logical
12287 lines, not by display lines. (Bug#971)
12288 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12289 to reflect the above change.
12290
e69df516
SM
122912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12292
12293 * image.el (imagemagick-register-types): Use regexp-opt.
12294
cbb0f9ab
CY
122952011-09-15 Chong Yidong <cyd@stupidchicken.com>
12296
12297 * window.el (display-buffer-base-action): Rename from
12298 display-buffer-default-action. Make default value empty.
12299 (display-buffer-overriding-action): Convert to defvar.
12300 (display-buffer-fallback-action): New var.
12301
25322144
CY
123022011-09-15 Chong Yidong <cyd@stupidchicken.com>
12303
12304 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12305 declaration.
12306 (package--add-to-archive-contents): If there is a duplicate entry
12307 with an older version, remove it.
12308 (package-menu-mark-delete, package-menu-mark-install)
12309 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12310 (package-menu-mark-obsolete-for-deletion):
12311 Use package-menu-get-status instead of a regexp search.
25322144
CY
12312 (package-menu-get-status): Use tabulated-list-entry.
12313 (package-menu-mark-upgrades): New command.
d770725a 12314 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12315 (package-menu-execute): Do installation before deletion.
12316 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12317 instead of checking major-mode.
12318 (package-menu--find-upgrades): New function.
12319
7520339c
LMI
123202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12321
12322 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12323 passwords in the log buffer.
65a046c4
LMI
12324 (smtpmail-process-filter): Update the process marker so that the
12325 "broken by peer" status message is inserted in the right place.
7520339c 12326
d3c30954
SM
123272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12328
3fe48822
SM
12329 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12330 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12331 bibtex-completion-at-point-function.
12332 (bibtex-completion-at-point-function): Use them.
12333
1b8b3954
SM
12334 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12335
d3c30954
SM
12336 * mpc.el (mpc-constraints-tag-lookup): New function.
12337 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12338 also to browser "album|playlist".
12339
72779976
JL
123402011-09-14 Juri Linkov <juri@jurta.org>
12341
12342 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12343 (isearch-edit-string): Use length of `isearch-string' when
12344 `isearch-fail-pos' returns nil.
12345 (isearch-message): Remove duplicate code and call
12346 `isearch-fail-pos' with arg `t'.
12347
a0bf2bcd
CY
123482011-09-14 Chong Yidong <cyd@stupidchicken.com>
12349
17bb0a2d
CY
12350 * replace.el (occur-mode-goto-occurrence): Don't force using other
12351 window (Bug#9499).
12352
a0bf2bcd
CY
12353 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12354
f678e0b6
MR
123552011-09-14 Martin Rudalics <rudalics@gmx.at>
12356
12357 * window.el (display-buffer-window): Remove.
12358 (display-buffer-record-window): Use help-setup window parameter
12359 instead of variable display-buffer-window.
12360 (display-buffer-function, special-display-buffer-names)
12361 (special-display-function): Mention help-setup parameter instead
12362 of display-buffer-window in doc-string.
d3c30954
SM
12363 * help.el (help-window-setup): New argument help-window.
12364 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12365 Reword some messages.
12366 (with-help-window): Pass window used for displaying the buffer
12367 to help-window-setup. Don't set display-buffer-window.
12368
8e39b2e8
GM
123692011-09-13 Glenn Morris <rgm@gnu.org>
12370
12371 * emacs-lisp/debug.el (debugger-make-xrefs):
12372 Preserve point. (Bug#9462)
12373
85e9c04b
CY
123742011-09-13 Chong Yidong <cyd@stupidchicken.com>
12375
12376 * window.el (window-deletable-p): Use next-frame.
12377
1b36ed6a
MR
123782011-09-13 Martin Rudalics <rudalics@gmx.at>
12379
12380 * window.el (window-auto-delete): Remove.
12381 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12382 dedication and previous buffers.
1b36ed6a
MR
12383 (switch-to-prev-buffer): Don't delete window.
12384 (delete-windows-on): Delete a window's frame if and only if the
12385 window is dedicated.
12386 (replace-buffer-in-windows): Delete buffer's window or frame if
12387 and only if window is dedicated.
12388 (quit-window): Handle quit-restore as before last change.
4d61f28d 12389 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12390
ef8ef9fb
CY
123912011-09-13 Chong Yidong <cyd@stupidchicken.com>
12392
12393 * window.el (window-deletable-p): Never delete the last frame on a
12394 given terminal.
12395
b2cba41e
GM
123962011-09-13 Glenn Morris <rgm@gnu.org>
12397
12398 * help.el (describe-key-briefly): Copy previous standard-output change.
12399
51553db6 124002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12401
12402 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12403
b7556719
GM
124042011-09-13 Glenn Morris <rgm@gnu.org>
12405
12406 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12407 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12408
64b51947
CY
124092011-09-12 Chong Yidong <cyd@stupidchicken.com>
12410
12411 * dired-aux.el (dired-mark-read-string): Don't return default
12412 value on empty input (Bug#9361).
12413 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12414 Omit initial minibuffer contents.
12415 (dired-do-chmod): Signal an error on empty input.
12416 (dired-mark-read-string): Don't return default on empty input.
12417
12418 * files.el (file-modes-symbolic-to-number): Doc fix.
12419
393a301e
SM
124202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * international/mule-cmds.el (ucs-completions): Remove.
12423 (read-char-by-name): Use complete-with-action instead; add metadata.
12424
fa5660f9
CY
124252011-09-11 Chong Yidong <cyd@stupidchicken.com>
12426
12427 * window.el (display-buffer--action-function-custom-type)
12428 (display-buffer--action-custom-type): New vars.
12429 (display-buffer-alist, display-buffer-default-action)
12430 (display-buffer-overriding-action): Add defcustom types.
12431
4a592f66
CY
12432 * frame.el (delete-other-frames): Doc fix (Bug#276).
12433
73d56dbd
LMI
124342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12435
12436 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12437
37ac18a3
CY
124382011-09-11 Chong Yidong <cyd@stupidchicken.com>
12439
12440 Change modes that used same-window-* vars to use switch-to-buffer.
12441
12442 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12443 Use switch-to-buffer.
12444
12445 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12446 (customize-browse, custom-buffer-create-other-window):
12447 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12448
12449 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12450 (Info-prev, Info-up, Info-speedbar-goto-node)
12451 (info-display-manual): Use switch-to-buffer.
12452 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12453
12454 * mail/sendmail.el (mail): Use switch-to-buffer.
12455 (mail-recover): Use switch-to-buffer-other-window.
12456
12457 * cmuscheme.el (run-scheme, switch-to-scheme):
12458 * ielm.el (ielm):
12459 * shell.el (shell):
12460 * net/rlogin.el (rlogin):
12461 * net/telnet.el (telnet, rsh):
12462 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12463
10195bd6
AS
124642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12465
12466 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12467
b322f63a
LMI
124682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12469
39d7fed6
LMI
12470 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12471 so don't mention it (bug#9301).
ba5a81f1 12472 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12473
ee0e9f11
LMI
12474 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12475 match `x', `w32' and `ns', like the manual says (bug#9029).
12476
0b1c89c1 12477 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12478 (process-kill-buffer-query-function): Mention the buffer name in
12479 the query.
0b1c89c1 12480
77549ea8
LMI
12481 * image-mode.el (image-next-line): The line parameter is mandatory
12482 (bug#9258).
12483
803ef892
LMI
12484 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12485 which can be useful (bug#9301).
12486
12980837
LMI
12487 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12488
91054f8f
LMI
12489 * subr.el (match-string): Mention that the current buffer should
12490 be the same as the search was done in (bug#9282).
12491
b322f63a
LMI
12492 * facemenu.el: Disable the remove-* commands if the mark isn't
12493 active (bug#9162).
12494
3199b96f
CY
124952011-09-10 Chong Yidong <cyd@stupidchicken.com>
12496
12497 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12498 of display-buffer.
12499 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12500
12501 * replace.el (occur-mode-goto-occurrence)
12502 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12503 and display-buffer.
12504
12505 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12506 display-buffer.
12507
12508 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12509 special-display and same-window variables.
12510 (mail-other-window): Use switch-to-buffer-other-window.
12511 (mail-other-frame): USe switch-to-buffer-other-frame.
12512
393a301e
SM
12513 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12514 Use display-buffer-other-frame.
3199b96f
CY
12515 (gdb-display-gdb-buffer): Use pop-to-buffer.
12516
12517 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12518
12519 * progmodes/python.el: Don't set same-window-buffer-names.
12520
12521 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12522
12523 * window.el (display-buffer-alist): Add *Python*.
12524
8319e0bf
CY
125252011-09-10 Chong Yidong <cyd@stupidchicken.com>
12526
12527 * window.el (display-buffer-alist): Add entry for buffers
12528 previously handled same-window-*.
12529 (display-buffer-alist, display-buffer-default-action)
12530 (display-buffer-overriding-action): Mark as risky.
12531 (display-buffer-alist): Document action function changes.
12532 (display-buffer--same-window-action)
12533 (display-buffer--other-frame-action): New variables.
12534 (switch-to-buffer, display-buffer-other-frame): Use them.
12535 (display-buffer): Rename reuse-frame entry to reusable-frames.
12536 (display-buffer-reuse-selected-window): Function deleted.
12537 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12538 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12539 (display-buffer-special): New function.
12540 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12541 display-buffer-reuse-or-pop-window. Split off special-display
12542 part into display-buffer-special.
12543 (display-buffer-use-some-window): Don't perform any special
12544 pop-up-frames handling.
12545 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12546 (display-buffer--maybe-same-window): Rename from
0d3ff375 12547 display-buffer-maybe-same-window.
8319e0bf 12548
919a69aa
CY
12549 * info.el: Don't set same-window-regexps.
12550 (info-setup): New function.
12551 (info-other-window, info): Call it.
12552
12553 * cus-edit.el: Don't set same-window-regexps.
12554 (customize-group): New argument.
12555 (customize-group-other-window): Use it.
12556 (customize-face, customize-face-other-window): Likewise.
12557 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12558
8319e0bf
CY
12559 * net/rlogin.el:
12560 * net/telnet.el:
12561 * progmodes/gud.el: Don't set same-window-regexps.
12562
12563 * cmuscheme.el:
12564 * ielm.el:
12565 * shell.el:
12566 * mail/sendmail.el:
12567 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12568
25173000
JL
125692011-09-10 Juri Linkov <juri@jurta.org>
12570
12571 * isearch.el (isearch-edit-string): Remove obsolete mention of
12572 `C-w' (`isearch-yank-word-or-char') from docstring.
12573 (isearch-query-replace): Fix typo in docstring (bug#9466).
12574
056e44ef
JL
125752011-09-10 Juri Linkov <juri@jurta.org>
12576
12577 * paren.el (show-paren-function): Don't show escaped parens.
12578 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12579
c3760c17
EZ
125802011-09-10 Eli Zaretskii <eliz@gnu.org>
12581
12582 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12583 (mm-default-file-encoding): Remove autoload forms, they are
12584 replaced with autoload cookies in mml.el and mm-encode.el.
12585 (mail-add-attachment): New command.
12586 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12587 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12588 the doc string.
12589 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12590
fece895e
RT
125912011-09-10 Reuben Thomas <rrt@sc3d.org>
12592
e69df516
SM
12593 * simple.el (count-words-region): Use buffer if there's no region
12594 (bug#9429).
fece895e 12595
5e68ce4a
JL
125962011-09-09 Juri Linkov <juri@jurta.org>
12597
12598 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12599 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12600 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12601
0a6b9622
AM
126022011-09-09 Alan Mackenzie <acm@muc.de>
12603
12604 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12605 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12606
14a29deb
EZ
126072011-09-09 Eli Zaretskii <eliz@gnu.org>
12608
12609 Fix for Savannah bug#9392.
12610 * simple.el (mail-encode-mml): New defvar.
12611
12612 * mail/rmail.el (mail-encode-mml): Add a defvar.
12613 (rmail-enable-mime-composing): Default to t.
12614 (rmail-forward): Use MIME method of forwarding only if both
12615 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12616 Set mail-encode-mml non-nil if the MIME method was used.
12617
12618 * mail/sendmail.el (mml-to-mime): Add autoload form.
12619 (mail-encode-mml): Add a defvar.
12620 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12621 to nil.
12622 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12623 message through mml-to-mime, and reset mail-encode-mml to nil.
12624
28c45130
GM
126252011-09-09 Glenn Morris <rgm@gnu.org>
12626
12627 * woman.el (woman-if-body): When processing an .el block,
12628 do not delete the next .el block as well. (Bug#9447)
69f4b618 12629 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12630
9b1c252e
MR
126312011-09-08 Martin Rudalics <rudalics@gmx.at>
12632
12633 * window.el (window-deletable-p): Make sure window is live before
12634 invoking window-prev-buffers.
12635
567457e3
LL
126362011-09-08 Leo Liu <sdl.web@gmail.com>
12637
12638 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12639
97f05794
JL
126402011-09-08 Juri Linkov <juri@jurta.org>
12641
12642 * progmodes/compile.el (compilation-environment): Make it
12643 a defcustom (bug#8340).
12644
8b0874b5
MR
126452011-09-08 Martin Rudalics <rudalics@gmx.at>
12646
12647 * window.el (frame-auto-delete): Rename to window-auto-delete.
12648 Make it control auto-deletion of windows and/or frames.
12649 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12650 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12651 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12652 Rewrite handling of case when window/frame can be deleted.
12653 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12654 argument t. (Bug#9456)
8b0874b5 12655
4feb6e73
CY
126562011-09-07 Chong Yidong <cyd@stupidchicken.com>
12657
12658 * help-mode.el (help-mode): Restore autoload.
12659
91ab9c13
JL
126602011-09-07 Juri Linkov <juri@jurta.org>
12661
12662 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12663 `compilation-environment'. Set buffer-local
12664 `compilation-environment' to `thisenv' later after (funcall mode).
12665 (Bug#8340)
12666
12667 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12668 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12669 instead of replacing its value. (Bug#8340)
12670
0527e251
JL
126712011-09-07 Juri Linkov <juri@jurta.org>
12672
12673 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12674 based on text properties put by `grep-filter' instead of matching
12675 escape sequences.
12676 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12677 to the value of `grep-error-screen-columns' (bug#9438).
12678
249f792c
JL
126792011-09-07 Juri Linkov <juri@jurta.org>
12680
12681 * simple.el (next-error-highlight, next-error-highlight-no-select):
12682 Doc fix (bug#9432).
12683
ff7271b9
OT
126842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12685
12686 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12687 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12688
183fc730
LL
126892011-09-07 Leo Liu <sdl.web@gmail.com>
12690
12691 * net/rcirc.el (rcirc-mode): Conditionally initialize
12692 rcirc-input-ring.
12693
77694924
SM
126942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * emacs-lisp/find-func.el (find-function-C-source): Only set
12697 find-function-C-source-directory after checking that we found a source
12698 file there (bug#9440).
12699
d809b8eb
AM
127002011-09-06 Alan Mackenzie <acm@muc.de>
12701
12702 * isearch.el (isearch-other-meta-char): Wherever a key list is
12703 unread, "unread" the prefix arg, too. This fixes bug #8901.
12704
453de99f
OG
127052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12706
12707 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12708
90439906
JL
127092011-09-05 Juri Linkov <juri@jurta.org>
12710
12711 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12712
f62bd846
JL
127132011-09-05 Juri Linkov <juri@jurta.org>
12714
12715 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12716 keeping point where processing of grep matches begins, and
12717 continue to delete remaining escape sequences from the same point.
12718 (grep-filter): Make leading zero optional in "0?1;31m" because
12719 git-grep emits "\033[1;31m" escape sequences unlike expected
12720 "\033[01;31m" as GNU Grep does (bug#9408).
12721 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12722
045820ec
JL
127232011-09-05 Juri Linkov <juri@jurta.org>
12724
12725 * subr.el (y-or-n-p): Capitalize "yes".
12726
f5e29b9b
MA
127272011-09-04 Michael Albinus <michael.albinus@gmx.de>
12728
12729 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12730 `tramp-cache-unload-hook' where appropriate.
12731 (tramp-methods): Rename `tramp-remote-sh' to
12732 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12733 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12734
12735 * net/tramp-sh.el (top): Don't require 'shell.
12736 (tramp-methods): Add `tramp-remote-shell' and
12737 `tramp-remote-shell-args' entries.
12738 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12739 (tramp-sh-handle-shell-command): Remove.
12740 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12741 Use `tramp-remote-shell'.
12742
2784c434
CY
127432011-09-03 Chong Yidong <cyd@stupidchicken.com>
12744
393a301e 12745 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12746 (sendmail-query-once): Save directly to send-mail-function.
12747 Update message-send-mail-function too.
12748
12749 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12750
464cdf56
CS
127512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12752
12753 * progmodes/python.el (python-mode-map): Use correct function to
12754 start python interpreter from menu-bar (as reported by Geert
12755 Kloosterman).
12756 (inferior-python-mode-map): Fix typo.
393a301e 12757 (python-shell-map): Remove.
464cdf56 12758
d37e5c87
DD
127592011-09-03 Deniz Dogan <deniz@dogan.se>
12760
12761 * net/rcirc.el (rcirc-print): Simplify code for
12762 rcirc-scroll-show-maximum-output. There is no need to walk
12763 through all windows to find the right one.
12764
f3ada0ee
CS
127652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12766
12767 * help.el (help-return-method): Doc fix.
12768
1f3c99ca
MR
127692011-09-03 Martin Rudalics <rudalics@gmx.at>
12770
12771 * window.el (window-deletable-p): Don't return a non-nil value
12772 when there's a buffer that was shown in the window before.
12773 (Bug#9419)
393a301e
SM
12774 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12775 Set window's previous buffers to nil.
1f3c99ca 12776
a3cf097f
EZ
127772011-09-03 Eli Zaretskii <eliz@gnu.org>
12778
12779 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12780 newline before and after the tag line, so it doesn't interfere
12781 with determining the paragraph direction of bidirectional text.
12782
3d03de90
LL
127832011-09-03 Leo Liu <sdl.web@gmail.com>
12784
12785 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12786
c3313451
CY
127872011-09-02 Chong Yidong <cyd@stupidchicken.com>
12788
393a301e 12789 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12790 (pop-to-buffer): Change interactive spec. Pass second argument
12791 directly to display-buffer.
12792 (display-buffer): Fix interactive spec. Use functionp to
12793 distinguish between a function and a list of functions.
12794
12795 * abbrev.el (edit-abbrevs):
12796 * arc-mode.el (archive-extract):
12797 * autoinsert.el (auto-insert):
12798 * bookmark.el (bookmark-bmenu-list):
12799 * files.el (find-file):
12800 * view.el (view-buffer):
12801 * progmodes/compile.el (compilation-goto-locus):
12802 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12803
89894cd8
CY
128042011-09-02 Chong Yidong <cyd@stupidchicken.com>
12805
12806 * window.el (display-buffer-alist): Doc fix.
12807 (display-buffer): Add docstring. Don't treat
12808 display-buffer-default specially.
12809 (display-buffer-reuse-selected-window)
12810 (display-buffer-same-window, display-buffer-maybe-same-window)
12811 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12812 (display-buffer-pop-up-window)
12813 (display-buffer-reuse-or-pop-window)
12814 (display-buffer-use-some-window): New functions.
12815 (display-buffer-default-action): Use them.
393a301e 12816 (display-buffer-default): Delete.
89894cd8
CY
12817 (pop-to-buffer-1): Fix choice of actions.
12818
ae0bc9fb
SM
128192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * minibuffer.el (completion--insert-strings): Don't get confused by
12822 completion entries that end with an LF char.
12823
e9d90883
EZ
128242011-09-01 Eli Zaretskii <eliz@gnu.org>
12825
12826 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12827
437014c8
CY
128282011-09-01 Chong Yidong <cyd@stupidchicken.com>
12829
12830 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12831 (display-buffer-same-window, display-buffer-other-window):
12832 New functions.
437014c8
CY
12833 (pop-to-buffer-1): New function. Use the above.
12834 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12835 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12836
12837 * view.el (view-buffer-other-window, view-buffer-other-frame):
12838 Just use pop-to-buffer.
12839
a5e063d5
TV
128402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12841
12842 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12843
793d32bb
WH
128442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12845
12846 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12847
d65e4c15
RS
128482011-08-31 Richard Stallman <rms@gnu.org>
12849
12850 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12851 of the separation of rmail-view-buffer from rmail-buffer.
12852 If you say no to "replace original", the decrypt is in the
12853 view buffer. If you say yes, the decrypt goes into the
12854 rmail buffer also.
12855
f818cd2a
MR
128562011-08-31 Martin Rudalics <rudalics@gmx.at>
12857
12858 * window.el (display-buffer-window): Rewrite doc-string.
12859 (display-buffer-record-window): New function.
12860 (display-buffer-macro-specifiers)
12861 (display-buffer-even-window-sizes, display-buffer-set-height)
12862 (display-buffer-set-width, display-buffer-in-window)
12863 (display-buffer-reuse-window, display-buffer-split-specifiers)
12864 (display-buffer-side-specifiers, display-buffer-split-window-1)
12865 (display-buffer-split-window, display-buffer-split-atom-window)
12866 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12867 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12868 (display-buffer-other-window-means-other-frame)
12869 (display-buffer-normalize-special)
12870 (display-buffer-normalize-default)
12871 (display-buffer-normalize-argument)
12872 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12873 (display-buffer-normalize-specifiers, display-buffer-frame)
12874 (display-buffer-same-window, display-buffer-same-frame)
12875 (display-buffer-other-window)
12876 (display-buffer-same-frame-other-window)
12877 (display-buffer-other-frame, pop-to-buffer-same-window)
12878 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12879 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12880 (switch-to-buffer-same-frame)
12881 (switch-to-buffer-other-window-same-frame)
12882 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12883 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12884 (display-buffer-alist-set): Remove.
12885 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12886 (special-display-regexps, special-display-function):
12887 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12888 parameter.
12889 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12890 (special-display-frame-alist, special-display-popup-frame)
12891 (same-window-buffer-names, same-window-regexps, same-window-p)
12892 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12893 (split-window-preferred-function, split-height-threshold)
12894 (split-width-threshold, window-splittable-p)
12895 (split-window-sensibly, window--try-to-split-window)
12896 (window--frame-usable-p, even-window-heights)
12897 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12898 (window--display-buffer-2, display-buffer-other-frame):
12899 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12900 (display-buffer-default, display-buffer-assq-regexp): New functions.
12901 (display-buffer-alist): Rewrite doc-string.
12902 (display-buffer-default-action)
12903 (display-buffer-overriding-action): New variables.
12904 (display-buffer, switch-to-buffer): Rewrite.
12905 (pop-to-buffer): Restore Emacs 23 behavior but use
12906 window-normalize-buffer-to-display.
12907 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12908 Restore Emacs 23 behavior but use
12909 window-normalize-buffer-to-switch-to.
12910 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12911 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12912 Rewrite using Emacs 23 options.
f818cd2a 12913
5bc3b51d
MA
129142011-08-31 Michael Albinus <michael.albinus@gmx.de>
12915
12916 * net/tramp.el (tramp-root-regexp): Remove.
12917 (tramp-completion-file-name-regexp-unified)
12918 (tramp-completion-file-name-regexp-separate)
12919 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12920 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12921 (tramp-drop-volume-letter): Simplify definition.
12922 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12923
b1a4f8e1
SM
129242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12925
12926 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12927 (bug#9356).
12928
5664fa7b
RT
129292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12930
b1a4f8e1 12931 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12932
9a45d6c3
JL
129332011-08-29 Juri Linkov <juri@jurta.org>
12934
12935 * isearch.el (isearch-done): Don't display message "Mark saved"
12936 when arg `edit' is non-nil to prevent its flicker in the echo area.
12937
fb87e0fb
CY
129382011-08-28 Chong Yidong <cyd@stupidchicken.com>
12939
12940 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12941 obsolete packages for deletion.
12942
09ac1c2a
CS
129432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12944
12945 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12946 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12947 view-mode from help-mode.
12948 (help-xref-override-view-map): Remove.
12949 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12950 view-mode is not used anymore.
12951
7a1ff57f
CY
129522011-08-28 Chong Yidong <cyd@stupidchicken.com>
12953
12954 * server.el (server-port): Doc fix.
12955
b9696605
CY
12956 * cus-theme.el (custom-theme-choose-mode): Inherit from
12957 special-mode (Bug#9124).
12958 (custom-theme-choose-mode-map): Add special-mode to parent.
12959
ef8cdf8c
AM
129602011-08-28 Alan Mackenzie <acm@muc.de>
12961
12962 * progmodes/cc-fonts.el
12963 (c-make-font-lock-BO-decl-search-function): New function.
12964 (c-basic-matchers-after - "Fontify the clauses after various
12965 keywords"): Extract the three keyword lists for the 3 erroneous
12966 constructs from the list of four, and use the new function above
12967 in place of an old one.
12968
27de4e20
DD
129692011-08-28 Deniz Dogan <deniz@dogan.se>
12970
12971 * net/rcirc.el (rcirc-insert-prev-input)
12972 (rcirc-insert-next-input): Remove unused argument.
12973
356a3681
SM
129742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12975
12976 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12977
3fc9b218
AM
129782011-08-27 Alan Mackenzie <acm@muc.de>
12979
12980 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12981 handle function pointer parameters properly.
12982
538a061c
MR
129832011-08-27 Martin Rudalics <rudalics@gmx.at>
12984
12985 * window.el (display-buffer-reuse-window): Fix case where
12986 selected window was reused with non-nil OTHER-WINDOW argument.
12987 (Bug#9381)
12988
35b1c40c
DD
129892011-08-27 Deniz Dogan <deniz@dogan.se>
12990
12991 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12992 oftc's NickServ messages.
12993
2f6a3e79
GM
129942011-08-27 Glenn Morris <rgm@gnu.org>
12995
12996 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12997
7254299e
CY
129982011-08-26 Chong Yidong <cyd@stupidchicken.com>
12999
13000 * emacs-lisp/package.el (package-install): Call package-initialize
13001 if called interactively.
13002
f8ccf167
LL
130032011-08-26 Leo Liu <sdl.web@gmail.com>
13004
13005 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13006
3e8cd5ce
JL
130072011-08-25 Juri Linkov <juri@jurta.org>
13008
13009 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13010 `search-whitespace-regexp' (bug#9364).
13011
93eb7113
JL
130122011-08-25 Juri Linkov <juri@jurta.org>
13013
13014 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13015 `regexp-search-ring' to their global values to protect from
13016 updating by `read-from-minibuffer' (bug#9185).
13017
f65d1611
JL
130182011-08-25 Juri Linkov <juri@jurta.org>
13019
13020 * textmodes/ispell.el (ispell-command-loop): Add newline
13021 at the end of the "Use option `i'..." line.
13022
f1cf7a31
JL
130232011-08-25 Juri Linkov <juri@jurta.org>
13024
13025 * battery.el (display-battery-mode): If `battery-status-function'
13026 or `battery-mode-line-format' is nil, display the message and set
13027 `display-battery-mode' to nil (bug#9363).
13028
0c95fcf7
EZ
130292011-08-25 Eli Zaretskii <eliz@gnu.org>
13030
13031 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13032 bidi-string-mark-left-to-right; they are unnecessary now.
13033
a2ebe600
DD
130342011-08-25 Deniz Dogan <deniz@dogan.se>
13035
13036 * net/quickurl.el: Documentation typo fixes.
13037
e4ed06f1
CY
130382011-08-25 Chong Yidong <cyd@stupidchicken.com>
13039
13040 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13041
e5f1c99e
GM
130422011-08-25 Glenn Morris <rgm@gnu.org>
13043
b2948976
GM
13044 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13045
e5f1c99e
GM
13046 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13047 (smtpmail-via-smtp): Handle nil response from smtp.
13048
f22f4808
JL
130492011-08-24 Juri Linkov <juri@jurta.org>
13050
13051 * proced.el (proced-marked): Inherit from `error' instead of
13052 `font-lock-warning-face'.
13053
13054 * ibuffer.el (ibuffer-marked-face): Change default face from
13055 `font-lock-warning-face' to `warning'.
13056 (ibuffer-deletion-face): Change default face from
13057 `font-lock-type-face' to `error'.
13058
13059 * battery.el (battery-update): Use the face `error' instead of
13060 `font-lock-warning-face' (bug#6117).
13061
6a93965e
JL
130622011-08-24 Juri Linkov <juri@jurta.org>
13063
13064 * faces.el (success): Change face color from "Green3" to
13065 "ForestGreen" on light background (bug#9353).
13066
1ed43b09
CY
130672011-08-24 Chong Yidong <cyd@stupidchicken.com>
13068
5664fa7b
RT
13069 * window.el (quit-window): Rename from quit-restore-window.
13070 Use same arglist as old quit-window.
1ed43b09
CY
13071 (frame-auto-delete): Doc fix.
13072
13073 * view.el (view-mode-exit): Use quit-window.
13074
11dcdbb2
JL
130752011-08-24 Juri Linkov <juri@jurta.org>
13076
13077 * isearch.el (isearch-ring-adjust1): Start visiting previous
13078 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13079 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13080 for empty search string (when the last search string is reused
13081 automatically) to adjust the isearch ring to the last element and
13082 prepare the correct index for further M-p commands (bug#9185).
13083
de62b4df
KH
130842011-08-24 Kenichi Handa <handa@m17n.org>
13085
13086 * international/ucs-normalize.el: If decomposition property of
13087 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13088 nil.
13089 (nfd, nfkd): Likewise.
13090
963b492b
SM
130912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13092
13093 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13094 from process filters aren't reliably transmitted to the surrounding
13095 accept-process-output.
13096 (mpc-proc-check): New function.
13097 (mpc-proc-sync): Use it (bug#8293)
13098
93b6b5e1
SM
130992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13100
13101 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13102 Add compatibility functions (bug#9313).
13103
bca633fb
EZ
131042011-08-23 Eli Zaretskii <eliz@gnu.org>
13105
b177498a
EZ
13106 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13107
6df6ae42 13108 * international/uni-bidi.el: Regenerate.
bca633fb 13109
0902a04e
KH
131102011-08-23 Kenichi Handa <handa@m17n.org>
13111
13112 * international/charprop.el:
13113 * international/uni-bidi.el:
13114 * international/uni-category.el:
13115 * international/uni-combining.el:
13116 * international/uni-comment.el:
13117 * international/uni-decimal.el:
13118 * international/uni-decomposition.el:
13119 * international/uni-digit.el:
13120 * international/uni-lowercase.el:
13121 * international/uni-mirrored.el:
13122 * international/uni-name.el:
13123 * international/uni-numeric.el:
13124 * international/uni-old-name.el:
13125 * international/uni-titlecase.el:
13126 * international/uni-uppercase.el: Regenerate.
13127
3bbf23bc
MR
131282011-08-23 Martin Rudalics <rudalics@gmx.at>
13129
13130 * help.el (help-window-setup): Fix message displayed when other
13131 window is reused. (Bug#9341)
13132
b3fd59bd
SM
131332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13134
1802e444
SM
13135 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13136 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13137
b3fd59bd
SM
13138 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13139 Mark obsolete.
13140 * shell.el (shell-parse-pcomplete-arguments): New function.
13141 (shell-completion-vars): Use it instead (bug#9160).
13142
4eb61348
SM
131432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13144
867cab74
SM
13145 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13146 strings and comments (bug#9333).
13147
4eb61348
SM
13148 * emacs-lisp/debug.el (debug-arglist): New function.
13149 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13150 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13151
262a1439
JL
131522011-08-22 Juri Linkov <juri@jurta.org>
13153
56ee679c
JL
13154 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13155 Revert regexp that highlights output switches to its old
13156 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13157
262a1439
JL
13158 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13159 to check for empty output (bug#9226).
13160
f13f86fb
CY
131612011-08-22 Chong Yidong <cyd@stupidchicken.com>
13162
13163 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13164 symbol-constituent as the default, as that stops font-lock from
13165 working properly (Bug#8843).
13166
c65c9622
LMI
131672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13168
13169 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13170 `coding-system-for-*' around the process open call to avoid
13171 auth-source side effects.
e7f2c178 13172 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13173 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13174 probe hangs.
c65c9622 13175
23a8a5ab
CY
131762011-08-21 Chong Yidong <cyd@stupidchicken.com>
13177
ff98b2dd
CY
13178 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13179
23a8a5ab
CY
13180 * emacs-lisp/find-func.el (find-function-noselect): New arg
13181 lisp-only.
13182
13183 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13184 signal an error for built-in functions (Bug#6664).
13185
f5e3c598
LMI
131862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13187
13188 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13189 (smtpmail-try-auth-methods): Use it.
13190
a3f2468a
CY
131912011-08-21 Chong Yidong <cyd@stupidchicken.com>
13192
2c34e8da
CY
13193 * font-lock.el (font-lock-fontify-region)
13194 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13195 (font-lock-default-unfontify-buffer)
13196 (font-lock-default-fontify-region)
13197 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13198
b3fd59bd
SM
13199 * progmodes/compile.el (compilation-error-properties):
13200 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13201 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13202 `ant' regexp.
ee31aabc 13203
a3f2468a
CY
13204 * net/browse-url.el (browse-url-firefox): Don't call
13205 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13206
8e999f70
GM
132072011-08-20 Glenn Morris <rgm@gnu.org>
13208
c21a496a
GM
13209 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13210
59ee0542
GM
13211 * tutorial.el (tutorial--default-keys): Update some default bindings.
13212
8e999f70
GM
13213 * files.el (hack-local-variables): Fully ignore case for "mode:".
13214
e3715033
AM
132152011-08-20 Alan Mackenzie <acm@muc.de>
13216
13217 Resolve invalid use of a regexp in regexp-opt.
13218
4d61f28d
JB
13219 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13220 detection for a java annotation.
e3715033 13221
4d61f28d 13222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13223 detection for a java annotation.
13224
4d61f28d
JB
13225 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13226 handling for java.
e3715033
AM
13227 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13228
04ed2e9c
CY
132292011-08-20 Chong Yidong <cyd@stupidchicken.com>
13230
13231 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13232 (Bug#9274).
13233
826cee64
AM
132342011-08-20 Alan Mackenzie <acm@muc.de>
13235
58179cce 13236 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13237 such a construct. Mainly for when jit-lock etc. starts a chunk
13238 here.
13239
58179cce 13240 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13241 variable.
58179cce 13242 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13243 c-make-font-lock-search-function.
13244 (c-make-font-lock-search-function): Use the above function.
13245 (c-make-font-lock-context-search-function): New function.
13246 (c-cpp-matchers): Enhance the preprocessor expression case with
13247 the above function
13248 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13249 which takes an expression.
13250
13251 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13252
13009bd8
MR
132532011-08-20 Martin Rudalics <rudalics@gmx.at>
13254
13255 * window.el (display-buffer-reuse-window)
13256 (display-buffer-pop-up-window): Don't reuse or split a side
13257 window.
13258
9234ff7f
GM
132592011-08-19 Glenn Morris <rgm@gnu.org>
13260
13261 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13262 Downcase "Mode:". (Bug#9331)
9234ff7f 13263
f635daa1
CY
132642011-08-18 Chong Yidong <cyd@stupidchicken.com>
13265
13266 * international/characters.el: Add L and R categories.
13267
13268 * subr.el (bidi-string-mark-left-to-right): Rename from
13269 string-mark-left-to-right. Use category search.
13270
13271 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13272
bc987f8b
JL
132732011-08-18 Juri Linkov <juri@jurta.org>
13274
13275 * faces.el (error, warning, success): New faces with definitions
13276 copied from old default values of `font-lock-warning-face',
13277 `compilation-warning', `compilation-info' (bug#6117).
13278
13279 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13280
13281 * progmodes/compile.el (compilation-error): Inherit from `error'.
13282 (compilation-warning): Inherit from `warning'.
13283 (compilation-info): Inherit from `success'.
13284
13285 * dired.el (dired-marked): Inherit from `warning'.
13286 (dired-flagged): Inherit from `error'.
13287
57173b96
LMI
132882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13289
3e79eb87
LMI
13290 * mail/smtpmail.el (auth-source): Require to avoid problems with
13291 binding variables (bug#9298). Also clean up some unused
13292 autoloads.
13293
b3fd59bd
SM
13294 * net/network-stream.el (network-stream-open-starttls):
13295 Support using starttls.el without using gnutls-cli.
57173b96 13296
02b404de
JL
132972011-08-17 Juri Linkov <juri@jurta.org>
13298
13299 * progmodes/grep.el (rgrep): Handle the case when
13300 `grep-find-command' is a cons cell (bug#9278).
13301
8c9177f2
MR
133022011-08-17 Martin Rudalics <rudalics@gmx.at>
13303
13304 * window.el (display-buffer-pop-up-frame): Run frame creation
13305 function with BUFFER current (as special-display-popup-frame
13306 does). Reported by Drew Adams.
13307
3644a0ab
DU
133082011-08-17 Daiki Ueno <ueno@unixuser.org>
13309
13310 * epa-mail.el: Simplify GnuPG group expansion using
13311 epg-expand-group.
13312 (epa-mail-group-alist, epa-mail-group-modtime)
13313 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13314 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13315 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13316 Remove.
13317
5e617bc2 133182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13319
13320 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13321
9c4aeabf
AM
133222011-08-16 Alan Mackenzie <acm@muc.de>
13323
13324 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13325 Correct, to avoid the inside of macros.
13326
3a99bf64
RS
133272011-08-16 Richard Stallman <rms@gnu.org>
13328
04963aa8
RS
13329 * epa-mail.el: Handle GnuPG group definitions.
13330 (epa-mail-group-alist, epa-mail-group-modtime)
13331 (epa-mail-gnupg-conf-file): New variables.
13332 (epa-mail-parse-groups, epa-mail-sync-groups)
13333 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13334 (epa-mail-expand-recipients): New functions.
13335 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13336
177549d0
RS
13337 * mail/rmail.el (rmail-epa-decrypt): New command.
13338
fe38beef
RS
13339 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13340 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13341 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13342 (epa-decrypt-armor-in-region): Make error message clearer.
13343
934eacb9
SM
133442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13345
13346 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13347 and "a2b" to "ab" for `prefix'.
13348
d024fb4e
CY
133492011-08-14 Chong Yidong <cyd@stupidchicken.com>
13350
13351 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13352 filter groups.
de148fee
CY
13353 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13354 Fourquet (Bug#8804).
d024fb4e 13355
62f1ca49
JB
133562011-08-12 Juanma Barranquero <lekktu@gmail.com>
13357
13358 * startup.el (argi): Declare as global variable (bug#9275).
13359
9ccaaa4b
CY
133602011-08-12 Chong Yidong <cyd@stupidchicken.com>
13361
13362 * subr.el (string-mark-left-to-right): Search the entire string
13363 for RTL script, not just the terminating character. Doc fix.
13364
a3dae87a
SM
133652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13366
6cd18349
SM
13367 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13368 New function.
13369 (js--regexp-literal, js-syntax-propertize-function): Remove.
13370 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13371 (js-mode-map): Don't rebind electric keys.
13372 (js-insert-and-indent): Remove.
13373 (js-mode): Setup electric-layout and electric-indent instead.
13374
a3dae87a
SM
13375 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13376
9d5cb631
DU
133772011-08-12 Daiki Ueno <ueno@unixuser.org>
13378
13379 * epa.el (epa-progress-callback-function): Fix the logic of
13380 displaying progress.
13381 * epa-file.el (epa-file-insert-file-contents): Make progress
13382 display more user-friendly.
13383 (epa-file-write-region): Ditto.
13384
3e26a4a2
CY
133852011-08-10 Chong Yidong <cyd@stupidchicken.com>
13386
13387 * subr.el (string-mark-left-to-right): New function.
13388
13389 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13390 Use string-mark-left-to-right.
13391 (list-buffers-noselect): Caller changed.
13392
a3dae87a
SM
13393 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13394 Use string-mark-left-to-right.
3e26a4a2
CY
13395 (tabulated-list-print): Recenter after moving point.
13396
ac8cf6e6
JL
133972011-08-10 Juri Linkov <juri@jurta.org>
13398
13399 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13400 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13401 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13402
8d96c9a4
CY
134032011-08-09 Chong Yidong <cyd@stupidchicken.com>
13404
13405 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13406 (Bug#7554).
13407
7be1c708 134082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13409
13410 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13411 character. (Bug#6594)
13412
37e11a63
CY
134132011-08-08 Chong Yidong <cyd@stupidchicken.com>
13414
839dde57
CY
13415 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13416 (image-dired--with-db-file): New macro.
13417 (image-dired-write-tags, image-dired-remove-tag)
13418 (image-dired-create-gallery-lists, image-dired-write-comments)
13419 (image-dired-get-comment, image-dired-mark-tagged-files)
13420 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13421 (image-dired-gallery-generate): Use insert-file-contents.
13422
37e11a63
CY
13423 * time.el (display-time-world-list, display-time-world-display):
13424 * time-stamp.el (time-stamp-string):
13425 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13426 set-time-zone-rule (Bug#7337).
13427
0b4946c4
DU
134282011-08-08 Daiki Ueno <ueno@unixuser.org>
13429
13430 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13431 (epg-error-to-string, epg-errors-to-string): New function.
13432 (epg-wait-for-completion): Reverse errors list.
13433 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13434 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13435 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13436 (epg-sign-keys, epg-generate-key-from-file)
13437 (epg-generate-key-from-string): Format errors by using
13438 epg-errors-to-string (bug#9255).
13439 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13440
75bfc667
JL
134412011-08-07 Juri Linkov <juri@jurta.org>
13442
13443 * faces.el (list-faces-display): Remove extra angle bracket
13444 from `help-mode-map'.
13445
13446 * info.el (Info-history-toc-nodes): Doc fix.
13447
13448 * longlines.el (longlines-mode): Doc fix.
13449
673e08bb
SM
134502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13451
4640dd88
SM
13452 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13453 of statements and in a few more cases (bug#9183).
13454
673e08bb
SM
13455 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13456 New functions.
13457 (cl-transform-lambda): Use them (bug#9239).
13458
89b3f019
MR
134592011-08-05 Martin Rudalics <rudalics@gmx.at>
13460
13461 * window.el (display-buffer-same-window)
13462 (display-buffer-same-frame, display-buffer-other-window)
13463 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13464 (pop-to-buffer-other-window)
13465 (pop-to-buffer-same-frame-other-window)
13466 (pop-to-buffer-other-frame): Make them defuns.
13467 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13468
640c8776
SM
134692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13470
13471 * subr.el (make-composed-keymap): Move from C. Change calling
13472 convention, and improve docstring to bring attention to a subtle point.
13473 * minibuffer.el (completing-read-default): Adjust accordingly.
13474
63648a95
MA
134752011-08-03 Michael Albinus <michael.albinus@gmx.de>
13476
13477 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13478 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13479
13480 * net/trampver.el: Update release number.
13481
b796c9b7
SM
134822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13483
13484 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13485 "in" (bug#9190).
13486
2239d7d5
LMI
134872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13488
e07dd7c3
LMI
13489 * mail/sendmail.el (sendmail-query-once): Restore the current
13490 buffer after querying (bug#9074).
13491
0e6a2bd7
LMI
13492 * dired.el (dired-flagged): Use different faces for marked and
13493 flagged files (bug#6117).
13494
ce887515
LMI
13495 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13496 (bug#4433).
13497
92f2affc
LMI
13498 * ido.el (ido-mode): Switch off the message if called
13499 non-interactively.
13500
57d5aff0
LMI
13501 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13502 before 587, since it appears that that's more likely to work for
13503 more people.
13504
98cd6c18 13505 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13506 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13507 exist.
13508
b96dec83
LMI
13509 * info.el: Remove the `Info-beginning-of-buffer' function
13510 (bug#8325).
13511
b796c9b7
SM
13512 * net/network-stream.el (network-stream-open-starttls):
13513 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13514
d90e2ea0
MR
135152011-08-01 Martin Rudalics <rudalics@gmx.at>
13516
13517 * window.el (display-buffer-in-window): Don't set dedicated status
13518 of window here (Bug#9215).
13519 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13520 (display-buffer-pop-up-side-window)
b796c9b7 13521 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13522
cca09170
SM
135232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13526 before binding generated-autoload-file.
13527
027b979c
DD
135282011-08-01 Deniz Dogan <deniz@dogan.se>
13529
13530 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13531
3c7ee4f3
MA
135322011-07-30 Michael Albinus <michael.albinus@gmx.de>
13533
13534 Sync with Tramp 2.2.2.
13535
13536 * net/trampver.el: Update release number.
13537
2cc8e51a
JL
135382011-07-30 Juri Linkov <juri@jurta.org>
13539
13540 * dired-aux.el (dired-touch-initial): Remove function.
13541 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13542 current time, and `default' to the last modification time of the
13543 current marked file (bug#6887).
13544
a514d856
JM
135452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13546
13547 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13548 numeric argument to read-number (bug#9163).
a514d856 13549
8a7eddd7
MA
135502011-07-27 Michael Albinus <michael.albinus@gmx.de>
13551
13552 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13553 connection process, it could be nil.
13554
1ddd96f5
LL
135552011-07-27 Leo Liu <sdl.web@gmail.com>
13556
13557 Simplify url handling in rcirc-mode.
13558
13559 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13560 (rcirc-browse-url-at-mouse): Remove.
13561 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13562
b248a85d
AM
135632011-07-26 Alan Mackenzie <acm@muc.de>
13564
13565 Fontify bitfield declarations properly.
13566
13567 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13568 (c-symbol-chars): Now exported as a lang variable.
13569 (c-not-primitive-type-keywords): New lang variable.
13570
13571 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13572 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13573 parsed as a bitfield declaration.
b248a85d 13574
b796c9b7
SM
13575 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13576 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13577 (c-punctuation-in): New function.
13578 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13579 declarations properly.
13580
68575ab0
UJ
135812011-07-26 Ulf Jasper <ulf.jasper@web.de>
13582
13583 * calendar/icalendar.el (icalendar--all-events): Take care of
13584 multiple vcalendars in a single file.
b796c9b7 13585 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13586
0f0a88b9
DD
135872011-07-25 Deniz Dogan <deniz@dogan.se>
13588
13589 * image.el (insert-image): Clarifying docstring.
13590
0b3f36df
MA
135912011-07-24 Michael Albinus <michael.albinus@gmx.de>
13592
13593 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13594 `tramp-send-command-and-check' if there is no error.
13595 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13596
a9901f61
AM
135972011-07-22 Alan Mackenzie <acm@muc.de>
13598
13599 Prevent cc-langs.elc being loaded at run time.
13600
13601 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13602 cc-langs.
13603
4d61f28d 13604 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13605 "(require 'cc-langs)". Quote a form so it will evaluate at
13606 (cc-mode's) compilation time.
13607
11d074b2
MA
136082011-07-22 Michael Albinus <michael.albinus@gmx.de>
13609
13610 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13611 loading. (Bug#9114)
13612
938b94c8
MR
136132011-07-21 Martin Rudalics <rudalics@gmx.at>
13614
13615 * window.el (display-buffer-pop-up-window)
13616 (display-buffer-pop-up-side-window)
13617 (display-buffer-in-side-window): Call display-buffer-set-height
13618 and display-buffer-set-width after setting the new window's
b796c9b7 13619 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13620
bfa4f190
SS
136212011-07-20 Sam Steingold <sds@gnu.org>
13622
13623 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13624 (etags-tags-included-tables): Call `convert-standard-filename' on
13625 the file names contained in TAGS so that windows Emacs can handle
13626 TAGS files created by cygwin ctags.
13627
8ca42262
LMI
136282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13629
13630 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13631 which apparently didn't work.
13632
5db2afd2 136332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13634
5db2afd2
RW
13635 * proced.el (proced-send-signal): For *Marked Processes* buffer
13636 put point at beginning of buffer.
13637
92e15d10
SB
136382011-07-19 Stephen Berman <stephen.berman@gmx.net>
13639
13640 * proced.el (proced-format): Make header lines align with the text
13641 (bug#1779).
13642
1bfd59e5
LMI
136432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13644
13645 * view.el (view-buffer): Allow running in `special' modes if we're
13646 visiting a file (bug#8615).
13647
f5aae37c
MR
136482011-07-19 Martin Rudalics <rudalics@gmx.at>
13649
13650 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13651 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13652 New functions.
f5aae37c
MR
13653 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13654 more accurately.
13655
bf2c1571
AM
136562011-07-18 Alan Mackenzie <acm@muc.de>
13657
13658 Fontify declarators properly when, e.g., a jit-lock chunk begins
13659 inside a declaration.
13660
13661 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13662
b796c9b7
SM
13663 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13664 New function.
bf2c1571
AM
13665 (c-complex-decl-matchers): Insert reference to
13666 c-font-lock-enclosing-decls.
13667
13668 * progmodes/cc-engine.el (c-backward-single-comment):
13669 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13670 to nil around calls to (forward-comment -1).
13671
4e190b80
LMI
136722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13673
12dc863d
LMI
13674 * image.el (put-image): Doc typo fix.
13675
a762e966
LMI
13676 * progmodes/etags.el (tags-search): Doc typo fix.
13677
4e190b80
LMI
13678 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13679 password if we get errors 550 to 554.
13680
f019fb21
LMI
136812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13682
b796c9b7 13683 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13684
81746738
LMI
13685 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13686 indentation character (bug#6380).
13687
3ee3a1b5
LMI
13688 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13689
c82f64de
LMI
13690 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13691 to clarify what the problem is (bug#4291).
13692
f019fb21
LMI
13693 * simple.el (current-kill): Clarify what
13694 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13695 (auto-fill-mode): Document `auto-fill-function' in relation to
13696 `auto-fill-mode' (bug#2470).
f019fb21 13697
0794775d
LM
136982011-07-16 Lawrence Mitchell <wence@gmx.li>
13699
13700 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13701 method if slot is read-only (bug#9035).
13702
be39b8cc
MR
137032011-07-16 Martin Rudalics <rudalics@gmx.at>
13704
b796c9b7 13705 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13706 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13707 selected before, see discussion of (Bug#8615), (Bug#6954).
13708 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13709
6ccf7859
GM
137102011-07-15 Glenn Morris <rgm@gnu.org>
13711
13712 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13713 Respect help-form.
6ccf7859 13714
87e86684
LM
137152011-07-09 Lawrence Mitchell <wence@gmx.li>
13716
13717 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13718 (gnutls-negotiate): Use it.
13719
d6066239
LMI
137202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13721
b796c9b7
SM
13722 * net/gnutls.el (gnutls-negotiate):
13723 Upcase `gnutls-algorithm-priority'.
d6066239 13724
bd23ebc0
GM
137252011-07-15 Glenn Morris <rgm@gnu.org>
13726
c65bca65
GM
13727 * jka-compr.el (jka-compr-verbose): Move from here...
13728 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13729 Add missing :version tag.
13730 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13731
478615cc
LMI
137322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13733
7b41decb
LMI
13734 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13735 (gnutls-negotiate): Use it.
13736
dbc44fcd
LMI
13737 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13738
06789f97
LMI
13739 * info.el (Info-beginning-of-buffer): New command.
13740 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13741 announcing `b' as the key (bug#8325).
ab896c37 13742 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13743
c39da690
LMI
13744 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13745
3aa5f34b
LMI
13746 * international/mule-cmds.el
13747 (describe-specified-language-support): Make the error message
13748 clearer (bug#8905).
13749
4bf0979f
LMI
13750 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13751
478615cc
LMI
13752 * isearch.el (isearch-barrier): Add a doc string, since it's
13753 mentioned in a function doc string (bug#8678).
13754
75c68aa1
MR
137552011-07-15 Martin Rudalics <rudalics@gmx.at>
13756
13757 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13758 buffer argument (Bug#9083) and self-identifying label argument.
13759
a7c33da2
GM
137602011-07-15 Glenn Morris <rgm@gnu.org>
13761
13762 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13763
2f5c6024
LMI
137642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13765
13766 * man.el (Man-fontify-manpage): Fix message when formatting the
13767 man page (bug#7929).
13768
0bb23927 137692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13770
13771 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13772 argument LRM; if non-nil, append an invisible LRM character to the
13773 buffer name.
13774 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13775 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13776 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13777 paragraph direction.
cce4b0a7 13778
621ef9ab
LMI
137792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13780
d1583c48
LMI
13781 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13782 the man page name (bug#7929).
13783
6a57fb5f
LMI
13784 * image.el (put-image): Mention the `put-image' overlay property
13785 (bug#7834).
13786
d7956b14
LMI
13787 * scroll-bar.el (set-scroll-bar-mode): Mention that
13788 `scroll-bar-mode' lists the values (bug#7772).
13789
5b2d4a66
LMI
13790 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13791 command (bug#7729).
13792
7509a874
LMI
13793 * rect.el (apply-on-rectangle): Return the point after the last
13794 operation.
13795 (string-rectangle): Go to the point after the last operation
13796 (bug#7522).
13797
4fe74b19
LMI
13798 * printing.el (pr-toggle-region): Clarify the documentation
13799 slightly (bug#7493).
13800
b796c9b7
SM
13801 * time.el (display-time-update):
13802 Allow `display-time-mail-function' to return nil (bug#7158).
13803 Fix suggested by Detlev Zundel.
ab283561 13804
fc233c9d
LMI
13805 * vc/diff.el (diff): Clarify the order the file names are read
13806 (bug#7111).
13807
43f5740b
LMI
13808 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13809 the doc string (bug#7015).
13810
f2182a76
LMI
13811 * font-lock.el (font-lock-maximum-decoration): Mention what
13812 numeric levels mean (bug#6935).
13813
621ef9ab
LMI
13814 * startup.el (initial-buffer-choice): Don't mention the `none'
13815 selection, which is against policy.
13816
adc47434
MR
138172011-07-14 Martin Rudalics <rudalics@gmx.at>
13818
b796c9b7
SM
13819 * window.el (display-buffer-normalize-special):
13820 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13821
7e5bfb8f
EZ
138222011-07-14 Eli Zaretskii <eliz@gnu.org>
13823
13824 * subr.el (version<, version<=, version=): Mention "-CVS" and
13825 "-12345" alpha version numbers.
13826
27fa387a
CY
138272011-07-14 Chong Yidong <cyd@stupidchicken.com>
13828
13829 * bindings.el: Add advertised binding for set-mark-command
13830 (Bug#5772).
13831
8bdfa064
CY
138322011-07-14 Chong Yidong <cyd@stupidchicken.com>
13833
13834 * bindings.el (mode-line-other-buffer):
13835 * bookmark.el (bookmark-bmenu-2-window):
13836 * bs.el (bs-cycle-next, bs-cycle-previous):
13837 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13838 switch-to-buffer.
13839
13840 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13841 Delete.
8bdfa064 13842
5eba16a3
JB
138432011-07-14 Juanma Barranquero <lekktu@gmail.com>
13844
13845 * follow.el (follow-debug-message, follow-redisplay):
13846 * jka-cmpr-hook.el (with-auto-compression-mode):
13847 Fix typos in docstrings.
13848
15853710
LMI
138492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13850
a28e4607
LMI
13851 * subr.el (with-silent-modifications): Clarify somewhat what the
13852 macro inhibits (bug#6525).
13853
15853710
LMI
13854 * simple.el (eval-expression): Note what it does if called
13855 interactively (bug#6495).
13856
bee0fcef
CY
138572011-07-13 Chong Yidong <cyd@stupidchicken.com>
13858
b796c9b7
SM
13859 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13860 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13861
13862 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13863 Remove switch-to-buffer.
13864
58274504
LMI
138652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13866
bd2fcc8d
LMI
13867 * files.el (make-directory): Clarify that an error will be raised
13868 if there's an error (bug#6397).
13869
0f04b32c
LMI
13870 * startup.el (initial-buffer-choice): Add `none' as a choice
13871 (bug#6234).
13872
465c5fc8
LMI
13873 * subr.el (add-hook): Clarify section about buffer-local hooks
13874 (bug#6218).
13875
58274504
LMI
13876 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13877
bead9a43
JB
138782011-07-13 Juanma Barranquero <lekktu@gmail.com>
13879
13880 * tabify.el (untabify): Preserve the current column so that point
13881 doesn't move (bug#6032).
13882
3af98a7b
LMI
138832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13884
b796c9b7
SM
13885 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13886 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13887
6240145a
GM
138882011-07-13 Glenn Morris <rgm@gnu.org>
13889
13890 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13891 (dired-insert-directory): Give a message the first time
13892 if ls is found not to support --dired.
13893
1d8c2ccc
LMI
138942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13895
13896 * simple.el (toggle-truncate-lines): Clarify what is toggled
13897 (bug#5580). Text by Drew Adams.
13898
5fc4038e
CY
138992011-07-13 Chong Yidong <cyd@stupidchicken.com>
13900
13901 * simple.el (blink-matching-open): Make the error message from the
13902 last change less verbose.
13903
bf6012e5
DN
139042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13905
13906 * font-lock.el (font-lock-comment-face): Use the high contrast
13907 "yellow" color for font-lock-comment-face on low color terminals
13908 using a dark background color (bug#4221).
13909
343c3b5a
LMI
139102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13911
7e9505c5
LMI
13912 * dired.el (dired-insert-set-properties): Make the doc string
13913 reflect what it does now (bug#5325).
13914
c26fdcf5
LMI
13915 * simple.el (blink-matching-open): Say that we were unable to find
13916 the match within the limit, if we're limited (bug#5122).
13917
bb388cc5
LMI
13918 * international/mule-cmds.el (prefer-coding-system): Add an
13919 example (bug#4869).
13920
343c3b5a
LMI
13921 * progmodes/etags.el (tags-search): Document `file-list-form'
13922 (bug#4731).
13923
2a517d45
LM
139242011-07-13 Lawrence Mitchell <wence@gmx.li>
13925
13926 * net/browse-url.el (browse-url-default-browser)
13927 (browse-url-browser-function): Make the default browser choice a
13928 bit more logical (bug#4300). Also clean up the doc string.
13929
b6c78ef2
JB
139302011-07-13 Juanma Barranquero <lekktu@gmail.com>
13931
13932 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13933 binary endings (bug#4440).
13934
1c4dd947
LMI
139352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13936
a2014063
LMI
13937 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13938 which can be pretty annoying (bug#8971).
13939
9c9c2d88
LMI
13940 * jka-compr.el (jka-compr-verbose): New variable, and use
13941 throughout (bug#8971).
13942
1c4dd947
LMI
13943 * info.el (Info-find-file): Fall back on the installation
13944 directory if we can't find the info node anywhere else.
13945
a1c9f41b
SO
139462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13947
13948 * vc/vc.el (vc-revert-file):
13949 Don't set file time-stamp in the past. (Bug#5181)
13950
536f3d36
LMI
139512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13952
7152b011
LMI
13953 * files.el (after-find-file): Give a better error message when
13954 trying to find a symlink that points to a file that doesn't exist
13955 (bug#4398).
13956
536f3d36
LMI
13957 * progmodes/cc-vars.el: Remove (probably) misleading comment
13958 (bug#4396).
13959
460c0fba
JB
139602011-07-12 Johan Bockgård <bojohan@gnu.org>
13961
13962 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13963
7a6bda45
CY
139642011-07-12 Chong Yidong <cyd@stupidchicken.com>
13965
13966 * mouse-sel.el: Hack restoring functionality, while keeping
13967 compatibility with 2010-07-03 changes to mouse selection.
13968 (mouse-sel-primary-overlay): New var.
13969 (mouse-sel-selection-alist): Use it.
13970 (mouse-sel-mode): Doc fix; remove points that are default features
13971 of mouse.el.
13972
c79598ef
JB
139732011-07-12 Johan Bockgård <bojohan@gnu.org>
13974
13975 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13976 Fix previous fix (bug#2490).
13977
ff8be6ef
RW
139782011-07-12 Roland Winkler <winkler@gnu.org>
13979
b796c9b7
SM
13980 * textmodes/bibtex.el (bibtex-initialize):
13981 Use pop-to-buffer-same-window.
ff8be6ef
RW
13982 (bibtex-search-entries): Fix interactive call.
13983
296ba3ee
LMI
139842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13985
f5242a02 13986 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13987 Fontise bytecomp Error lines more correctly (bug#2490).
13988 Fix suggested by Johan Bockgård.
f5242a02 13989
296ba3ee
LMI
13990 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13991
13992 * dired-x.el (dired-guess-default): Use `delete-dups'.
13993
f69fd0d2
CY
139942011-07-12 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * dired.el (dired-mark-prompt):
13997 * dired-aux.el (dired-read-shell-command): Doc fix.
13998
eab5dc07
LMI
139992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14000
b796c9b7
SM
14001 * mail/sendmail.el (sendmail-query-once):
14002 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14003 emacs -Q.
14004
14005 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14006
eab5dc07
LMI
14007 * cus-edit.el (custom-file): Take an optional no-error variable.
14008 (customize-save-variable): Set the variable, and give a warning if
14009 running under "emacs -q".
14010
a1e65d42
JB
140112011-07-11 Juanma Barranquero <lekktu@gmail.com>
14012
14013 * loadhist.el (unload-feature-special-hooks):
14014 Add `auto-coding-functions', `fill-nobreak-predicate' and
14015 `find-directory-functions' (bug#5327).
14016
1d52da10
LMI
140172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14018
be958f1d
LMI
14019 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14020
5bedb26c
LMI
14021 * cus-edit.el (custom-guess-name-alist): -alist variables should
14022 use the `alist' type (bug#3120). Suggested by Drew Adams.
14023
1d52da10
LMI
14024 * printing.el: Add documentation to all the `pr-toggle-' commands.
14025
cd394be1 140262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14027
14028 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14029 backends where it makes sense (bug#2623).
14030
dcc88d8a
LMI
140312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14032
c3de9feb
LMI
14033 * dired-x.el (dired-guess-default): Remove duplicate shell command
14034 entries (bug#2028).
8a93078b 14035 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14036 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14037
dcc88d8a
LMI
14038 * subr.el (remove-duplicates): New conveniency function.
14039
505e3645
LMI
140402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14041
14042 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14043 (bug#1526).
14044
140452011-07-10 Martin Rudalics <rudalics@gmx.at>
14046
14047 * window.el (display-buffer-normalize-default): Don't invert
14048 meaning of even-window-heights. Reported by Eli Zaretskii
14049 <eliz@gnu.org>.
14050
455e4fa1
BR
140512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14052
14053 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14054
8e0bc3e9
CY
140552011-07-10 Chong Yidong <cyd@stupidchicken.com>
14056
14057 * window.el (display-buffer): Fix arguments to
14058 display-buffer-reuse-window in last change.
14059
fa7c3228
CY
14060 * faces.el (link): Use a less saturated blue on light backgrounds.
14061
14062 * startup.el (fancy-startup-text, fancy-about-text)
14063 (fancy-startup-tail): Use font-lock faces, for background safety.
14064
c0a7f300
BN
140652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14066
b796c9b7
SM
14067 * emulation/viper-cmd.el (viper-change-state-to-vi):
14068 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14069
4dc2a129
MR
140702011-07-09 Martin Rudalics <rudalics@gmx.at>
14071
14072 * window.el (display-buffer-default-specifiers): Remove.
14073 (display-buffer-macro-specifiers): Remove default specifiers.
14074 (display-buffer-alist): Default to nil.
b796c9b7 14075 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14076 (display-buffer-pop-up-window): Allow splitting internal
14077 windows. Check whether a live window was created.
14078 (display-buffer-other-window-means-other-frame)
14079 (display-buffer-normalize-arguments): Rename to
14080 display-buffer-normalize-argument and rewrite. Set the
14081 other-window specifier.
14082 (display-buffer-normalize-special): New function.
14083 (display-buffer-normalize-options): Rename to
14084 display-buffer-normalize-default and rewrite.
14085 (display-buffer-normalize-options-inhibit): Remove.
14086 (display-buffer-normalize-specifiers): Rewrite.
14087 (display-buffer): Process other-window specifier and call
14088 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14089 more faithfully.
b796c9b7 14090 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14091 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14092 (display-buffer-in-window, display-buffer-alist-set):
14093 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14094 <tassilo@member.fsf.org>.
14095
2d43b8c9
LL
140962011-07-09 Leo Liu <sdl.web@gmail.com>
14097
14098 * register.el (insert-register): Restore accidental change on
14099 2011-06-26. (Bug#9028)
14100
7f9b7c53
GM
141012011-07-09 Glenn Morris <rgm@gnu.org>
14102
14103 * subr.el (remq): Handle the empty list. (Bug#9024)
14104
f042cfd8
AS
141052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14106
14107 * mail/sendmail.el (send-mail-function): No longer delay custom
14108 initialization.
14109 * custom.el (custom-initialize-delay): Doc fix.
14110
856b2f11
SM
141112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14112
14113 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14114
afae1d68
MA
141152011-07-08 Michael Albinus <michael.albinus@gmx.de>
14116
14117 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14118 human-friendly prompt.
14119
0757af94
SM
141202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14121
14122 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14123 provided by a particular plugin.
14124
d760b731
LMI
141252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14126
14127 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14128 save customizations (with "emacs -Q"), just set the variable
14129 instead of erroring out.
14130
14131 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14132
cd79ce90
JL
141332011-07-08 Juri Linkov <juri@jurta.org>
14134
14135 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14136 (archive-zip-update-case): Use 7z if found by `executable-find'.
14137 The order of searching the available programs is the same as in
14138 `archive-zip-extract' (bug#8968).
14139
14cc04aa
CY
141402011-07-07 Chong Yidong <cyd@stupidchicken.com>
14141
14142 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14143 (menu-bar-options-menu): Tweak descriptions.
14144
0a1848ec
LMI
141452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14146
14147 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14148 menu items into verb phrases (bug#1421). Also refill to fit under
14149 80 columns.
14150
f5bd0689
CY
141512011-07-07 Chong Yidong <cyd@stupidchicken.com>
14152
538e85c6
CY
14153 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14154 (Info-read-node-name): Doc fix (Bug#1084).
14155
f5bd0689
CY
14156 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14157 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14158 (end-of-sexp, beginning-of-sexp)
14159 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14160 (forward-symbol, forward-same-syntax, word-at-point)
14161 (sentence-at-point): Doc fix (Bug#1144).
14162
56ec5115
LMI
141632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14164
f3f8e37f
LMI
14165 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14166 should cover it (bug#1281).
14167
0757af94 14168 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14169
e9fce1ac 14170 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14171 negotiation fails, then possibly try again with a non-encrypted
14172 connection (bug#9017).
14173
56ec5115
LMI
14174 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14175 be used.
14176
c2f9aec8
RS
141772011-07-07 Richard Stallman <rms@gnu.org>
14178
14179 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14180 property, and handle its changed format.
14181 Look for the correct line number.
14182 Use file's line contents (but not past first =) to find
14183 correct line in message.
14184
ef7b981d 141852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14186
14187 * international/characters.el (build-unicode-category-table):
14188 Delete it.
0757af94 14189 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14190
0757af94 14191 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14192 to src/chartab.c.
14193 (get-char-code-property): Call unicode-property-table-internal to
14194 load a file. Call get-unicode-property-internal where necessary.
14195 (put-char-code-property): Call unicode-property-table-internal to
14196 load a file. Call put-unicode-property-internal where necessary.
14197 put-unicode-property-internal where necessary.
0757af94
SM
14198 (char-code-property-description):
14199 Call unicode-property-table-internal to load a file.
c805dec0
KH
14200
14201 * international/charprop.el:
14202 * international/uni-bidi.el:
14203 * international/uni-category.el:
14204 * international/uni-combining.el:
14205 * international/uni-comment.el:
14206 * international/uni-decimal.el:
14207 * international/uni-decomposition.el:
14208 * international/uni-digit.el:
14209 * international/uni-lowercase.el:
14210 * international/uni-mirrored.el:
14211 * international/uni-name.el:
14212 * international/uni-numeric.el:
14213 * international/uni-old-name.el:
14214 * international/uni-titlecase.el:
14215 * international/uni-uppercase.el: Regenerate.
14216
14217 * loadup.el: Load international/charprop.el before
14218 international/characters.
14219
e14b388a
CY
142202011-07-07 Chong Yidong <cyd@stupidchicken.com>
14221
14222 * window.el (next-buffer, previous-buffer): Signal an error if
14223 called from a minibuffer window.
14224
14225 * bindings.el: Revert 2011-07-04 change.
14226
354cf0ba
RS
142272011-07-06 Richard Stallman <rms@gnu.org>
14228
14229 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14230 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14231 Treat markers like ints.
14232 (rmail-mime-entity): Doc fix.
14233
a48868a7
LMI
142342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14235
4906cd3d
LMI
14236 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14237 defcustom again for backwards compatibility.
14238
e0457abe
LMI
14239 * simple.el (shell-command-on-region): Fill.
14240
d67f7e1f
LMI
14241 * dired-aux.el (dired-kill-line): Add a doc string.
14242
fe204702
LMI
14243 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14244 to "\\sw\\|\\s_" (bug#358).
14245
a48868a7
LMI
14246 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14247 (dired-unmark-backward): Ditto.
14248 (dired-flag-backup-files): Ditto.
14249
14250 * dired-x.el (dired-mark-sexp): Ditto.
14251
aa8a705c
RS
142522011-07-06 Richard Stallman <rms@gnu.org>
14253
14254 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14255 (rmail-mime-entity): New arg TRUNCATED.
14256 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14257 New functions.
14258 (rmail-mime-save): Warn if entity is truncated.
14259 (rmail-mime-toggle-hidden): Likewise, for showing.
14260 (rmail-mime-process-multipart): Record when an entity is truncated.
14261
a9a936b9
RS
14262 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14263 if ENTITY is a string.
14264
1f2b92cb
LMI
142652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14266
f4f73198 14267 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14268 of faces when `M-C-x'-ing their definitions (bug#8378).
14269 Also clean up the code slightly.
f4f73198 14270
12b16734 14271 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14272 because that makes the colors go away.
12b16734 14273
f0691d22
LMI
14274 * mail/sendmail.el (send-mail-function): Change the default to
14275 `sendmail-query-once'.
9e87df06 14276 (sendmail-query-once): Add an autoload cookie.
f0691d22 14277
1f2b92cb
LMI
14278 * net/network-stream.el (network-stream-open-starttls): Try using
14279 a plain connection even if the server offered STARTTLS, and we
14280 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14281 capability. This should make smtpmail.el work in slightly more
14282 configurations.
14283
1cdd2a1b
MA
142842011-07-06 Michael Albinus <michael.albinus@gmx.de>
14285
14286 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14287 New defun.
14288 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14289
fbcc67e2
MM
142902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14291
14292 * progmodes/sql.el: Version 3.0
0757af94 14293 (sql-product-alist): Add product :completion-object,
fbcc67e2 14294 :completion-column, and :statement attributes.
0757af94 14295 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14296 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14297 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14298 ansi keywords.
14299 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14300 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14301 (sql-oracle-show-reserved-words): New function for development.
14302 (sql-product-font-lock): Simplify for source code buffers.
14303 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14304 New functions.
14305 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14306 (sql-mode-map): Add statement movement functions.
14307 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14308 New variable.
fbcc67e2
MM
14309 (sql-statement-regexp, sql-beginning-of-statement)
14310 (sql-end-of-statement, sql-signum): New functions.
0757af94 14311 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14312 (sql-show-sqli-buffer): Bug fix.
14313 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14314 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14315 with sql-interactive-mode.
14316 (sql-save-connection): Save buffer local settings.
0757af94 14317 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14318 (sql-product-interactive): Bug fix.
14319 (sql-preoutput-hold): New variable.
14320 (sql-interactive-remove-continuation-prompt): Bug fixes.
14321 (sql-debug-redirect): New variable.
14322 (sql-str-literal): New function.
14323 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14324 Redesign.
fbcc67e2
MM
14325 (sql-oracle-save-settings, sql-oracle-restore-settings)
14326 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14327 (sql-completion-object, sql-completion-column)
14328 (sql-completion-sqlbuf): New variables.
14329 (sql-build-completions-1, sql-build-completions)
14330 (sql-try-completion): New functions.
14331 (sql-read-table-name): Use them.
14332 (sql-contains-names): New buffer local variable.
14333 (sql-list-all, sql-list-table): Use it.
14334 (sql-oracle-completion-types): New variable.
14335 (sql-oracle-completion-object, sql-sqlite-completion-object)
14336 (sql-postgres-completion-object): New functions.
14337
d4eaeab1
GM
143382011-07-06 Glenn Morris <rgm@gnu.org>
14339
14340 * window.el (pop-to-buffer): Doc fix.
14341
322b7dab 143422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14343
14344 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14345
322b7dab 143462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14347
322b7dab 14348 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14349
322b7dab 14350 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14351
605dd5bf
CY
143522011-07-05 Chong Yidong <cyd@stupidchicken.com>
14353
14354 * button.el (button): Inherit from link face. Suggested by Dan
14355 Nicolaescu.
14356
7dbfa719
SM
143572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14358
3db614b0
SM
14359 * progmodes/gdb-mi.el: Fit in 80 columns.
14360 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14361 switch-to-buffer.
14362
7dbfa719
SM
14363 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14364 if imenu is simply not configured (bug#8941).
14365
919d884a
KM
143662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14367
14368 * allout.el (allout-post-undo-hook): New allout outline-change
14369 event hook to signal undo activity.
14370 (allout-post-command-business): Run allout-post-undo-hook if an
14371 undo just occurred.
7dbfa719
SM
14372 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14373 * allout-widgets.el (allout-widgets-after-undo-function):
14374 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14375 in the vicinity of an undo.
14376 (allout-widgets-mode): Include allout-widgets-after-undo-function
14377 on the new allout-post-undo-hook.
14378
450a0f09
SM
143792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14380
14381 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14382 Let define-derived-mode define it.
14383 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14384 cycles of abbrev-table inheritance (bug#8998).
14385
2de69e00
RW
143862011-07-05 Roland Winkler <winkler@gnu.org>
14387
14388 * textmodes/bibtex.el: Add support for biblatex.
14389 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14390 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14391 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14392 (bibtex-entry-alist, bibtex-field-alist): New variables.
14393 (bibtex-entry-field-alist): Obsolete alias for
14394 bibtex-BibTeX-entry-alist.
14395 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14396 (bibtex-set-dialect): New command.
14397 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14398 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14399 Bind via bibtex-set-dialect.
2de69e00
RW
14400 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14401 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14402 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14403 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14404 Define via bibtex-set-dialect.
450a0f09
SM
14405 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14406 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14407 (bibtex-vec-push, bibtex-vec-incr): New functions.
14408 (bibtex-format-entry, bibtex-field-list)
14409 (bibtex-print-help-message, bibtex-validate)
14410 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14411
2dcdbdd9
SM
144122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14413
14414 * progmodes/compile.el (compilation-goto-locus):
14415 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14416 * bs.el (bs-cycle-next, bs-cycle-previous):
14417 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14418 * bindings.el (mode-line-other-buffer):
14419 * autoinsert.el (auto-insert):
14420 * arc-mode.el (archive-extract):
14421 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14422
b27640fe
JB
144232011-07-05 Juanma Barranquero <lekktu@gmail.com>
14424
14425 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14426 Fix check of `emacs-lock-unlockable-modes'.
14427 Coerce true values of `emacs-lock--try-unlocking' to t.
14428
53bbe3ad
JB
144292011-07-05 Juanma Barranquero <lekktu@gmail.com>
14430
14431 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14432 * emacs-lock.el: New file.
14433
1d3cdbc7
JD
144342011-07-05 Julien Danjou <julien@danjou.info>
14435
14436 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14437 than `boundp' to check if face is set.
14438
9173deec
JB
144392011-07-05 Juanma Barranquero <lekktu@gmail.com>
14440
14441 * register.el (registerv-make):
14442 * window.el (window-min-height): Fix typos in docstrings.
14443
869795d6
JD
144442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14445
9173deec 14446 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14447 Update doc string.
14448
b768cdcd
JB
144492011-07-04 Juanma Barranquero <lekktu@gmail.com>
14450
14451 * server.el (server-execute): Catch quit and call
14452 `server-return-error' to pass the error back to emacsclient and
14453 close the connection (bug#8942).
14454
13aa217b
KM
144552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14456
14457 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14458 insecure exception for current topic. Also note that auto-saves
14459 are handled differently.
14460
5d3385a0 14461 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14462 State variables for tracking auto-save inhibition situation.
14463
14464 (allout-write-contents-hook-handler): Rename from
14465 'allout-write-file-hook-handler', and describe how it depends on
14466 write-contents-functions sensitivity to non-nil value to prevent
14467 file write.
14468
14469 (allout-auto-save-hook-handler): Remove. auto-save does not check
14470 this in individual buffers, only in the starting buffer, so this
14471 is not the right way for us to inhibit auto-save in a buffer
14472 according to its condition.
14473
14474 (allout-mode): Use new allout-write-contents-hook-handler, and
14475 only with write-contents-functions. Remove auto-save provisions -
14476 they're implemented elsewhere.
14477
14478 (allout-before-change-handler): If undo is in progress, note that
14479 for attention of allout-post-command-business.
14480
14481 (allout-post-command-business): If the command we're following was
14482 an undo, check for change in the status of encrypted items and
14483 adjust auto-save inhibitions accordingly.
14484
14485 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14486 according to whether there are or aren't any plain-text topics
14487 pending encryption.
14488
2dcdbdd9 14489 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14490 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14491 if there are plain-text topics pending encryption.
13aa217b
KM
14492
14493 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14494 buffer-saved-size and some allout state to not inhibit auto-saves
14495 if there are no longer any plain-text topics pending encryption.
14496
0757af94
SM
14497 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14498 No longer provide for exemption of the current topic.
13aa217b 14499
ac89b32c
JL
145002011-07-04 Juri Linkov <juri@jurta.org>
14501
14502 Add 7z operations to delete and save changed members (bug#8968).
14503 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14504 New defcustoms.
14505 (archive-7z-write-file-member): New function.
14506 (archive-7z-summarize): Fix the number of dashes in the
14507 listing output.
14508
8fa39615
SM
145092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14510
14511 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14512 (bug#8958).
14513
2f11b3f1
CY
145142011-07-04 Chong Yidong <cyd@stupidchicken.com>
14515
d66fef2b
CY
14516 * bindings.el: Ignore next-buffer and previous-buffer in
14517 minibuffer-local-map.
14518
2f11b3f1
CY
14519 * font-lock.el (font-lock-builtin-face): Change light background
14520 color to dark slate blue (Bug#6693).
14521
f932a347
WD
145222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14523
14524 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14525
c8af70e1
SM
145262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14529 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14530 Add switch-to-buffer.
14531
f158badc
LMI
145322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14533
14534 * isearch.el (isearch-search-fun-function): Clarify further the
14535 meaning of the function returned.
14536
6d95bd46
MA
145372011-07-04 Michael Albinus <michael.albinus@gmx.de>
14538
14539 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14540
14541 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14542 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14543 Use it.
14544 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14545 `tramp-default-remote-path' does not exist.
14546 (tramp-send-command-and-read): New optional argument NOERROR.
14547 (tramp-open-connection-setup-interactive-shell)
14548 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14549 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14550 (tramp-process-sentinel): Flush also process' connection property.
14551 (tramp-sh-handle-start-file-process): Do not set process
14552 sentinel. It is done now ...
14553 (tramp-maybe-open-connection): ... here. (Bug#8929)
14554
909e6b67
MK
145552011-07-04 MON KEY <monkey@sandpframing.com>
14556
14557 * play/animate.el (animate-string): Doc fixes and allow changing
14558 the buffer name (bug#5417).
14559
145602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14561
c8af70e1 14562 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14563
f34755dc
PE
145642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14565
396cec72
PE
14566 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14567 This is simpler and helps future-proof the code.
14568 (timer-until): Use time-subtract and float-time.
08235028 14569 (timer--time-less-p): Use time-less-p.
f34755dc 14570
56e6cc31
JB
145712011-07-04 Juanma Barranquero <lekktu@gmail.com>
14572
3abb79e5
JB
14573 * type-break.el (timep): Use the value of `float-time' to avoid a
14574 byte-compiler warning.
14575
56e6cc31
JB
14576 * server.el (server-eval-and-print): Return any result, even nil.
14577
7b9430b4
PE
145782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14579
14580 * type-break.el: Accept time formats that the builtins accept.
14581 (timep, type-break-time-difference): Accept any format that
14582 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14583 This is simpler and helps future-proof the code.
14584 (type-break-time-difference): Round rather than ignoring
14585 subseconds components.
14586
3034e9e7
LMI
145872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14588
14589 * info.el (Info-apropos-matches): Make non-interactive, since it
14590 doesn't seem to do anything useful as a command (bug#8829).
14591
1485f4c0
CY
145922011-07-03 Chong Yidong <cyd@stupidchicken.com>
14593
14594 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14595 Move from faces.el.
1485f4c0
CY
14596 (frame-default-terminal-background): New function.
14597
14598 * custom.el (custom-push-theme): Don't record faces in `changed'
14599 theme; this doesn't work correctly for per-frame face settings.
14600 (disable-theme): Use face-set-after-frame-default to reset faces.
14601 (custom--frame-color-default): New function.
14602
9fa3dd45
LMI
146032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14604
c8af70e1 14605 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14606 (bug#8769).
14607
6cbbc20c
KR
146082011-03-29 Kevin Ryde <user42@zip.com.au>
14609
14610 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14611 `perl-Test2' extend to match possible "fail #N" rep count
14612 (bug#8377).
14613
c7f98048
LMI
146142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14615
65676592
LMI
14616 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14617 `smtpmail-via-smtp' now returns the error instead of nil.
14618
c7f98048
LMI
14619 * isearch.el (isearch-search-fun-function): Clarify the doc string
14620 (bug#8101).
14621
56e6cc31 146222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14623
14624 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14625 unnecessary spaces (bug#8987).
14626
2b216704
LMI
146272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14628
14629 * net/network-stream.el (open-network-stream): Use the
14630 :end-of-capability command thoughout.
14631
146322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14633
14634 * net/network-stream.el (open-network-stream): Add the
14635 :end-of-capability command parameter, used by pop3.el.
14636
36adf6ce
LMI
146372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14638
1ca0da0e
LMI
14639 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14640
fc00f69c
LMI
14641 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14642 for list)" (bug#6475).
14643
28fd8759 14644 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14645 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14646 an error (bug#6297).
14647
0dd8b6da
LMI
14648 * man.el (Man-reference-regexp): Allow matching possible
14649 word-wrapped references (bug#6289).
14650
ce1438d6
LMI
14651 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14652 for consistency with the other vc buffers (bug#6197).
14653 (vc-checkin): Ditto.
14654
14655 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14656
36adf6ce
LMI
14657 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14658
e83cc1f7
LMI
146592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14660
8a20ca4c
LMI
14661 * custom.el (defcustom): Clarify that :set is only used in the
14662 Customize user interface (bug#6089).
14663
83319045
LMI
14664 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14665 associated with a file, refuse to run instead of erroring out
14666 (bug#6084).
14667
a8392169
LMI
14668 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14669 the doc string, since it appears that using `fill-column' always
14670 controls the width (bug#7845).
14671
e83cc1f7
LMI
14672 * simple.el (shell-command-on-region): Say where the error output
14673 went if `shell-command-default-error-buffer' is set (bug#6857).
14674
e47ca23b
KM
146752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14676
14677 * allout.el (allout-yank-processing): Adjust cursor position for
14678 backwards-deleted space.
14679
14680 (allout-rebullet-heading): Register changes with
14681 allout-exposure-changed-hook, so the modified topic is properly
14682 decorated.
14683
5cf56143
LMI
146842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14685
08549772
LMI
14686 * minibuffer.el (completion-in-region): Document PREDICATE
14687 (bug#7136).
14688
48e96771
LMI
14689 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14690 of keyword/argument pairs (bug#6904).
14691
c8af70e1
SM
14692 * replace.el (multi-occur):
14693 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14694
e17d05e2
LMI
146952011-07-02 Drew Adams <drew.adams@oracle.com>
14696
14697 * dired.el (dired-mark-if): Make the message about whether it's
14698 marking or unmarking clearer (bug#8523).
14699
063b0e45
LMI
147002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14701
14702 * disp-table.el (display-table-print-array): New function.
14703 (describe-display-table): Use it to print the vectors more pretty
14704 (Bug#8859).
14705
28545e04
MR
147062011-07-02 Martin Rudalics <rudalics@gmx.at>
14707
14708 * window.el (window-state-get-1): Don't assign clone numbers.
14709 Add clone-of item to list of window parameters.
14710 (window-state-put-2): Don't process clone numbers.
14711 (display-buffer-alist): Fix doc-string.
14712
3349e122
SM
147132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 * subr.el (remq): Don't allocate if it's not needed.
14716 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14717 (keymap--merge-bindings): New functions.
14718 (keymap-canonicalize): Use them to refine the canonicalization.
14719 * minibuffer.el (minibuffer-local-completion-map)
14720 (minibuffer-local-must-match-map): Move initialization from C.
14721 (minibuffer-local-filename-completion-map): Move initialization from C;
14722 don't inherit from anything here.
14723 (minibuffer-local-filename-must-match-map): Make obsolete.
14724 (completing-read-default): Use make-composed-keymap to combine
14725 minibuffer-local-filename-completion-map with either
14726 minibuffer-local-must-match-map or
14727 minibuffer-local-filename-completion-map.
14728
d224ac83
GM
147292011-07-01 Glenn Morris <rgm@gnu.org>
14730
3de63bf8
GM
14731 * type-break.el (type-break-time-sum): Use dolist.
14732
d224ac83
GM
14733 * textmodes/flyspell.el (flyspell-word-search-backward):
14734 Replace CL function.
14735
1a1e3f32
SM
147362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14737
fe3f64d5
SM
14738 * mouse.el (mouse--strip-first-event): New function.
14739 (function-key-map): Use it to map fringe clicks to normal clicks
14740 by default.
14741
eb604e34
SM
14742 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14743 (vc-bzr-revision-completion-table): Add support for annotate and date.
14744
1a1e3f32
SM
14745 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14746 inherit from parent.
14747
5bd35902
LMI
147482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14749
ace6c69c 14750 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14751 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14752
191e2bed
LMI
14753 * dired.el (dired-mode): Fix up the doc string as suggested by
14754 Drew Adams (bug#8817).
14755
5bd35902
LMI
14756 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14757 cookie, since the manual says that it should be possible to add
14758 this function to `find-file-hook' (bug#8709).
14759
eee8207a
TZ
147602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14761
14762 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14763 here. Noted Ted Zlatanov as the maintainer.
14764 (cfengine-common-settings, cfengine-common-syntax): New functions
14765 to set up common things between `cfengine-mode' and
14766 `cfengine3-mode'.
14767 (cfengine3-mode): New mode.
14768 (cfengine3-defuns cfengine3-defuns-regex
14769 (cfengine3-class-selector-regex cfengine3-category-regex)
14770 (cfengine3-vartypes cfengine3-font-lock-keywords)
14771 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14772 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14773
36b148cf
MA
147742011-07-01 Michael Albinus <michael.albinus@gmx.de>
14775
14776 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14777
14778 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14779
0bf4ba9a
MR
147802011-07-01 Martin Rudalics <rudalics@gmx.at>
14781
14782 * window.el (same-window-buffer-names, same-window-regexps)
14783 (same-window-p, special-display-frame-alist)
14784 (special-display-popup-frame, special-display-function)
14785 (special-display-buffer-names, special-display-regexps)
14786 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14787 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14788 (split-window-preferred-function, split-height-threshold)
14789 (split-width-threshold, even-window-heights)
14790 (display-buffer-mark-dedicated, window-splittable-p)
14791 (split-window-sensibly, window-safely-shrinkable-p):
14792 Un-obsolete.
14793 (display-buffer): Don't spread args with function specifier
14794 because special-display-popup-frame won't like it.
14795
35837f51
PE
147962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14797
d0672f86
PE
14798 Time-stamp simplifications and fixes.
14799 These improve accuracy slightly, and future-proof the code
14800 against some potential changes to current-time format.
14801
b9444d97
PE
14802 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14803 by using time-since and float-time.
14804
0ef923dc
PE
14805 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14806 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14807 + NNN microseconds".
14808
2f81380d
PE
14809 * type-break.el (type-break-time-sum): Rewrite using time-add.
14810
845b5c3e
PE
14811 * play/hanoi.el (hanoi-current-time-float): Remove.
14812 All uses replaced by float-time.
14813
ee6f1be0
PE
14814 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14815 This yields a more-accurate answer.
14816 (rng-time-to-float): Remove; no longer needed.
14817
fe955043
PE
14818 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14819
5777162a
PE
14820 * calendar/timeclock.el (timeclock-seconds-to-time):
14821 Defalias to seconds-to-time, since they're the same thing.
14822
3103f8b6 14823 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14824 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14825 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14826
0e61a35f
SM
148272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14828
14829 * window.el (bury-buffer): Don't iconify the only frame.
14830 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14831 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14832
ddd63a1e
CY
148332011-07-01 Chong Yidong <cyd@stupidchicken.com>
14834
0e61a35f
SM
14835 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14836 Add mouse-yank-primary.
ddd63a1e 14837
055f4923
TZ
148382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14839
14840 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14841
6a2fb145
SM
148422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14843
14844 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14845 (find-library-name): Use it to find relative load names when provided
14846 absolute file name (bug#8803).
14847
fd4983f2
LMI
148482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14849
887d14ad
LMI
14850 * textmodes/flyspell.el (flyspell-word): Consider words that
14851 differ only in case as potential doublons (bug#5687).
14852
c53dc7fc
LMI
14853 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14854 Remove two rather uninteresting debugging-like messages to make
14855 debbugs.el more silent.
14856
fd4983f2
LMI
14857 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14858 a password-like phrase.
14859
7a71b18d 148602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14861
14862 * progmodes/cc-guess.el: New file.
14863
6a2fb145 14864 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14865
14866 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14867 derived from `c-basic-common-init'.
14868
14869 * progmodes/cc-mode.el (top-level): Require cc-guess.
14870 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14871
1fa280a3
LM
148722011-06-30 Lawrence Mitchell <wence@gmx.li>
14873
14874 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14875
e6597158
AM
148762011-06-30 Alan Mackenzie <acm@muc.de>
14877
1fa280a3
LM
14878 * progmodes/cc-engine.el (c-guess-continued-construct):
14879 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14880 lock is disabled. Name this case as "CASE G".
14881
68ba37fb
KM
148822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14883
14884 * allout.el (allout-yank-processing): Fix injection of extra space
14885 between bullet and non-whitespace character in first topic when
14886 pasting, ensuring that the actual spacing in the pasted topic
14887 following the bullet char is preserved. This extra space was
14888 causing pasted encrypted topics to get a decrypted status even
14889 when the content was actually still encrypted. Now the decryption
14890 status from before the paste is preserved.
14891
14892 (allout-flag-region): Set all allout overlays so they evaporate
14893 when reduced to zero length (evanescent), to prevent overlay
14894 leakage.
14895
887a0b34
GM
148962011-06-30 Glenn Morris <rgm@gnu.org>
14897
94b9acce
GM
14898 * w32-fns.el (w32-charset-info-alist): Declare.
14899
1d9b46d4
GM
14900 * find-dired.el (find-grep-options): Simplify.
14901
cc232200
GM
14902 * term/ns-win.el (ns-set-resource): Declare.
14903
28e77c46
GM
14904 * ses.el (row, col): Declare dynamic variables honestly.
14905
887a0b34
GM
14906 * textmodes/reftex-parse.el (index-tags): Declare.
14907
658d8eb8
CY
149082011-06-30 Chong Yidong <cyd@stupidchicken.com>
14909
14910 * cus-edit.el (customize-push-and-save): New function.
14911
14912 * files.el (hack-local-variables-confirm): Use it.
14913
1fa280a3
LM
14914 * custom.el (load-theme): New arg NO-CONFIRM.
14915 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14916 (custom-enabled-themes): Doc fix.
14917
14918 * cus-theme.el (customize-create-theme)
14919 (custom-theme-merge-theme): Callers to load-theme changed.
14920
bb617717
LMI
149212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14922
d61bdd5d
LMI
14923 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14924 short URLs have at least one dot in them (bug #7614).
14925
bb617717
LMI
14926 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14927 nil, because using a pty is apparently too slow (bug #895).
14928
2f31f37a
LMI
149292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14930
14931 * mail/sendmail.el (sendmail-query-once): New function.
14932 (sendmail-query-once-function): New variable.
14933
3076b24e
GM
149342011-06-29 Glenn Morris <rgm@gnu.org>
14935
faf2a174
GM
14936 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14937
3076b24e
GM
14938 * ses.el (top-level): Require cl when compiling.
14939 (ses-set-localvars): Fix error statement.
14940 Call it at compile time to silence a storm of warnings.
14941
5386012d
MR
149422011-06-29 Martin Rudalics <rudalics@gmx.at>
14943
14944 * window.el (normalize-live-buffer): Rename to
14945 window-normalize-buffer.
14946 (normalize-live-frame): Rename to window-normalize-frame.
14947 (normalize-any-window): Rename to window-normalize-any-window.
14948 (normalize-live-window): Rename to window-normalize-live-window.
14949 (make-window-atom): Rename to window-make-atom.
14950 (window-resize-reset): Rename to window--resize-reset.
14951 (window-resize-reset-1): Rename to window--resize-reset-1.
14952 (resize-mini-window): Rename to window--resize-mini-window.
14953 (resize-subwindows-skip-p): Rename to
14954 window--resize-subwindows-skip-p.
14955 (resize-subwindows-normal): Rename to
14956 window--resize-subwindows-normal.
14957 (resize-subwindows): Rename to window--resize-subwindows.
14958 (resize-other-windows): Rename to window--resize-siblings.
14959 (resize-this-window): Rename to window--resize-this-window.
14960 (resize-root-window): Rename to window--resize-root-window.
14961 (resize-root-window-vertically): Rename to
14962 window--resize-root-window-vertically.
14963 (normalize-buffer-to-display): Rename to
14964 window-normalize-buffer-to-display.
14965 (normalize-buffer-to-switch-to): Rename to
14966 window-normalize-buffer-to-switch-to.
14967 Correspondingly update all callers of the functions listed
14968 above.
14969 (display-buffer-alist, display-buffer-normalize-arguments)
14970 (display-buffer-normalize-options, display-buffer)
14971 (display-buffer-alist-set): Use "function" instead of
14972 "fun-with-args".
14973
1176868d
CY
149742011-06-28 Chong Yidong <cyd@stupidchicken.com>
14975
14976 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14977 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14978 debbugs.gnu.org. Mention acknowledgment email.
14979
20a7a65f
LMI
149802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14981
14982 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14983 buffer multibyteness, since it shouldn't matter.
14984
5f45cca5
MR
149852011-06-28 Martin Rudalics <rudalics@gmx.at>
14986
14987 * window.el (display-buffer-in-side-window): Handle dedicated
14988 windows as in display-buffer-reuse-window.
14989 (display-buffer-normalize-alist): Use value of override
14990 specifier.
14991 (display-buffer-normalize-specifiers): Use value of
14992 other-window-means-other-frame specifier.
14993 (display-buffer-alist): Rewrite some texts in widgets.
14994 (display-buffer): Spread arguments when calling function
14995 specified by fun-with-args.
14996
ad85fe1f
DD
149972011-06-28 Deniz Dogan <deniz@dogan.se>
14998
1fa280a3
LM
14999 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15000 Unnest `let'.
da68c4c8 15001
ad85fe1f
DD
15002 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15003 selectors (Bug#5732).
ec49bd31 15004 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15005
a08cc025
JA
150062011-06-27 Jari Aalto <jari.aalto@cante.net>
15007
15008 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15009 (eshell-ls-date-format): New defcustom.
15010 (eshell-ls-file): Use it.
15011
e2b551c5
SM
150122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15013
15014 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15015
8982b231
KY
150162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15017
15018 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15019 (ange-ftp-make-tmp-name): New arg.
15020 (ange-ftp-file-local-copy): Use it.
15021
36c9fa27
J
150222011-06-27 Jambunathan K <kjambunathan@gmail.com>
15023
15024 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15025 no-conversion (Bug#8870).
15026
d68443dc
MR
150272011-06-27 Martin Rudalics <rudalics@gmx.at>
15028
15029 * window.el (window-right, window-left, window-child)
15030 (window-child-count, window-last-child)
15031 (window-iso-combination-p, walk-window-tree-1)
15032 (window-atom-check-1, window-tree-1, delete-window)
15033 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15034 new naming conventions - window-vchild, window-hchild,
15035 window-next and window-prev are now called window-top-child,
15036 window-left-child, window-next-sibling and window-prev-sibling
15037 respectively.
d615d6d2
MR
15038 (resize-window-reset): Rename to window-resize-reset.
15039 (resize-window-reset-1): Rename to window-resize-reset-1.
15040 (resize-window): Rename to window-resize.
15041 (window-min-height, window-min-width)
15042 (resize-mini-window, resize-this-window, resize-root-window)
15043 (resize-root-window-vertically, adjust-window-trailing-edge)
15044 (enlarge-window, shrink-window, maximize-window)
15045 (minimize-window, delete-window, quit-restore-window)
15046 (split-window, balance-windows, balance-windows-area-adjust)
15047 (balance-windows-area, window-state-put-2)
15048 (display-buffer-even-window-sizes, display-buffer-set-height)
15049 (display-buffer-set-width, set-window-text-height)
15050 (fit-window-to-buffer): Rename all "resize-window" prefixed
15051 calls to use the "window-resize" prefix convention.
15052 (display-buffer-alist): Fix symbol for label specifier.
15053 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15054 corresponding specifier.
15055 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15056
b6458526
VB
150572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15058
15059 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15060 convention.
15061 (ses-call-printer): Does not pass an empty string to formatter when the
15062 cell is empty to keep from barking printer Calc math-format-value.
15063
d31fd9ac
RS
150642011-06-27 Richard Stallman <rms@gnu.org>
15065
43d5bf84
RS
15066 * battery.el (battery-mode-line-limit): New variable.
15067 (battery-update): Handle it.
15068
d31fd9ac
RS
15069 * mail/rmailmm.el (rmail-mime-process-multipart):
15070 Handle truncated messages.
15071
819a6054
GM
150722011-06-27 Glenn Morris <rgm@gnu.org>
15073
15074 * progmodes/flymake.el (flymake-err-line-patterns):
15075 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15076
cedc73f2
VB
150772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15078
819a6054 15079 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15080 (ses--clean-!, ses--clean-_): New functions.
15081 (ses-range): Add configurability of readout order, and conversion
15082 to Calc vector.
15083
5e5d49b6
VB
15084 * ses.el (ses-repair-cell-reference-all): New function.
15085 (ses-cell-symbol): Set macro as safe, so that it can be used in
15086 formulas.
15087
56e6cc31 15088 * ses.el: Update cycle detection algorithm.
90ca8b49 15089 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15090 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15091 (ses-set-localvars): New function.
15092 (ses-make-cell): Add property-list as a cell element.
15093 (ses-cell-property-get-fun, ses-cell-property-get)
15094 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15095 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15096 New functions.
90ca8b49
VB
15097 (ses-cell-property-set, ses-cell-property-pop)
15098 (ses-cell-property-get-handle): New macro.
15099 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15100 New aliases, used for code readability.
15101 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15102 cycle detection.
15103 (ses-self-reference-early-detection): New defcustom.
fac916bf 15104 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15105 (ses-mode): Use ses-set-localvars.
15106 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15107 before lauching the update processing.
15108 (ses-initialize-Dijkstra-attempt): New function.
15109 (ses-recalculate-cell): Update for cycle detection based on
15110 Dijkstra algorithm.
15111
2bb63e81
VB
15112 * ses.el: Fix commenting and indenting convention.
15113
c9d29fb8
SM
151142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15115
15116 * bs.el (bs-cycle-next): Complete last change.
15117
d8e4b68b
JB
151182011-06-27 Drew Adams <drew.adams@oracle.com>
15119
15120 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15121
40098786
LMI
151222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15123
c9d29fb8
SM
15124 * net/network-stream.el (network-stream-open-starttls):
15125 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15126 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15127
40098786
LMI
15128 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15129 to binary to possibly avoid line encoding issues on Windows (among
15130 other things).
15131
468d09d4
LMI
151322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15133
15134 * net/network-stream.el (open-network-stream): Return an :error
15135 saying what the problem was, if possible.
15136
15137 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15138 server.
15139
15140 * net/network-stream.el (network-stream-open-starttls): If we
15141 wanted to use STARTTLS, and the server offered it, but we weren't
15142 able to because we had no STARTTLS support, then close the connection.
15143 (open-network-stream): Return an :error element, if present.
15144
16f07dd7
CY
151452011-06-26 Chong Yidong <cyd@stupidchicken.com>
15146
88821ca0
CY
15147 * hl-line.el (hl-line-sticky-flag): Doc fix.
15148 (global-hl-line-sticky-flag): New option (Bug#8323).
15149 (global-hl-line-highlight): Obey it.
15150
16f07dd7
CY
15151 * vc/vc.el (vc-revert-show-diff): Default to t.
15152
6b5ccddf
KM
151532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15154
c9d29fb8
SM
15155 * allout-widgets.el (allout-widgets-post-command-business):
15156 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15157 undecorated when an isearch is continued past, and isearch
15158 automatically collapses them. This leads to "widget leaks", where
15159 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15160 hidden widgets can slow down cursor travel, substantially.
15161 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15162 so we're doing without this nicety.
15163
15164 (allout-widgets-tally-string): Don't try to do a hash-table-count
15165 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15166 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15167 *Messages* when allout-widgets-maintain-tally is t.
15168
355f2e07
MR
151692011-06-26 Martin Rudalics <rudalics@gmx.at>
15170
15171 * window.el (display-buffer-normalize-argument): Rename to
15172 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15173 LABEL argument. Respect special-display-function when popping up
15174 a new frame. Fix code searching for a window showing the buffer
15175 on another frame.
c9d29fb8
SM
15176 (display-buffer-normalize-specifiers):
15177 Call display-buffer-normalize-arguments.
355f2e07
MR
15178 (display-buffer-in-window): Don't undedicate the window if its
15179 buffer remains the same.
15180 Reported by Drew Adams <drew.adams@oracle.com>.
15181 (display-buffer-alist): Add choice for same-window macro
15182 specfier.
15183 (display-buffer): Mention special meaning of LABEL argument in
15184 doc-string. Fix quoting. Don't pop up a new frame even as
15185 fallback.
15186
7ca8fc42
JB
151872011-06-26 Juanma Barranquero <lekktu@gmail.com>
15188
15189 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15190 avoid deleting the current window in some cases (bug#8911).
15191
bc312254
AS
151922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15193
15194 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15195 (Bug#8934)
15196
2db18f3f
LMI
151972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15198
c9d29fb8
SM
15199 * net/network-stream.el (network-stream-open-starttls):
15200 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15201 (network-stream-open-tls): Ditto.
15202
6302e0d3
LL
152032011-06-26 Leo Liu <sdl.web@gmail.com>
15204
15205 * register.el (registerv): New struct.
15206 (registerv-make): New function.
c9d29fb8
SM
15207 (jump-to-register, describe-register-1, insert-register):
15208 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15209 struct. (Bug#8415)
15210
5fdd4046
CY
152112011-06-26 Chong Yidong <cyd@stupidchicken.com>
15212
2afef60a
CY
15213 * vc/vc.el (vc-revert-show-diff): New defcustom.
15214 (vc-diff-internal): New arg specifying diff buffer.
15215 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15216 reuse an existing *vc-diff* buffer (Bug#8927).
15217
5fdd4046
CY
15218 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15219
e93db24a
GM
152202011-06-26 Glenn Morris <rgm@gnu.org>
15221
15222 * progmodes/f90.el (f90-critical-indent): New option.
15223 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15224 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15225 (f90-mode): Doc fix.
15226 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15227 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15228 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15229 (f90-match-end): Handle block, critical.
15230
eefff499
GM
152312011-06-25 Glenn Morris <rgm@gnu.org>
15232
f6ba4cc9
GM
15233 * calendar/diary-lib.el (diary-included-files): Doc fix.
15234 (diary-include-files): New function, extracted from
15235 diary-include-other-diary-files and diary-mark-included-diary-files.
15236 (diary-include-other-diary-files, diary-mark-included-diary-files):
15237 Just call diary-include-files.
15238 (diary-mark-entries): Reset diary-included-files on first call.
15239
16712304
GM
15240 * calendar/diary-lib.el (diary-mark-entries)
15241 (diary-mark-included-diary-files):
15242 Visit included diary-files in temp buffers.
15243
5d8e0d43
GM
15244 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15245 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15246 (f90-start-block-re, f90-imenu-generic-expression)
15247 (f90-looking-at-program-block-start, f90-no-block-limit):
15248 Add support for submodules.
15249
ccf7a5d5
GM
15250 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15251 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15252
11fdef7d 152532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15254
15255 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15256 buffer-file-type before setting its value, to avoid disastrous
eefff499 15257 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15258
74f53697
JB
152592011-06-25 Juanma Barranquero <lekktu@gmail.com>
15260
15261 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15262
15263 * ses.el (ses-unload-function):
15264 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15265
15266 * proced.el (proced-unload-function):
15267 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15268
18a4ce5e
AR
152692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15270
15271 * server.el (server-create-window-system-frame): Add parameters arg.
15272 (server-process-filter): Doc fix. Handle frame-parameters.
15273
519d22cc
JB
152742011-06-25 Juanma Barranquero <lekktu@gmail.com>
15275
15276 Fix bug#8730, bug#8781.
15277
15278 * loadhist.el (unload--set-major-mode): New function.
15279 (unload-feature): Use it.
15280
15281 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15282 (python-unload-function): New function.
15283
c206f5b0
SM
152842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15285
15286 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15287
f9ad64f3
GS
152882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15289
15290 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15291 the candidates list.
15292
7d0da90e
JB
152932011-06-24 Juanma Barranquero <lekktu@gmail.com>
15294
15295 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15296
14b4e83d
RS
152972011-06-23 Richard Stallman <rms@gnu.org>
15298
15299 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15300 (rmail-variables): Set next-error-move-function.
15301 (rmail-what-message): Take argument POS.
15302 (rmail-next-error-move): New function.
15303
273d2baf
SM
153042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15305
15306 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15307 messages for adjacent non-terminals.
15308
56c2cc9a
RS
153092011-06-23 Richard Stallman <rms@gnu.org>
15310
15311 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15312 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15313 (rmail-start-mail): Don't specify use of rmail-mail-return;
15314 that's done by mail-bury now.
15315 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15316
d59eb518
MA
153172011-06-23 Michael Albinus <michael.albinus@gmx.de>
15318
15319 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15320 SIZE is a number.
15321
02cfc6d6
MR
153222011-06-23 Martin Rudalics <rudalics@gmx.at>
15323
15324 * window.el (get-lru-window, get-mru-window)
15325 (get-largest-window): Never return a minibuffer window.
15326 (display-buffer-pop-up-window): Fix a bug that could lead to
15327 reusing the minibuffer window.
15328 (display-buffer): Pass original specifier argument to
15329 display-buffer-function instead of the normalized one.
15330 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15331
4e323265
LL
153322011-06-22 Leo Liu <sdl.web@gmail.com>
15333
15334 * minibuffer.el (completing-read-function)
15335 (completing-read-default): Move from minibuf.c
15336
7a70468f
RS
153372011-06-22 Richard Stallman <rms@gnu.org>
15338
50718fc2
RS
15339 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15340 to Rmail even if not started by a special Rmail command.
15341
7a70468f
RS
15342 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15343 Copy the buffer currently showing just one message.
15344
297dde5a
RW
153452011-06-22 Roland Winkler <winkler@gnu.org>
15346
15347 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15348 (bibtex-clean-entry): First delete the old key so that a
15349 customized algorithm for generating the new key does not get
15350 confused by the old key.
15351 (bibtex-url): Obey regexp of first step.
15352 (bibtex-search-entries): Do not use add-to-list with local
15353 list-var.
15354
97bb1093
LMI
153552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15356
15357 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15358 stored a user name, then query for the password first, instead of
15359 waiting for SMTP to give an error message and the trying again.
15360
1c0f1a19
JD
153612011-06-22 Lawrence Mitchell <wence@gmx.li>
15362
15363 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15364 BUFFER in call-process.
15365
396f7c9d
LMI
153662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15367
15368 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15369 QUIT twice.
ddb7ffee
LMI
15370 (smtpmail-try-auth-methods): Require user name and password from
15371 auth-source.
396f7c9d 15372
8998d1b3
MR
153732011-06-22 Martin Rudalics <rudalics@gmx.at>
15374
15375 * window.el (display-buffer-default-specifiers)
15376 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15377 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15378 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15379
15380 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15381 (special-display-frame-alist, special-display-popup-frame):
15382 Remove duplicate declarations. These are now in window.el.
15383
4ea31e07
LMI
153842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15385
c9d29fb8
SM
15386 * mail/smtpmail.el (smtpmail-via-smtp):
15387 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15388 server supports it. SMTP servers that support STARTTLS commonly
15389 require it.
15390
15391 * net/network-stream.el (network-stream-open-starttls): Support
15392 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15393 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15394
95f41d9a
LMI
15395 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15396 upgrades with `open-network-stream', and rely solely on
15397 auth-source for all credentials. Big changes throughout the file,
15398 but in particular:
c9d29fb8
SM
15399 (smtpmail-auth-credentials): Remove.
15400 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15401 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15402 MAIL FROM, too.
95f41d9a 15403
c9d29fb8
SM
15404 * net/network-stream.el (network-stream-open-starttls):
15405 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15406 STARTTLS.
15407 (auth-source): Require.
15408 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15409 (network-stream-certificate): Change cert-cert to cert and
15410 cert-key to key.
4ea31e07 15411
065ec2c7
MA
154122011-06-21 Michael Albinus <michael.albinus@gmx.de>
15413
15414 * net/tramp-cache.el (top): Don't load the persistency file when
15415 "emacs -Q" has been called.
15416
cd93b359
DR
154172011-06-21 Tim Harper <timcharper@gmail.com>
15418
d8e4b68b
JB
15419 * term/ns-win.el (ns-initialize-window-system):
15420 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15421 resource to NO as it is not yet supported by the NS port.
15422
ae9c0411
JB
154232011-06-21 Juanma Barranquero <lekktu@gmail.com>
15424
15425 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15426 (list-dynamic-libraries): ...not here.
15427
7f3f739f
LL
154282011-06-21 Leo Liu <sdl.web@gmail.com>
15429
15430 * subr.el (sha1): Implement sha1 using secure-hash.
15431
327c8fb1
MR
154322011-06-21 Martin Rudalics <rudalics@gmx.at>
15433
15434 * window.el (display-buffer-alist): In default value do not
15435 enforce searching a window on any but the selected frame.
15436 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15437 (display-buffer-select-window): Remove function.
15438 (display-buffer-in-window): When a window on another frame gets
15439 reused, do not select it any more but just raise its frame if
15440 necessary (Bug#8851) and (Bug#8856).
15441 (display-buffer-normalize-options): Handle pop-up-frames related
15442 options more faithfully.
15443 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15444 window if it is on another frame.
c9d29fb8
SM
15445 (display-buffer-alist, display-buffer-default-specifiers):
15446 Don't make new frame unsplittable by default.
9e9de014
MR
15447 (display-buffer-normalize-argument): Fix doc-string typo and use
15448 'same-frame-other-window instead of 'other-window when associating
15449 with display-buffer-macro-specifiers.
327c8fb1 15450
7cf3f556
VB
154512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15452
15453 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15454 New functions.
15455 (5x5-mode-map, 5x5-mode-menu): Bind them.
15456 (5x5-draw-grid): Tweak the solver's rendering.
15457
60a406cf
SM
154582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15459
15460 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15461 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15462
d8e4b68b 154632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15464
15465 * menu-bar.el: Use function variable instead of switch-to-buffer.
15466 (menu-bar-select-buffer-function): New variable.
60a406cf 15467 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15468
478d6f95
SM
154692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15470
15471 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15472 variable's status.
15473
ca530739
JD
154742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15475
15476 * x-dnd.el (x-dnd-version-from-flags)
15477 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15478 and long as number (Bug#8899).
15479 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15480
bcd70d97
SM
154812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15482
60a406cf 15483 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15484 (completion-try-completion, completion-all-completions): Compute the
15485 metadata argument if it's missing; make it optional (bug#8795).
15486
60a406cf 15487 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15488 (widget-complete): Use new :completion-function property.
15489 (widget-completions-at-point): New function.
15490 (default): Use :completion-function instead of :complete.
60a406cf
SM
15491 (widget-default-completions): Rename from widget-default-complete;
15492 Rewrite.
bcd70d97
SM
15493 (widget-string-complete, widget-file-complete, widget-color-complete):
15494 Remove functions.
15495 (file, symbol, function, variable, coding-system, color):
15496 * international/mule-cmds.el (default-input-method, charset)
15497 (language-info-custom-alist):
15498 * cus-edit.el (face): Use new property :completions.
15499
15500 * progmodes/pascal.el (pascal-completions-at-point): New function.
15501 (pascal-mode): Use it.
15502 (pascal-mode-map): Use completion-at-point.
15503 (pascal-toggle-completions): Make obsolete.
15504 (pascal-complete-word, pascal-show-completions):
15505 * progmodes/octave-mod.el (octave-complete-symbol):
15506 Redefine as obsolete alias.
15507 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15508 Signal absence of completion info for old Octave,
15509 (inferior-octave-complete): Redefine as obsolete alias.
15510 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15511 (meta-completions-at-point): Rename from meta-complete-symbol and
15512 adapt it for use on completion-at-point-functions.
15513 (meta-common-mode): Use it.
15514 (meta-looking-at-backward, meta-match-buffer): Remove.
15515 (meta-complete-symbol): Redefine as obsolete alias.
15516 (meta-common-mode-map): Use completion-at-point.
15517 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15518 (makefile-mode-map): Use completion-at-point.
15519 (makefile-completions-at-point): Rename from makefile-complete and
15520 adapt it for use on completion-at-point-functions.
15521 (makefile-mode): Use it.
15522 (makefile-complete): Redefine as obsolete alias.
15523
aebf69c8
DD
155242011-06-20 Deniz Dogan <deniz@dogan.se>
15525
15526 * net/rcirc.el: Delete trailing whitespaces once and for all.
15527
bfbbb27d
DC
155282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15529
15530 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15531
d264a46b
CY
155322011-06-19 Chong Yidong <cyd@stupidchicken.com>
15533
4ca009e5
CY
15534 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15535
d264a46b
CY
15536 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15537
fbf5b3ce
MR
155382011-06-19 Martin Rudalics <rudalics@gmx.at>
15539
15540 * window.el (display-buffer-other-window-means-other-frame):
15541 Call display-buffer-normalize-alist.
15542 (display-buffer-normalize-specifiers-1): Rename to
15543 display-buffer-normalize-argument. New argument other-frame.
15544 Rewrite.
15545 (display-buffer-normalize-specifiers-2): Rename to
15546 display-buffer-normalize-options.
15547 (display-buffer-normalize-alist-1): New function.
15548 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15549 display-buffer-normalize-alist.
15550 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15551 (display-buffer-normalize-options-inhibit): New variable.
15552 (display-buffer-normalize-specifiers): Rewrite calling
15553 display-buffer-normalize-alist,
15554 display-buffer-normalize-argument, and
15555 display-buffer-normalize-options. Don't call the latter if
15556 display-buffer-normalize-options-inhibit is non-nil.
15557 (frame-auto-delete): New option.
15558 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15559 (window-list-no-nils, window-state-ignored-parameters)
15560 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15561 (window-state-put-1, window-state-put-2, window-state-put):
15562 New functions.
9a028c23
MR
15563 (display-buffer-normalize-options): Move special-display-p group
15564 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15565
6d10d800
CY
155662011-06-18 Chong Yidong <cyd@stupidchicken.com>
15567
6420d28b
CY
15568 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15569 groups (Bug#8776).
15570 (rx-submatch-n): New function.
15571 (rx): Document it.
15572
ddb8b596
CY
15573 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15574 (Bug#8768).
15575
15576 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15577
77080289
CY
15578 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15579
61dfb316
CY
15580 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15581 anytime existing face settings are present (Bug#8889).
15582
6d10d800
CY
15583 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15584 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15585 Remove unused argument.
15586
be3fb2b8
MR
155872011-06-18 Martin Rudalics <rudalics@gmx.at>
15588
bcd70d97
SM
15589 * window.el (display-buffer-default-specifiers):
15590 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15591 pop-up-window-min-width, and another reuse-window specifier
15592 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15593 (display-buffer-normalize-specifiers-2):
15594 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15595 pop-up-windows is unset. Add a reuse-window specifier for the
15596 case popping up a new window fails.
15597 (special-display-popup-frame): Remove double quoting.
28dec25a 15598 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15599
1c6d8c76
SM
156002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15601
15602 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15603 according to comint-completion-addsuffix.
15604
15605 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15606 (pcomplete-suffix-list): Mark as obsolete.
15607 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15608 pcomplete-seen in the closure.
15609 (pcomplete-comint-setup): Setup completion-at-point as well.
15610 (pcomplete--entries): New function.
15611 (pcomplete--env-regexp): New var.
15612 (pcomplete-entries): Rewrite to work with partial-completion and
15613 without relying on pcomplete-suffix-list.
15614 (pcomplete-pare-list): Remove, unused.
15615
25aef8b8
MR
156162011-06-17 Martin Rudalics <rudalics@gmx.at>
15617
15618 * window.el (display-buffer-alist): Set pop-up-window-min-height
15619 and pop-up-window-min-width in default value. Reported by
15620 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15621 other-window-means-other-frame.
15622 (display-buffer-macro-specifiers): Comment out entry for
15623 other-window specifier.
15624 (display-buffer-other-window-means-other-frame): New function.
15625 (display-buffer-normalize-specifiers-1): New arguments
15626 buffer-name and label. Treat other-window case specially.
15627 (display-buffer-normalize-specifiers-2): Treat other-window case
15628 specially.
15629 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15630 (display-buffer-normalize-specifiers):
15631 Call display-buffer-normalize-specifiers-3.
25aef8b8 15632
dbad4f69
MR
156332011-06-17 Martin Rudalics <rudalics@gmx.at>
15634
15635 * window.el (same-window-p): Fix two typos introduced when
15636 adding with-no-warnings.
d1067961
MR
15637 (display-buffer-normalize-specifiers-1): Don't check
15638 pop-up-frames for 'unset initialization.
15639 (display-buffer-normalize-specifiers-2): Major rewrite using
15640 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15641 (pop-up-frames, display-buffer-reuse-frames)
15642 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15643 Suggested by David Engster <deng@randomsample.de>.
15644 (even-window-heights): Initialize to 'unset.
15645 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15646 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15647 other window case.
dbad4f69 15648
9b9c9e3a
MR
156492011-06-16 Martin Rudalics <rudalics@gmx.at>
15650
bcd70d97
SM
15651 * window.el (display-buffer-normalize-specifiers-1):
15652 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15653 second argument of display-buffer (Bug#8865).
981d5c09
MR
15654 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15655 (switch-to-buffer-other-window-same-frame)
15656 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15657 Adams (Bug#8875).
9c2755e9
MR
15658 (display-buffer): Don't check noninteractive when calling
15659 display-buffer-pop-up-frame.
15660 (display-buffer-pop-up-frame): Never pop up a frame in
15661 noninteractive mode (Bug#8857).
67222e1d
MR
15662 (enlarge-window, shrink-window): Don't report an error when the
15663 window can't be resized as requested (Bug#8862).
9b9c9e3a 15664
2b75be67
SM
156652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15666
9ffdd3ba
SM
15667 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15668
cb581a67
SM
15669 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15670
2b75be67
SM
15671 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15672
8c0e3589
AM
156732011-06-15 Alan Mackenzie <acm@muc.de>
15674
cb581a67
SM
15675 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15676 for declarators, disable knr checking to speed up for normal files.
15677 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15678
b96e6cde
LMI
156792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15680
4bba86e6
LMI
15681 * net/network-stream.el (open-network-stream): Add the keyword
15682 :always-query-capabilities for the case where you want to force a
15683 `plain' network connection, but the protocol still requires the
15684 capabilitiy command (i.e., SMTP and EHLO).
15685
2b75be67 15686 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15687 consistency with other `-live-p' functions.
15688
efdcdbf8
SM
156892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15690
15691 * window.el (same-window-buffer-names, same-window-regexps)
15692 (special-display-frame-alist, special-display-popup-frame)
15693 (special-display-function, special-display-buffer-names)
15694 (special-display-regexps, pop-up-frame-alist)
15695 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15696 (pop-up-windows, split-window-preferred-function)
15697 (split-height-threshold, split-width-threshold, even-window-heights)
15698 (display-buffer-mark-dedicated): Don't encourage the use of
15699 display-buffer-alist from Elisp code.
15700
c5cde042
DN
157012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15702
15703 * progmodes/python.el (python-mode): Derive from prog-mode.
15704 * progmodes/ps-mode.el (ps-mode):
15705 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15706 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15707 * progmodes/ld-script.el (ld-script-mode): Likewise.
15708
baa1c9ab
MR
157092011-06-15 Martin Rudalics <rudalics@gmx.at>
15710
15711 * window.el (display-buffer-alist): Trim default value to avoid
15712 popping up a new frame (Bug#8857) or reusing an arbitrary window
15713 on another frame.
15714 (display-buffer): Do not fall back on popping up a new frame in
15715 batch mode (Bug#8857).
15716
c5dd5a51
CY
157172011-06-14 Chong Yidong <cyd@stupidchicken.com>
15718
15719 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15720 (custom-theme-summary): New function.
15721 (customize-themes): Use it.
15722
d647b7c4
GM
157232011-06-13 Glenn Morris <rgm@gnu.org>
15724
15725 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15726
9481c002
MR
157272011-06-13 Martin Rudalics <rudalics@gmx.at>
15728
357f93d2
MR
15729 * help.el (help-window): Remove variable.
15730 (help-window-point-marker, temp-buffer-max-height)
15731 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15732 (help-print-return-message): Don't set help-window.
15733 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15734 (help-window-setup-finish): Remove.
15735 (help-window-display-message, help-window-setup)
15736 (with-help-window): Major rewrite based on new
15737 display-buffer-window variable.
15738
15739 * help-mode.el (help-mode-finish): Remove help-window related
15740 code.
15741
15742 * view.el (view-exits-all-viewing-windows): Remove reference to
15743 view-return-to-alist in doc-string.
15744 (view-return-to-alist): Make obsolete.
15745 (view-buffer): Call pop-to-buffer-same-window and remove
15746 undo-window code.
15747 (view-buffer-other-window): Call pop-to-buffer-other-window and
15748 simplify code. Ignore second argument.
15749 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15750 simplify code. Ignore second argument.
15751 (view-return-to-alist-update): Make obsolete.
15752 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15753 Rewrite using quit-restore window parameters.
2b75be67
SM
15754 (view-mode-exit): Rename second argument to EXIT-ONLY.
15755 Rewrite using quit-restore-window.
357f93d2
MR
15756 (View-exit, View-exit-and-edit, View-leave, View-quit)
15757 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15758 appropriate arguments.
15759 (view-end-message): Use quit-restore window parameter.
15760
9481c002
MR
15761 * window.el (display-buffer-function): Rewrite doc-string.
15762 (display-buffer-window, display-buffer-alist): New variables.
15763 (display-buffer-split-specifiers)
15764 (display-buffer-side-specifiers)
15765 (display-buffer-macro-specifiers): New constants.
15766 (display-buffer-even-window-sizes, display-buffer-set-height)
15767 (display-buffer-set-width, display-buffer-select-window)
15768 (display-buffer-in-window, display-buffer-reuse-window)
15769 (display-buffer-split-window-1, display-buffer-split-window)
15770 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15771 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15772 (display-buffer-in-side-window, normalize-buffer-to-display)
15773 (display-buffer-normalize-specifiers-1)
15774 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15775 (display-buffer-normalize-specifiers, display-buffer-frame):
15776 New functions.
9481c002
MR
15777 (display-buffer): Major rewrite.
15778 (display-buffer-other-window, display-buffer-other-frame)
15779 (pop-to-buffer, switch-to-buffer-other-window)
15780 (switch-to-buffer-other-frame): Rewrite.
15781 (display-buffer-same-window, display-buffer-same-frame)
15782 (display-buffer-same-frame-other-window)
15783 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15784 (pop-to-buffer-other-window)
15785 (pop-to-buffer-same-frame-other-window)
15786 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15787 (switch-to-buffer-other-window-same-frame): New functions.
15788 (same-window-p, special-display-p): Rewrite disabling warnings.
15789 Make obsolete.
15790 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15791 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15792 Make obsolete
15793 (same-window-buffer-names, same-window-regexps)
15794 (special-display-frame-alist, special-display-popup-frame)
15795 (special-display-function, special-display-buffer-names)
15796 (special-display-regexps, pop-up-frame-alist)
15797 (pop-up-frame-function, split-window-preferred-function)
15798 (split-height-threshold, split-width-threshold)
15799 (even-window-heights): Make obsolete.
15800
9db51aca
GM
158012011-06-12 Glenn Morris <rgm@gnu.org>
15802
15803 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15804 Misc simplifications.
9db51aca 15805
39cffb44
MR
158062011-06-12 Martin Rudalics <rudalics@gmx.at>
15807
15808 * window.el (window-safely-shrinkable-p): Restore function which
15809 was inadvertently removed in change from 2011-06-11. Declare as
15810 obsolete.
15811
2b75be67
SM
15812 * calendar/calendar.el (calendar-generate-window):
15813 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15814 window-safely-shrinkable-p.
15815
a8955be7
GM
158162011-06-12 Glenn Morris <rgm@gnu.org>
15817
15818 * progmodes/fortran.el (fortran-mode-syntax-table):
15819 * progmodes/f90.el (f90-mode-syntax-table):
15820 Set % to punctuation. (Bug#8820)
15821 (f90-find-tag-default): Remove, no longer needed.
15822
f0d4059d
DC
158232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15824
15825 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15826
1100a63c
CY
158272011-06-11 Chong Yidong <cyd@stupidchicken.com>
15828
15829 * image.el (image-animated-p): Return animation delay in seconds.
15830 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15831 (image-animate-timeout): Remove DELAY argument. Don't assume
15832 every subimage has the same delay; get it from image-animated-p.
15833 (image-animate): Caller changed.
15834
def722bf
MA
158352011-06-11 Michael Albinus <michael.albinus@gmx.de>
15836
15837 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15838 to ignored backtrace functions.
15839
0a2bb1a9
GM
158402011-06-11 Glenn Morris <rgm@gnu.org>
15841
15842 * calendar/appt.el (appt-disp-window-function): Doc fix.
15843 (appt-check): Handle overlapping appointments. (Bug#8337)
15844
6198ccd0
MR
158452011-06-11 Martin Rudalics <rudalics@gmx.at>
15846
15847 * window.el (window-tree-1, window-tree): New functions, moving
15848 the latter to window.el.
15849 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15850 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15851 (bw-refresh-edges): Remove.
15852 (balance-windows-1, balance-windows-2): New functions.
15853 (balance-windows): Rewrite in terms of window tree functions,
15854 balance-windows-1 and balance-windows-2.
15855 (bw-adjust-window): Remove.
15856 (balance-windows-area-adjust): New function with functionality of
15857 bw-adjust-window but using resize-window.
2b75be67
SM
15858 (set-window-text-height): Rewrite doc-string.
15859 Use normalize-live-window and resize-window.
15860 (enlarge-window-horizontally, shrink-window-horizontally):
15861 Rename argument to DELTA.
6198ccd0
MR
15862 (window-buffer-height): New function.
15863 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15864 Rewrite using new window resize routines.
2b75be67
SM
15865 (kill-buffer-and-window, mouse-autoselect-window-select):
15866 Use ignore-errors instead of condition-case.
6198ccd0
MR
15867 (quit-window): Call delete-frame instead of delete-windows-on
15868 for the only buffer on frame.
15869
9397e56f
MR
158702011-06-10 Martin Rudalics <rudalics@gmx.at>
15871
15872 * loadup.el (top-level): Load window before files for the sake
15873 of replace-buffer-in-windows.
15874
15875 * files.el (read-buffer-to-switch)
15876 (switch-to-buffer-other-window)
2b75be67
SM
15877 (switch-to-buffer-other-frame, display-buffer-other-frame):
15878 Move to window.el.
9397e56f
MR
15879
15880 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15881 (previous-buffer): Move to window.el.
15882
15883 * bindings.el (unbury-buffer): Move to window.el.
15884
15885 * window.el (delete-other-windows-vertically): Move after
15886 definition of delete-other-windows.
15887 (other-window, delete-windows-on, replace-buffer-in-windows):
15888 Move here from window.c.
15889 (record-window-buffer, unrecord-window-buffer)
15890 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15891 (switch-to-next-buffer): New functions.
15892 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15893 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15894 (previous-buffer): Move here from simple.el.
15895 Call switch-to-prev-buffer.
9397e56f
MR
15896 (bury-buffer): Move here from buffer.c. Switch to previous
15897 buffer when window cannot be deleted.
15898 (unbury-buffer): Move here from bindings.el.
15899 (ctl-x-map): Move binding for other-window from window.c to
15900 here.
15901 (read-buffer-to-switch, switch-to-buffer-other-window)
15902 (switch-to-buffer-other-frame): Move here from files.el.
15903 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15904 (switch-to-buffer): Move here from buffer.c.
15905 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15906
562dd5e9
MR
159072011-06-10 Martin Rudalics <rudalics@gmx.at>
15908
15909 * window.el (window-min-height, window-min-width): Move here
15910 from window.c. Add defcustoms and rewrite doc-strings.
15911 (resize-mini-window, resize-window): New functions.
15912 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15913 Move here from window.c.
15914 (maximize-window, minimize-window): New functions.
15915 (delete-window, delete-other-windows, split-window): Move here
15916 from window.c.
15917 (window-split-min-size): New function.
15918 (split-window-keep-point): Mention split-window-above-each-other
15919 instead of split-window-vertically.
2b75be67 15920 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15921 Rename split-window-vertically to split-window-above-each-other
15922 and provide defalias for old definition.
15923 (split-window-side-by-side, split-window-horizontally):
15924 Rename split-window-horizontally to split-window-side-by-side
15925 and provide defalias for the old definition.
562dd5e9
MR
15926 (ctl-x-map): Move bindings for delete-window,
15927 delete-other-windows and enlarge-window here from window.c.
15928 Replace bindings for split-window-vertically and
15929 split-window-horizontally by bindings for
15930 split-window-above-each-other and split-window-side-by-side.
15931
15932 * cus-start.el (all): Remove entries for window-min-height and
15933 window-min-width. Add entries for window-splits and
15934 window-nest.
15935
f0da764a
GM
159362011-06-09 Glenn Morris <rgm@gnu.org>
15937
80675c21
GM
15938 * calendar/appt.el (appt-mode-line): New function.
15939 (appt-check, appt-disp-window): Use it.
15940
f0da764a
GM
15941 * files.el (hack-one-local-variable-eval-safep):
15942 Allow minor-modes with explicit +/-1 arguments.
15943
59f623b7
TZ
159442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15945
15946 * term/xterm.el (xterm): Add defgroup.
15947 (xterm-extra-capabilities): Add defcustom to supply known xterm
15948 capabilities, skip querying them, or query them (default).
15949 (terminal-init-xterm): Use it.
15950 (terminal-init-xterm-modify-other-keys): New function to set up
15951 modifyOtherKeys support to simplify `terminal-init-xterm'.
15952
9aab8e0d
MR
159532011-06-09 Martin Rudalics <rudalics@gmx.at>
15954
15955 * window.el (resize-window-reset, resize-window-reset-1)
15956 (resize-subwindows-skip-p, resize-subwindows-normal)
15957 (resize-subwindows, resize-other-windows, resize-this-window)
15958 (resize-root-window, resize-root-window-vertically)
15959 (window-deletable-p, window-or-subwindow-p)
15960 (frame-root-window-p): New functions.
15961
e8b08aee
GM
159622011-06-09 Glenn Morris <rgm@gnu.org>
15963
15964 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15965 (ange-ftp-get-files): Use it.
15966
254c37a5
AK
159672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15968
15969 * mail/sendmail.el (mail-recover-1, mail-recover):
15970 * files.el (recover-file, recover-session):
15971 Handle dired-listing-switches not being just a single short option.
15972
35d7dbd3
GM
159732011-06-09 Glenn Morris <rgm@gnu.org>
15974
15975 * calendar/appt.el (appt-display-message, appt-disp-window):
15976 Handle lists of appointments.
15977
387522b2
MR
159782011-06-08 Martin Rudalics <rudalics@gmx.at>
15979
2b75be67
SM
15980 * window.el (one-window-p): Move down in code.
15981 Rewrite doc-string.
15982 (window-current-scroll-bars): Rewrite doc-string.
15983 Normalize live window argument.
387522b2
MR
15984 (walk-windows, get-window-with-predicate, count-windows):
15985 Rewrite doc-string. Use window-list-1.
15986 (window-in-direction-2, window-in-direction, get-mru-window):
15987 New functions.
15988
d8e4b68b 159892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15990
15991 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15992 Doc fix (Bug#8713).
15993
159942011-06-08 Chong Yidong <cyd@stupidchicken.com>
15995
15996 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15997
159982011-06-08 Juanma Barranquero <lekktu@gmail.com>
15999
16000 * loadhist.el (unload-feature-special-hooks):
16001 Add `comint-output-filter-functions'.
16002
0de12c52
IK
160032011-06-08 Ivan Kanis <gnu@kanis.fr>
16004
16005 * calendar/appt.el (appt-check): Move some initializations into the let.
16006
f3d1777e
MR
160072011-06-08 Martin Rudalics <rudalics@gmx.at>
16008
16009 * window.el (window-height): Defalias to window-total-height.
16010 (window-width): Defalias to window-body-width.
16011
18af70d0
CY
160122011-06-07 Chong Yidong <cyd@stupidchicken.com>
16013
16014 * image-mode.el (image-toggle-animation): New command.
16015 (image-mode-map): Bind it to RET.
16016 (image-mode): Update message.
16017 (image-toggle-display-image): Avoid a spurious cache flush.
16018 (image-transform-rotation): Doc fix.
16019 (image-transform-properties): Return quickly in the normal case.
16020 (image-animate-loop): Rename from image-animate-max-time.
16021
2b75be67 16022 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16023 (create-animated-image): Remove unnecessary function.
16024 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16025 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16026 (image-animate-timer): Use car-safe.
16027 (image-animate-timeout): Rename argument.
16028
190b47e6
MR
160292011-06-07 Martin Rudalics <rudalics@gmx.at>
16030
16031 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16032 window.c. Rename first argument to ALL-FRAMES.
16033 Rephrase doc-strings.
16034 (get-buffer-window-list): Rewrite using window-list-1.
16035 Rephrase doc-string.
a1511caf
MR
16036 (window-safe-min-height, window-safe-min-width): New constants.
16037 (window-size-ignore, window-min-size, window-min-size-1)
16038 (window-sizable, window-sizable-p, window-size-fixed-1)
16039 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16040 (window-max-delta-1, window-max-delta, window-resizable)
16041 (window-resizable-p, window-total-height, window-total-width)
16042 (window-body-width): New functions.
16043 (window-full-height-p, window-full-width-p): Rewrite using
16044 window-total-size.
16045 (window-body-height): Rewrite using window-body-size.
190b47e6 16046
85cc1f11
MR
160472011-06-06 Martin Rudalics <rudalics@gmx.at>
16048
16049 * window.el (window-right, window-left, window-child)
16050 (window-child-count, window-last-child, window-any-p)
16051 (normalize-live-buffer, normalize-live-frame)
16052 (normalize-any-window, normalize-live-window)
16053 (window-iso-combination-p, window-iso-combined-p)
16054 (window-iso-combinations)
16055 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16056 (windows-with-parameter, window-with-parameter)
16057 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16058 (window-atom-check, window-side-check, window-check):
16059 New functions.
85cc1f11
MR
16060 (ignore-window-parameters, window-sides, window-sides-vertical)
16061 (window-sides-slots): New variables.
16062 (window-size-fixed): Move down in code. Minor doc-string fix.
16063
e7156492
AS
160642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16065
16066 * comint.el (comint-dynamic-complete-as-filename)
16067 (comint-dynamic-complete-filename): Correctly call
16068 completion-in-region.
16069
7e821d0d
DD
160702011-06-05 Deniz Dogan <deniz@dogan.se>
16071
16072 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16073 in last change.
16074
ac09b8a1
DD
160752011-06-05 Deniz Dogan <deniz@dogan.se>
16076
16077 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16078 (rcirc): Use it to prompt for encryption.
16079
34699b85
RW
160802011-06-05 Roland Winkler <winkler@gnu.org>
16081
16082 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16083 (bibtex-search-entries): New command bound to C-c C-a.
16084 (bibtex-display-entries): New function.
16085
004dedd3
RW
160862011-06-05 Roland Winkler <winkler@gnu.org>
16087
16088 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16089 (bibtex-insert-kill): After yanking insert newline if necessary.
16090 (bibtex-initialize): Call bibtex-string-files-init only once.
16091 (bibtex-mode): Do not call easy-menu-add.
16092 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16093 (bibtex-yank): Set arg properly if nil.
16094
022fe7ce
RW
160952011-06-05 Roland Winkler <winkler@gnu.org>
16096
2b75be67
SM
16097 * textmodes/bibtex.el (bibtex-search-entry-globally):
16098 New variable.
022fe7ce
RW
16099 (bibtex-search-entry): Use it.
16100
b7c3692a
RW
161012011-06-05 Roland Winkler <winkler@gnu.org>
16102
16103 * textmodes/bibtex.el (bibtex-entry-format): New option
16104 sort-fields.
16105 (bibtex-format-entry, bibtex-reformat): Honor this option.
16106 (bibtex-parse-entry): Return fields in proper order.
16107
8eda563d
JB
161082011-06-05 Juanma Barranquero <lekktu@gmail.com>
16109
16110 * doc-view.el (doc-view-remove-if): Move computation of result out
16111 of `dolist' to silence misleading lexical-binding warning.
16112
7dbe3dbc
CY
161132011-06-04 Chong Yidong <cyd@stupidchicken.com>
16114
16115 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16116 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16117
0c33dd17
MA
161182011-06-04 Michael Albinus <michael.albinus@gmx.de>
16119
16120 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16121 "SunOS 5.10".
16122
f8f91c2b
MA
161232011-06-04 Michael Albinus <michael.albinus@gmx.de>
16124
16125 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16126 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16127 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16128 (tramp-parse-putty):
16129 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16130 (tramp-completion-function-alist-ssh)
16131 (tramp-completion-function-alist-telnet)
16132 (tramp-completion-function-alist-su)
16133 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16134 cookie.
16135
16136 * net/tramp-ftp.el:
16137 * net/tramp-sh.el:
16138 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16139 load "tramp.el" `tramp-set-completion-function'.
16140
e17d9003
SM
161412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16142
16143 * shell.el: Require and use pcomplete.
16144 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16145 (shell-completion-vars): Set pcomplete-default-completion-function.
16146
6c4cab03
DD
161472011-06-04 Deniz Dogan <deniz@dogan.se>
16148
16149 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16150 `memq' (Bug#8799).
16151
ea9fafe0
SM
161522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16153
16154 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16155
b3e945d3
JB
161562011-06-02 Juanma Barranquero <lekktu@gmail.com>
16157
16158 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16159 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16160 * vc/log-view.el (log-view-beginning-of-defun):
16161 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16162 (smerge-refine-forward, smerge-refine-chopup-region):
16163 Silence warning for unused `dotimes' counter variables.
16164
7d520089
SM
161652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16166
16167 * net/tramp.el (tramp-with-progress-reporter): Rename from
16168 with-progress-reporter. Use `declare'.
16169 * net/tramp-smb.el:
16170 * net/tramp-sh.el:
16171 * net/tramp-gvfs.el: Update all uses.
16172
a1c2400f
JB
161732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16174
16175 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16176 buffer isn't killed before making it current.
16177
2403c841
SM
161782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16179
16180 Silence various byte-compiler warnings.
16181 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16182 `access-type' and new obsolescence format.
16183 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16184 new format.
16185 (byte-compile-check-variable): New `access-type' argument.
16186 Only warn if the access-type is obsolete.
16187 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16188 (byte-compile-variable-set): Adjust callers.
16189 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16190 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16191 setting it as obsolete.
16192 * simple.el (minibuffer-completing-symbol):
16193 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16194 access as obsolete.
16195 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16196 obsolete yet.
16197 * international/quail.el (quail-mouse-choose-completion): Remove unused
16198 code referring to obsolete var.
16199 (quail-choose-completion-string): Remove.
16200 * server.el (server-clients-with, server-kill-buffer-query-function)
16201 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16202 * proced.el (proced-send-signal):
16203 * emacs-lisp/lisp.el (lisp-complete-symbol):
16204 Replace completion-annotate-function with completion-extra-properties.
16205
2462470b
SM
162062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16207
fb5b2591
SM
16208 * simple.el (goto-line): Use read-number.
16209 (overriding-map-is-bound): Remove.
16210 (saved-overriding-map): Change default.
16211 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16212 Take the map as argument.
16213 (universal-argument, negative-argument, digit-argument): Use it.
16214 (restore-overriding-map): Adjust.
16215 (do-auto-fill): Use fill-forward-paragraph.
16216 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16217
fd6fa53f
SM
16218 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16219 (minibuffer-inactive-mode): New major mode.
16220 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16221 the *Messages* buffer" hack.
16222 (mouse-popup-menubar): Don't burp if the event is a normal key.
16223
2462470b
SM
16224 Miscellaneous tweaks.
16225 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16226 lexical scoping as in subr.el's dolist and dotimes.
16227 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16228 Silence compiler warning.
16229 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16230 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16231 * international/ccl.el (ccl-compile): Trivial simplification.
16232 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16233 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16234 `printflag' argument.
16235 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16236 Purecopy the whole obsolescence data.
16237
108bf785
LL
162382011-06-01 Leo Liu <sdl.web@gmail.com>
16239
16240 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16241 improve doc-string as suggested by Marco Pessotto
16242 <melmothx@gmail.com>.
16243 (rcirc-print): Fix last change.
16244
30a23501
SM
162452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16246
16247 * minibuffer.el (complete-with-action): Return nil for the metadata and
16248 boundaries of non-functional tables.
16249 (completion-table-dynamic): Return nil for the metadata.
16250 (completion-table-with-terminator): Add default case, using
16251 complete-with-action.
16252 (completion--metadata): New function.
16253 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16254 to try and avoid pathological performance problems.
16255 (completion--embedded-envvar-table): Return `category' metadata.
16256
bcd54f83
LMI
162572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16258
16259 * subr.el (process-alive-p): New tiny convenience function.
16260
e227544d
SM
162612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16262
16263 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16264 content but also its previous major mode.
16265
e8296fdc
HE
162662011-05-31 Helmut Eller <eller.helmut@gmail.com>
16267
4d61f28d 16268 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16269 *Backtrace* buffer when we exit with C-M-c.
16270
620c53a6
SM
162712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16272
16273 * minibuffer.el: Add metadata method to completion tables.
16274 (completion-category-overrides): New defcustom.
16275 (completion-metadata, completion--field-metadata)
16276 (completion-metadata-get, completion--styles)
16277 (completion--cycle-threshold): New functions.
16278 (completion-try-completion, completion-all-completions):
16279 Add `metadata' argument to choose completion-styles.
16280 (completion--do-completion): Use metadata to choose cycling.
16281 (completion-all-sorted-completions): Use metadata for sorting.
16282 Remove :completion-cycle-penalty which is not needed any more.
16283 (completion--try-word-completion): Add `metadata' argument.
16284 (minibuffer-completion-help): Check metadata for annotation function
16285 and sorting.
16286 (completion-file-name-table): Return `category' metadata.
16287 (minibuffer-completing-file-name): Make obsolete.
16288 * simple.el (minibuffer-completing-symbol): Make obsolete.
16289 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16290 completion-try-completion.
16291
1257e755
SM
162922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16293
16294 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16295
3767e706
LL
162962011-05-30 Leo Liu <sdl.web@gmail.com>
16297
16298 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16299 (rcirc-print): Decode all incoming messages (bug#8744).
16300 (rcirc-decode-coding-system): Allow value nil for automatic coding
16301 system detection.
3767e706 16302
d1a5d56a
GM
163032011-06-01 Glenn Morris <rgm@gnu.org>
16304
16305 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16306
e8cbec34
CY
163072011-05-29 Chong Yidong <cyd@stupidchicken.com>
16308
16309 * image.el (image-animate-max-time): Allow nil and t values.
16310 Default to nil.
16311 (create-animated-image): Doc fix.
16312 (image-animate-start): Remove second arg; just use
16313 image-animate-max-time.
16314 (image-animate-timeout): Doc fix. Args changed.
16315
16316 * image-mode.el (image-toggle-display-image): Ensure that the
16317 image spec passed to the animate timer is the same object as in
58179cce 16318 the buffer's display property (Bug#6981).
e8cbec34
CY
16319 (image-transform-properties): Doc fix.
16320
16321 * image.el (image-animate-max-time): Default to nil.
16322
159daf87
MR
163232011-05-29 Martin Rudalics <rudalics@gmx.at>
16324
16325 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16326 entire buffer list (Bug#8184).
16327
d66c4c7c
CY
163282011-05-29 Chong Yidong <cyd@stupidchicken.com>
16329
16330 * image.el (imagemagick-types-inhibit)
16331 (imagemagick-register-types): Doc fix.
16332
80aec780
DD
163332011-05-29 Deniz Dogan <deniz@dogan.se>
16334
16335 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16336 default.
16337
1dd3c2d9
CY
163382011-05-29 Chong Yidong <cyd@stupidchicken.com>
16339
16340 * select.el: Don't perform clipboard-manager saving in hooks;
16341 leave the hooks empty.
16342
60e56523
LL
163432011-05-28 Leo Liu <sdl.web@gmail.com>
16344
16345 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16346 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16347 (occur-edit-mode): New major mode (Bug#8463).
16348 (occur-after-change-function): New function.
16349 (occur-engine): Give Occur tags a read-only property.
16350
2b1e1a22
KR
163512011-05-28 Kevin Ryde <user42@zip.com.au>
16352
16353 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16354
5d344e88
CY
163552011-05-28 Chong Yidong <cyd@stupidchicken.com>
16356
8e6ca83d
CY
16357 * bindings.el (help-echo): Make the initial non-indicator dash
16358 empty on graphical terminals (Bug#7295).
16359
5d344e88
CY
16360 * files.el (auto-mode-alist): Move config rule after the
16361 in-stripping one (Bug#8547).
16362
bfbbace7
CY
16363 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16364
fbeba6e2
CY
16365 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16366 setting (Bug#8740).
16367
60ed8c72
AA
163682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16369
4ac619f0
AA
16370 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16371 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16372 (Bug#8539).
60ed8c72 16373
23db196e
CY
163742011-05-28 Chong Yidong <cyd@stupidchicken.com>
16375
16376 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16377
5012f24c
DK
163782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16379
16380 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16381 (hs-hide-block-at-point, hs-find-block-beginning)
16382 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16383 (Bug#8279).
16384
6a639b16
GM
163852011-05-28 Glenn Morris <rgm@gnu.org>
16386
16387 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16388
d43eaf2c
CY
163892011-05-28 Chong Yidong <cyd@stupidchicken.com>
16390
5199bde1
CY
16391 * help-fns.el (describe-function-1): If the function is a derived
16392 major mode, print the parent mode.
16393
d43eaf2c
CY
16394 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16395 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16396
423428a8
SM
163972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16398
0ff8e1ba 16399 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16400 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16401 * progmodes/etags.el (tags-completion-at-point-function):
16402 * info-look.el (info-lookup-completions-at-point): Mark as
16403 non-exclusive.
16404 (info-complete): Adjust accordingly.
16405
423428a8
SM
16406 * info-look.el: Convert to lexical-binding and completion-at-point.
16407 (info-lookup-completions-at-point): New function.
16408 (info-complete): Use it and completion-in-region.
16409
b74aa22b
DA
164102011-05-28 Drew Adams <drew.adams@oracle.com>
16411
16412 * isearch.el: Let M-e start with point at the first mismatched char.
16413 (isearch-fail-pos): New function.
16414 (isearch-edit-string): Use it.
16415
66e2e71d
DK
164162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16417
16418 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16419
b1890b0f 164202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16421
16422 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16423 traversal functions for avl-trees.
16424 (avl-tree--stack): New struct.
16425 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16426 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16427 (avl-tree--do-enter): Add optional `updatefun' arg.
16428 Change return value.
eb95d01d 16429 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16430 (avl-tree--do-delete): Add `test' and `nilflag' args.
16431 Change return value.
eb95d01d
TC
16432 (avl-tree-member): Add optional `nilflag'
16433 (avl-tree-member-p): New function.
16434 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16435 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16436 (avl-tree-stack-empty-p): New functions.
16437
3769ddcf
TC
16438 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16439 avl-tree--del-balance1 and make it work both ways.
16440 (avl-tree--del-balance2): Remove.
16441 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16442 make it work both ways.
16443 (avl-tree--enter-balance2): Remove.
16444 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16445 New macros.
16446 (avl-tree--mapc, avl-tree-map): Add direction argument.
16447
eb95d01d 164482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16449
16450 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16451
a9f737ee
CY
164522011-05-27 Chong Yidong <cyd@stupidchicken.com>
16453
16454 * select.el: Support clipboard managers with built-in function
16455 x-clipboard-manager-save, via delete-frame-functions and
16456 kill-emacs-hook.
16457 (xselect-convert-to-targets): Add MULTIPLE target to list.
16458 (xselect-convert-to-save-targets): New function.
16459
c92a1e54
KH
164602011-05-27 Kenichi Handa <handa@m17n.org>
16461
16462 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16463 let-binding rfc2047-encode-encoded-words to nil.
16464
e145f188
GM
164652011-05-27 Glenn Morris <rgm@gnu.org>
16466
5ec8a862
GM
16467 * mail/emacsbug.el: Don't require url-util.
16468
4b29d9fb
GM
16469 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16470
e145f188
GM
16471 * files.el (set-auto-mode):
16472 Also respect mode: entries at the end of the file. (Bug#8586)
16473
7d15102b
GM
164742011-05-26 Glenn Morris <rgm@gnu.org>
16475
98f593b8
GM
16476 * files.el (hack-local-variables-prop-line, hack-local-variables):
16477 Downcase mode names, as seems to be traditional.
27b48e63 16478 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16479
7d15102b
GM
16480 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16481 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16482
51d5b4ec
JD
164832011-05-25 Julien Danjou <julien@danjou.info>
16484
16485 * textmodes/rst.el (rst-define-level-faces): Do not define face
16486 symbol if it is already defined.
16487
91513f63
VB
164882011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16489
16490 * play/5x5.el (5x5-new-game, 5x5-randomize):
16491 Reset 5x5-solver-output to nil when a new grid is cast.
16492 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16493 these debugging traces, as defmacro breaks the compiled code.
16494
4d90d6d0
DK
164952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16496
16497 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16498
e1b90ef6
LL
164992011-05-24 Leo Liu <sdl.web@gmail.com>
16500
16501 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16502 (vc-bzr-sha1): Adapt.
16503
d8e4b68b 16504 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16505
16506 * bindings.el: Provide sha1 feature.
16507
db0406bb 165082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16509
16510 * mail/sendmail.el: Require `rfc2047'.
16511 (mail-insert-from-field): Do not perform RFC2047 encoding.
16512 (mail-encode-header): New function.
16513 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16514 buffer to the return value of select-message-coding-system.
16515 Call mail-encode-header.
b8d747b9
KH
16516
16517 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16518
db0406bb 165192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16520
4d90d6d0
DK
16521 * mail/supercite.el (sc-default-cite-frame):
16522 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16523
eb8a5e9b
GM
165242011-05-24 Glenn Morris <rgm@gnu.org>
16525
f8630703
GM
16526 * progmodes/python.el (brm-menu): Declare.
16527
8831bbed
GM
16528 * emulation/viper.el (viper-set-hooks): Declare.
16529
eb8a5e9b
GM
16530 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16531 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16532 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16533 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16534 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16535 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16536
a2a25d24
SM
165372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16538
16539 Add an :exit-function for completion-at-point.
16540
16541 * minibuffer.el (completion--done): New fun.
16542 (completion--do-completion): Use it. New arg `expect-exact'.
16543 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16544 since completion--do-completion does it for us now.
16545 (minibuffer-force-complete): Use completion--done and
16546 completion--replace. Handle sole-completion case with more care.
16547 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16548 (completion-extra-properties): New var.
16549 (completion-annotate-function): Make obsolete.
16550 (minibuffer-completion-help): Adjust accordingly.
16551 Use completion-list-insert-choice-function.
16552 (completion-at-point, completion-help-at-point):
16553 Bind completion-extra-properties.
16554 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16555 * simple.el (completion-list-insert-choice-function): New var.
16556 (completion-setup-function): Preserve it.
16557 (choose-completion): Pay attention to it, shuffle the code a bit.
16558 (choose-completion-string): New arg `insert-function'.
16559
16560 * textmodes/bibtex.el: Convert to lexical binding.
16561 (bibtex-mode-map): Use completion-at-point.
16562 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16563 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16564 (bibtex-complete): Define as obsolete alias.
16565 (bibtex-complete-internal): Remove.
16566 (bibtex-format-entry): Remove unused sub-group in regexp.
16567 * shell.el (shell--command-completion-data)
16568 (shell-environment-variable-completion):
16569 * pcomplete.el (pcomplete-completions-at-point):
16570 * comint.el (comint--complete-file-name-data): Use :exit-function
16571 instead of completion-table-with-terminator so it also works for
16572 choose-completion.
16573
e44e373d
SM
165742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16575
4f91a816
SM
16576 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16577
782fc819
SM
16578 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16579 (bug#8710).
16580
e44e373d
SM
16581 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16582
381987c3
KM
165832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16584
16585 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16586 customization variable and implement: If non-nil, auto-fill will
16587 be inhibited while on topic's header line.
16588
b776bc70
VB
165892011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16590
16591 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16592 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16593 always have a solution in grid size = 5 cases.
16594 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16595 (5x5-solver-output, 5x5-log-buffer): New vars.
16596 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16597 Make these variables buffer local to achieve 5x5 multi-session-ness.
16598 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16599 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16600 (5x5-solve-suggest): New funs.
16601 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16602 randomize a grid so that we ensure that there is always a solution.
16603 (5x5-make-random-grid): Allow other movement than flipping.
16604
7de88b6e
KR
166052011-05-23 Kevin Ryde <user42@zip.com.au>
16606
16607 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16608 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16609 advice and passes PREDICATE.
16610
b1ef1257
SM
166112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16612
bbca48fe
SM
16613 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16614 byte-compile-lambda if it's actually a lambda.
16615
b1ef1257
SM
16616 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16617 Fix function quoting. Use backquote better.
16618
92a9cc65
YS
166192011-05-22 Yuanle Song <sylecn@gmail.com>
16620
16621 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16622 matching (Bug#8516).
16623
f0fb8059
JA
166242011-01-22 Jari Aalto <jari.aalto@cante.net>
16625
16626 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16627 different face (Bug#8178).
16628
d5b44c93
CY
166292011-05-22 Chong Yidong <cyd@stupidchicken.com>
16630
16631 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16632 defface (Bug#8144).
16633
79106a44
SM
166342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16635
9c848d8a
SM
16636 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16637 funcall as well (bug#8712). Warn when performing those conversions.
16638 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16639
79106a44
SM
16640 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16641
88dfa756
GM
166422011-05-22 Glenn Morris <rgm@gnu.org>
16643
16644 * files.el (hack-local-variables-prop-line): Small simplifications.
16645 (hack-local-variables, hack-local-variables-prop-line):
16646 If MODE-ONLY, return the mode, rather than just `t'.
16647
b7cf2c79
SM
166482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16649
16650 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16651
3f1a8558
GM
166522011-05-21 Glenn Morris <rgm@gnu.org>
16653
7e4ccca3
GM
16654 * files.el (hack-local-variables-prop-line, hack-local-variables):
16655 If only interested in the mode, don't bother doing the other stuff.
16656
637d46ca
GM
16657 * image-mode.el (image-after-revert-hook):
16658 Redraw all frames on which the image is visible. (Bug#8567)
16659
973d955b
GM
16660 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16661
3f1a8558
GM
16662 * wid-edit.el (widget-checklist-match-inline):
16663 Fix 2011-04-19 change. (Bug#8649)
16664
96479927
SM
166652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16666
1dcf791f
SM
16667 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16668 Also allow singlespace after single-letter capitals followed by a dot.
16669
96479927
SM
16670 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16671 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16672
35fd0881
N
166732011-05-20 Nix <nix@esperi.org.uk>
16674
16675 * files.el (basic-save-buffer-2):
16676 Fix handling of break-hardlink-on-save with non-existent files.
16677
82745640
DD
166782011-05-19 Deniz Dogan <deniz@dogan.se>
16679
16680 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16681 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16682
4a720484
GM
166832011-05-19 Glenn Morris <rgm@gnu.org>
16684
d1f21341
GM
16685 * progmodes/f90.el (f90-type-def-re):
16686 Handle "type, bind(c)". (Bug#8691)
16687
4a720484
GM
16688 * emacs-lisp/autoload.el (batch-update-autoloads):
16689 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16690
2fb0a219
MA
166912011-05-18 Michael Albinus <michael.albinus@gmx.de>
16692
16693 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16694 property for the correct connection in case of multihops.
16695
e565dd37
GM
166962011-05-18 Glenn Morris <rgm@gnu.org>
16697
c2571358 16698 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16699 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16700
e565dd37
GM
16701 Rationalize calendar handling of day and month abbrev-arrays.
16702 * calendar/calendar.el (calendar-customized-p): New function.
16703 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16704 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16705 Add :set function.
16706 (calendar-abbrev-length, calendar-day-abbrev-array)
16707 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16708 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16709 Elements may no longer be nil.
16710 (calendar-day-name, calendar-month-name):
16711 Update for changed nature of abbrev arrays.
16712 * calendar/diary-lib.el (diary-name-pattern):
16713 Update for changed nature of abbrev arrays.
16714 (diary-mark-entries-1): Update calendar-make-alist calls.
16715 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16716 * calendar/cal-html.el (cal-html-day-abbrev-array):
16717 Simply inherit from calendar-day-abbrev-array.
16718
1d99a745
SM
167192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16720
16721 * progmodes/grep.el (grep-mode): Disable default
16722 compilation-directory-matcher setting (bug#8684).
16723
7c1d9aa0
MA
167242011-05-17 Michael Albinus <michael.albinus@gmx.de>
16725
16726 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16727 instead of "head" and "tail". There were problems with SunOS 5.9,
16728 and it performs better.
16729
3952e9d8
GM
167302011-05-17 Glenn Morris <rgm@gnu.org>
16731
2dd12e7f
GM
16732 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16733
e4157b9c
GM
16734 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16735 Replace obsolete function.
16736
8e249bbd
GM
16737 * shell.el (pcomplete-parse-arguments-function): Declare.
16738
3952e9d8
GM
16739 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16740 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16741 (appt-check): Doc fixes.
16742 (appt-disp-window-function, appt-delete-window-function):
16743 Remove needless special case in custom :type.
16744 (appt-display-count): Default to 0, not nil.
16745 (appt-check): Reset appt-display-count to 0, not nil.
16746
c71a0d48 167472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16748
c71a0d48
GM
16749 * progmodes/python.el (python-font-lock-keywords):
16750 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16751
31d55be9
SM
167522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16753
16754 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16755
3bfacb2f
KR
167562011-05-16 Kevin Ryde <user42@zip.com.au>
16757
16758 * info-look.el (makefile-automake-mode): New setups, looking in
16759 automake manual, then makefile-mode.
16760 (makefile-mode): Remove automake manual, have it just in
16761 makefile-automake-mode since there's various things different or
16762 not relevant to plain make.
16763 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16764 believe a hypothetical automake-mode would go to makefile-mode,
16765 not the other way around.
16766
c8e83751
CY
167672011-05-15 Chong Yidong <cyd@stupidchicken.com>
16768
5e9e35cd
CY
16769 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16770 hunk-end tags (Bug#8672).
16771
c8e83751
CY
16772 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16773 vc-annotate-show-diff-revision-at-line (Bug#8671).
16774
50b23e5a
GM
167752011-05-14 Glenn Morris <rgm@gnu.org>
16776
7210a739
GM
16777 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16778 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16779 (change-log-font-lock-keywords): Also handle multiple author lines
16780 with leading tabs. (Bug#8644)
7210a739 16781
4691905a
GM
16782 * calendar/appt.el (appt-check): Rename some local variables.
16783 Some simplification/reordering.
16784
50b23e5a
GM
16785 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16786 (feedmail-sendmail-f-doesnt-sell-me-out)
16787 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16788 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16789 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16790 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16791 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16792 (feedmail-binmail-gnulinuxish-template):
16793 Rename from feedmail-binmail-linuxish-template.
16794 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16795 Use insert-buffer-substring.
16796
215cda7c
BC
167972011-05-14 Bill Carpenter <bill@carpenter.org>
16798
16799 * mail/feedmail.el (feedmail-patch-level): Increase.
16800 (feedmail-debug): New custom group.
16801 (feedmail-confirm-outgoing-timeout)
16802 (feedmail-sendmail-f-doesnt-sell-me-out)
16803 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16804 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16805 (feedmail-sender-line, feedmail-from-line)
16806 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16807 (feedmail-spray-this-address)
215cda7c
BC
16808 (feedmail-spray-address-fiddle-plex-list)
16809 (feedmail-queue-use-send-time-for-date)
16810 (feedmail-queue-use-send-time-for-message-id)
16811 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16812 (feedmail-buffer-eating-function):
16813 Doc fixes.
16814 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16815 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16816 (feedmail-message-action-scroll-down): New functions.
16817 (feedmail-queue-directory, feedmail-queue-draft-directory):
16818 Use expand-file-name.
16819 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16820 Remove C-v help entry.
16821 (feedmail-queue-buffer-file-name): New variable.
16822 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16823 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16824 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16825 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16826 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16827 (feedmail-message-action-toggle-spray)
16828 (feedmail-run-the-queue-no-prompts)
16829 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16830 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16831 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16832 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16833 (feedmail-envelope-deducer, feedmail-fiddle-from)
16834 (feedmail-fiddle-sender, feedmail-default-date-generator)
16835 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16836 (feedmail-fiddle-spray-address)
16837 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16838 (feedmail-fiddle-list-of-fiddle-plexes)
16839 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16840 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16841 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16842 Change default. Doc fix.
16843 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16844 (feedmail-binmail-linuxish-template): New constant.
16845 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16846 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16847 (feedmail-send-it): Add debug call.
16848 Use feedmail-queue-buffer-file-name, and
16849 feedmail-send-it-immediately-wrapper.
16850 (feedmail-message-action-send): Add debug call.
16851 Use feedmail-send-it-immediately-wrapper.
16852 (feedmail-queue-express-to-queue): Add debug call.
16853 Run feedmail-queue-express-hook.
16854 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16855 (feedmail-message-action-help-blat):
16856 Rename from feedmail-queue-send-edit-prompt-help-first.
16857 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16858 Check line-endings. Handle errors better.
16859 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16860 Doc fix. Add debug call.
16861 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16862 Use feedmail-queue-send-edit-prompt-inner.
16863 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16864 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16865 from feedmail-queue-send-edit-prompt.
16866 (feedmail-queue-send-edit-prompt-help)
16867 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16868 (feedmail-tidy-up-slug): Add debug call.
16869 Respect feedmail-queue-slug-suspect-regexp.
16870 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16871 (feedmail-dump-message-to-queue): Add debug call.
16872 Expand queue-directory.
16873 (feedmail-dump-message-to-queue): Change message slightly.
16874 Use feedmail-say-chatter.
16875 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16876 (feedmail-send-it-immediately-wrapper): New function.
16877 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16878 Insert empty string rather than newline. Handle full-frame case.
16879 Use catch/throw. Use feedmail-say-chatter.
16880 (feedmail-fiddle-from): Try mail-host-address.
16881 (feedmail-default-message-id-generator): Doc fix.
16882 Bind system-time-locale. Handle missing end.
16883 (feedmail-fiddle-x-mailer): Add debug call.
16884 Handle feedmail-x-mailer-line being nil.
16885 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16886 Add debug call. Use buffer-substring-no-properties.
16887 (feedmail-say-debug, feedmail-say-chatter): New functions.
16888 (feedmail-find-eoh): Give an explicit error.
16889
42c7e61e
UJ
168902011-05-13 Ulf Jasper <ulf.jasper@web.de>
16891
c2571358 16892 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16893 family from helvetica to sans.
c2571358 16894 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16895 etc/images/newsticker.
16896
c2571358 16897 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16898 family from helvetica to sans.
16899
16900 * net/newst-plainview.el (newsticker-new-item-face)
16901 (newsticker-old-item-face, newsticker-immortal-item-face)
16902 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16903 (newsticker-statistics-face): Change default family from
42c7e61e 16904 helvetica to sans.
c2571358 16905 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16906 etc/images/newsticker.
16907
5d3385a0
JB
16908 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16909 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16910 auto-marking.
16911
8497a297
DV
169122011-05-13 Didier Verna <didier@xemacs.org>
16913
16914 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16915 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16916 TODO entries.
8497a297
DV
16917 (lisp-lambda-list-keyword-parameter-indentation)
16918 (lisp-lambda-list-keyword-parameter-alignment)
16919 (lisp-lambda-list-keyword-alignment): New customizable user options.
16920 (lisp-indent-defun-method): Improve docstring.
16921 (extended-loop-p): Fix comment.
16922 (lisp-indent-lambda-list-keywords-regexp): New variable.
16923 (lisp-indent-lambda-list): New function.
16924 (lisp-indent-259): Use it.
16925 (lisp-indent-defmethod): Support for more than one
16926 method qualifier and properly indent methods lambda-lists.
16927 (defgeneric): Provide a missing common-lisp-indent-function property.
16928
f278f87f
SM
169292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16930
16931 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16932 bounds for the empty string (bug#8667).
16933
5233edd7
GM
169342011-05-13 Glenn Morris <rgm@gnu.org>
16935
5237a44f
GM
16936 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16937
8340026c 16938 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16939 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16940
5233edd7 16941 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16942 (appt-time-msg-list): Doc fix.
a5464014 16943 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16944
92d10796
AS
169452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16946
16947 * progmodes/ld-script.el (ld-script-keywords)
16948 (ld-script-builtins): Update keywords list.
16949
914a0ae1
SM
169502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16951
c89be45f
SM
16952 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16953
914a0ae1
SM
16954 * shell.el (shell-completion-vars): New function.
16955 (shell-mode):
16956 * simple.el (read-shell-command): Use it.
16957 (blink-matching-open): No need for " [...]" in minibuffer-message.
16958
98dc3df3
GM
169592011-05-12 Glenn Morris <rgm@gnu.org>
16960
16961 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16962 (appt-check): Simplify.
16963
d2fc7e3d 169642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16965
4d61f28d 16966 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16967 literal "/dev/null".
16968
d2fc7e3d 169692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16970
16971 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16972 Fix typo.
16973
d2fc7e3d 169742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16975
3f254caa
SM
16976 * progmodes/which-func.el (which-function):
16977 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16978 which might not be defined (Bug#8260).
16979
d45885f7
GM
169802011-05-12 Glenn Morris <rgm@gnu.org>
16981
16982 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16983 Let byte-compile-initial-macro-environment always take precedence.
16984
488086f4
SM
169852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16986
16987 * net/rcirc.el: Add support for SSL/TLS connections.
16988 (rcirc-server-alist): New field `encryption'.
16989 (rcirc): Check `encryption' settings.
16990 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16991 Merge make-local-variable into `set'.
16992 (rcirc--connection-open-p): New function.
16993 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16994 the process is not a network process (e.g. running gnutls-cli).
16995 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16996 Make rcirc-(en|de)code-coding-system local here.
16997 (rcirc-mode): Merge make-local-variable into `set'.
16998 (rcirc-parent-buffer): Make permanent buffer-local.
16999 (rcirc-multiline-minor-mode): Don't do it here.
17000 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17001 there's no server buffer.
17002
7d3b9d44
GM
170032011-05-11 Glenn Morris <rgm@gnu.org>
17004
f64049c6
GM
17005 * newcomment.el (comment-kill): Prefix "unused" local.
17006
93c9df73
GM
17007 * term/w32console.el (get-screen-color): Declare.
17008
7d3b9d44
GM
17009 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17010 Handle symbol elements of byte-compile-initial-macro-environment.
17011
9e2dd53f
LL
170122011-05-10 Leo Liu <sdl.web@gmail.com>
17013
488086f4
SM
17014 * bookmark.el (bookmark-bmenu-mode-map):
17015 Bind bookmark-bmenu-search to `/'.
8b340240 17016
9e2dd53f 17017 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17018 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17019 (Footnote-unicode): New function.
17020 (footnote-style-alist): Add unicode style to the list.
17021 (footnote-style): Doc fix.
9e2dd53f 17022
79b70037
GM
170232011-05-10 Jim Meyering <meyering@redhat.com>
17024
17025 Fix doubled-word typos.
17026 * international/quail.el (quail-insert-kbd-layout): and and -> and
17027 * kermit.el: and and -> and
17028 * net/ldap.el (ldap-search-internal): to to -> to
17029 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17030 * progmodes/js.el (js-mode): and and -> and
17031 * textmodes/artist.el (artist-move-to-xy): at at -> at
17032 (artist-draw-region-trim-line-endings): if if -> if
17033 And Safetyc -> Safety.
17034 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17035
b8f82dc1 170362011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17037 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17038
17039 * files.el (hack-one-local-variable-eval-safep):
17040 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17041
4f99f44b
GM
170422011-05-10 Glenn Morris <rgm@gnu.org>
17043
17044 * calendar/diary-lib.el (diary-list-entries-hook)
17045 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17046 (diary-nongregorian-marking-hook, diary-list-entries)
17047 (diary-include-other-diary-files, diary-mark-entries)
17048 (diary-mark-included-diary-files): Doc fixes.
17049
84f29e6b
JB
170502011-05-09 Juanma Barranquero <lekktu@gmail.com>
17051
17052 * misc.el: Require tabulated-list.el during compilation.
17053
9bedd73a
CY
170542011-05-09 Chong Yidong <cyd@stupidchicken.com>
17055
488086f4
SM
17056 * progmodes/compile.el (compilation-start):
17057 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17058 (compilation-filter-hook): Doc fix.
17059
797c735c
DD
170602011-05-09 Deniz Dogan <deniz@dogan.se>
17061
17062 * wdired.el: Remove outdated installation comment. Fix usage
17063 comment.
17064
5f4b1dfe
JB
170652011-05-09 Juanma Barranquero <lekktu@gmail.com>
17066
17067 * misc.el: Implement new command `list-dynamic-libraries'.
17068 (list-dynamic-libraries--loaded-only-p): New variable.
17069 (list-dynamic-libraries--refresh): New function.
17070 (list-dynamic-libraries): New command.
17071
4c44026c
CY
170722011-05-09 Chong Yidong <cyd@stupidchicken.com>
17073
488086f4
SM
17074 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17075 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17076 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17077 higher priority to avoid clobbering by gnu.
17078
027f966d
CY
170792011-05-08 Chong Yidong <cyd@stupidchicken.com>
17080
17081 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17082 if the face has existing theme settings (Bug#8454).
17083
085f5d7d
CY
170842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17085
488086f4
SM
17086 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17087 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17088
2a86a00c
RS
17089 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17090 special file names `.' and `..' (Bug#8259).
17091
d9c54a06
CY
170922011-05-08 Chong Yidong <cyd@stupidchicken.com>
17093
488086f4
SM
17094 * progmodes/grep.el (grep-mode-font-lock-keywords):
17095 Remove buffer-changing entries.
d9c54a06
CY
17096 (grep-filter): New function.
17097 (grep-mode): Add it to compilation-filter-hook.
17098
17099 * progmodes/compile.el (compilation-filter-hook)
17100 (compilation-filter-start): New defvars.
17101 (compilation-filter): Call compilation-filter-hook prior to
17102 updating the process mark.
17103
c4662635
SM
171042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17105
17106 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17107
b0512a1d
EZ
171082011-05-07 Eli Zaretskii <eliz@gnu.org>
17109
605c9376
EZ
17110 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17111 mailclient-send-it even if window-system is nil. (Bug#8595)
17112
c4662635
SM
17113 * term/w32console.el (terminal-init-w32console):
17114 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17115 background-mode. (Bug#8597)
17116
d1dc2cc2
SM
171172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17118
17119 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17120 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17121 New functions.
17122 (defgeneric, eieio--defmethod): Use them.
17123 (eieio-defgeneric): Remove.
17124 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17125
915d1300
GM
171262011-05-07 Glenn Morris <rgm@gnu.org>
17127
a3961c3e
GM
17128 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17129 Use let rather than let*.
17130 (timeclock-find-discrep): Remove unused local.
17131
314347b9
GM
17132 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17133
915d1300
GM
17134 * calendar/appt.el (appt-time-msg-list): Doc fix.
17135
275b59b0
NF
171362011-05-06 Noah Friedman <friedman@splode.com>
17137
17138 * apropos.el (apropos-print-doc): Only use
17139 emacs-lisp-docstring-fill-column when it is bound to an integer,
17140 per that variable's documentation.
17141
6c19f744
SM
171422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17143
17144 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17145 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17146
60f884b2
GM
171472011-05-06 Glenn Morris <rgm@gnu.org>
17148
5006e634
GM
17149 * calendar/appt.el (appt-message-warning-time): Doc fix.
17150 (appt-warning-time-regexp): New option.
17151 (appt-make-list): Respect appt-message-warning-time.
17152
548d0a63
GM
17153 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17154 New options.
17155 (diary-add-to-list): Strip comments from the displayed string.
17156 (diary-mode): Set comment-start and comment-end.
17157
60f884b2
GM
17158 * vc/diff-mode.el (smerge-refine-subst): Declare.
17159 (diff-refine-hunk): Don't require smerge-mode when compiling.
17160
989681bb
JB
171612011-05-06 Juanma Barranquero <lekktu@gmail.com>
17162
17163 * simple.el (list-processes): Return nil as the docstring says.
17164
a6bc05e1
MA
171652011-05-05 Michael Albinus <michael.albinus@gmx.de>
17166
17167 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17168 to "".
17169 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17170 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17171 determining of binary transfer. (Bug#7383)
17172
23c22e9a
MA
171732011-05-05 Michael Albinus <michael.albinus@gmx.de>
17174
c4662635
SM
17175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17176 Fix port computation bug. (Bug#8618)
23c22e9a 17177
0bff894f
GM
171782011-05-05 Glenn Morris <rgm@gnu.org>
17179
b8296902
GM
17180 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17181
1f522ce8
GM
17182 * simple.el (shell-dynamic-complete-functions)
17183 (comint-dynamic-complete-functions): Declare.
17184
cf5bee67
GM
17185 * net/network-stream.el (gnutls-negotiate):
17186 * simple.el (tabulated-list-print): Fix declarations.
17187
17188 * progmodes/gud.el (syntax-symbol, syntax-point):
17189 Remove unnecessary and incorrect declarations.
17190
0bff894f
GM
17191 * emacs-lisp/check-declare.el (check-declare-scan):
17192 Handle byte-compile-initial-macro-environment in bytecomp.el
17193
9869b3ae
SM
171942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17195
17196 Fix earlier half-done eieio-defmethod change (bug#8338).
17197 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17198 Streamline and change calling convention.
17199 (defmethod): Adjust accordingly and simplify.
17200 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17201 new eieio--defmethod.
17202 (slot-boundp): Minor CSE simplification.
17203
9c1d5ac5
MZ
172042011-05-05 Milan Zamazal <pdm@zamazal.org>
17205
17206 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17207 (glasses-make-readable): Use glasses-separate-capital-groups.
17208
455c834e
JB
172092011-05-05 Juanma Barranquero <lekktu@gmail.com>
17210
17211 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17212 (warning-series): Doc fix.
17213 (display-warning): Don't try to create the buffer if we just found it.
17214
9ed7c8cb
CY
172152011-05-04 Chong Yidong <cyd@stupidchicken.com>
17216
17217 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17218 (autoload-find-generated-file): New function.
17219 (generate-file-autoloads): Bind generated-autoload-file to
17220 buffer-file-name.
9869b3ae
SM
17221 (update-file-autoloads, update-directory-autoloads):
17222 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17223 output file (Bug#7989).
17224 (batch-update-autoloads): Doc fix.
17225
0898ca10
JB
172262011-05-04 Juanma Barranquero <lekktu@gmail.com>
17227
17228 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17229
31dfb76c
GM
172302011-05-04 Glenn Morris <rgm@gnu.org>
17231
f330b642
GM
17232 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17233 function, so it follows changes in calendar-date-style.
17234 (diary-fancy-date-matcher): New function.
17235 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17236 (diary-fancy-font-lock-fontify-region-function):
17237 Use diary-fancy-date-pattern as a function.
17238
31dfb76c
GM
17239 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17240 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17241
48e79d6a
TZ
172422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17243
17244 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17245 instead of positional arguments. Allow :keylist and :crlfiles
17246 arguments.
17247 (open-gnutls-stream): Call it.
17248
17249 * net/network-stream.el (network-stream-open-starttls): Adjust to
17250 call `gnutls-negotiate' with :process and :hostname arguments.
17251
dd5a5ee0
SM
172522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17253
ef80fc09
SM
17254 * minibuffer.el (completion--message): New function.
17255 (completion--do-completion, minibuffer-complete)
17256 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17257 (completion--do-completion): Don't ignore completion-auto-help when in
17258 icomplete-mode.
17259
dd5a5ee0
SM
17260 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17261 internal encoding (e.g. tibetan zero is not whitespace).
17262 (global-whitespace-mode): Prefer save-current-buffer.
17263 (whitespace-trailing-regexp): Remove useless save-match-data.
17264 (whitespace-empty-at-bob-regexp): Minor simplification.
17265
b7d22a83
CY
172662011-05-03 Chong Yidong <cyd@stupidchicken.com>
17267
17268 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17269
5192af46
AM
172702011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17271
17272 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17273 Use `concat' to create string for insertion.
5192af46 17274
5767d190
SM
172752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17276
17277 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17278 Avoid open-line which runs post-self-insert-hook.
17279 (bibtex-fill-entry): Remove unused `end' var.
17280
bf242939
AM
172812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17282
5767d190
SM
17283 * textmodes/ispell.el (ispell-add-per-file-word-list):
17284 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17285
25666126
LL
172862011-05-03 Leo Liu <sdl.web@gmail.com>
17287
17288 * isearch.el (isearch-yank-pop): New command.
5767d190 17289 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17290 (isearch-forward): Mention it.
17291
52d3c2d0
SM
172922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17293
1bcace58
SM
17294 * simple.el (minibuffer-complete-shell-command): Remove.
17295 (minibuffer-local-shell-command-map): Use completion-at-point.
17296 (read-shell-command): Setup completion vars here instead.
17297 (read-expression-map): Bind TAB to symbol completion.
17298
52d3c2d0
SM
17299 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17300 error directly rather via storing it into `results'.
17301
35813471
LL
173022011-05-02 Leo Liu <sdl.web@gmail.com>
17303
17304 * vc/diff.el: Fix description.
17305
e793a940
LMI
173062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17307
17308 * server.el (server-eval-at): New function.
17309
8de66e05
LMI
173102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17311
17312 * net/network-stream.el (open-network-stream): Take a :nowait
17313 parameter and pass it on to `make-network-process'.
17314 (network-stream-open-plain): Ditto.
17315
dcb79f20
AS
173162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17317
17318 * faces.el (face-spec-set-match-display): Don't match toolkit
17319 options on terminal frames.
17320
14a7fbd8
SM
173212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17322
7eabc1be
SM
17323 * progmodes/pascal.el: Use lexical binding.
17324 (pascal-mode-map): Remove author preferences.
17325
14a7fbd8
SM
17326 * pcomplete.el (pcomplete-std-complete): Don't abuse
17327 completion-at-point.
17328
50f84510
JB
173292011-04-28 Juanma Barranquero <lekktu@gmail.com>
17330
6e087a44
JB
17331 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17332 removing code that has been dead since 1991 or so.
17333
50f84510
JB
17334 * startup.el (command-line): When warning about "_emacs", use a
17335 delayed warning to allow the user to filter it out.
17336
0ba690bd
DD
173372011-04-28 Deniz Dogan <deniz@dogan.se>
17338
17339 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17340 user has not joined.
17341
08abfaad
SM
173422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17343
17344 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17345 aren't any completions at point.
17346
638f053a
JB
173472011-04-28 Juanma Barranquero <lekktu@gmail.com>
17348
17349 * subr.el (display-delayed-warnings): New function.
17350 (delayed-warnings-hook): New variable.
17351
8fff8daa
SM
173522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17353
08abfaad
SM
17354 * minibuffer.el (completion-at-point, completion-help-at-point):
17355 Don't presume that a given completion-at-point-function will always
17356 use the same calling convention.
17357
8fff8daa
SM
17358 * pcomplete.el (pcomplete-completions-at-point):
17359 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17360 pcomplete-seen is non-nil.
17361 (pcomplete-comint-setup): Also recognize the new comint/shell
17362 completion functions.
17363 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17364 pcomplete-seen is non-nil.
17365
841a1577 173662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17367
841a1577 17368 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17369 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17370 the first character in the entry. This allows for code to add its
211ec907
UJ
17371 own uid to the entry.
17372 (icalendar--convert-float-to-ical): Add export of
17373 `diary-float'-entries save for those with the optional DAY
17374 argument.
17375
2a782793
DC
173762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17377
17378 * subr.el (shell-quote-argument): Use alternate escaping strategy
17379 when we spot a variable reference in a string.
17380
0438ce91
DC
173812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17382
17383 * cus-start.el (all): Define customization for debug-on-event.
17384
841a1577 173852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17386
17387 * subr.el (shell-quote-argument): Escape correctly under Windows.
17388
d090ed6c
SM
173892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17390
17391 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17392
bfd31217
MA
173932011-04-25 Michael Albinus <michael.albinus@gmx.de>
17394
d090ed6c
SM
17395 * net/tramp.el (tramp-process-actions): Add POS argument.
17396 Delete region between POS and (pos).
bfd31217 17397
d090ed6c
SM
17398 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17399 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17400 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17401
17402 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17403 position in `tramp-process-actions' call.
17404
17405 * net/trampver.el: Update release number.
17406
e92f3bd3
SM
174072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17408
850256b5
SM
17409 * custom.el (defcustom): Obey lexical-binding.
17410
e92f3bd3
SM
17411 Fix octave-inf completion problems reported by Alexander Klimov.
17412 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17413 Inherit from octave-mode-syntax-table.
17414 (inferior-octave-mode): Set info-lookup-mode.
17415 (inferior-octave-completion-at-point): New function.
17416 (inferior-octave-complete): Use it and completion-in-region.
17417 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17418 comint-filename-completion.
17419 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17420 symbol elements which shouldn't be word elements.
17421 (octave-font-lock-keywords, octave-beginning-of-defun)
17422 (octave-function-header-regexp): Adjust regexps accordingly.
17423 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17424
cd22b309
JB
174252011-04-25 Juanma Barranquero <lekktu@gmail.com>
17426
17427 * net/gnutls.el (gnutls-errorp): Declare before first use.
17428
8b492194
TZ
174292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17430
17431 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17432 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17433 default trustfile exists before going to use it. Add missing
5a5fa834 17434 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17435 Reported by Claudio Bley <claudio.bley@gmail.com>.
17436 (open-gnutls-stream): Add usage example.
17437
17438 * net/network-stream.el (network-stream-open-starttls): Give host
17439 parameter to `gnutls-negotiate'.
17440 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17441 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17442
841a1577 174432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17444
cd22b309
JB
17445 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17446 Use correct match group (bug#8438).
05842630 17447
3ba7869c
CY
174482011-04-24 Chong Yidong <cyd@stupidchicken.com>
17449
512e3ae1
CY
17450 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17451 (package-menu--generate): New arg specifying packages to show.
17452 (package-menu-refresh, package-menu-execute, list-packages):
17453 Callers changed.
17454 (package-show-package-list): New function, replacing deleted
17455 package--list-packages (renamed because it is non-internal).
17456
17457 * finder.el (finder-list-matches): Use package-show-package-list
17458 instead of deleted package--list-packages.
17459
e92f3bd3
SM
17460 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17461 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17462 (vc-annotate-mode-map): Bind it to RET.
17463
7031be6d
UR
174642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17465
17466 * progmodes/etags.el (next-file): Don't use set-buffer to change
17467 buffers (Bug#8478).
17468
4ef177aa
CY
174692011-04-24 Chong Yidong <cyd@stupidchicken.com>
17470
c8d173eb
CY
17471 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17472
4ef177aa
CY
17473 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17474 (apropos-accumulator): Doc fix.
17475 (apropos-function, apropos-macro, apropos-command)
17476 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17477 (apropos-plist): Add face property.
17478 (apropos-symbols-internal): Fix indentation.
17479 (apropos-print): Simplify help, and recognize apropos-multi-type.
17480 (apropos-print-doc): Use button-type-get to extract the button's
17481 face property. Fill docstring (Bug#8352).
17482
4ffd0d6b 174832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17484
17485 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17486
c6c32125 17487 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17488 (mpuz-mode-map): Use mapc.
c6c32125
JB
17489 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17490 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17491 Fix typos in docstrings.
17492
58d468b4
JB
17493 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17494 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17495
6470c3c6
JB
17496 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17497
4ffd0d6b 174982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17499
17500 * minibuffer.el (completion--do-completion): Avoid the "Next char
17501 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17502
3ad8bad0
CY
17503 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17504 mouse-2 into unread-command-events, it is interpreted correctly.
17505
71d73c9c 17506 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17507 (image-toggle-display): Doc fix.
71d73c9c 17508
841a1577 175092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17510
4ffd0d6b
GM
17511 * textmodes/page.el (what-page): Use line-number-at-pos to
17512 calculate line number (Bug#6825).
6e1dbaa9 17513
c2fb1b60
JB
175142011-04-22 Juanma Barranquero <lekktu@gmail.com>
17515
17516 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17517 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17518 Pass argument NO-DEFAULT to `find-tag-interactive'.
17519
e02f48d7
JB
175202011-04-22 Juanma Barranquero <lekktu@gmail.com>
17521
17522 Lexical-binding cleanup.
17523
17524 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17525 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17526 * progmodes/ada-prj.el (ada-prj-initialize-values)
17527 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17528 (ada-prj-show-value):
17529 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17530 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17531 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17532 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17533 * progmodes/bug-reference.el (bug-reference-push-button):
17534 * progmodes/fortran.el (fortran-line-length):
17535 * progmodes/glasses.el (glasses-change):
17536 * progmodes/octave-mod.el (octave-fill-paragraph):
17537 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17538 (python-pdbtrack-grub-for-buffer, python-sentinel):
17539 * progmodes/sql.el (sql-save-connection):
17540 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17541 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17542 Mark unused parameters.
17543
17544 * progmodes/compile.el (compilation--flush-directory-cache)
17545 (compilation--flush-parse, compile-internal): Mark unused parameters.
17546 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17547 (compilation-next-error-function): Remove unused variable `timestamp'.
17548
17549 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17550 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17551
17552 * progmodes/dcl-mode.el (dcl-end-of-command):
17553 Remove unused variable `start'.
17554 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17555 (dcl-option-value-basic, dcl-option-value-offset)
17556 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17557 Mark unused parameters.
17558 (dcl-save-local-variable): Remove unused variable `val'.
17559 (mode): Declare.
17560
17561 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17562 Mark unused parameters.
17563 (delphi-ignore-changes): Move before first use.
17564 (delphi-charset-token-at): Remove unused variable `start'.
17565 (delphi-else-start): Remove unused variable `if-count'.
17566 (delphi-comment-block-start, delphi-comment-block-end):
17567 Remove unused variable `kind'.
17568 (delphi-indent-line): Remove unused variable `new-point'.
17569
17570 * progmodes/ebrowse.el (ebrowse-files-list)
17571 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17572 Mark unused parameters. Don't quote `lambda'.
17573 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17574 Don't quote `lambda'.
17575 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17576 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17577 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17578 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17579 Use `ignore-errors'.
17580 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17581 (ebrowse-view/find-file-and-search-pattern)
17582 (ebrowse-view/find-member-declaration/definition):
17583 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17584 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17585 Rename parameter PREFIX-ARG to PREFIX.
17586 (ebrowse-tags-read-name): Remove unused variables `start' and
17587 `member-info'.
17588 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17589 to `tags-file'.
17590
17591 * progmodes/etags.el (local-find-tag-hook): Declare.
17592 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17593 Mark unused parameters.
17594
17595 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17596 (executable-interpret): Mark unused parameter.
17597
17598 * progmodes/flymake.el (flymake-process-sentinel)
17599 (flymake-after-change-function)
17600 (flymake-create-temp-with-folder-structure)
17601 (flymake-get-include-dirs-dot): Mark unused parameters.
17602 (flymake-safe-delete-directory): Remove unused variable `err'.
17603
17604 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17605 (speedbar-timer-fn, speedbar-line-text)
17606 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17607 (speedbar-center-buffer-smartly): Declare functions.
17608 (gdb-find-watch-expression): Remove unused variable `array'.
17609 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17610 (gdb-starting): Mark unused parameters.
17611 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17612 (gdb-table-string): Remove unused variable `res'.
17613 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17614 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17615 (gdb-display-buffer): Remove unused variable `cur-size'.
17616
17617 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17618 allow lexical-binding compilation.
17619 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17620 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17621 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17622 Mark unused parameters.
17623 (gud-gdb-marker-filter): Remove unused variable `match'.
17624 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17625 lambda expressions and funcall them, instead of using `fset'.
17626
17627 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17628 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17629
17630 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17631 variable `header-beg'; use `let'.
17632
17633 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17634 `restart', `last-sexp' and `at-do'.
17635
17636 * progmodes/js.el (js--debug): Mark unused parameter.
17637 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17638 (js--splice-into-items): Remove unused variable `item'.
17639 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17640
17641 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17642 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17643 (makefile-complete): Remove unused variable `try'.
17644 (makefile-fill-paragraph, makefile-match-function-end):
17645 Mark unused parameters.
17646
17647 * progmodes/octave-inf.el (inferior-octave-complete):
17648 Remove unused variable `proc'.
17649 (inferior-octave-output-digest): Mark unused parameter.
17650
17651 * progmodes/perl-mode.el (perl-calculate-indent):
17652 Remove unused variable `err'.
17653
17654 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17655 (prolog-indent-line): Mark unused parameters.
17656 (prolog-indent-line): Remove unused variable `beg'.
17657
17658 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17659 (reporter-dont-compact-list): Declare.
17660
17661 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17662 Remove unused variable `char'.
17663 (sh-debug): Mark unused parameter.
17664 (sh-get-indent-info): Remove unused variable `start'.
17665 (sh-calculate-indent): Remove unused variable `var'.
17666
17667 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17668 (simula-electric-keyword): Remove unused variable `null'.
17669 (simula-search-backward, simula-search-forward): Remove unused
17670 variables `begin' and `end'.
17671
17672 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17673 Remove unused variable `pos'.
17674 (vera-electric-tab, vera-comment-uncomment-region):
17675 Mark unused parameters.
17676 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17677
7ede3b65
CY
176782011-04-22 Chong Yidong <cyd@stupidchicken.com>
17679
17680 * emacs-lisp/package.el (package--builtins, package-alist)
17681 (package-load-descriptor, package-built-in-p, package-activate)
17682 (define-package, package-installed-p)
17683 (package-compute-transaction, package-buffer-info)
17684 (package--push): Doc fix. Distinguish more clearly between
17685 version strings and version lists.
17686
121656e9
JB
176872011-04-21 Juanma Barranquero <lekktu@gmail.com>
17688
17689 Lexical-binding cleanup.
17690
17691 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17692 (5x5-make-mutate-best):
17693 * play/fortune.el (fortune-in-buffer):
17694 * play/gomoku.el (gomoku-init-display):
17695 * play/solitaire.el (solitaire, solitaire-do-check):
17696 * play/tetris.el (tetris-default-update-speed-function):
17697 Mark unused parameters.
17698
17699 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17700 (bubbles--shift): Remove unused variable `char-org'.
17701 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17702 (bubbles--show-images): Remove unused variable `char'.
17703
17704 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17705 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17706 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17707 (decipher-analyze-buffer): Use ?\s.
17708 (decipher-make-checkpoint): Remove unused variable `mapping'.
17709
17710 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17711
17712 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17713 Remove unused variable `result'; use `let'.
17714
17715 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17716 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17717 (gametree-children-shown-p, gametree-compute-reduced-score):
17718 Use `ignore-errors'.
17719
17720 * play/handwrite.el (ps-lpr-switches): Declare.
17721 (handwrite): Remove unused variables `pmin' and `lastp'.
17722
17723 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17724
17725 * play/landmark.el (landmark-init-display)
17726 (landmark-update-naught-weights): Mark unused parameters.
17727 (landmark-y): Remove unused variable `noise'. Simplify.
17728 (landmark-human-plays): Remove unused variable `score'.
17729
17730 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17731 (mpuz-try-proposal): Remove unused variable `game'.
17732
17733 * play/zone.el (life-patterns): Declare.
17734
80f499c7
JB
177352011-04-20 Juanma Barranquero <lekktu@gmail.com>
17736
17737 * vc/vc.el (ediff-vc-internal): Declare function.
17738
024ff170
SM
177392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17740
c0a193ea
SM
17741 * shell.el: Use lexical-binding and std completion UI.
17742 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17743 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17744 comint-preoutput-filter-functions rather than on
17745 comint-output-filter-functions.
17746 (shell-command-completion, shell--command-completion-data)
17747 (shell-filename-completion, shell-environment-variable-completion)
17748 (shell-c-a-p-replace-by-expanded-directory): New functions.
17749 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17750 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17751 (shell-dynamic-complete-environment-variable): Use them.
17752 (shell-dynamic-complete-as-environment-variable)
17753 (shell-dynamic-complete-as-command): Remove.
17754 (shell-match-partial-variable): Match past point.
17755 * comint.el: Clean up use of completion-at-point-functions.
17756 (comint-completion-at-point): New function.
17757 (comint-mode): Use it completion-at-point-functions.
17758 (comint-dynamic-complete): Make it obsolete.
17759 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17760 (comint-c-a-p-replace-by-expanded-history): New function.
17761 (comint-dynamic-complete-functions)
17762 (comint-replace-by-expanded-history): Use it.
17763 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17764 termination strings. Try harder to avoid second try-completion.
17765 (completion-in-region-mode-map): Disable bindings that don't work yet.
17766
2dbaa080
SM
17767 * comint.el: Use lexical-binding. Require CL.
17768 (comint-dynamic-complete-functions): Use comint-filename-completion.
17769 (comint-completion-addsuffix): Tweak custom type.
17770 (comint-filename-completion, comint--common-suffix)
17771 (comint--common-quoted-suffix, comint--table-subvert)
17772 (comint--complete-file-name-data): New functions.
17773 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17774 (comint-dynamic-list-filename-completions): Use them.
17775 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17776
2dbaa080
SM
17777 * minibuffer.el (completion-in-region-mode):
17778 Keep completion-in-region-mode--predicate global.
17779 (completion-in-region--postch):
17780 Assume completion-in-region-mode--predicate is not null.
17781
c79a6f38
SM
17782 * progmodes/flymake.el (flymake-start-syntax-check-process):
17783 Obey `dir'. Simplify.
17784
024ff170
SM
17785 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17786 we're in VC after all.
17787
1c6c854e
CS
177882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17789
17790 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17791 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17792 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17793
bed7f140
SM
177942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17795
332e62ab
SM
17796 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17797 add sanity check.
17798
bed7f140
SM
17799 * obsolete/erc-hecomplete.el: Make obsolete.
17800 * obsolete/: Standardize obsolescence info in the header.
17801
f195c582
GM
178022011-04-20 Glenn Morris <rgm@gnu.org>
17803
17804 * calendar/solar.el (solar-horizontal-coordinates):
17805 Use the longitude argument rather than `calendar-longitude'.
17806 (solar-date-next-longitude): Remove unused locals.
17807
cb79b8c0
VJL
178082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17809
17810 * whitespace.el: New version 13.2.1.
17811
178122011-04-20 felix <EmacsWiki> (tiny change)
17813
d8e4b68b 17814 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17815 switching between major modes on a file.
17816
602ea69d
SM
178172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17818
17819 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17820 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17821 multi-line comments as well.
17822
06b60517
JB
178232011-04-19 Juanma Barranquero <lekktu@gmail.com>
17824
17825 Lexical-binding cleanup.
17826
17827 * arc-mode.el (archive-mode-revert):
17828 * cmuscheme.el (scheme-interactively-start-process):
17829 * custom.el (custom-initialize-delay):
17830 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17831 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17832 * emacs-lock.el (emacs-lock-clear-sentinel):
17833 * ezimage.el (defezimage):
17834 * follow.el (follow-avoid-tail-recenter):
17835 * fringe.el (set-fringe-mode-1):
17836 * generic-x.el (bat-generic-mode-compile):
17837 * help-mode.el (help-info-variable, help-do-xref)
17838 (help-mode-revert-buffer):
17839 * help.el (view-emacs-todo):
17840 * iswitchb.el (iswitchb-completion-help):
17841 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17842 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17843 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17844 * locate.el (locate-update):
17845 * longlines.el (longlines-encode-region)
17846 (longlines-after-change-function):
17847 * outline.el (outline-isearch-open-invisible):
17848 * ps-def.el (declare-function, charset-dimension, char-width)
17849 (encode-char):
17850 * ps-mule.el (ps-mule-plot-string):
17851 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17852 (recentf-edit-list-select, recentf-edit-list-validate)
17853 (recentf-open-files-action):
17854 * rect.el (delete-whitespace-rectangle-line)
17855 (rectangle-number-line-callback):
17856 * register.el (window-configuration-to-register)
17857 (frame-configuration-to-register):
17858 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17859 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17860 (xselect-convert-to-targets, xselect-convert-to-delete)
17861 (xselect-convert-to-filename, xselect-convert-to-charpos)
17862 (xselect-convert-to-lineno, xselect-convert-to-colno)
17863 (xselect-convert-to-os, xselect-convert-to-host)
17864 (xselect-convert-to-user, xselect-convert-to-class)
17865 (xselect-convert-to-name, xselect-convert-to-integer)
17866 (xselect-convert-to-atom, xselect-convert-to-identity):
17867 * subr.el (declare, ignore, process-kill-without-query)
17868 (text-clone-maintain):
17869 * terminal.el (te-get-char, te-tic-sentinel):
17870 * tool-bar.el (tool-bar-make-keymap):
17871 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17872 * type-break.el (type-break-mode, type-break-noninteractive-query):
17873 * view.el (View-back-to-mark):
17874 * wid-browse.el (widget-browse-action, widget-browse-widget)
17875 (widget-browse-widgets, widget-browse-sexp):
17876 * widget.el (define-widget-keywords):
17877 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17878 Mark unused parameters.
17879
17880 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17881 (align-areas): Remove unused variable `look'.
17882 (align-region): Remove unused variables `real-end' and `pos-list'.
17883
17884 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17885
17886 * bindings.el (mode-line-modified, mode-line-remote):
17887 Mark unused parameters.
17888 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17889
17890 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17891 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17892
17893 * comint.el (comint-history-isearch-pop-state)
17894 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17895 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17896 (comint-substitute-in-file-name): Doc fix.
17897
17898 * completion.el (cmpl-statistics-block): Mark unused parameter.
17899 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17900 (save-completions-to-file, load-completions-from-file):
17901 Remove unused local variable `e'.
17902
17903 * composite.el (compose-chars): Remove unused variable `len'.
17904 (lgstring-insert-glyph): Remove unused variable `g'.
17905 (compose-glyph-string): Remove unused variables `ascent',
17906 `descent', `lbearing' and `rbearing'.
17907 (compose-glyph-string-relative): Remove unused variables
17908 `lbearing', `rbearing' and `wadjust'.
17909 (compose-gstring-for-graphic): Remove unused variables `header',
17910 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17911 (compose-gstring-for-terminal): Remove unused variables `header'
17912 and `nchars'. Use `let', not `let*'.
17913
17914 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17915 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17916 (Custom-buffer-done, custom-buffer-create-internal)
17917 (custom-browse-visibility-action, custom-browse-group-tag-action)
17918 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17919 (widget-magic-mouse-down-action, custom-toggle-parent)
17920 (custom-add-parent-links, custom-toggle-hide-variable)
17921 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17922 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17923 (custom-face-menu-create, custom-variable-menu-create, get)
17924 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17925 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17926 (customize-apropos): Remove unused variable `tests'.
17927 (custom-group-value-create): Remove unused variable `hidden-p'.
17928 (sort-fold-case): Declare.
17929
17930 * cus-theme.el (custom-reset-standard-faces-list)
17931 (custom-reset-standard-variables-list): Declare.
17932 (customize-create-theme, custom-theme-revert, custom-theme-write)
17933 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17934 Mark unused parameters.
17935
17936 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17937
17938 * delim-col.el (delimit-columns-max): Move defvar before first use.
17939
17940 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17941 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17942
17943 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17944 (auto-insert): Declare.
17945 (desktop-restore-file-buffer): Rename desktop-* parameters;
17946 mark unused ones.
17947 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17948 (desktop-buffer): Rename desktop-* parameters.
17949
17950 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17951 (dframe-reposition-frame-xemacs, dframe-help-echo)
17952 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17953 Mark unused parameters.
17954
17955 * dired-aux.el (backup-extract-version-start, overwrite-query)
17956 (overwrite-backup-query, rename-regexp-query)
17957 (rename-non-directory-query): Declare.
17958 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17959 (dired-add-entry): Remove unused variable `orig-file-name'.
17960 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17961 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17962 `dired-copy-preserve-time' directly.
17963 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17964 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17965
17966 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17967 (dired-virtual-revert, dired-make-relative-symlink):
17968 Mark unused parameters.
17969 (manual-program): Declare.
17970 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17971 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17972 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17973
17974 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17975
17976 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17977
17978 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17979 Declare.
17980
17981 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17982
17983 * electric.el (Electric-command-loop): Rename parameter
17984 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17985
17986 * expand.el (expand-in-literal): Remove unused variable `here'.
17987
17988 * facemenu.el (facemenu-add-new-color):
17989 Remove unused variable `docstring'.
17990
17991 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17992 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17993 (face-attr-construct): Mark unused parameter. Doc fix.
17994 (read-color): Remove unused variable `hex-string'.
17995
17996 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17997 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17998 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17999 (display-buffer-other-frame): Remove unused variable `old-window'.
18000 (kill-buffer-hook): Declare.
18001 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18002 Mark unused parameters.
18003 (after-find-file): Pass 1 to `auto-save-mode', not t.
18004
18005 * files-x.el (auto-insert): Declare.
18006 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18007
18008 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18009 variable `buf'. Mark unused parameter.
06b60517
JB
18010 (find-lisp-insert-directory): Mark unused parameter.
18011
18012 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18013 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18014 (format-common-tail): Remove, unused.
18015 (format-deannotate-region): Remove unused variable `loc'.
18016 (format-annotate-region): Remove unused variable `p'.
18017 (format-annotate-single-property-change): Remove unused variables
18018 `default' and `tail'.
18019
18020 * forms.el (read-file-filter): Declare.
18021 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18022
18023 * frame.el (frame-creation-function-alist): Mark unused parameter.
18024 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18025
18026 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18027 Remove unused parameters.
18028 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18029 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18030
18031 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18032 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18033 (hfy-prepare-tag-map): Mark unused parameters.
18034 (htmlfontify-buffer): Use `called-interactively-p'.
18035
18036 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18037 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18038 (ibuffer-do-occur): Mark unused parameters.
18039 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18040 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18041
18042 * ibuffer.el: Don't quote `lambda'.
18043 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18044 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18045 Mark unused parameters.
18046
18047 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18048 (ido-completing-read): Mark unused parameters.
18049 (ido-copy-current-word): Mark unused parameters;
18050 remove unused variable `name'.
18051 (ido-sort-merged-list): Remove unused parameter `dirs'.
18052
18053 * ielm.el (ielm-input-sender): Mark unused parameter.
18054 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18055 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18056 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18057 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18058 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18059
18060 * image-dired.el (image-dired-display-thumbs): Remove unused
18061 variables `curr-file' and `count'.
18062 (image-dired-remove-tag): Remove unused variable `start'.
18063 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18064 variable `curr-file'
18065 (image-dired-rotate-original): Remove unused variable `temp-file'.
18066 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18067 Remove unused variable `file'.
18068 (image-dired-gallery-generate): Remove unused variable `curr'.
18069 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18070
18071 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18072
18073 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18074
18075 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18076
18077 * isearch.el (minibuffer-history-symbol): Declare.
18078 (isearch-edit-string): Remove unused variable `err'.
18079 (isearch-message-prefix, isearch-message-suffix):
18080 Mark unused parameters.
18081
18082 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18083
18084 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18085
18086 * makesum.el (double-column): Remove unused variable `cnt'.
18087
18088 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18089 (ido-ignore-item-temp-list): Declare.
18090
18091 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18092 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18093 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18094 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18095 `mouse-col-delta'.
18096
18097 * mouse-sel.el (mouse-extend-internal):
18098 Remove unused variable `orig-window-frame'.
18099
18100 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18101 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18102 Move declarations before first use.
18103 (pcomplete-opt): Mark unused parameters; doc fix.
18104
18105 * proced.el (proced-revert): Mark unused parameter.
18106 (proced-send-signal): Remove unused variable `err'.
18107
18108 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18109 Rename parameter PREFIX-ARG to ARG.
18110 (ps-basic-plot-string, ps-basic-plot-whitespace):
18111 Mark unused parameters.
18112
18113 * replace.el (replace-count): Define.
18114 (occur-revert-function): Mark unused parameters.
18115 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18116 (isearch-case-fold-search, isearch-string): Declare.
18117 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18118 bind `case-fold-search'. Remove unused variables `beg' and `end',
18119 and simplify.
18120 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18121 COUNT and bind `replace-count'.
18122 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18123 to COUNT.
18124
18125 * savehist.el (print-readably, print-string-length): Declare.
18126
18127 * shadowfile.el (shadow-expand-cluster-in-file-name):
18128 Remove unused variable `cluster'.
18129 (shadow-copy-file): Remove unused variable `i'.
18130 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18131 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18132 (shadow-define-literal-group, shadow-define-regexp-group)
18133 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18134
18135 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18136 (shell): Use `called-interactively-p'.
18137 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18138
18139 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18140 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18141 (delete-backward-char): Remove unused variable `ocol'.
18142 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18143 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18144 (event-apply-hyper-modifier, event-apply-shift-modifier)
18145 (event-apply-control-modifier, event-apply-meta-modifier):
18146 Mark unused parameters.
18147 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18148 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18149
18150 * speedbar.el (speedbar-ignored-directory-expressions)
18151 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18152 (speedbar-find-file, speedbar-dir-follow)
18153 (speedbar-directory-buttons-follow, speedbar-tag-find)
18154 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18155 (speedbar-buffers-line-directory, speedbar-buffer-click):
18156 Mark unused parameters.
18157 (speedbar-tag-file): Remove unused variable `mode'.
18158 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18159
18160 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18161
18162 * talk.el (talk): Remove unused variable `display'.
18163
18164 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18165 (tar-write-region-annotate): Mark unused parameter.
18166
18167 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18168 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18169 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18170 warning by another.
18171
18172 * time-stamp.el (time-stamp-string-preprocess):
18173 Remove unused variable `require-padding'.
18174
18175 * tree-widget.el (widget-glyph-enable): Declare.
18176 (tree-widget-action): Mark unused parameter.
18177
18178 * w32-fns.el (x-get-selection): Mark unused parameter.
18179 (autoload-make-program, generated-autoload-file): Declare.
18180
18181 * wdired.el (wdired-revert): Mark unused parameters.
18182 (wdired-xcase-word): Remove unused variable `err'.
18183
18184 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18185 (whitespace-help-scroll): Remove unused variable `data-help'.
18186
18187 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18188 (widget-image-insert, widget-after-change, default)
18189 (widget-default-format-handler, widget-default-notify)
18190 (widget-default-prompt-value, widget-info-link-action)
18191 (widget-url-link-action, widget-function-link-action)
18192 (widget-variable-link-action, widget-file-link-action)
18193 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18194 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18195 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18196 (widget-insert-button-action, widget-delete-button-action, visibility)
18197 (widget-documentation-link-action, widget-documentation-string-action)
18198 (widget-const-prompt-value, widget-regexp-match, symbol)
18199 (widget-coding-system-prompt-value)
18200 (widget-key-sequence-value-to-external, sexp)
18201 (widget-sexp-value-to-internal, character, vector, cons)
18202 (widget-choice-prompt-value, widget-boolean-prompt-value)
18203 (widget-color--choose-action): Mark unused parameters.
18204 (widget-item-match-inline, widget-choice-match-inline)
18205 (widget-checklist-match, widget-checklist-match-inline)
18206 (widget-group-match): Rename parameter VALUES to VALS.
18207 (widget-field-value-set): Remove unused variable `size'.
18208 (widget-color-action): Remove unused variables `value' and `start'.
18209
18210 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18211 variable `dir'. Doc fix.
06b60517
JB
18212 (windmove-find-other-window): Don't pass it.
18213
18214 * window.el (count-windows): Mark unused parameter.
18215 (bw-adjust-window): Remove unused variable `err'.
18216
18217 * woman.el (woman-file-name): Remove unused variable `default'.
18218 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18219 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18220 (global-font-lock-mode): Declare.
18221 (woman-decode-region): Mark unused parameter.
18222 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18223
18224 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18225 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18226 (x-dnd-handle-moz-url): Remove unused variable `title'.
18227 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18228
18229 * xml.el (xml-parse-tag, xml-parse-attlist):
18230 Remove unused variable `pos'.
18231
bc4f7f3d
GM
182322011-04-19 Glenn Morris <rgm@gnu.org>
18233
18234 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18235 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18236 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18237 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18238 * calendar/cal-html.el (cal-html-insert-minical):
18239 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18240 (calendar-mark-date-pattern):
18241 Prefix "unused" locals.
18242
18243 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18244 optional argument `style'.
18245
18246 * calendar/appt.el (appt-make-list):
18247 * calendar/cal-china.el (calendar-chinese-date-string):
18248 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18249 (diary-hebrew-yahrzeit):
18250 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18251 * calendar/calendar.el (calendar-generate-window):
18252 * calendar/time-date.el (time-to-days):
18253 Remove unused local variables.
18254
16a43933
CY
182552011-04-18 Chong Yidong <cyd@stupidchicken.com>
18256
18257 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18258 glyphless-char-display table.
18259 (tabulated-list-glyphless-char-display): New var.
18260
7eed1860
SS
182612011-04-18 Sam Steingold <sds@gnu.org>
18262
18263 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18264 to acknowledgments.
18265
4d2d1ccd
GM
182662011-04-17 Glenn Morris <rgm@gnu.org>
18267
18268 * calendar/diary-lib.el (diary-sexp-entry):
18269 * calendar/holidays.el (holiday-sexp):
18270 Set debug-on-error rather than the removed stack-trace-on-error.
18271
239da61d
GM
182722011-04-16 Glenn Morris <rgm@gnu.org>
18273
18274 * progmodes/f90.el: Use lexical-binding.
18275 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18276
8b05752a
SM
182772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18278
daca8ba5
SM
18279 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18280 (mail-mode): Setup mailalias completion here instead.
18281 * mail/mailalias.el: Use lexical-binding.
18282 (pattern, mailalias-done): Declare dynamic.
18283 (mail-completion-at-point-function): New function, from mail-complete.
18284 (mail-complete): Use it.
18285 (mail-completion-expand): New function.
18286 (mail-get-names): Use it.
18287 (mail-directory, mail-directory-process, mail-directory-stream):
18288 Don't use `pattern' for lexically bound arg.
18289
6f542485
SM
18290 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18291
037e7c3f
SM
18292 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18293 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18294 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18295
8b05752a
SM
18296 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18297 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18298 (byte-interactive-p): Define them again, for use when inlining
18299 old code.
18300
49093f60
JB
183012011-04-15 Juanma Barranquero <lekktu@gmail.com>
18302
18303 * loadup.el: Use `string-to-number', not `string-to-int'.
18304
b5b8e7de
SM
183052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18306
18307 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18308 gud-gdb-complete-command.
18309 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18310 (gud-gdb-completion-at-point): New function.
18311 (gud-gdb-completions): Remove.
18312
f42efeb5
MA
183132011-04-14 Michael Albinus <michael.albinus@gmx.de>
18314
49093f60
JB
18315 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18316 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18317 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18318 whether `executable-find' is bound.
f42efeb5
MA
18319
18320 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18321
e240cc21
SM
183222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18323
18324 * minibuffer.el (completion-in-region-mode-predicate)
18325 (completion-in-region-mode--predicate): New vars.
18326 (completion-in-region, completion-in-region--postch)
18327 (completion-in-region-mode): Use them.
18328 (completion--capf-wrapper): Also return the hook function.
18329 (completion-at-point, completion-help-at-point):
18330 Adjust and provide a predicate.
c2bd2ab0
SM
18331
18332 Preserve arg names for advice of subr and lexical functions (bug#8457).
18333 * help-fns.el (help-function-arglist): Consolidate the subr and
18334 new-byte-code cases. Add argument `preserve-names' to extract names
18335 from the docstring when needed.
18336 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18337 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18338 (ad-arglist): Use help-function-arglist's new arg.
18339 (ad-definition-type): Use cond.
18340
c183f693
JB
183412011-04-13 Juanma Barranquero <lekktu@gmail.com>
18342
06641a47
JB
18343 * autorevert.el (auto-revert-handler):
18344 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18345 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18346 Don't quote lambda.
18347
c183f693
JB
18348 * image-mode.el (image-transform-set-scale):
18349 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18350
1e3b6001
G
183512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18352
18353 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18354 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18355 Upgrades via gnutls-cli are too slow to be done opportunistically.
18356
2d6af8dd
JB
183572011-04-12 Juanma Barranquero <lekktu@gmail.com>
18358
18359 * dframe.el (dframe-current-frame): Remove spurious quote.
18360
c0749a51
GM
183612011-04-12 Glenn Morris <rgm@gnu.org>
18362
088d0d61
GM
18363 * calendar/cal-tex.el (cal-tex-end-document):
18364 Try to automatically use latin1 input if needed.
18365
c0749a51
GM
18366 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18367 Don't try to cons a mark onto an empty element.
18368
5c90fde0
LL
183692011-04-11 Leo Liu <sdl.web@gmail.com>
18370
18371 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18372 buffers.
18373 (ido-kill-buffer-at-head): Support killing virtual buffers.
18374
369e974d
CY
183752011-04-10 Chong Yidong <cyd@stupidchicken.com>
18376
18377 * minibuffer.el (completion-show-inline-help): New var.
18378 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18379 (minibuffer-force-complete, minibuffer-complete-word):
18380 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18381
18382 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18383 to avoid interference from inline help (Bug#5849).
18384
37f1c930
LL
183852011-04-10 Leo Liu <sdl.web@gmail.com>
18386
099c39a4
JB
18387 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18388 Fix typo.
37f1c930 18389
a32d4040
CY
183902011-04-09 Chong Yidong <cyd@stupidchicken.com>
18391
18392 * image-mode.el (image-toggle-display-image): Signal an error if
18393 not in Image mode.
18394 (image-transform-mode, image-transform-resize)
18395 (image-transform-set-rotation): Doc fix.
daca8ba5 18396 (image-transform-set-resize): Delete.
a32d4040
CY
18397 (image-transform-set-scale, image-transform-fit-to-height)
18398 (image-transform-fit-to-width): Handle image-toggle-display-image
18399 and image-transform-resize directly.
18400
099c39a4 184012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18402
18403 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18404 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18405 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18406 (doc-view-mode-map): Add bindings for the new functions.
18407
099c39a4 184082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18409
4d61f28d 18410 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18411 Fix typo in docstring.
18412
3726838a
EZ
184132011-04-08 Eli Zaretskii <eliz@gnu.org>
18414
04f33f1e
EZ
18415 * files.el (file-size-human-readable): Produce one digit after
18416 decimal, like "ls -lh" does.
18417
18418 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18419 the file size representation.
18420
3726838a
EZ
18421 * simple.el (list-processes): If async subprocesses are not
18422 available, error out with a clear error message.
18423
cbb59342
CY
184242011-04-08 Chong Yidong <cyd@stupidchicken.com>
18425
18426 * help.el (help-form-show): New function, to be called from C.
18427 Put help-form output in a buffer named differently than *Help*.
18428
e3971c44
EZ
184292011-04-08 Eli Zaretskii <eliz@gnu.org>
18430
18431 * files.el (file-size-human-readable): New function.
18432
18433 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18434 computing the representation inline. Don't require `cl'.
18435
12544bbe
GM
184362011-04-08 Glenn Morris <rgm@gnu.org>
18437
a1de6c6a
GM
18438 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18439
3c4671f4
GM
18440 * net/browse-url.el (browse-url-firefox):
18441 Test system-type, not system-configuration.
18442
b605679c
GM
18443 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18444 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18445 Use log-edit-empty-buffer-p. (Bug#7598)
18446
56442f0c
GM
18447 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18448 (rlogin-mode-map): Initialize in the defvar.
18449 (rlogin): Use ignore-errors.
18450
12544bbe
GM
18451 * replace.el (occur-mode-map): Some fixes for menu items.
18452
eb237b0f
AH
184532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18454
18455 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18456
7d668f2c
CY
184572011-04-06 Chong Yidong <cyd@stupidchicken.com>
18458
e67a13ab
CY
18459 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18460 issuing unused warnings.
18461
18462 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18463 macro directly.
18464
7d668f2c
CY
18465 * simple.el: Lisp reimplement of list-processes. Based on an
18466 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18467 (process-menu-mode): New major mode.
18468 (list-processes--refresh, list-processes):
18469 (process-menu-visit-buffer): New functions.
18470
18471 * files.el (save-buffers-kill-emacs): Don't assume any return
18472 value of list-processes, which is undocumented anyway.
18473
a83ec3c9
CY
184742011-04-06 Chong Yidong <cyd@stupidchicken.com>
18475
18476 * emacs-lisp/tabulated-list.el: New file.
18477
e91a96fe
CY
18478 * emacs-lisp/package.el: Use Tabulated List mode.
18479 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18480 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18481 table format using Tabulated List mode variables.
18482 (package--push): New macro, replacing package-list-maybe-add.
18483 (package-menu--generate): Use package--push. Renamed from
18484 package--generate-package-list.
18485 (package-menu-refresh, list-packages): Use it.
daca8ba5 18486 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18487 Return insertion data instead of inserting it directly.
099c39a4
JB
18488 (package-menu-describe-package, package-menu-execute):
18489 Use tabulated-list-get-id.
e91a96fe
CY
18490 (package-menu-mark-delete, package-menu-mark-install)
18491 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18492 (package-menu-mark-obsolete-for-deletion):
18493 Use tabulated-list-put-tag.
e91a96fe
CY
18494 (package--list-packages, package-menu-revert)
18495 (package-menu-get-package, package-menu-get-version)
18496 (package-menu-sort-by-column): Functions deleted.
18497 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18498 (package-menu--status-predicate, package-menu--version-predicate)
18499 (package-menu--name-predicate)
18500 (package-menu--description-predicate): Handle arguments in the
18501 Tabulated List format.
18502 (package-list-packages-no-fetch): Call list-packages.
18503
3e214b50
JB
185042011-04-06 Juanma Barranquero <lekktu@gmail.com>
18505
18506 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18507 (after-find-file): Don't bind it.
3e214b50
JB
18508 (revert-buffer-in-progress-p): New variable.
18509 (revert-buffer): Bind it.
18510 Pass nil for `after-find-file-from-revert-buffer'.
18511
18512 * saveplace.el (save-place-find-file-hook): Use new variable
18513 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18514
3f0f1700
GM
185152011-04-06 Glenn Morris <rgm@gnu.org>
18516
c0274801
GM
18517 * Makefile.in (AUTOGEN_VCS): New variable.
18518 (autoloads): Use $AUTOGEN_VCS.
18519
3f0f1700
GM
18520 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18521 * calendar/calendar.el (calendar-mode-map):
18522 Check for toolkit scroll bars. (Bug#8305)
18523
41ea9e48
CY
185242011-04-05 Chong Yidong <cyd@stupidchicken.com>
18525
18526 * minibuffer.el (completion-in-region--postch)
18527 (completion-in-region-mode): Remove unnecessary messages.
18528
6194c800
JB
185292011-04-05 Juanma Barranquero <lekktu@gmail.com>
18530
33256f14
JB
18531 * font-lock.el (font-lock-refresh-defaults):
18532 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18533 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18534
6194c800
JB
18535 * info.el (Info-directory-list, Info-read-node-name-2)
18536 (Info-split-parameter-string): Doc fixes.
18537 (Info-virtual-nodes): Reflow docstring.
18538 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18539 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18540 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18541 Fix typos in docstrings.
18542 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18543 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18544 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18545 (Info-restore-desktop-buffer): Mark unused parameters.
18546 (Info-directory-find-file, Info-directory-find-node)
18547 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18548 (Info-virtual-index-find-node, Info-apropos-find-file)
18549 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18550 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18551 (Info-virtual-index): Remove unused local variable `nodename'.
18552
b87a8200 185532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18554
b87a8200
DD
18555 * net/rcirc.el: Update my e-mail address.
18556 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18557
3b2ff876
CY
185582011-04-05 Chong Yidong <cyd@stupidchicken.com>
18559
18560 * startup.el (command-line): Save the cursor's theme-face
18561 directly, instead of using face-override-spec.
18562
18563 * custom.el (load-theme): Minor optimization in assigning faces.
18564
8d17e7ca
JB
185652011-04-04 Juanma Barranquero <lekktu@gmail.com>
18566
18567 * help-fns.el (describe-variable): Complete all variables having
18568 documentation, including keywords.
18569 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18570
2fbc1934
JB
185712011-04-04 Juanma Barranquero <lekktu@gmail.com>
18572
18573 Convert to lexical-binding.
18574
18575 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18576 (bs--get-marked-string, bs--get-modified-string)
18577 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18578 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18579 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18580
18581 * ehelp.el (electric-help-execute-extended)
18582 (electric-help-ctrl-x-prefix):
18583 * hexl.el (hexl-revert-buffer-function):
18584 * linum.el (linum-after-change, linum-after-scroll):
18585 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18586
18587 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18588
74f50695
DU
185892011-04-04 Daiki Ueno <ueno@unixuser.org>
18590
18591 * epa-dired.el:
18592 * epa-mail.el:
18593 * epa-hook.el:
18594 * epa-file.el:
18595 * epa.el:
18596 * epg.el: Use lexical binding.
18597
c11325f7
CY
185982011-04-03 Chong Yidong <cyd@stupidchicken.com>
18599
0d9e9a12
CY
18600 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18601
c11325f7 18602 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18603 dictionary case for flyspell-mark-duplications-exceptions.
18604 Use regexp matching for languages.
c11325f7
CY
18605 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18606 default dictionary (Bug#7926).
18607
da91b5f2
CY
186082011-04-02 Chong Yidong <cyd@stupidchicken.com>
18609
099c39a4
JB
18610 * emacs-lisp/package.el (package--with-work-buffer):
18611 Recognize https URLs.
da91b5f2 18612
099c39a4
JB
18613 * net/network-stream.el: Move from gnus/proto-stream.el.
18614 Change prefix to network-stream throughout.
da91b5f2
CY
18615 (open-protocol-stream): Merge into open-network-stream, leaving
18616 open-protocol-stream as an alias. Handle nil BUFFER args.
18617
18618 * subr.el (open-network-stream): Move to net/network-stream.el.
18619
afa8e9f6
GM
186202011-04-02 Glenn Morris <rgm@gnu.org>
18621
1d2e369d
GM
18622 * find-dired.el (find-exec-terminator): New option.
18623 (find-ls-option): Test for -ls support.
18624 (find-ls-subdir-switches): Test for -b in find-ls-option.
18625 (find-dired, find-grep-dired): Doc fixes.
18626 (find-dired): Use find-exec-terminator.
18627
8abb7da8 18628 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18629 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18630 (find-name-arg): Remove purecopy.
8abb7da8 18631
f3ca7378
GM
18632 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18633 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18634 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18635 accordingly. Don't add the null-device if not needed.
18636
afa8e9f6
GM
18637 * files.el (save-some-buffers): Doc fix.
18638
35eae264
EZ
186392011-04-02 Eli Zaretskii <eliz@gnu.org>
18640
18641 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18642
26b51db5
JB
186432011-04-01 Juanma Barranquero <lekktu@gmail.com>
18644
18645 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18646 Use `dolist' rather than `mapcar'.
18647
7200d79c
SM
186482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18649
03408648 18650 Add lexical binding.
7200d79c 18651
03408648
SM
18652 * subr.el (apply-partially): Use new closures rather than CL.
18653 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18654 (dolist, dotimes): Use slightly different expansion for lexical code.
18655 (functionp): Move to C.
18656 (letrec): New macro.
18657 (with-wrapper-hook): Use it and apply-partially instead of CL.
18658 (eval-after-load): Preserve lexical-binding.
18659 (save-window-excursion, with-output-to-temp-buffer): Turn them
18660 into macros.
7200d79c 18661
03408648
SM
18662 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18663
18664 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18665 than the arglist.
18666 (help-add-fundoc-usage): Don't add `Not documented'.
18667 (help-function-arglist): Handle closures, subroutines, and new
18668 byte-code-functions.
18669 (help-make-usage): Remove leading underscores.
18670 (describe-function-1): Handle closures.
18671 (describe-variable): Use special-variable-p for completion.
18672
18673 * files.el (lexical-binding): Declare safe.
f488fb65 18674
03408648
SM
18675 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18676 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18677 (pcase): Add `let' pattern.
18678 Change memoization so it actually works.
18679 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18680 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18681 <let>: New case.
f488fb65 18682
03408648
SM
18683 * emacs-lisp/macroexp.el: Use lexical binding.
18684 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18685 Don't convert ' to #' without checking that it's indeed quoting
18686 a lambda.
18687
18688 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18689 Use eval-sexp-add-defvars.
03408648
SM
18690 (eval-sexp-add-defvars): New fun.
18691
18692 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18693
18694 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18695 Don't autoload.
18696 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18697 than the internal `byte-compile-lambda'.
18698 (defmethod): Don't hide code under quotes.
18699 (eieio-defmethod): New `code' argument.
18700
18701 * emacs-lisp/eieio-comp.el: Remove.
18702
18703 * emacs-lisp/edebug.el (edebug-eval-defun)
18704 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18705 (edebug-toggle): Avoid `eval'.
18706
18707 * emacs-lisp/disass.el (disassemble-internal): Handle new
18708 `closure' objects.
18709 (disassemble-1): Handle new byte codes.
18710
18711 * emacs-lisp/cl.el (pushnew): Silence warning.
18712
18713 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18714 (cl-byte-compile-throw): Remove.
18715 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18716
18717 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18718 closures.
18719
18720 * emacs-lisp/cconv.el: New file.
18721
18722 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18723 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18724 (byte-compile-initial-macro-environment):
18725 Handle declare-function here.
18726 (byte-compile--lexical-environment): New var.
18727 (byte-stack-ref, byte-stack-set, byte-discardN)
18728 (byte-discardN-preserve-tos): New lap codes.
18729 (byte-interactive-p): Don't use any more.
18730 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18731 New macros.
18732 (byte-compile-lapcode): Use them and handle new lap codes.
18733 (byte-compile-obsolete): Remove.
18734 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18735 (byte-compile-arglist-warn): Check late def of inlinable funs.
18736 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18737 since they should have been expanded by now.
18738 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18739 (byte-compile-from-buffer): Remove unused second arg.
18740 (byte-compile-preprocess): New function.
18741 (byte-compile-toplevel-file-form): New function to distinguish
18742 file-form calls from outside from file-form calls from hunk-handlers.
18743 (byte-compile-file-form): Simplify.
18744 (byte-compile-file-form-defsubst): Remove.
18745 (byte-compile-file-form-defmumble): Simplify now that
18746 byte-compile-lambda always returns a byte-code-function.
18747 (byte-compile): Preprocess.
18748 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18749 Remove, not used any more.
18750 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18751 (byte-compile-make-args-desc): New funs.
18752 (byte-compile-lambda): Handle lexical functions. Always return
18753 a byte-code-function.
18754 (byte-compile-reserved-constants): New var, to make up room for
18755 closed-over variables.
18756 (byte-compile-constants-vector): Obey it.
18757 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18758 (byte-compile-macroexpand-declare-function): New function.
18759 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18760 byte-code-functions.
18761 (byte-compile-form): Check obsolescence here.
18762 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18763 (byte-compile-variable-ref): Remove.
18764 (byte-compile-dynamic-variable-op): New fun.
18765 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18766 (byte-compile-variable-set): New funs.
18767 (byte-compile-discard): Add 2 args.
18768 (byte-compile-stack-ref, byte-compile-stack-set)
18769 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18770 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18771 macroexpand-all instead.
18772 (byte-compile-quote-form): Remove.
18773 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18774 (byte-compile-bind, byte-compile-unbind): New funs.
18775 (byte-compile-let): Handle let* and lexical binding.
18776 (byte-compile-let*): Remove.
18777 (byte-compile-catch, byte-compile-unwind-protect)
18778 (byte-compile-track-mouse, byte-compile-condition-case):
18779 Handle a new :fun-body form, used for lexical scoping.
18780 (byte-compile-save-window-excursion)
18781 (byte-compile-with-output-to-temp-buffer): Remove.
18782 (byte-compile-defun): Simplify.
18783 (byte-compile-stack-adjustment): New fun.
18784 (byte-compile-out): Use it.
18785 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18786
18787 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18788 handler any more.
18789
18790 * emacs-lisp/byte-opt.el: Use lexical binding.
18791 (byte-inline-lapcode): Remove (to bytecomp).
18792 (byte-compile-inline-expand): Pay attention to inlining to/from
18793 lexically bound code.
18794 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18795 any more.
18796 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18797 any more and don't call compiler-macros.
18798 (byte-compile-splice-in-already-compiled-code): Remove.
18799 (byte-code): Don't inline any more.
18800 (disassemble-offset): Receive `bytes' as argument rather than via
18801 dynamic scoping.
18802 (byte-compile-tag-number): Declare before first use.
18803 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18804 `return' even if make-spliceable.
18805 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18806 obsolete interactive-p.
18807 (byte-optimize-lapcode): Optimize new lap-codes.
18808 Don't trip up on new form of `byte-constant' lap code.
18809
18810 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18811
18812 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18813
18814 * custom.el (custom-initialize-default, custom-declare-variable):
18815 Use `defvar'.
18816
18817 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18818 New variables.
18819 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18820 (COMPILE_FIRST): Add macroexp and cconv.
18821 * makefile.w32-in: Mirror changes in Makefile.in.
18822
18823 * vc/cvs-status.el:
18824 * vc/diff-mode.el:
18825 * vc/log-edit.el:
18826 * vc/log-view.el:
18827 * vc/smerge-mode.el:
18828 * textmodes/bibtex-style.el:
090bd7cb 18829 * textmodes/css-mode.el:
03408648
SM
18830 * startup.el:
18831 * uniquify.el:
da91b5f2
CY
18832 * minibuffer.el:
18833 * newcomment.el:
18834 * reveal.el:
18835 * server.el:
18836 * mpc.el:
18837 * emacs-lisp/smie.el:
18838 * doc-view.el:
18839 * dired.el:
03408648
SM
18840 * abbrev.el: Use lexical binding.
18841
0f0c1f27
EZ
188422011-04-01 Eli Zaretskii <eliz@gnu.org>
18843
18844 * info.el (info-display-manual): New function.
18845
c82b2579
SM
188462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18847
18848 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18849
221ddf68
TH
188502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18851
18852 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18853 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18854
cba6e77e
GM
188552011-03-31 Glenn Morris <rgm@gnu.org>
18856
e040639f
GM
18857 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18858
cba6e77e
GM
18859 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18860
6d0f1c9e
CS
188612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18862
18863 * progmodes/python.el (python-default-interpreter)
18864 (python-python-command-args, python-jython-command-args)
18865 (python-which-shell, python-which-args, python-which-bufname)
18866 (python-file-queue, python-comint-output-filter-function)
18867 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18868 variables and functions.
18869
3e2d70fd
SM
188702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18871
18872 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18873 (completion-in-region-mode): New minor mode.
18874 (completion-in-region): Use it.
18875 (completion-in-region--data, completion-in-region-mode-map): New vars.
18876 (completion-in-region--postch): New function.
18877 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18878 New vars.
18879 (completion--capf-wrapper): New function.
18880 (completion-at-point): Use it to track well-behavedness of
18881 hook functions.
18882 (completion-help-at-point): New command.
18883
f3e4086c
JM
188842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18885
18886 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18887 syntax class to search for whitespace on a single line
18888 (Message-ID: <4D938140.4030905@redhat.com>).
18889
eb7ffc14
LL
188902011-03-30 Leo Liu <sdl.web@gmail.com>
18891
18892 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18893 New commands.
18894 (edit-abbrevs-map): Bind them here.
18895 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18896
d806ab68
KM
188972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18898
18899 * allout.el (allout-hide-by-annotation, allout-flag-region):
18900 Reduce possibility of overlay leakage by making them volatile.
18901
18902 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18903 hash is not shared between buffers. Mode initialization is
18904 responsible for giving it a useful starting value.
18905 (allout-item-span): Reduce possibility of overlay leakage by
18906 making them volatile.
18907 (allout-widgets-count-buttons-in-region): Add diagnostic function
18908 for tracking down button overlay leaks.
18909
ea622834
LL
189102011-03-29 Leo Liu <sdl.web@gmail.com>
18911
18912 * ido.el (ido-read-internal): Use the default history var
18913 minibuffer-history if no HISTORY is specified.
18914
b62f8267
G
189152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18916
03408648
SM
18917 * net/imap.el (imap-shell-open, imap-process-connection-type):
18918 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18919 Kerberos, SSL, other subprocesses.
18920
947b6566
LL
189212011-03-28 Leo Liu <sdl.web@gmail.com>
18922
18923 * abbrev.el (abbrev-table-empty-p): New function.
18924 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18925 nonempty ones. (Bug#5937)
18926
5ffb62aa
JD
189272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18928
18929 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18930
7a097943
LL
189312011-03-27 Leo Liu <sdl.web@gmail.com>
18932
18933 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18934 for foreground and background colors.
18935 (ansi-color-make-color-map): Adapt.
18936
c5b40130
LL
189372011-03-25 Leo Liu <sdl.web@gmail.com>
18938
1f48f7d2
LL
18939 * midnight.el (midnight-time-float): Remove. Note it calculates
18940 the microsecond component incorrectly and seconds-to-time does the
18941 same job.
625897ec 18942 Remove redundant (require 'timer).
1f48f7d2 18943
c5b40130
LL
18944 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18945 (ido-completions): Remove unused arguments. (Bug#8329)
18946
d86d2721
SM
189472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18948
18949 * minibuffer.el (completion--flush-all-sorted-completions):
18950 Remove itself from hook.
18951 (completion-at-point): Let the functions perform the completion
18952 immediately and return nil or t.
18953 * comint.el (comint-dynamic-complete-functions): Now identical to
18954 completion-at-point-functions.
18955 (comint-dynamic-list-input-ring): Remove unused var `index'.
18956 (comint--match-partial-filename, comint--unquote&expand-filename):
18957 New funs, split from comint-match-partial-filename.
18958 (comint-dynamic-complete): Use completion-at-point.
18959 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18960
e8974c48
DA
189612011-03-24 Drew Adams <drew.adams@oracle.com>
18962
18963 * thingatpt.el: Support `defun'.
18964
def71b5e
LL
189652011-03-23 Leo Liu <sdl.web@gmail.com>
18966
cb5af48e
LL
18967 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18968
def71b5e
LL
18969 * help-mode.el (help-mode-finish): Tweak regexp.
18970
927c53e7
GM
189712011-03-23 Glenn Morris <rgm@gnu.org>
18972
18d05bed
GM
18973 * eshell/esh-opt.el (eshell-eval-using-options):
18974 Do not bind unused local variable `eshell-option-stub'.
18975
927c53e7
GM
18976 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18977
9d0da923
JB
189782011-03-22 Juanma Barranquero <lekktu@gmail.com>
18979
18980 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18981 keymap variable in `with-no-warnings' to avoid a warning when the
18982 keymap has been already `defconst'ed.
18983
4b978a67
LL
189842011-03-22 Leo Liu <sdl.web@gmail.com>
18985
18986 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18987 encode all chars in abbrevs; otherwise use emacs-mule or
18988 utf-8-emacs. (Bug#8308)
18989
5fd62452
JB
189902011-03-22 Juanma Barranquero <lekktu@gmail.com>
18991
0b1596c6
JB
18992 * simple.el (backward-delete-char-untabify):
18993 Avoid warning about using `delete-backward-char'.
18994
5fd62452
JB
18995 * image.el (image-type-file-name-regexps): Make it variable.
18996 `imagemagick-register-types' modifies it, and the user may want
18997 to add new extensions for known image types.
18998 (imagemagick-register-types): Throw error if not using ImageMagick.
18999
0b4e93f1
LL
190002011-03-22 Leo Liu <sdl.web@gmail.com>
19001
19002 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19003 located before rcirc-prompt-end-marker.
19004 (rcirc-complete): Error if point is not after rcirc prompt.
19005 Handle the case when table is nil.
9882e214 19006 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19007
fccee4ab
CY
190082011-03-22 Chong Yidong <cyd@stupidchicken.com>
19009
19010 * custom.el (custom--inhibit-theme-enable): Make it affect only
19011 custom-theme-set-variables and custom-theme-set-faces.
19012 (provide-theme): Ignore custom--inhibit-theme-enable.
19013 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19014 (custom-enabling-themes): Delete variable.
d86d2721
SM
19015 (enable-theme): Accept only loaded themes as arguments.
19016 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19017 (custom-enabled-themes): Forbid themes from setting this.
19018 Eliminate use of custom-enabling-themes.
19019 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19020
af896da6
LL
190212011-03-21 Leo Liu <sdl.web@gmail.com>
19022
19023 * ido.el (ido-read-internal): Add ido-selected to history instead
19024 of user input.
19025
78f64af0
SM
190262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19027
19028 * subr.el (deferred-action-list, deferred-action-function):
19029 Mark obsolete.
19030
b16ac1ec
LL
190312011-03-21 Leo Liu <sdl.web@gmail.com>
19032
810f7698
LL
19033 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19034 change on 2011-02-13 (bug#8309).
19035
b16ac1ec
LL
19036 * minibuffer.el (read-file-name-function): Change default value.
19037 (read-file-name--defaults): Rename from read-file-name-defaults.
19038 (read-file-name-default): Rename from read-file-name.
19039 (read-file-name): Call read-file-name-function.
19040
4e05e67e
GM
190412011-03-21 Glenn Morris <rgm@gnu.org>
19042
19043 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19044 Doc fixes.
19045
4359915b
CY
190462011-03-21 Chong Yidong <cyd@stupidchicken.com>
19047
19048 * cus-theme.el: Add missing provide statement.
19049 (customize-create-theme): Extract theme value correctly.
19050 (custom-theme-visit-theme): Autoload.
19051 (customize-create-theme): Prompt before inserting default faces.
19052
1fe275ee
JB
190532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19054
19055 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19056 units and musical notes.
19057
cd394be1 190582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19059
19060 * ido.el (ido-read-internal): Use completing-read-default.
19061 (ido-completing-read): Fix compatibility with completing-read.
19062
7d476bde
CO
190632011-03-20 Christian Ohler <ohler@gnu.org>
19064
19065 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19066 (ert-delete-all-tests): Use `called-interactively-p' rather than
19067 `interactive-p'.
19068 (ert--make-xrefs-region): Respect END.
19069
fe0fb33e
CY
190702011-03-19 Chong Yidong <cyd@stupidchicken.com>
19071
ff854b0b
CY
19072 * dired-aux.el (dired-create-directory): Signal an error if the
19073 directory already exists (Bug#8246).
19074
fe0fb33e
CY
19075 * facemenu.el (list-colors-display): Call list-faces-display
19076 inside with-help-window.
19077 (list-colors-print): Use display property to align the final
19078 column, instead of checking window-width.
19079
576bce32
EZ
190802011-03-19 Eli Zaretskii <eliz@gnu.org>
19081
4d61f28d 19082 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19083 windows-nt systems.
19084 (emerge-protect-metachars): Quote correctly for ms-dos and
19085 windows-nt systems.
19086
89c41d68 190872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19088
19089 * info.el (info-initialize): Replace all uses of `:' with
19090 path-separator for compatibility with non-Unix systems.
19091 Cache quoting of path-separator. (Bug#8258)
19092
b14e3e21 190932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19094
19095 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19096 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19097 (mouse-avoidance-mode): Fix typos in docstrings.
19098
4525ce3e
CY
190992011-03-19 Chong Yidong <cyd@stupidchicken.com>
19100
19101 * startup.el (package-subdirectory-regexp): Move from package.el.
19102 Omit \\` and \\', and let callers add them.
19103
19104 * emacs-lisp/package.el (package-strip-version)
19105 (package-load-all-descriptors): Add \\` and \\' to
19106 package-subdirectory-regexp before using it.
19107 (package-untar-buffer): New arg DIR; ensure that file untars only
19108 into this expected directory. Remove superfluous delete-region.
19109 (package-unpack): Caller changed.
19110 (package-tar-file-info): Use package-subdirectory-regexp.
19111
a904a09a 191122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19113
a904a09a
SM
19114 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19115 diff-mode-shared-map (bug#8284).
19116 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19117
191182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19119
19120 * calendar/time-date.el (format-seconds): Use assoc instead of
19121 assoc-string, since assoc-string doesn't exist in XEmacs.
19122
171fc304
JB
191232011-03-17 Juanma Barranquero <lekktu@gmail.com>
19124
19125 * custom.el (custom-known-themes): Reflow docstring.
19126 (custom-theme-load-path): Fix typo in docstring.
19127 (load-theme): Fix typo in error message.
19128 (custom-available-themes, custom-variable-theme-value):
19129 Use `let', not `let*'.
19130
d71990a1
JB
191312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19132
19133 * calc/README: Mention inclusion of musical notes.
19134
19135 * calc/calc-units.el (calc-lu-quant): Rename from
19136 `calc-logunits-quantity'.
19137 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19138 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19139 (calc-db): Rename from `calc-dblevel'.
19140 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19141 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19142 (calc-np): Rename from `calc-nplevel'.
19143 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19144 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19145 (calc-lu-plus): Rename from `calc-logunits-add'.
19146 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19147 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19148 (calc-lu-minus): Rename from `calc-logunits-sub'.
19149 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19150 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19151 (calc-lu-times): Rename from `calc-logunits-mul'.
19152 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19153 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19154 (calc-lu-divide): Rename from `calc-logunits-div'.
19155 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19156 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19157
19158 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19159 functions being autoloaded.
19160
19161 * calc/calc.el (calc-lu-power-reference): Rename from
19162 `calc-logunits-power-reference'.
19163 (calc-lu-field-reference): Rename from
19164 `calc-logunits-field-reference'.
19165
7a71b18d
GM
19166 * calc/calc-help.el (calc-l-prefix-help):
19167 Mention musical note functions.
d71990a1 19168
40c2934b
SM
191692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19170
19171 * minibuffer.el (completion-all-sorted-completions):
19172 Use :completion-cycle-penalty text property if present.
19173
b0911414
KM
191742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19175
19176 * allout.el (allout-yank-processing): Adjust for new rebulleting
19177 regime so bullet being yanked is used without prompting the user
19178 for a choice.
19179
8a05b668
JB
191802011-03-16 Juanma Barranquero <lekktu@gmail.com>
19181
19182 * startup.el (command-line): Warn the user that _emacs is deprecated.
19183
5ba5fb81
JB
191842011-03-16 Juanma Barranquero <lekktu@gmail.com>
19185
19186 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19187 (delphi-verbose, delphi-comment-face, delphi-string-face)
19188 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19189 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19190 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19191 (delphi-new-comment-line, delphi-font-lock-defaults)
19192 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19193 Fix typos in docstrings.
19194
2dab465b
KM
191952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19196
5ba5fb81 19197 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19198 Invert the roles of character and string values for INSTEAD, so a
19199 string is used for the more common case of a defaulting prompt.
19200
0adf5618
SM
192012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19202
19203 * progmodes/ruby-mode.el (ruby-backward-sexp):
19204 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19205 * play/gamegrid.el (gamegrid-make-face):
19206 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19207 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19208 * notifications.el (notifications-notify):
19209 * net/xesam.el (xesam-search-engines):
19210 * net/quickurl.el (quickurl-list-insert):
19211 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19212
d72700e5
CY
192132011-03-15 Chong Yidong <cyd@stupidchicken.com>
19214
19215 * startup.el (command-line): Update package subdirectory regexp.
19216
49c5410a
SM
192172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19218
c6eee9aa
SM
19219 * allout.el (allout-abbreviate-flattened-numbering)
19220 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19221
49c5410a
SM
19222 * subr.el (read-char-choice): Only show the cursor after the prompt,
19223 not after the answer.
19224
047b2bb9
KR
192252011-03-15 Kevin Ryde <user42@zip.com.au>
19226
19227 * help-fns.el (variable-at-point): Skip leading quotes, if any
19228 (bug#8253).
19229
0a57d256
SM
192302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19233 warning message.
19234
77c992bc
MA
192352011-03-14 Michael Albinus <michael.albinus@gmx.de>
19236
19237 * shell.el (shell): When called interactively, offer to change the
19238 shell file name on remote hosts.
19239
eebc475d
TZ
192402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19241
19242 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19243 integration for LDAP parameters. The host, base, user or binddn,
19244 and secret tokens can be specified in a netrc file, for instance.
19245 This is optional because an `auth-source' parameter must be
19246 specified in the search attributes.
19247
9d05d1ba
JB
192482011-03-13 Juanma Barranquero <lekktu@gmail.com>
19249
19250 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19251
09d9db2c
GM
192522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19253
19254 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19255 into declaration. Remove redundant and harmful binding.
19256
192572011-03-12 Eli Zaretskii <eliz@gnu.org>
19258
19259 * files.el (file-ownership-preserved-p): Pass `integer' as an
19260 explicit 2nd argument to `file-attributes'. If the file's owner
19261 is the Administrators group on Windows, and the current user is
19262 Administrator, consider that a match.
19263
19264 * server.el (server-ensure-safe-dir): Consider server directory
19265 safe on MS-Windows if its owner is the Administrators group while
19266 the current Emacs user is Administrator. Use `=' to compare
19267 numerical UIDs, since they could be integers or floats.
19268
219bd536
JB
192692011-03-12 Juanma Barranquero <lekktu@gmail.com>
19270
19271 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19272
f3afd36b
MA
192732011-03-12 Michael Albinus <michael.albinus@gmx.de>
19274
19275 Sync with Tramp 2.2.1.
19276
19277 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19278
19279 * net/trampver.el: Update release number.
19280
3aaaa6f1
SM
192812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19282
94642599
SM
19283 * progmodes/compile.el (compilation--previous-directory): Fix up
19284 various nil/dead-marker mismatches (bug#8014).
19285 (compilation-directory-properties, compilation-error-properties):
19286 Don't call it at a position past the one we're about to change.
19287
3aaaa6f1
SM
19288 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19289 Disable obsolescence warnings in the file that declares it.
19290
14239447
KM
192912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19292
099c39a4
JB
19293 * allout-widgets.el (allout-widgets-tally):
19294 Initialize allout-widgets-tally as a hash table rather than nil to
19295 prevent mode-line redisplay warnings. Also, clarify the module
19296 description and fix a comment typo.
14239447 19297
135e287c
JB
192982011-03-11 Juanma Barranquero <lekktu@gmail.com>
19299
19300 * help-fns.el (describe-variable): Don't complete keywords.
19301 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19302
ffbf300e
CY
193032011-03-10 Chong Yidong <cyd@stupidchicken.com>
19304
ba08b241
CY
19305 * emacs-lisp/package.el (package-version-join): Impose a standard
19306 string representation for pre/alpha/beta version lists.
19307 (package-unpack-single): Standardize the directory name by passing
19308 it through package-version-join.
19309 (package-strip-rcs-id): Accept any version string that does not
19310 signal an error in version-to-list.
ffbf300e 19311
f346fd6b
MA
193122011-03-10 Michael Albinus <michael.albinus@gmx.de>
19313
19314 * simple.el (delete-trailing-whitespace): Return nil for the
19315 benefit of `write-file-functions'.
19316
ccb55d27
GM
193172011-03-10 Glenn Morris <rgm@gnu.org>
19318
5ceaac0c
GM
19319 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19320
02da65ff
GM
19321 * vc/vc-git.el (vc-git-program): New option.
19322 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19323 (vc-git--call): Use it.
19324
b2f603cc
GM
19325 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19326
5772caab
GM
19327 * cus-edit.el (Custom-newline): If no button at point, look
19328 for a subgroup button at start-of-line. (Bug#2298)
19329
ccb55d27
GM
19330 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19331
ec6ecaed
JD
193322011-03-10 Julien Danjou <julien@danjou.info>
19333
19334 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19335 `cursor-type' is nil.
19336
9d5aa01d
JB
193372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19338
19339 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19340
b6a5875b
KM
193412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19342
7a71b18d 19343 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19344 preserves the existing header prefix, rebulleting it if necessary,
19345 rather than replacing it. This is necessary for proper operation
19346 of cooperative addons like allout-widgets.
1154d12e
JB
19347 (allout-make-topic-prefix, allout-rebullet-heading):
19348 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19349 value as alternate bullet to be used, instead of prompting the user
19350 for a bullet character.
b6a5875b 19351
ee545c35
MA
193522011-03-09 Michael Albinus <michael.albinus@gmx.de>
19353
d86d2721
SM
19354 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19355 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19356 `tramp-default-port'.
19357
c47971d7
DD
193582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19359
19360 * net/rcirc.el (rcirc-handler-001): Remove useless
19361 with-rcirc-process-buffer.
19362 (rcirc-check-auth-status): Swap arguments to string-match.
19363
13522cb4
GM
193642011-03-09 Glenn Morris <rgm@gnu.org>
19365
0be6f4f1
GM
19366 * shell.el (shell-mode):
19367 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19368
13522cb4
GM
19369 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19370 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19371
515de2e3
CY
193722011-03-08 Chong Yidong <cyd@stupidchicken.com>
19373
19374 * emacs-lisp/package.el (package-refresh-contents)
19375 (package-menu-execute): Use condition-case-no-debug.
19376
b511b994
MA
193772011-03-08 Michael Albinus <michael.albinus@gmx.de>
19378
19379 * simple.el (shell-command-to-string): Use `process-file'.
19380
19381 * emacs-lisp/package.el (package-tar-file-info): Handle also
19382 remote files.
19383
d86d2721
SM
19384 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19385 Use `equal' for upload base check.
b511b994 19386
25bbfb31
AM
193872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19388
19389 * textmodes/texinfo.el (texinfo-environments):
19390 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19391
be996521
GM
193922011-03-08 Glenn Morris <rgm@gnu.org>
19393
e9c8529f
GM
19394 * cus-start.el (cursor-in-non-selected-windows):
19395 Fix :set quoting oddness. (Bug#8192)
19396
be996521
GM
19397 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19398 in some setf expressions. (Bug#2159)
19399
2bb5649e
CY
194002011-03-08 Chong Yidong <cyd@stupidchicken.com>
19401
19402 * custom.el (custom-available-themes): Return themes in
19403 alphabetical order.
19404
33383987 19405See ChangeLog.15 for earlier changes.
e3d51b27
MR
19406
19407;; Local Variables:
19408;; coding: utf-8
e3d51b27
MR
19409;; End:
19410
acaf905b 19411 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19412
19413 This file is part of GNU Emacs.
19414
19415 GNU Emacs is free software: you can redistribute it and/or modify
19416 it under the terms of the GNU General Public License as published by
19417 the Free Software Foundation, either version 3 of the License, or
19418 (at your option) any later version.
19419
19420 GNU Emacs is distributed in the hope that it will be useful,
19421 but WITHOUT ANY WARRANTY; without even the implied warranty of
19422 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19423 GNU General Public License for more details.
19424
19425 You should have received a copy of the GNU General Public License
19426 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.