Enhancements for triple-quote string syntax.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4c478e6b
JL
12012-09-30 Juri Linkov <juri@jurta.org>
2
3 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
4 to nil around the call to `add-text-properties' to prevent
5 directory time modification by lock_file. (Bug#2295)
6 * tar-mode.el (tar-summarize-buffer): Idem.
7
d80d54b2
JL
82012-09-30 Juri Linkov <juri@jurta.org>
9
10 * facemenu.el (list-colors-sort): Add option "Luminance".
11 (list-colors-sort-key): Implement it.
12
13 * vc/diff-mode.el (diff-refine-removed):
14 * vc/ediff-init.el (ediff-fine-diff-A):
15 * vc/smerge-mode.el (smerge-refined-removed):
16 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
17
d7e642cc
JD
182012-09-30 Jan Djärv <jan.h.d@swipnet.se>
19
20 * term/ns-win.el (x-file-dialog): New function.
21
ee41332b
JB
222012-09-30 Juanma Barranquero <lekktu@gmail.com>
23
24 * ido.el (ido-max-directory-size): Default to nil; the current
25 default is small for POSIX systems, and impractical on Windows 7
26 now that lstat returns directory sizes for NTFS.
27
5938d519
MR
282012-09-30 Martin Rudalics <rudalics@gmx.at>
29
30 In buffer display functions handle window-height/window-width
31 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
32 * window.el (window--display-buffer): New argument ALIST. Obey
33 window-height and window-width alist entries.
34 (window--try-to-split-window): New argument ALIST. Bind
35 window-combination-limit to t when the window's size shall be
36 changed and window-combination-limit equals `window-size'.
37 (display-buffer-in-atom-window)
38 (display-buffer-in-major-side-window)
39 (display-buffer-in-side-window, display-buffer-same-window)
40 (display-buffer-reuse-window, display-buffer-pop-up-frame)
41 (display-buffer-pop-up-window, display-buffer-below-selected)
42 (display-buffer-at-bottom, display-buffer-in-previous-window)
43 (display-buffer-use-some-window): Adjust all callers of
44 window--display-buffer and window--try-to-split-window.
45 (fit-frame-to-buffer): New option.
46 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
47 is non-nil.
48 (display-buffer-in-major-side-window): Evaluate window-height /
49 window-width alist entries.
50
51 * help.el (temp-buffer-resize-frames)
52 (temp-buffer-resize-regexps): Remove options.
53 (temp-buffer-resize-mode): Adjust doc-string.
54 (resize-temp-buffer-window): Don't consult
55 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
56 temp-buffer-resize-frames.
57
58 * dired.el (dired-mark-pop-up): Call
59 display-buffer-below-selected with a fit-window-to-buffer alist
60 entry.
61
c4c0c2df
CY
622012-09-30 Chong Yidong <cyd@gnu.org>
63
48de8b12
CY
64 * server.el (server-host): Document the security implications.
65 (server-auth-key): Doc fix.
66
67 * startup.el (initial-buffer-choice): Doc fix.
68
69 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
70
a97dc380
CY
71 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
72 restriction change.
73
d39d3c8e
CY
74 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
75
c4c0c2df
CY
76 * help-fns.el (help-fns--obsolete): Fix last change.
77
98a5e33b
SM
782012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
79
34cf6f39
SM
80 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
81 (minor-mode-map-alist): Remove redundant code.
82
e01c13fe
SM
83 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
84 visited in a buffer.
85 (cvs-insert-visited-file): New function.
86 (find-file-hook): Use it.
87
88 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
89
02661b3a
SM
90 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
91 chose face.
92 (log-edit-empty-buffer-p): Don't require a space after a header.
93
43711d4b
SM
94 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
95
38a30d64
SM
96 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
97
4ffb41a9
SM
98 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
99 a proper minor-mode.
100
98a5e33b
SM
101 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
102
de82e29b
GM
1032012-09-29 Glenn Morris <rgm@gnu.org>
104
5cc2e639
GM
105 * winner.el (winner-mode): Remove variable (let define-minor-mode
106 handle it).
107 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
108 Doc fixes.
109 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
110 (winner-mode): Use define-minor-mode.
111
7bd302eb
GM
112 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
113 the full definition in loaddefs, rather than duplicating it.
114
2923922f 115 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 116
0e3e4156
GM
117 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
118 (inferior-lisp-program, inferior-lisp-load-command)
119 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 120 No need to autoload defcustoms.
0e3e4156 121
de82e29b
GM
122 * hippie-exp.el (hippie-expand-try-functions-list)
123 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
124 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
125 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 126 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
127 * progmodes/vhdl-mode.el (vhdl-line-expand):
128 Explicitly load hippie-exp, so it does not get autoloaded
129 while hippie-expand-try-functions-list is let-bound.
130
e60b51ab
GM
1312012-09-28 Glenn Morris <rgm@gnu.org>
132
277f0cfa
GM
133 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
134
e60b51ab
GM
135 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
136 Only "cl.el" counts as cl these days.
137
53baf48a
JL
1382012-09-28 Juri Linkov <juri@jurta.org>
139
140 Display archive errors in the echo area instead of inserting
141 to the file buffer.
142
143 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
144 to STDERR-TEST that can be a regexp matching a successful output.
145 Create a temporary file and redirect stderr to it. Search for
146 STDERR-TEST in the stderr output and display it in the echo area
147 if no match is found.
148 (archive-extract-by-file): New function like
149 `archive-extract-by-stdout' but extracting archives to files
150 and looking for successful matches in stdout. Function body is
151 mostly copied from `archive-rar-extract'.
152 (archive-rar-extract): Use `archive-extract-by-file'.
153 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
154
9c1228c3
LL
1552012-09-28 Leo Liu <sdl.web@gmail.com>
156
147c0425
LL
157 * pcomplete.el (pcomplete-show-completions): Use
158 minibuffer-message to make pcomplete usable in minibuffer.
159
9c1228c3
LL
160 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
161
7f457c06
SM
1622012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
163
3df749b0
SM
164 * type-break.el: Use lexical-binding.
165 (type-break-mode): Use define-minor-mode.
166
7f457c06
SM
167 * emacs-lisp/pcase.el (pcase--mark-used): New.
168 (pcase--u1): Use it (bug#12512).
169
170 * custom.el (load-theme): Set buffer-file-name so the load is recorded
171 in load-history with the right file name.
172
c00ebc98
TH
1732012-09-28 Tassilo Horn <tsdh@gnu.org>
174
175 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
176 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
177 (doc-view-get-bounding-box): Make bounding box slicing work for
178 ODF and DVI documents.
179
96fb7170
GM
1802012-09-28 Glenn Morris <rgm@gnu.org>
181
182 * type-break.el (type-break-mode, type-break-interval)
183 (type-break-good-rest-interval, type-break-keystroke-threshold):
184 No need to autoload.
185 (type-break-good-rest-interval, type-break-keystroke-threshold):
186 Add :set-after.
187
5bc93c67
CY
1882012-09-28 Chong Yidong <cyd@gnu.org>
189
190 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
191 Add :version tag.
192
9cad61d6
SM
1932012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
194
e28e67b3 195 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 196
daee954c
GM
1972012-09-27 Glenn Morris <rgm@gnu.org>
198
a88324d4
GM
199 * faces.el (x-display-name): Declare (for without-x builds).
200
8e5064e5
GM
201 * linum.el (linum-format): Don't autoload it. Improve :type.
202
cc1783c2
GM
203 * progmodes/tcl.el: Don't require outline when compiling.
204 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
205 * textmodes/sgml-mode.el: Don't require outline when compiling.
206 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
207
48c339f2
GM
208 * term.el (term-ansi-reset):
209 Try setting term-ansi-face-already-done to nil. (Bug#11785)
210
daee954c
GM
211 * vc/vc.el (vc-next-action): Only gripe about committing read-only
212 files for RCS and SCCS. (Bug#9781)
213
b7f42161
CY
2142012-09-27 Chong Yidong <cyd@gnu.org>
215
216 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
217 change; value should be t.
218
a2e770db
SM
2192012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
220
83600dc8
SM
221 * image-mode.el: Use lexical-binding.
222 (image-mode-winprops): Use t to stand for the window of
223 a buffer that's not displayed.
224 * doc-view.el (doc-view-new-window-function): Handle the new
225 t in winprops.
226 (doc-view-enlarge): Make it a real nop if the size is not changed.
227 (doc-view-display): Handle the case where the buffer is not (yet?)
228 displayed in any window.
229 (doc-view-saved-settings): New var.
230 (doc-view-mode): Use it.
231 (doc-view-fallback-mode): Set it.
232
a2e770db
SM
233 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
234 Set lexical-binding.
235 (minibuffer-eldef-shorten-default): New var.
236 (minibuffer-default-in-prompt-regexps): Use it for new default.
237 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
238
e3b60857
JB
2392012-09-26 Juanma Barranquero <lekktu@gmail.com>
240
241 * international/uni-bidi.el:
242 * international/uni-category.el:
243 * international/uni-name.el:
244 * international/uni-numeric.el: Regenerate.
245
3a880af4
SM
2462012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
247 Stefan Monnier <monnier@iro.umontreal.ca>
248
249 * profiler.el: New file.
250
07b1a5fb
SM
2512012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
254 (testcover-reinstrument): Simplify with CSE.
255
42019c2e
JB
2562012-09-26 Juanma Barranquero <lekktu@gmail.com>
257
258 * window.el (temp-buffer-window-setup): Fix typo in docstring.
259
179f044b
WS
2602012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
261
262 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
263 (verilog-auto-input, verilog-auto-insert-lisp)
264 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
265 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
266 (verilog-auto-unused, verilog-auto-wire)
267 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
268 newline. Reported by Andrew Jones.
269 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
270 Reported by Brad Dobbie.
07b1a5fb
SM
271 (verilog-batch-delete-trailing-whitespace):
272 Create verilog-batch-delete-trailing-whitespace.
273 Reported by Brad Dobbie.
179f044b
WS
274 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
275 parameters from another module. Reported by Dan Katz.
276 (verilog-auto, verilog-auto-assign-modport)
277 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
278 AUTOINOUTMODPORT for UVM interface module shell generation.
279 Reported by Brad Dobbie.
280 (verilog-auto-inst-interfaced-ports): Make default nil, as more
281 standard behavior.
282 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
283 Reported by Matt Martin.
284
9c52dd5a
MR
2852012-09-25 Martin Rudalics <rudalics@gmx.at>
286
287 * window.el (window--resize-child-windows): When resizing child
288 windows proportionally, process them in reverse order to
289 preserve the "when splitting a window the new one gets the odd
290 line" behavior.
291 (window--resize-root-window-vertically): When resizing the
292 minibuffer window try to affect only windows at the bottom of the
293 frame. (Bug#12419)
294
863666eb
CY
2952012-09-25 Chong Yidong <cyd@gnu.org>
296
297 * subr.el (declare): Doc fix.
298
299 * help-fns.el (help-fns--obsolete): Handle macros properly.
300
59f7af81
CY
3012012-09-25 Chong Yidong <cyd@gnu.org>
302
303 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
304 this function obsolete.
305
306 * calendar/cal-x.el (calendar-two-frame-setup)
307 (calendar-only-one-frame-setup, calendar-one-frame-setup):
308 * calendar/calendar.el (american-calendar, european-calendar)
309 (calendar-for-loop):
310 * comint.el (comint-dynamic-simple-complete)
311 (comint-dynamic-complete-as-filename, comint-unquote-filename):
312 * desktop.el (desktop-load-default):
313 * dired-x.el (dired-omit-here-always)
314 (dired-hack-local-variables, dired-default-directory):
315 * emacs-lisp/derived.el (derived-mode-class):
316 * emacs-lisp/timer.el (timer-set-time-with-usecs):
317 * emacs-lock.el (toggle-emacs-lock):
318 * epa.el (epa-display-verify-result):
319 * epg.el (epg-sign-keys, epg-start-sign-keys)
320 (epg-passphrase-callback-function):
321 * eshell/esh-util.el (eshell-for):
322 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
323 (eshell-add-to-window-buffer-names):
324 * files.el (locate-file-completion):
325 * imenu.el (imenu-example--create-c-index)
326 (imenu-example--create-lisp-index)
327 (imenu-example--lisp-extract-index-name)
328 (imenu-example--name-and-position):
329 * international/mule-cmds.el (princ-list):
330 * international/mule-diag.el (decode-codepage-char):
331 * international/mule-util.el (detect-coding-with-priority):
332 * iswitchb.el (iswitchb-read-buffer):
333 * mail/mailalias.el (mail-complete):
334 * mail/sendmail.el (mail-sent-via):
335 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
336 (mouse-major-mode-menu):
337 * password-cache.el (password-read-and-add):
338 * pcomplete.el (pcomplete-parse-comint-arguments):
339 * progmodes/sh-script.el (sh-maybe-here-document):
340 * replace.el (query-replace-regexp-eval):
341 * savehist.el (savehist-load):
342 * simple.el (choose-completion-delete-max-match):
343 * term.el (term-dynamic-simple-complete):
344 * vc/ediff-init.el (ediff-check-version):
345 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
346 * vc/vc.el (vc-diff-switches-list):
347 * view.el (view-return-to-alist-update): Likewise.
348
349 * subr.el (eval-next-after-load, makehash, insert-string)
350 (assoc-ignore-representation, assoc-ignore-case): Use declare to
351 mark obsolete.
352 (mode-line-inverse-video): Variable deleted.
353
354 * international/mule-util.el (string-to-sequence): Remove.
355
356 * calendar/calendar.el (calendar-version):
357 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
358 (icalendar-convert-diary-to-ical):
359 * cus-edit.el (custom-mode):
360 * ansi-color.el (ansi-color-unfontify-region):
361 * international/latin1-disp.el (latin1-char-displayable-p):
362 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
363 * progmodes/which-func.el (which-func-update-1):
364 Use define-obsolete-function-alias.
59f7af81
CY
365
366 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
367 * net/newst-treeview.el (newsticker-groups-filename):
368 Fix incorrect obsolescence declaration.
59f7af81
CY
369
370 * allout.el (allout-passphrase-hint-string): Likewise.
371 (allout-init): Use a declare form to mark obsolete.
372
373 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
374 this applies to functions.
375
376 * iswitchb.el (iswitchb-read-buffer): Move code of
377 iswitchb-define-mode-map here, and delete that obsolete function.
378
379 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
380 font-lock-reference-face.
381
cca96c97
GM
3822012-09-25 Glenn Morris <rgm@gnu.org>
383
b06eeda8
GM
384 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
385 Doc fixes.
386
cca96c97
GM
387 * eshell/em-term.el (eshell-term-name):
388 Default to term-term-name. (Bug#12485)
389
dc4f818b
FEG
3902012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
391
cca96c97
GM
392 * progmodes/python.el (python-shell-send-buffer): Better handling
393 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 394
289c24bd
GM
3952012-09-24 Glenn Morris <rgm@gnu.org>
396
397 * eshell/esh-cmd.el (eshell-find-alias-function):
398 Tighten up file-name regexp. (Bug#12499)
399
8fb8b88f
FEG
4002012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
401
402 Enhancements for triple-quote string syntax.
403 * progmodes/python.el (python-quote-syntax): Remove.
404 (python-syntax-propertize-function): New value.
07b1a5fb
SM
405 (python-syntax-count-quotes, python-syntax-stringify):
406 New functions.
8fb8b88f 407
6c27f0f8
CY
4082012-09-24 Chong Yidong <cyd@gnu.org>
409
a5f2b6ec
CY
410 * mail/supercite.el (sc-version): Remove obsolete function.
411 (sc-describe): Don't mark as obsolete, since it is bound.
412 (sc-submit-bug-report): Remove.
413
414 * vc/log-edit.el (cvs-changelog-full-paragraphs)
415 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
416 (log-edit-require-final-newline)
417 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
418
419 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
420 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
421 * vc/vc.el (vc-checkout-carefully): Likewise.
422
423 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
424 (emerge-version): Remove.
425
426 * progmodes/compile.el (compile-internal): Remove.
427 (compilation-parse-errors-function): Fix typo.
428
429 * international/mule.el (set-char-table-default): Remove.
430 (set-coding-priority, make-coding-system, generic-char-p)
431 (charset-list, charset-bytes, charset-id): Use declare to mark
432 functions as obsolete.
433
434 * vc/pcvs-defs.el (cvs-buffer-name-alist)
435 (cvs-invert-ignore-marks): Remove references to obsolete vars.
436 * vc/vc-hooks.el (vc-default-registered): Don't use
437 vc-master-templates.
438
07b1a5fb
SM
439 * font-lock.el (font-lock-reference-face):
440 Use define-obsolete-variable-alias.
6c27f0f8
CY
441
442 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
443 * calendar/calendar.el (calendar-font-lock-keywords):
444 * calendar/diary-lib.el (diary-font-lock-keywords)
445 (diary-fancy-font-lock-keywords):
446 * textmodes/reftex-sel.el (reftex-insert-docstruct):
447 * textmodes/reftex-index.el (reftex-insert-index):
448 * textmodes/reftex-cite.el (reftex-format-bib-entry):
449 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
450 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
451 * progmodes/prolog.el (prolog-font-lock-keywords):
452 * progmodes/idlwave.el (idlwave-idl-keywords):
453 * progmodes/ada-mode.el (ada-font-lock-keywords):
454 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
455
bcc0adbf
GM
4562012-09-24 Glenn Morris <rgm@gnu.org>
457
458 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
459
095bb823
FEG
4602012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
461
462 * progmodes/python.el (python-indent-line): More consistent cursor
463 movement behavior.
464
70efc5c9
SM
4652012-09-23 Stefan Merten <smerten@oekonux.de>
466
467 * textmodes/rst.el: Fix compiler warning.
468
2f438239
RW
4692012-09-23 Roland Winkler <winkler@gnu.org>
470
07b1a5fb
SM
471 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
472 Transcribe also LaTeX hyphenation.
2f438239
RW
473 (bibtex-reformat): Bug fix. Do not quote twice the elements of
474 bibtex-reformat-previous-options.
475
936ad041
RW
4762012-09-23 Roland Winkler <winkler@gnu.org>
477
478 * proced.el (proced-renice-command): New variable.
479 (proced-marked-processes): New function.
480 (proced-with-processes-buffer): New macro.
481 (proced-send-signal): Use them.
482 (proced-renice): New command bound to r.
483
6fab0274
RW
4842012-09-23 Roland Winkler <winkler@gnu.org>
485
486 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
487 ibuffer-saved-filter-groups has one element, shortcut the call of
488 completing-read. (Bug#12331)
489
9a930676
CY
4902012-09-23 Chong Yidong <cyd@gnu.org>
491
492 * bindings.el (mode-line-toggle-read-only):
493 * bs.el (bs-toggle-readonly):
494 * buff-menu.el (Buffer-menu-toggle-read-only):
495 * dired.el (dired-toggle-read-only):
496 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
497
d07ff9db
CY
4982012-09-23 Chong Yidong <cyd@gnu.org>
499
500 * image.el (image-type-available-p): Adapt to init-image-library
501 argument changes.
502
51c4474e
JL
5032012-09-22 Juri Linkov <juri@jurta.org>
504
505 * dired.el (dired-mode-map): Add [remap read-only-mode] for
506 `dired-toggle-read-only'. (Bug#12462)
507
43bf5e8e
MR
5082012-09-22 Martin Rudalics <rudalics@gmx.at>
509
510 * subr.el (temp-output-buffer-show): New function.
511 (with-output-to-temp-buffer): Call temp-output-buffer-show
512 instead of internal-temp-output-buffer-show.
513
c88b867f
CY
5142012-09-22 Chong Yidong <cyd@gnu.org>
515
3df47cd5
CY
516 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
517 (Bug#12462).
518
c88b867f
CY
519 * repeat.el (repeat): Doc fix (Bug#12348).
520
521 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
522 (Bug#10909).
523
524 * simple.el (shell-command-on-region): Doc fix.
3171e303 525 (read-only-mode): Doc fix.
c88b867f 526
df9685f3
EZ
5272012-09-22 Eli Zaretskii <eliz@gnu.org>
528
529 * emacs-lisp/timer.el (run-with-idle-timer)
530 (timer-activate-when-idle): Warn against reinvoking an idle timer
531 from within its own timer action. (Bug#12447)
532
8e17c9ba
MR
5332012-09-22 Martin Rudalics <rudalics@gmx.at>
534
535 * cus-start.el (window-combination-limit): Add new optional
536 values.
537 * window.el (temp-buffer-window-show)
538 (window--try-to-split-window): Handle new values of
539 window-combination-limit (Bug#1806).
540 (split-window): Test window-combination-limit for t instead of
541 non-nil.
542 (display-buffer-at-bottom): New buffer display action function.
543 * help.el (temp-buffer-resize-regexps): New option.
544 (temp-buffer-resize-mode): Rewrite doc-string.
545 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 546 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 547
48a24920
SM
5482012-09-22 Stefan Merten <smerten@oekonux.de>
549
70efc5c9 550 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
551 (rst-official-version)
552 (rst-package-emacs-version-alist): Sync with official version
553 V1.4.0.
554 (rst-faces-defaults, rst-set-level-default)
555 (rst-level-face-max, rst-level-face-base-color)
556 (rst-level-face-base-light, rst-level-face-format-light)
557 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
558 (rst-adornment-faces-alist): Match new setup.
559 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
560 (rst-level-5, rst-level-6): New faces.
561
82f8cd94
CY
5622012-09-22 Chong Yidong <cyd@gnu.org>
563
564 * simple.el (undo): Handle indirect buffers (Bug#8207).
565
acfa068f 5662012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
567
568 IDO: Disable match re-ordering for buffer switching.
2bc9406c 569 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
570 (ido-set-matches-1): Use it. (Bug#2042)
571
acfa068f 5722012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
573
574 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
575 Fix 2011-05-17 change. (Bug#12418)
576
acfa068f 5772012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
578
579 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
580
acfa068f 5812012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
582
583 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
584 Be more robust about locating simple.el.
585
acfa068f 5862012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
587
588 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
589
acfa068f
CY
5902012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
591
592 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
593
41a97e6f
JL
5942012-09-20 Juri Linkov <juri@jurta.org>
595
eb2deaff
JL
596 * replace.el (query-replace-read-from): Use `read-regexp' instead
597 of `read-from-minibuffer' when `regexp-flag' is non-nil.
598 (occur-read-primary-args): Use `read-regexp' instead of
599 `read-string'.
600 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
601 `read-from-minibuffer'.
602 * isearch.el (isearch-occur): Use `read-regexp' instead of
603 `read-string'.
604 * dired.el (dired-read-regexp): Use `read-regexp' instead of
605 `read-from-minibuffer'.
606 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
607 of `read-string'. (Bug#7567)
608
5825610b
JL
609 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
610 and allow accepting a list of strings prepended to a list of
611 standard default values. Doc fix. (Bug#12321)
612
eebbf404
JL
613 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
614
41a97e6f
JL
615 * replace.el (read-regexp): Don't add ": " when PROMPT already
616 ends with a colon and space. (Bug#12321)
617
c9e452d3
TH
6182012-09-20 Tassilo Horn <tsdh@gnu.org>
619
620 * doc-view.el (doc-view-display): Better fix for the cl-assertion
621 error.
622
ee97deee
SM
6232012-09-20 Stefan Merten <smerten@oekonux.de>
624
70efc5c9 625 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
626 Fixes feature request bug#11711.
627 (rst-mode): Create `imenu-create-index-function'.
628 (rst-get-stripped-line): Delete after refactoring.
629 (rst-section-tree, rst-section-tree-rec)
630 (rst-section-tree-point): Refactor and document properly.
631 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
632 (rst-imenu-convert-cell, rst-imenu-create-index):
633 New function.
ee97deee 634
f490dab9
SM
6352012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
636
95b9712e
SM
637 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
638 (macroexp--expand-all): Use it.
639 (macroexp--funcall-and-return): Remove by folding it into its sole
640 caller (macroexp--warn-and-return).
641 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
642 Use macroexp--obsolete-warning.
643
f490dab9
SM
644 * calc/calc.el: Fix last change by removing the whole chunk, since it
645 was only needed back when Calc was not bundled.
646
96e8d411
MR
6472012-09-20 Martin Rudalics <rudalics@gmx.at>
648
649 * emacs-lisp/debug.el (debug): Restore assignment to
650 debugger-old-buffer removed on 2012-09-08.
651
0876a82d
JL
6522012-09-20 Juri Linkov <juri@jurta.org>
653
654 * dired-aux.el (dired-diff): Remove (require 'diff) since
655 `diff-latest-backup-file' is now autoloaded.
656
9f7c28f0
CY
6572012-09-20 Chong Yidong <cyd@gnu.org>
658
659 * vc/diff.el (diff-latest-backup-file): Autoload.
660
7a04bee9
SM
6612012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
662
e6f0a80d
SM
663 * calc/calc.el: Remove redundant autoload shape check.
664 (sel-mode): Don't defvar.
665 (calc-get-stack-element): Add `sel-mode' arg instead.
666 (calc-top, calc-top-list): Pass it this additional argument.
667 * calc/calc-store.el (calc-store-map):
668 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
669 (calc-map-equation, calc-outer-product, calc-inner-product):
670 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
671
7a04bee9
SM
672 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
673
12734222
JL
6742012-09-19 Juri Linkov <juri@jurta.org>
675
676 * dired-aux.el (dired-diff): Add (require 'diff) because
677 `diff-latest-backup-file' is not autoloaded.
678 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
679 of `dired-get-filename' to t to not report error when there is
680 no default file on the current line.
681
46624b4f
SM
6822012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
683
ce97595b
SM
684 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
685 macroexp--eval-if-compile.
686 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
687 (macroexp--expand-all): Use them (bug#12371).
688
46624b4f
SM
689 * doc-view.el (doc-view-guess-paper-size)
690 (doc-view-scale-bounding-box): Fix unbound `caddr'.
691
db8a5a18
TH
6922012-09-19 Tassilo Horn <tsdh@gnu.org>
693
694 New feature: set optimal slice from BoundingBox information.
695 * doc-view.el (doc-view-mode-map): Add keybinding.
696 (doc-view-menu): Add menu entry.
697 (doc-view-set-slice): Adapt docstring.
698 (doc-view-get-bounding-box, doc-view-guess-paper-size)
699 (doc-view-scale-bounding-box)
700 (doc-view-set-slice-from-bounding-box): New functions.
701 (doc-view-paper-sizes): New defvar.
702
69f6644c
GM
7032012-09-19 Glenn Morris <rgm@gnu.org>
704
35f5b19d
GM
705 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
706 (byte-compile-log-warning): Autoload. (Bug#12371)
707
69f6644c
GM
708 * calendar/calendar.el (calendar-american-month-header)
709 (calendar-european-month-header, calendar-iso-month-header)
710 (calendar-month-header): New options.
711 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
712 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
713
e543ae91
JD
7142012-09-19 Jan Djärv <jan.h.d@swipnet.se>
715
716 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
717
2fd5e67d
JL
7182012-09-18 Juri Linkov <juri@jurta.org>
719
720 * dired-aux.el (dired-diff): Restore original functionality of
721 getting the default value, but keep new feature of using the
722 latest existing backup file (`diff-latest-backup-file').
723
42917e79
JL
7242012-09-18 Juri Linkov <juri@jurta.org>
725
726 * dired.el (dired-mark): If the region is active in Transient Mark
727 mode, mark all files in the active region. Doc fix.
728 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
729 Doc fix. (Bug#10624)
730
20f70ede
JL
7312012-09-18 Juri Linkov <juri@jurta.org>
732
733 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
734 attributes for M-n are pulled from the file at point.
735 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
736 Suggested by Drew Adams. (Bug#10624)
737
32fb8162
DG
7382012-09-18 Dmitry Gutov <dgutov@yandex.ru>
739
740 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
741 whitespace after "end".
742 (ruby-do-end-to-brace): Collapse block to one line if it fits
743 within fill-column.
744
37ab5092
MR
7452012-09-18 Martin Rudalics <rudalics@gmx.at>
746
747 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
748 value.
749 (debug): Don't remove debugger window when debugger is expected
750 to be back.
751
ed1f0bd3
CY
7522012-09-18 Chong Yidong <cyd@gnu.org>
753
754 * custom.el (defface): Doc fix.
755
756 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
757
a11035b8
MB
7582012-09-18 Martin Blais <blais@furius.ca> (tiny change)
759
760 * progmodes/compile.el (compilation-start): Use compilation-always-kill
761 to initialize query-on-exit; then test that instead (bug#12288).
762
64f6a736
SM
7632012-09-17 Stefan Merten <smerten@oekonux.de>
764
70efc5c9 765 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
766 (rst-defcustom-testcover, rst-testcover-add-compose)
767 (rst-testcover-add-1value): New functions.
768 (rst-portable-mark-active-p): Replace by `use-region-p'.
769 (rst-update-section, rst-classify-adornment)
770 (rst-find-title-line): Mark `1value' forms.
771 (rst-classify-adornment): Remove superfluous form.
772 (rst-update-section, rst-get-adornments-around)
773 (rst-adornment-complete-p, rst-get-next-adornment)
774 (rst-adjust, rst-promote-region)
775 (rst-display-adornments-hierarchy, rst-straighten-adornments)
776 (rst-find-pfx-in-region, rst-section-tree-rec)
777 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
778 (rst-toc-node, rst-toc, rst-forward-section)
779 (rst-iterate-leftmost-paragraphs)
780 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
781 (rst-bullet-list-region)
782 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
783 (rst-compile-find-conf, rst-compile)
784 (rst-repeat-last-character): Fix style.
785
580bd868
CY
7862012-09-17 Chong Yidong <cyd@gnu.org>
787
788 * comint.el (comint--complete-file-name-data): Don't add a space
789 if the status is `sole'; that adds a gratuitous space in the
790 completion-cycling case (Bug#12092).
791
792 * pcomplete.el (pcomplete-completions-at-point): Likewise.
793
69de3ec6
RS
7942012-09-17 Richard Stallman <rms@gnu.org>
795
0dee970c
RS
796 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
797 only in the mime-shown mode, not in raw mode.
798 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 799 mime processing. (Bug#12305)
0dee970c 800
6b250df6
GM
801 * mail/rmail.el (rmail-retry-failure):
802 Turn off mime processing first. (Bug#12037)
acb1c47b 803
69de3ec6
RS
804 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
805
d079ee5f
CY
8062012-09-17 Chong Yidong <cyd@gnu.org>
807
808 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
809 (shell-dynamic-complete-functions): Convert to defcustom.
810 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
811
865fe16f
CY
812 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
813 * comint.el (comint-prompt-read-only):
814 * custom.el (defcustom):
815 * hi-lock.el (hi-lock-mode):
816 * ibuffer.el (ibuffer-formats):
817 * ielm.el (ielm-prompt-read-only):
818 * novice.el (disable-command):
819 * saveplace.el (toggle-save-place):
820 * speedbar.el (speedbar-supported-extension-expressions):
821 * startup.el (auto-save-list-file-prefix, init-file-user)
822 (after-init-hook, inhibit-startup-echo-area-message):
823 * strokes.el (strokes-help):
824 * time-stamp.el (time-stamp):
825 * calendar/calendar.el (calendar, diary-file):
826 * calendar/diary-lib.el (diary-mail-entries, diary)
827 (diary-list-entries-hook):
828 * calendar/holidays.el (holidays, calendar-holidays):
829 * calendar/lunar.el (lunar-phases):
830 * calendar/solar.el (sunrise-sunset):
831 * emulation/edt.el (edt-load-keys):
832 * emulation/viper.el (viper-mode):
833 * eshell/em-alias.el (eshell-command-aliases-list):
834 * eshell/esh-util.el (eshell-convert-numeric-arguments):
835 * international/ogonek.el (ogonek-information):
836 * net/tramp-cmds.el (tramp-bug):
837 * net/quickurl.el (quickurl-reread-hook-postfix):
838 * play/decipher.el (decipher-font-lock-keywords):
839 * progmodes/cc-styles.el (c-set-style):
840 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
841 * progmodes/inf-lisp.el (inferior-lisp-prompt):
842 * progmodes/octave-mod.el (octave-mode):
843 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
844 * progmodes/verilog-mode.el (verilog-read-defines):
845 * textmodes/two-column.el (2C-mode): Likewise.
846
48093eb9
KY
8472012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
848
849 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
850 that holds many addresses.
851
c584eaf9
CY
8522012-09-16 Chong Yidong <cyd@gnu.org>
853
40d70ecb
CY
854 * align.el (align-areas): Call the indication function with
855 positions instead of markers for arguments (Bug#12343).
856
1667e065
CY
857 * files.el (parse-colon-path): Use split-string (Bug#12351).
858
fdc2806d 859 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 860 (display-buffer-function): Mark as obsolete.
fdc2806d 861
f1be615c 862 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
863 values similar to font-lock-keywords (Bug#12136).
864 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
865 (compilation-error-regexp-alist): Doc fix.
866
f40a9709
GM
8672012-09-15 Glenn Morris <rgm@gnu.org>
868
72aa16e1
GM
869 * version.el (emacs-bzr-version-bzr): New function.
870 (emacs-bzr-get-version): Add optional EXTERNAL argument.
871
82375160
GM
872 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
873 checkouts, check the parent dirstate matches the branch.
874 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
875 empty string.
876
f40a9709
GM
877 * version.el (emacs-bzr-version): Doc fix.
878 (emacs-bzr-version-dirstate): New function.
879 (emacs-bzr-get-version): For lightweight checkouts, if the parent
880 is local try and check that it matches the branch. If not, just
881 use dirstate information. (Bug#12441)
882
cb26b7f5
JL
8832012-09-14 Juri Linkov <juri@jurta.org>
884
885 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
886 (Bug#12399)
887
2de39f08
SM
8882012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
889
0fb3cb7c
SM
890 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
891
2de39f08
SM
892 * emacs-lisp/edebug.el: Miscellaneous cleanup.
893 Remove obsolete byte-compiler hack that tried to silence some warnings.
894 (edebug-submit-bug-report): Remove.
895 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
896 Remove aliases, use the un-prefixed name instead.
897 (edebug-pop-to-buffer): Consider other frames.
898 (edebug-original-read):: Make it more obvious that it's always defined.
899 (edebug--make-form-data-entry, edebug--form-data-name)
900 (edebug--form-data-begin, edebug--form-data-end): Rename from the
901 single-dashed name, and implement with cl-defstruct.
902 (edebug-set-form-data-entry): Use the standard accessors.
903 (edebug-make-top-form-data-entry): Use push.
904 (edebug-no-match): Drop useless `funcall'.
905 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
906 to functions.
907 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
908 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
909 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
910 (easy-menu-define, with-custom-print): Remove redundant specs.
911 (edebug-outside-overriding-local-map)
912 (edebug-outside-overriding-terminal-local-map): Remove, unused.
913 (edebug--display): Bind unread-command-events directly to nil rather
914 than binding it to unread-command-events and later setting it to nil.
915 (edebug--display): Kill edebug-eval-buffer here...
916 (edebug--recursive-edit): ...rather than here.
917 Bind standard-output and standard-input.
918 (edebug-eval): Check cl-macroexpand-all is fboundp.
919 (edebug-temp-display-freq-count): Fix last change.
920
921 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
922 * subr.el (noreturn, 1value): Add `debug' spec.
923 * emacs-lisp/advice.el: Require cl-lib.
924 (ad-copy-tree): Remove, use copy-tree instead.
925 (ad-dolist): Remove use dolist or cl-dolist instead.
926 (ad-do-return): Remove, use cl-return instead.
927 (defadvice): Add `debug' spec.
928
5b68b333
JL
9292012-09-13 Juri Linkov <juri@jurta.org>
930
931 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
932 (Bug#12399)
933
b9800ec4
GM
9342012-09-13 Glenn Morris <rgm@gnu.org>
935
6a2e6868
GM
936 * calc/calc.el (math-compose-expr):
937 * calc/calc-ext.el (math-compose-expr):
938 * progmodes/cc-defs.el (cl-macroexpand-all):
939 * progmodes/cc-langs.el (delete-duplicates, mapcan)
940 (cl-macroexpand-all): Update declarations.
941
b9800ec4
GM
942 * vc/vc.el: No need to require ediff.
943 (ediff-load-version-control): Declare.
944 (ediff-vc-internal): Fix declaration.
945 (vc-version-ediff): Require ediff.
946
c18e885b
PE
9472012-09-13 Paul Eggert <eggert@cs.ucla.edu>
948
949 Use a more backwards-compatible timer format (Bug#12430).
950 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
951 being right after USECS, as that better supports old code that
952 inadvisedly looked directly at the timer vector.
953
d607d303
KH
9542012-09-13 Kenichi Handa <handa@gnu.org>
955
956 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
957 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
958 `coding-priority' property of these language environment.
959
72eac303
PE
9602012-09-13 Paul Eggert <eggert@cs.ucla.edu>
961
962 Fix glitches caused by addition of psec to timers (Bug#12430).
963 * image.el (image-animate-timer):
964 * time.el (display-time-world-timer):
965 Use timer--function and timer--args rather than raw access to
966 timer vector.
967
2168fe4f
GM
9682012-09-13 Glenn Morris <rgm@gnu.org>
969
970 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
971 If not compiling a file, try using load-file-name.
972
bd8d6108
SM
9732012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
974
c0c54fbd
SM
975 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
976 Fix last change.
977 (edebug-update-eval-list): Use `push'.
978
bd8d6108
SM
979 * emacs-lisp/edebug.el: Use lexical-binding.
980 Remove the "edebug-" prefix from non-dynamically-scoped variables.
981 Mark unused args with underscore.
982 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
983 (edebug-form-data): Use defvar-local.
984 (edebug-make-before-and-after-form, edebug-make-after-form):
985 Use backquote.
986 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
987 Not dynamically scoped any more.
988 (edebug--enter-trace): Add arguments `function' and `args'.
989 Rename from edebug-enter-trace.
990 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
991 (edebug--update-coverage): Add `after-index' and `value' args.
992 Rename from edebug-update-coverage.
993 (edebug-slow-after): Call it accordingly.
994 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
995 edebug-recursive-edit.
996 (edebug--display): Call it accordingly. Add args `value',
997 `offset-index', and `arg-mode'. Rename from edebug-display.
998 (edebug-debugger, edebug): Call it accordingly.
999 (edebug-eval-display-list): Use dolist.
1000
a9f9d9de
JL
10012012-09-12 Juri Linkov <juri@jurta.org>
1002
1003 * info.el (Info-search): Don't check for isearch-mode and
1004 isearch-regexp before let-binding search-spaces-regexp to
1005 Info-search-whitespace-regexp.
1006 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1007 search-whitespace-regexp if isearch-lax-whitespace or
1008 isearch-regexp-lax-whitespace is non-nil.
1009 (Info-mode): Don't set local variable search-whitespace-regexp.
1010 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1011
bfeae2cf
SM
10122012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1015 (debugger-env-macro): Remove support for unread-command-char.
1016
1017 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1018 the temporary map re-appearing on emulation-mode-map-alists.
1019
1020 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1021 since 22.1.
1022
1023 * ehelp.el (with-electric-help): Accept functions in
1024 electric-help-form-to-execute.
1025 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1026 And replace unread-command-char -> unread-command-events.
1027
fbbcaf1b
MA
10282012-09-12 Michael Albinus <michael.albinus@gmx.de>
1029
1030 Sync with Tramp 2.2.6.
1031
1032 * net/tramp.el (tramp-accept-process-output): Don't use
1033 JUST-THIS-ONE in the XEmacs case.
1034
1035 * net/trampver.el: Update release number.
1036
4dece104
MR
10372012-09-12 Martin Rudalics <rudalics@gmx.at>
1038
bfeae2cf
SM
1039 * emacs-lisp/debug.el (debugger-previous-window-height):
1040 New variable.
4dece104
MR
1041 (debug): When debugger-jumping-flag is non-nil try to restore
1042 height of debugger window. (Bug#8789)
1043
45b82ad0
SM
10442012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1045
60c49c0f
SM
1046 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1047 overriding-local-map and pre/post-command-hook here.
1048 (edebug-recursive-edit): Do it here instead (bug#12345).
1049 (edebug-outside-unread-command-char): Remove all uses of
1050 unread-command-char.
1051
45b82ad0
SM
1052 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1053 inhibit-debugger is bound instead.
1054
baa26ea0
BG
10552012-09-11 Bastien Guerry <bzg@gnu.org>
1056
1057 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1058 (Bug#12346)
baa26ea0 1059
04e8abfa
BG
10602012-09-11 Bastien Guerry <bzg@gnu.org>
1061
96d03571 1062 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1063 (Bug#12347)
96d03571
BG
1064
10652012-09-11 Bastien Guerry <bzg@gnu.org>
1066
fc0c31f8 1067 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1068
04e082b0
MM
10692012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1070
1071 * progmodes/sql.el: Version 3.1
1072 (sql-db2-escape-newlines): New variable.
1073 (sql-escape-newlines-filter): Use it.
1074
399a361b
JB
10752012-09-10 Juanma Barranquero <lekktu@gmail.com>
1076
1077 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1078
0780c517
DN
10792012-09-10 Dan Nicolaescu <dann@gnu.org>
1080
45b82ad0
SM
1081 * vc/diff-mode.el (diff-mode-menu):
1082 Bind diff-remove-trailing-whitespace.
0780c517 1083
9b851e25
SM
10842012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1087 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1088 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1089 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1090 (eval-defun-2): Remove bogus interactive spec.
1091 (lisp-indent-line): Remove redundant whole-exp code, now done in
1092 indent-according-to-mode.
1093 (save-match-data): Remove redundant indent data.
1094
1095 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1096 Use `declare'.
1097
3231d532
JL
10982012-09-09 Juri Linkov <juri@jurta.org>
1099
1100 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1101 (replace-lax-whitespace, query-replace-regexp)
1102 (query-replace-regexp-eval, replace-regexp): Doc fix.
1103 (perform-replace, replace-highlight): Let-bind
1104 isearch-lax-whitespace to replace-lax-whitespace and
1105 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1106
1107 * isearch.el (isearch-query-replace): Let-bind
1108 replace-lax-whitespace to isearch-lax-whitespace and
1109 replace-regexp-lax-whitespace to
1110 isearch-regexp-lax-whitespace. (Bug#10885)
1111
70fe8236
SM
11122012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1115
8ed43f15
AM
11162012-09-09 Alan Mackenzie <acm@muc.de>
1117
70fe8236
SM
1118 * progmodes/cc-engine.el (c-state-cache-init):
1119 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1120 (c-record-parse-state-state):
1121 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1122
bfabf70a
AS
11232012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1124
1125 * register.el (register-separator): Rename from
1126 separator-register. All uses changed. Doc fix.
1127 (register): Fix version.
1128
011474aa
CY
11292012-09-09 Chong Yidong <cyd@gnu.org>
1130
1131 * replace.el (query-replace-map): Bind four new symbols for
1132 requesting window scrolling.
1133
1134 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1135 query-replace-map (Bug#8948).
1136
1137 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1138
1139 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1140 since they are now in query-replace-map.
1141
1142 * window.el (scroll-other-window-down): Make the arg optional.
1143
a8b7cd8d
CY
11442012-09-09 Chong Yidong <cyd@gnu.org>
1145
1146 * files.el (hack-local-variables-confirm): Use quit-window to kill
1147 the *Local Variables* buffer.
1148
c3268831
DG
11492012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1150
1151 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1152 not just expect to be at its beginning. Adjust callees.
1153 Succeed when do-end block has no space before the pipe character.
1154 (ruby-brace-to-do-end): When the original block is one-liner,
1155 convert to multiline. Reindent the result.
1156
0979429b
J
11572012-09-08 Jambunathan K <kjambunathan@gmail.com>
1158
1159 * register.el (register): New group.
1160 (register-separator): New user option.
1161 (increment-register): Route it to `append-to-register', if
1162 register contains text. Implication is that `C-x r +' can now be
1163 used for appending to a text register (bug#12217).
1164 (append-to-register, prepend-to-register): Add separator based on
1165 `register-separator.
1166
ace2989a
AM
11672012-09-08 Alan Mackenzie <acm@muc.de>
1168
1169 AWK Mode: make auto-newline work when there's "==" in the pattern.
1170 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1171 correctly.
0979429b
J
1172 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1173 Test more rigorously for "=" token.
ace2989a 1174
616c6c36
DG
11752012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1176
0979429b
J
1177 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1178 Only fail when reached LIMIT.
616c6c36 1179
35d98877
CY
11802012-09-08 Chong Yidong <cyd@gnu.org>
1181
1182 * dired.el (dired-mode-map): Don't bind M-=.
1183
1184 * dired-aux.el (dired-diff): Use backup file as default.
1185
1715f2db
DA
11862012-09-08 Drew Adams <drew.adams@oracle.com>
1187
1188 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1189
6dcef6ec
CY
11902012-09-08 Chong Yidong <cyd@gnu.org>
1191
1192 * subr.el (syntax-after, syntax-class): Doc fix.
1193
fa2bcf43
MR
11942012-09-08 Martin Rudalics <rudalics@gmx.at>
1195
1196 * window.el (display-buffer-in-previous-window): New buffer
1197 display action function.
1198
1199 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1200 (debugger-previous-window): New variable.
1201 (debug): Rewrite using display-buffer-in-previous-window,
1202 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1203
daac280a
SM
12042012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1207
9dd40b00
MM
12082012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1209
daac280a
SM
1210 * progmodes/python.el (python-shell-send-string):
1211 When default-directory is remote, create temp file on remote
9dd40b00
MM
1212 filesystem.
1213 (python-shell-send-file): When file is remote, pass local view of
1214 file paths to remote Python interpreter. (Bug#12340)
1215
145823ec
CY
12162012-09-07 Chong Yidong <cyd@gnu.org>
1217
cee2e90d
CY
1218 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1219
0d7eb2ea
CY
1220 * files.el (after-find-file): Don't fail on a read-only buffer if
1221 require-final-newline is `visit' or `visit-save' (Bug#11156).
1222
145823ec
CY
1223 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1224
daac280a
SM
1225 * userlock.el (ask-user-about-supersession-threat):
1226 Use read-char-choice (Bug#12093).
145823ec 1227
74c582e6
CY
12282012-09-07 Chong Yidong <cyd@gnu.org>
1229
e5c2edf7
CY
1230 * subr.el (buffer-narrowed-p): New function.
1231
1232 * ses.el (ses-widen):
1233 * simple.el (count-words--buffer-message):
1234 * net/browse-url.el (browse-url-of-buffer): Use it
1235
1236 * simple.el (count-words-region): Don't signal an error if there
1237 is a non-nil prefix arg and the mark is not set.
c640e87d 1238
74c582e6
CY
1239 * help.el (describe-key-briefly): Allow the message to be seen
1240 when invoked from the minibuffer (Bug#7014).
1241
d81ceaaf
DG
12422012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1243
1244 * progmodes/ruby-mode.el (ruby-end-of-defun)
1245 (ruby-beginning-of-defun): Simplify, allow indentation before
1246 block beginning and end keywords.
8f06acce
DG
1247 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1248 (ruby-end-of-defun): Expect that the point is at the beginning of
1249 the defun.
d81ceaaf 1250
d458ef98
SM
12512012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1254 (bug#12367).
1255 (cl--make-usage-args): Strip _ from argument names.
1256
20367d28
RS
12572012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1258
1259 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1260 obsolete alias speedbar-key-map.
1261 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1262 (vhdl-index-menu-init): Don't use obsolete variable
1263 font-lock-maximum-size.
1264
3424a4f6
CY
12652012-09-06 Chong Yidong <cyd@gnu.org>
1266
1267 * frame.el (window-system-version): Mark as obsolete.
1268
fcbfbdea
CY
1269 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1270 of obsolete variable speedbar-key-map.
1271
826b3235
JL
12722012-09-06 Juri Linkov <juri@jurta.org>
1273
1274 * replace.el (replace-lax-whitespace): New defcustom.
1275 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1276 (replace-string, replace-regexp): Mention it in docstrings.
1277 (perform-replace, replace-highlight): Let-bind
1278 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1279 to the values of replace-lax-whitespace and regexp-flag.
1280 Don't let-bind search-whitespace-regexp. (Bug#10885)
1281
1282 * isearch.el (isearch-query-replace): Let-bind
1283 replace-lax-whitespace instead of let-binding
1284 replace-search-function and replace-re-search-function.
1285 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1286 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1287 (isearch-toggle-symbol): Set isearch-regexp to nil
1288 in isearch-word mode (like in isearch-toggle-word).
1289
1ec5e41d
JL
12902012-09-06 Juri Linkov <juri@jurta.org>
1291
1292 * replace.el (replace-search-function)
1293 (replace-re-search-function): Set default values to nil.
1294 (perform-replace): Let-bind isearch-related variables based on
1295 replace-related values, call `isearch-search-fun' and let-bind
1296 the result to `search-function'. Remove code that sets
1297 `search-function' and `search-string' separately for
1298 `delimited-flag'.
1299 (replace-highlight): Add new argument `delimited-flag' and
1300 rename other arguments to the names used in `perform-replace'.
1301 Let-bind `isearch-word' to the argument `delimited-flag'.
1302 (Bug#10885, bug#10887)
1303
0ba2d4b6
DG
13042012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1305
1306 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1307 ruby-beginning-of-indent, simplify, allow all keywords to have
1308 indentation before them.
1309 (ruby-beginning-of-indent): Adjust for above. Search until the
1310 found point is not inside a string or comment.
1311 (ruby-font-lock-keywords): Allow symbols to start with "@"
1312 character, give them higher priority than variables.
1313 (ruby-syntax-propertize-function)
1314 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1315 matchers. Expression expansions are not comments when inside a
1316 string, and there comment syntax status is irrelevant.
1317 (ruby-match-expression-expansion): New function. Check that
1318 expression expansion is inside a string, and it's not escaped.
1319 (ruby-font-lock-keywords): Use it.
1320
ef654460
MR
13212012-09-05 Martin Rudalics <rudalics@gmx.at>
1322
1323 * help.el (temp-buffer-max-height): New default value.
1324 (temp-buffer-resize-frames): New option.
1325 (resize-temp-buffer-window): Optionally resize frame.
1326
1327 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1328 (fit-frame-to-buffer): New function.
1329
7e570fbf 13302012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1331
1332 * emulation/cua-rect.el (cua--init-rectangles):
1333 * textmodes/picture.el (picture-mode-map):
1334 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1335 like forward-char and backward-char. (Bug#12317)
1336
7e570fbf 13372012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1338
1339 * progmodes/flymake.el (flymake-warning-re): New variable.
1340 (flymake-parse-line): Use it.
1341
7e570fbf 13422012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1343
1344 * calendar/holidays.el (holiday-christian-holidays):
1345 Rename an entry. (Bug#12289)
1346
7e570fbf 13472012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1348
1349 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1350 (bug#12222).
1351
972debf2
SM
13522012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * loadup.el: Load macroexp. Remove hack.
1355 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1356 (macroexp--expand-all): Use it to get better warnings.
1357 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1358 (internal-macroexpand-for-load): New functions.
1359 (macroexp--pending-eager-loads): New var.
1360 (emacs-startup-hook): New hack to replace one in loadup.el.
1361 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1362 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1363 (cl-psetf): Simplify.
1364 (cl-defstruct): Add indent rule.
1365
8ce192e3
LI
13662012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1367
1368 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1369 over `user-mail-address' for the SMTP MAIL FROM envelope.
1370 (smtpmail-via-smtp): Ditto.
1371
6578b4d8
DG
13722012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1373
1374 * progmodes/ruby-mode.el: Clean up keybindings.
1375 (ruby-mode-map): Don't bind ruby-electric-brace,
1376 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1377 backward-kill-word, reindent-then-newline-and-indent.
1378 (ruby-mark-defun): Remove.
1379 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1380 (ruby-mode): Set local beginning-of-defun-function and
1381 end-of-defun-function values.
1382
c5e28e39
MR
13832012-09-03 Martin Rudalics <rudalics@gmx.at>
1384
1385 * window.el (temp-buffer-window-setup-hook)
1386 (temp-buffer-window-show-hook): New hooks.
1387 (temp-buffer-window-setup, temp-buffer-window-show)
1388 (with-temp-buffer-window): New functions.
972debf2
SM
1389 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1390 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1391
1392 * help.el (temp-buffer-resize-mode): Fix doc-string.
1393 (resize-temp-buffer-window): New optional argument WINDOW.
1394
1395 * files.el (recover-file, save-buffers-kill-emacs):
1396 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1397
73406194
MA
13982012-09-02 Michael Albinus <michael.albinus@gmx.de>
1399
1400 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1401 remote definition of `default-directory', ensure we can connect.
1402
63dd1c6f
JL
14032012-09-02 Juri Linkov <juri@jurta.org>
1404
1405 Toggle whitespace matching mode with M-s SPC.
1406 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1407
1408 * isearch.el (search-whitespace-regexp): Doc fix.
1409 Remove cons cell customization.
1410 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1411 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1412 New variables.
1413 (isearch-forward, isearch-forward-regexp): Doc fix.
1414 (isearch-toggle-lax-whitespace): New command.
1415 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1416 (re-search-forward-lax-whitespace)
1417 (re-search-backward-lax-whitespace): New functions.
1418 (isearch-whitespace-regexp): Remove function.
1419 (isearch-query-replace): Let-bind replace-search-function and
1420 replace-re-search-function.
1421 (isearch-occur): Let-bind search-spaces-regexp according to the
1422 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1423 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1424 condition for C-q SPC.
1425 (isearch-search-fun-default): Use new functions mentioned above.
1426 (isearch-search-forward, isearch-search-backward): Remove functions.
1427 (isearch-search): Don't let-bind search-spaces-regexp.
1428 (isearch-lazy-highlight-space-regexp): Remove variable.
1429 (isearch-lazy-highlight-lax-whitespace)
1430 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1431 (isearch-lazy-highlight-new-loop): Use them.
1432 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1433
af7dda05
CY
14342012-09-02 Chong Yidong <cyd@gnu.org>
1435
1436 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1437
d67d3afd
GM
14382012-09-02 Glenn Morris <rgm@gnu.org>
1439
1440 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1441
69678719
GM
14422012-09-01 Glenn Morris <rgm@gnu.org>
1443
1444 * term.el: Tidy up menu definitions.
1445 (term-mode-map): Use easymenu for In/Out, Complete menus.
1446 (term-pager-break-map): Initialize in the defvar.
1447 (term-terminal-menu, term-signals-menu): Define with easymenu.
1448 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1449 (term-pager-menu): New, extracted from term-process-pager.
1450 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1451 (term-update-mode-line): Propertize line/char and page items.
1452 (term-process-pager): Move keymap initialization elsewhere.
1453
78dd6ab1
MR
14542012-09-01 Martin Rudalics <rudalics@gmx.at>
1455
1456 * window.el (switch-to-prev-buffer): Handle additional values of
1457 BURY-OR-KILL argument. Don't switch in minibuffer window.
1458 (switch-to-next-buffer): Don't switch in minibuffer window.
1459 (quit-restore-window): New function based on quit-window.
1460 Handle additional values of former KILL argument.
1461 (quit-window): Call quit-restore-window with appropriate
1462 interpretation of KILL argument.
1463 (display-buffer-below-selected): New buffer display action
1464 function.
1465
3d10e134
SM
14662012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * minibuffer.el (completion-at-point-functions): Complete docstring
1469 (bug#12254).
1470
0e23ef9d
PE
14712012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1472
1473 Better seed support for (random).
1474 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1475 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1476 * play/mpuz.el, play/tetris.el, play/zone.el:
1477 * calc/calc-comb.el (math-init-random-base):
1478 * play/blackbox.el (bb-init-board):
1479 * play/life.el (life):
1480 * server.el (server-use-tcp):
1481 * type-break.el (type-break):
1482 Remove unnecessary call to (random t).
1483 * net/sasl.el (sasl-unique-id-function):
1484 Change (random t) to (random), now that the latter is more random.
1485 * play/life.el (life-initialized): Remove no-longer-needed var.
1486
862382df
MR
14872012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1488
1489 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1490 Consider frame's buffer predicate when choosing the buffer.
1491 (Bug#12081)
1492
262a66e1
RS
14932012-08-30 Richard Stallman <rms@gnu.org>
1494
1495 * simple.el (special-mode-map): Delete binding for `z'.
1496
f17e1d00
AS
14972012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1498
1499 * progmodes/compile.el (compilation-always-kill): Doc fix.
1500
24777832
CY
15012012-08-30 Chong Yidong <cyd@gnu.org>
1502
1503 * window.el (display-buffer-reuse-frames): Make the obsolescence
1504 message more informative.
1505
69ba1f04
GM
15062012-08-30 Glenn Morris <rgm@gnu.org>
1507
1508 * paren.el (show-paren-delay):
1509 Add a :set function. Doc fix. (Bug#12297)
1510
f0019ede
MB
15112012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1512
1513 * progmodes/compile.el (compilation-always-kill): New var.
1514 (compilation-start): Use it.
1515
35e62fc9
SM
15162012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1517
af070a1c
SM
1518 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1519 * files.el (read-only-mode): Move to simple.el.
1520
35e62fc9
SM
1521 * files.el (read-only-mode): New minor mode.
1522 (toggle-read-only): Use it and mark obsolete.
1523 (find-file--read-only):
1524 * vc/vc.el (vc-next-action, vc-checkout):
1525 * vc/vc-cvs.el (vc-cvs-checkout):
1526 * obsolete/vc-mcvs.el (vc-mcvs-update):
1527 * ffap.el (ffap--toggle-read-only): Update callers.
1528
c2c43c23
MA
15292012-08-29 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1532 remote shell scripts.
1533 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1534
1535 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1536 "/usr/local/sbin".
1537
9fba804b
SM
15382012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1541
eada0861 15422012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1543
806f0cc7
LL
1544 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1545 completion-at-point. (Bug#12220)
1546
3bb213b9
LL
1547 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1548
22ab32ef
LL
1549 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1550
eada0861 15512012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1552
19c17fc1
CY
1553 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1554 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1555
eada0861 15562012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1557
1558 * progmodes/hideif.el (hif-compress-define-list):
1559 Fix typo. (Bug#11951)
1560
eada0861 15612012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1562
1563 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1564 buffer local setting.
1565
27d6c5a8
LL
1566 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1567 rcirc-encode-coding-system.
1568
eada0861 15692012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1570
1571 * net/rcirc.el (rcirc-split-message): New function.
1572 (rcirc-send-message): Use it. (Bug#12051)
1573
d44688e4
JL
15742012-08-28 Juri Linkov <juri@jurta.org>
1575
1576 * info.el (Info-fontify-node): Hide empty lines at the end of
1577 the node. (Bug#12272)
1578
34f10d41
MR
15792012-08-27 Drew Adams <drew.adams@oracle.com>
1580
1581 * dired.el (dired-pop-to-buffer): Make window start at beginning
1582 of buffer (Bug#12281).
1583
77f1f99c
CY
15842012-08-26 Chong Yidong <cyd@gnu.org>
1585
1586 * window.el (special-display-regexps, special-display-frame-alist)
1587 (special-display-buffer-names, special-display-function)
1588 (display-buffer-reuse-frames): Mark as obsolete.
1589
1590 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1591
1592 * help.el (help-print-return-message): Don't treat
1593 display-buffer-reuse-frames specially.
1594
d97af5a0
CY
15952012-08-26 Chong Yidong <cyd@gnu.org>
1596
9fba804b
SM
1597 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1598 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1599 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1600 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1601 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1602 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1603 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1604 the functions directly with gdb-display-buffer-other-frame-action.
1605 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1606 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1607 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1608 (gdb-display-registers-buffer): Define directly.
1609 (def-gdb-display-buffer): Macro deleted.
1610 (gdb-display-buffer): Remove second and third args, callers don't
1611 use them. Defer to the default display-buffer behavior, apart
1612 from making windows dedicated.
1613 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1614
1615 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1616
1617 * window.el (display-buffer-pop-up-frame): Handle a
1618 pop-up-frame-parameters alist entry.
1619 (display-buffer): Document it.
1620
dd7ffad6
CY
16212012-08-26 Chong Yidong <cyd@gnu.org>
1622
1623 * isearch.el (search-whitespace-regexp): Make string and nil
1624 values apply to both ordinary and regexp search. Allow a cons
1625 cell value to distinguish between the two.
1626 (isearch-whitespace-regexp, isearch-search-forward)
1627 (isearch-search-backward): New functions.
1628 (isearch-occur, isearch-search-fun-default, isearch-search)
1629 (isearch-lazy-highlight-new-loop): Use them.
1630 (isearch-forward, isearch-forward-regexp): Doc fix.
1631
4c47bd1e
CY
16322012-08-26 Chong Yidong <cyd@gnu.org>
1633
1634 * faces.el (help-argument-name): Always inherit from italic
1635 (Bug#12213).
1636
9aba119d
MR
16372012-08-25 Martin Rudalics <rudalics@gmx.at>
1638
1639 * window.el (window--even-window-heights): Even heights when
1640 WINDOW and the selected window form a vertical combination.
1641 (display-buffer-use-some-window): Provide that window used gets
1642 sized back by quit-window. (Bug#11880) and (Bug#12091)
1643
ca5256ad
PE
16442012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1645
1646 Fix file time stamp problem with bzr and CVS (Bug#12001).
1647 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1648 in the file's time stamp, since the version control system loses
1649 that information.
1650
d1c0d176
JL
16512012-08-22 Juri Linkov <juri@jurta.org>
1652
1653 * info.el (Info-fontify-node): Hide the suffix of the
1654 Info file name in the header line. (Bug#12187)
1655
141562ff
GM
16562012-08-22 Glenn Morris <rgm@gnu.org>
1657
1658 * calendar/cal-tex.el (cal-tex-weekly-common):
1659 Restore leading blank page.
1660
61a48e19 16612012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1662
1663 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1664 the region under `shift-select-mode'. (Bug#12231)
1665
16662012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1667
1668 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1669 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1670 gives details on why the space is never needed.
1671
ea95074e
MR
16722012-08-22 Martin Rudalics <rudalics@gmx.at>
1673
9fba804b
SM
1674 * window.el (walk-window-tree, window-with-parameter):
1675 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1676 should run on the minibuffer window.
1677 (window-at-side-list): Don't operate on minibuffer window.
1678 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1679 (window--size-ignore): Rename to window--size-ignore-p.
1680 Update callers.
caceae25
MR
1681 (display-buffer-in-atom-window, window--major-non-side-window)
1682 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1683 (delete-side-window, display-buffer-in-side-window):
1684 New functions.
caceae25
MR
1685 (window--side-check, window-deletable-p, delete-window)
1686 (delete-other-windows, split-window): Handle side windows and
1687 atomic windows appropriately.
1688 (window--display-buffer): Call display-buffer-record-window also
1689 when the window buffer did not change.
ea95074e 1690
80a51fa0
CS
16912012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1692
1693 * help-fns.el (help-fns--key-bindings):
1694 Abbreviate non-symbol remap targets. (Bug#12174)
1695
fbb6300b
MR
16962012-08-22 Martin Rudalics <rudalics@gmx.at>
1697
1698 * dired.el (dired-mark-remembered): Don't clobber point.
1699 (Bug#11795)
1700
2b2c0794
GM
17012012-08-22 Glenn Morris <rgm@gnu.org>
1702
1703 * progmodes/bug-reference.el (bug-reference): New custom group.
1704 (bug-reference-bug-regexp): Make it a defcustom.
1705
37219830
DU
17062012-08-22 Daiki Ueno <ueno@unixuser.org>
1707
1708 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1709 (js-paren-indent-offset, js-square-indent-offset)
1710 (js-curly-indent-offset): Add :safe (Bug#12257).
1711
94e0e559
EC
17122012-08-22 Edward O'Connor <hober0@gmail.com>
1713
1714 * json.el (json-key-format): Add error properties.
1715 (json-encode-key): New function.
1716 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1717 Use json-encode-key.
1718
da485f5e
GM
17192012-08-22 Glenn Morris <rgm@gnu.org>
1720
1721 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1722 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1723 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1724 Update for above change.
1725
c6cc78b8
AS
17262012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1727
1728 * cus-face.el (custom-face-attributes): Fix customize type for the
1729 :underline attribute. (Bug#11805)
1730
5481664a
MR
17312012-08-21 Martin Rudalics <rudalics@gmx.at>
1732
1733 * window.el (window-point-1, set-window-point-1): Remove.
1734 (window-in-direction, record-window-buffer)
1735 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1736 (window--state-get-1, display-buffer-record-window):
1737 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1738 window-point and set-window-point respectively.
1739
6d74698e
GM
17402012-08-21 Glenn Morris <rgm@gnu.org>
1741
b7fa2691
GM
1742 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1743 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1744 Use it.
1745
52f56d5a
GM
1746 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1747 (cal-tex-shortday): New function.
1748 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1749 (cal-tex-cursor-filofax-daily): Use the above.
1750
9f1ee09e
GM
1751 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1752 New functions.
1753 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1754 (cal-tex-cursor-filofax-week): Use them.
1755
79858159
GM
1756 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1757 New constants.
1758 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1759 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1760
d346b2b4
GM
1761 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1762 (cal-tex-end-document): Don't rely on buffer name.
1763
b2403709
GM
1764 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1765 Use cal-tex-vspace.
1766 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1767 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1768 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1769 Use cal-tex-arg.
b2403709 1770
1cebb5c0
GM
1771 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1772 (cal-tex-cursor-week, cal-tex-cursor-week2)
1773 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1774 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1775 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1776 (cal-tex-insert-preamble, cal-tex-b-document)
1777 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1778 Improve cal-tex-cmd usage.
1779
c68cd5d4
GM
1780 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1781 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1782 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1783 (cal-tex-weekly-paper): New function.
1784 (cal-tex-cursor-week, cal-tex-cursor-week2)
1785 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1786 (cal-tex-cursor-day): Use it.
1787
9dca4801
GM
1788 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1789 (cal-tex-cursor-filofax-week): Remove leading blank page.
1790
1941e134
GM
1791 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1792 Add autoload cookie. For now at least, don't use color, since
1793 no other cal-tex function does.
1794
6d74698e
GM
1795 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1796 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1797 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1798
64cde199
JL
17992012-08-21 Juri Linkov <juri@jurta.org>
1800
1801 * info.el (Info-file-attributes): New variable.
1802 (info-insert-file-contents): Add file attributes to
1803 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1804 `Info-toc-nodes' when previous modtime of the Info file is less
1805 than new modtime.
1806 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1807 of info.el. (Bug#12230)
1808
32757648
GM
18092012-08-20 Glenn Morris <rgm@gnu.org>
1810
1811 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1812 * calendar/holidays.el (calendar-holiday-list):
1813 Report errors with display-warning rather than beep'n'sleep.
1814
a32fbbcf
MA
18152012-08-20 Michael Albinus <michael.albinus@gmx.de>
1816
1817 * net/tramp.el (tramp-accept-process-output): Accept only output
1818 from PROC. Otherwise, process filters and sentinels might be
1819 confused. (Bug#12145)
1820
a05731a0
CY
18212012-08-20 Chong Yidong <cyd@gnu.org>
1822
1823 * descr-text.el (describe-text-properties-1): Use overlays-in to
1824 report on empty overlays (Bug#3322).
1825
36e8d1eb
GM
18262012-08-20 Glenn Morris <rgm@gnu.org>
1827
3d300447
GM
1828 * mail/rmailout.el (rmail-output-read-file-name):
1829 Trap and report errors in rmail-output-file-alist elements.
1830
36e8d1eb
GM
1831 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1832 since most non-font-lock faces are not also variables).
1833
b96e5814
ER
18342012-08-20 Edward Reingold <reingold@iit.edu>
1835
1836 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1837 New function. (Bug12160)
1838
7cef3569
GM
18392012-08-19 Glenn Morris <rgm@gnu.org>
1840
1841 * mail/rmailout.el (rmail-output-read-file-name):
1842 Fix previous change (when the alist is nil or does not match).
1843
17975d7f
CY
18442012-08-19 Chong Yidong <cyd@gnu.org>
1845
1846 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1847 (Bug#12228).
1848
2170b1bd
CY
18492012-08-18 Chong Yidong <cyd@gnu.org>
1850
1851 * simple.el (yank-handled-properties): New defcustom.
1852 (yank-excluded-properties): Add font-lock-face and category.
1853 (yank): Doc fix.
1854
9fba804b
SM
1855 * subr.el (remove-yank-excluded-properties):
1856 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1857 and category is now done this way, instead of being hard-coded.
1858 (insert-for-yank-1): Remove font-lock-face handling.
1859 (yank-handle-font-lock-face-property)
1860 (yank-handle-category-property): New function.
1861
ee218151
GM
18622012-08-17 Glenn Morris <rgm@gnu.org>
1863
1864 * mail/rmailout.el (rmail-output-read-file-name):
1865 Check rmail-output-file-alist against the full message body
1866 in the correct rmail buffer. (Bug#12214)
1867
4a6bc3fd
MA
18682012-08-17 Michael Albinus <michael.albinus@gmx.de>
1869
9fba804b
SM
1870 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1871 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1872
383dcbf9
CY
18732012-08-17 Chong Yidong <cyd@gnu.org>
1874
1875 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1876 font spec, set the font directly (Bug#3228).
1877
998c4a6a
MR
18782012-08-17 Martin Rudalics <rudalics@gmx.at>
1879
1880 * window.el (delete-window): Fix last fix.
1881
52162052
MR
18822012-08-16 Martin Rudalics <rudalics@gmx.at>
1883
1884 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1885 (window-child, window-child-count, window-last-child)
1886 (window-normalize-window, window-combined-p)
1887 (window-combinations, window-atom-root, window-min-size)
1888 (window-sizable, window-sizable-p, window-size-fixed-p)
1889 (window-min-delta, window-max-delta, window--resizable)
1890 (window--resizable-p, window-resizable, window-total-size)
1891 (window-full-height-p, window-full-width-p, window-body-size)
1892 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1893 (minimize-window, window-deletable-p, delete-window)
1894 (delete-other-windows, set-window-buffer-start-and-point)
1895 (next-buffer, previous-buffer, split-window, balance-windows-2)
1896 (set-window-text-height, window-buffer-height)
1897 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1898 (truncated-partial-width-window-p): Minor code adjustments.
1899 In doc-strings state whether the argument window has to denote a
85c2386b 1900 live, valid or any window.
52162052 1901
1c308380
PS
19022012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1903
1904 * progmodes/subword.el (subword-forward-function)
1905 (subword-backward-function, subword-forward-regexp)
1906 (subword-backward-regexp): New variables.
1907 (subword-forward, subword-forward-internal, subword-backward-internal):
1908 Use new variables, eg so that different "word" definitions
1909 can be easily used. (Bug#11411)
1910
94c9ece1
SM
19112012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1914 for composite selectors.
1915 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1916 operation just because we can't find a previous revision.
1917
f2045622
CY
19182012-08-15 Chong Yidong <cyd@gnu.org>
1919
1920 * frame.el (set-frame-font): Accept font objects.
1921
582db660
SM
19222012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1923
1924 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1925
2f29c200
WJ
19262012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1927
456e62c2
WJ
1928 * man.el (Man-overstrike-face, Man-underline-face)
1929 (Man-reverse-face): Remove variables.
1930 (Man-overstrike, Man-underline, Man-reverse): New faces.
1931 (Man-fontify-manpage): Use them instead of the variables.
1932 (Man-cleanup-manpage): Comment change.
1933 (Man-ansi-color-map): New variable.
1934 (Man-fontify-manpage): Use it.
1935 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1936
2f29c200
WJ
1937 Implement ANSI SGR parameters 22-27 (bug#12146).
1938 * ansi-color.el (ansi-colors): Doc fix.
1939 (ansi-color-context, ansi-color-context-region): Doc fix.
1940 (ansi-color--find-face): New function.
1941 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1942 Rename the local variable `face' to `codes' since it is now a list of
1943 ansi codes. Doc fix.
1944 (ansi-color-get-face): Remove.
1945 (ansi-color-parse-sequence): New function, derived from
1946 ansi-color-get-face.
1947 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1948 codes 22-27.
1949
b4f5e9df
SM
19502012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * subr.el (read-passwd): Allow use from a minibuffer.
1953
ba025fbd
EZ
19542012-08-14 Eli Zaretskii <eliz@gnu.org>
1955
1956 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1957 inside comments and strings as identifiers.
1958
1959 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1960 expression to evaluate. This allows to evaluate expressions with
1961 embedded whitespace.
1962 (gud-tooltip-tips): Add a blank before the newline in the
1963 message-box text, for the benefit of message-box emulation on
1964 MS-Windows.
1965
1966 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1967 messages from GDB, pop them up in a tooltip to give feedback to
1968 user.
b4f5e9df
SM
1969 (gdb-tooltip-print-1): Quote the expression to evaluate.
1970 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1971 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1972 if the TTY name is nil or empty (which happens when communicating
1973 with the inferior via pipes, e.g. on MS-Windows).
1974 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1975 don't send that to the GUD buffer.
1976
c548f821
GM
19772012-08-14 Glenn Morris <rgm@gnu.org>
1978
1979 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1980 Optimize away setq-default with no args, as for setq. (Bug#12195)
1981
55802e4a
CY
19822012-08-14 Chong Yidong <cyd@gnu.org>
1983
4abcdac8
CY
1984 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1985
55802e4a
CY
1986 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1987 (Bug#12085).
1988
3c3cda1a
GM
19892012-08-14 Glenn Morris <rgm@gnu.org>
1990
1991 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1992
e1873bd0
MA
19932012-08-14 Michael Albinus <michael.albinus@gmx.de>
1994
1995 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1996 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1997 Use cached shell name.
1998
925411b4
FEG
19992012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2000
2001 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2002 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2003
e636fafe
DG
20042012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2005
2006 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2007 (ruby-percent-literal-beg-re): New constant.
2008 (ruby-syntax-general-delimiters-goto-beg): Rename to
2009 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2010 (ruby-syntax-propertize-general-delimiters): Rename to
2011 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2012 popular term. Adjust comments everywhere.
2013 (ruby-syntax-propertize-percent-literal): Only propertize when not
2014 inside a simple string or comment. When the literal is unclosed,
2015 leave the text after it unpropertized.
f063063a
DG
2016 (ruby-syntax-methods-before-regexp): New constant.
2017 (ruby-syntax-propertize-function): Use it to recognize regexps.
2018 Don't look at the text after regexp, just use the whitelist.
e636fafe 2019
e5b19827
AS
20202012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2021
2022 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2023 non-nil always load the compiled file if it exists. (Bug#12197)
2024
a9f6f311
CY
20252012-08-14 Chong Yidong <cyd@gnu.org>
2026
2027 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2028 (hi-lock-set-pattern): When deciding whether to use font lock or
2029 overlays, look at font-lock-mode instead of font-lock-fontified
2030 (Bug#12168).
2031 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2032 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2033
7d806b1e
DU
20342012-08-14 Daiki Ueno <ueno@unixuser.org>
2035
2036 * subr.el (internal--after-with-selected-window): Fix typo
2037 (Bug#12193).
2038
5beed586
FEG
20392012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2040
2041 Use `completion-table-dynamic' for completion functions.
2042 * progmodes/python.el
2043 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2044 (python-shell-completion--get-completions):
2045 Remove functions.
5beed586
FEG
2046 (python-shell-completion-complete-at-point): New function.
2047 (python-completion-complete-at-point): Use it.
2048
92cb3b04
J
20492012-08-13 Jambunathan K <kjambunathan@gmail.com>
2050
2051 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2052 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2053
89660017
SM
20542012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2055
3c98c962
SM
2056 * subr.el (function-get): Refine `autoload' arg so it can also
2057 autoload functions for gv.el (bug#12191).
2058 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2059 autoloads macros.
2060
aa7c6dbe
SM
2061 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2062 Prefer pcase-let over destructuring-bind.
2063 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2064 Also, remove whitespace as we go, rather than after accumulating the
2065 various places.
2066
89660017
SM
2067 * subr.el (internal--before-with-selected-window)
2068 (internal--after-with-selected-window): Fix typo seleted->selected.
2069 (with-selected-window): Adjust callers.
2070 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2071
31cd32c9
BG
20722012-08-13 Bastien Guerry <bzg@gnu.org>
2073
0fcd3d9f 2074 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2075 enhancement. (Bug#12172)
2076
1b15d8ad
AS
20772012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2078
31e54db0
AS
2079 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2080 type 1-6.
2081 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2082 extended headers.
2083
1b15d8ad
AS
2084 * files.el (hack-local-variables-filter): Remove useless eval.
2085
35cb9c06
MR
20862012-08-13 Martin Rudalics <rudalics@gmx.at>
2087
2088 * subr.el (with-selected-window): Fix last change.
2089
1439443b
SM
20902012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * subr.el (internal--before-with-seleted-window)
2093 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2094 (with-selected-window): Use them, to replace dependency on
2095 tty-top-frame.
1439443b 2096
0d9e2599
NN
20972012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2098
2099 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2100 binding for `newline'.
2101 (ruby-move-to-block): When moving backward, stop at block opening,
2102 not indentation.
2103 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2104 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2105 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2106 `ruby-toggle-block'.
2107
ba10c48c
SM
21082012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * ibuffer.el (ibuffer-do-toggle-read-only):
2111 * dired.el (dired-toggle-read-only):
2112 * buff-menu.el (Buffer-menu-toggle-read-only):
2113 * bindings.el (mode-line-toggle-read-only):
2114 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2115
9229c658
AS
21162012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2117
2118 * descr-text.el (describe-char): Put the overlays over the
2119 "displayed as" character.
2120
0fd09128
JB
21212012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2122
2123 * calc/calc-units.el (math-default-units-table): Give an
2124 initial value.
2125 (math-put-default-units): Add options to put composite units and
2126 unit systems in the default units table.
2127 (calc-convert-units): Send composite units to
2128 `math-put-default-units' when appropriate.
2129
9ff9402d 21302012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2131
fbb5e336
GM
2132 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2133
7aacaf15
GM
2134 * tutorial.el (help-with-tutorial):
2135 * emacs-lisp/copyright.el (copyright-update-directory):
2136 * emacs-lisp/autoload.el (autoload-find-generated-file)
2137 (autoload-find-file): Disable local eval: (for insurance).
2138
f40b9f10
GM
2139 * files.el (hack-local-variables-filter): If an eval: form is not
2140 known to be safe, and enable-local-variables is :safe, then ignore
2141 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2142 This is CVE-2012-3479.
f40b9f10 2143
daa9f1a6
SM
21442012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2147 (rx-form): Simplify.
2148
9cd80478
DG
21492012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2150
0d9e2599
NN
2151 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2152 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2153 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2154 (ruby-syntax-propertize-function): Adjust for changes in
2155 `ruby-syntax-propertize-heredoc'.
2156
21572012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2158
9cd80478
DG
2159 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2160 binding (use `M-;' instead).
9cd80478 2161 (ruby-singleton-class-p): New function.
0d9e2599 2162 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2163
d301b413
SM
21642012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2167
1530c98e
CY
21682012-08-10 Chong Yidong <cyd@gnu.org>
2169
2170 * progmodes/python.el (python-shell-get-process-name): Don't mess
2171 with same-window-buffer-names.
2172
2173 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2174 (eshell-remove-from-window-buffer-names): Make obsolete.
2175 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2176 (eshell): Just use pop-to-buffer-same-window instead.
2177
e1293765
CY
21782012-08-10 Chong Yidong <cyd@gnu.org>
2179
2180 * bindings.el: Bind M-= back to count-words-region.
2181
2182 * simple.el (count-words-region): Accept a prefix arg for acting
2183 on the entire buffer.
2184 (count-words--buffer-message): New helper function.
2185
e1894109
SM
21862012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2189 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2190 (event-start, event-end): Use posn-at-point to return a more
2191 informative posn.
2192 (posnp): New function.
2193 * mouse.el (popup-menu-normalize-position): Use it.
2194
c69f56a2
MY
21952012-08-10 Masatake YAMATO <yamato@redhat.com>
2196
2197 * mouse.el (popup-menu-normalize-position): New function.
2198 (popup-menu): Use `popup-menu-normalize-position' to normalize
2199 the form for POSITION argument.
2200
2201 * term/x-win.el (x-menu-bar-open):
2202 Use the value returend from (posn-at-point) as position
2203 passed to `popup-menu'.
2204
31673780
JB
22052012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2206
2207 * calc/calccomp.el (math-compose-expr): Add extra argument
2208 indicating that parentheses should be put around products in
2209 denominators. Give multiplication precedence over division during
2210 composition.
2211
dab7711b
CY
22122012-08-09 Chong Yidong <cyd@gnu.org>
2213
dee4ef93
CY
2214 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2215 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2216 (Man-untabify-command, manual-program): Convert to defcustom
2217 (Bug#10429).
2218
73e2bbc5
CY
2219 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2220
3e861c8a
CY
2221 * descr-text.el (describe-char): Don't insert extra newlines
2222 (Bug#10127).
2223
a9f5a649
CY
2224 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2225 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2226
dab7711b
CY
2227 * align.el (align-region): Delete temporary markers (Bug#10047).
2228 Plus some code cleanups.
2229
e0cc4efa
FEG
22302012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2231
2232 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2233 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2234 (python-shell-internal-last-output): Use make-local-variable
2235 instead of make-variable-buffer-local.
2236
489af14f
FEG
22372012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2238
2239 * progmodes/python.el: Enhancements to forward-sexp.
2240 (python-nav-forward-sexp): Rename from
2241 python-nav-forward-sexp-function.
c69f56a2
MY
2242 (python-nav--forward-sexp, python-nav--backward-sexp):
2243 New functions.
489af14f 2244
0fc50303
JB
22452012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2246
2247 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2248 modes and simplification modes.
2249
5d65606a
SM
22502012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 * delsel.el (delete-selection-pre-hook): Don't propagate the
2253 file-supersession signals (bug#12161).
2254
4250fdf5
SM
22552012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2258 (cl-map-extents): Add compatibility aliases (bug#12135).
2259
d9f9b465
MA
22602012-08-08 Michael Albinus <michael.albinus@gmx.de>
2261
2262 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2263 tests by `ignore-error'.
2264 (tramp-find-shell): Open also a new shell, when cache is already
2265 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2266
ce0fcefa
JL
22672012-08-08 Juri Linkov <juri@jurta.org>
2268
2269 * bookmark.el: Add `defaults' property to the bookmark record.
2270 (bookmark-current-buffer): Doc fix.
2271 (bookmark-make-record): Add `defaults' property with default values
2272 to the bookmark record.
2273 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2274 with `bookmark-insert-current-bookmark'.
2275 (bookmark-set): Get `defaults' property from the bookmark record
2276 and use it in `read-from-minibuffer'.
2277 (bookmark-insert-current-bookmark): Remove function.
2278
2279 * info.el (Info-bookmark-make-record): Add `defaults' property
2280 with values of canonical Info node name, the current Info file
2281 name and the current Info node name. (Bug#12107)
2282
53fa8652
JL
22832012-08-08 Juri Linkov <juri@jurta.org>
2284
2285 * files.el (basic-save-buffer): Use `buffer-name' as the default
2286 of `read-file-name' when buffer is not visiting a file (bug#12128).
2287
242c0a95
JL
22882012-08-08 Juri Linkov <juri@jurta.org>
2289
2290 * info.el (Info-isearch-search): Doc fix.
2291 (Info-search): Change search-failed message from "initial node" to
2292 "end of node" (bug#12078).
2293 (Info-isearch-search): Change `isearch-string-state' to
2294 `isearch--state-string'.
2295
32ac3a6b
GM
22962012-08-08 Glenn Morris <rgm@gnu.org>
2297
2298 * language/persian.el: Remove file.
f8c1afd5 2299 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2300 * loadup.el: Remove language/persian.
2301
2c2d9c9c
OF
23022012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2303
2304 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2305
2d79ec42
FEG
23062012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2307
2308 * progmodes/python.el Fixed defsubst warning.
2309 (python-syntax-context) Rename from python-info-ppss-context.
2310 (python-syntax-context-type): Rename from
2311 python-info-ppss-context-type.
2312 (python-syntax-comment-or-string-p): Rename from
2313 python-info-ppss-comment-or-string-p.
2314
2bd255dd
JB
23152012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2316
2317 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2318
c395097f
AS
23192012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2320
6125983e
AS
2321 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2322 a defcustom that is quoted with backquote.
2323
4250fdf5
SM
2324 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2325 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2326 (math-do-arg-check, math-define-function-body): Use backquote forms.
2327 * calc/calc-ext.el (math-defcache): Likewise.
2328 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2329 * allout.el (allout-new-exposure): Likewise.
2330 * calc/calcalg2.el (math-tracing-integral): Likewise.
2331 * info.el (Info-last-menu-item): Likewise.
2332 * emulation/vip.el (vip-loop): Likewise.
2333 * textmodes/artist.el (artist-funcall): Likewise.
2334 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2335 Construct menu-item directly.
2336
4250fdf5
SM
2337 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2338 Don't declare.
c395097f 2339
5fb50dd3
CY
23402012-08-07 Chong Yidong <cyd@gnu.org>
2341
2342 * simple.el (deactivate-mark): Preserve text properties when
2343 saving the primary selection (Bug#8384).
2344
54eea618
KR
23452012-08-07 Kevin Ryde <user42@zip.com.au>
2346
2347 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2348 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2349 and continue processing (Bug#12110).
2350
638eaeb9
SM
23512012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2352
2353 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2354 syntax-propertize-function (bug#10095).
2355
ea376861
SM
23562012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2357
f91b35be
SM
2358 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2359 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2360 describe-function-1.
2361 (describe-function-1): Use them. Move compiler macro after sig.
2362 (help-fns--compiler-macro): Use function-get. Assume we're already in
2363 standard-output. Adjust layout to new call order.
2364
ea376861
SM
2365 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2366 re-binding a symbol that has a symbol-macro (bug#12119).
2367
d5be7bd0
MB
23682012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2369
2370 * language/persian.el: New file. (Bug#11812)
2371 * loadup.el: Add language/persian.el.
2372
90749b53
CY
23732012-08-06 Chong Yidong <cyd@gnu.org>
2374
2375 * window.el (window--maybe-raise-frame): New function.
2376 (window--display-buffer): Split off from here.
2377 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2378 (display-buffer-pop-up-window, display-buffer-use-some-window):
2379 Obey an inhibit-switch-frame action alist entry.
2380 (display-buffer): Update doc.
2381
2382 * replace.el (occur-after-change-function): Avoid losing focus by
2383 using the inhibit-switch-frame display parameter (Bug#12139).
2384
ba7b0154
FEG
23852012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2386
2387 Make internal shell process buffer names start with space.
2388 * progmodes/python.el (python-shell-make-comint): Add optional
2389 argument INTERNAL.
2390 (run-python-internal): Use it.
2391 (python-shell-internal-get-or-create-process): Check for new
2392 internal buffer names.
2393
5eaeacb5
GM
23942012-08-06 Glenn Morris <rgm@gnu.org>
2395
e296d94b 2396 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2397 Do less getting and setting of environment variables.
2398
b7ccbdc2
CY
23992012-08-05 Chong Yidong <cyd@gnu.org>
2400
777fe95e
CY
2401 * proced.el (proced): Add substitution string to docstring to
2402 trigger autoloading of the proced library on C-h f (Bug#1768).
2403
4250fdf5
SM
2404 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2405 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2406
2407 * imenu.el (imenu-generic-expression): Move documentation here
2408 from imenu--generic-function.
2409 (imenu--generic-function): Refer to imenu-generic-expression.
2410
9e3b7800 24112012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2412
2413 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2414 indentation declaration.
2415 (viper-loop): Add indentation declaration (Bug#7025).
2416
e5d9c0d1
CY
24172012-08-05 Chong Yidong <cyd@gnu.org>
2418
f0422feb
CY
2419 * help-fns.el (describe-variable): Add hyperlink for
2420 directory-local variables files. Improve buffer-local and
2421 permanent-local reporting; suggested by MON KEY (Bug#6644).
2422
2423 * help-mode.el (help-dir-local-var-def): New button type.
2424
e5d9c0d1
CY
2425 * files.el (kill-buffer-hook): Provide a defvar.
2426
a4f2deaa
GM
24272012-08-05 Glenn Morris <rgm@gnu.org>
2428
2429 * eshell/esh-ext.el (eshell/addpath):
2430 Also update eshell-path-env. (Bug#12013)
2431
a9dd5754
CY
24322012-08-05 Chong Yidong <cyd@gnu.org>
2433
a4f2deaa 2434 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2435
d014c740
CY
2436 * fringe.el (fringe-styles): Add docstring.
2437 (fringe--check-mode): New function.
2438 (set-fringe-mode, set-fringe-style): Use it.
2439 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2440
a9dd5754
CY
2441 * files.el (set-auto-mode): Fix invalid setq call.
2442
7c2dc8bd
SM
24432012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * isearch.el: Misc simplification; use defstruct.
2446 (isearch-mode-map): Dense maps now work like sparse ones.
2447 (isearch--state): New defstruct.
2448 (isearch-string-state, isearch-message-state, isearch-point-state)
2449 (isearch-success-state, isearch-forward-state)
2450 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2451 (isearch-wrapped-state, isearch-barrier-state)
2452 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2453 replaced by defstruct's accessors.
2454 (isearch--set-state): Rename from isearch-top-state and change
2455 calling convention.
2456 (isearch-push-state): Use new isearch--get-state.
2457 (isearch-toggle-word): Disable regexp when enabling word.
2458 (isearch-message-prefix): Remove unused arg _c-q-hack.
2459 (isearch-message-suffix): Remove unused arg _ellipsis.
2460
7fcc0070
AS
24612012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2462
2463 * simple.el (list-processes--refresh): For a server use :host or
2464 :local as the address.
97ad0769 2465 (list-processes): Doc fix.
7fcc0070 2466
a11035b8 24672012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2468
2469 * lisp/mpc.el: Support password in host argument.
2470 (mpc--proc-connect): Parse and use new password element.
2471 Set mpc-proc variable instead of returning process.
2472 (mpc-proc): Adjust accordingly.
2473
6dad7178
EZ
24742012-08-03 Eli Zaretskii <eliz@gnu.org>
2475
18949c2f
EZ
2476 * whitespace.el (whitespace-display-mappings): Use Unicode
2477 codepoints, instead of emacs-mule codepoints. See
2478 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2479 for the details.
2480
6dad7178
EZ
2481 * files.el (file-truename): Don't skip symlink-chasing part on
2482 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2483 Windows into the loop that recursively chases symlinks.
2484 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2485 MS-DOS.
2486
385b0198
CY
24872012-08-03 Chong Yidong <cyd@gnu.org>
2488
6200f3c4
CY
2489 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2490
385b0198
CY
2491 * sort.el (sort-regexp-fields): Doc fix.
2492
b9e74744
TH
24932012-08-03 Tassilo Horn <tsdh@gnu.org>
2494
2495 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2496 labels regex position point at the expected place.
2497
41013cb4
MK
24982012-08-03 MON KEY <monkey@sandpframing.com>
2499
2500 * net/imap.el (imap-interactive-login, imap-authenticate)
2501 (imap-mailbox-lsub, imap-mailbox-list)
2502 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2503 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2504 (imap-parse-response): Doc fix.
2505
0ffee616
JT
25062012-08-03 João Távora <joaotavora@gmail.com>
2507
2508 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2509 if sexp scanning does not move point (Bug#5734).
2510
cfcc9cc8
TH
25112012-08-02 Tassilo Horn <tsdh@gnu.org>
2512
2513 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2514 Add listings, minted, and ctable packages.
2515 (reftex-label-alist-builtin): Move listings, minted, and ctable
2516 entries before LaTeX.
a01bbb84 2517 (reftex-label-alist): Docfix.
cfcc9cc8 2518
66ec2442
BG
25192012-08-02 Bastien Guerry <bzg@gnu.org>
2520
2521 * replace.el (occur): Fix docstring (bug#12122).
2522
837b365b
GM
25232012-08-02 Glenn Morris <rgm@gnu.org>
2524
2525 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2526
e098de97
PE
25272012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2528
2529 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2530 * international/mule-cmds.el: Create
2531 inactivate-current-input-method-function as an obsolete alias for
2532 deactivate-current-input-method-function. See Katsumi Yamaoka in
2533 <http://bugs.gnu.org/10150#46>.
2534
a0f95636
JB
25352012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2536
2537 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2538 of nested `if's.
2539
0d26d7c4
GM
25402012-08-01 Glenn Morris <rgm@gnu.org>
2541
2542 * progmodes/autoconf.el (autoconf-definition-regexp):
2543 Add AH_TEMPLATE, adjust submatch numbering.
2544 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2545 (autoconf-current-defun-function): Update for above change.
2546 (autoconf-current-defun-function): First skip to end of current word.
2547
b686ba06
RS
25482012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2549
2550 * calendar/cal-html.el (cal-html-insert-agenda-days):
2551 Fix typo. (Bug#12018)
2552
0d49da68
FEG
25532012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2554
2555 Shell processes: enhancements to startup and CEDET compatibility.
2556 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2557 (python-shell-make-comint): accept-process-output at startup.
2558 (run-python-internal): Set inferior-python-mode-hook to nil.
2559 (python-shell-internal-get-or-create-process): call sit-for.
2560 (python-preoutput-result): Add obsolete alias.
2561 (python-shell-internal-send-string): Use it.
2562 (python-shell-send-setup-code): Remove call to
2563 accept-process-output.
2564
f1a71c6e
AS
25652012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2566
2567 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2568 (Bug#12108)
2569
d2605269
JB
25702012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2571
2572 * calc-mode.el (calc-basic-simplification-mode): Rename from
2573 `calc-limited-simplification-mode'.
2574 (calc-alg-simplification-mode): New function.
fc0c31f8 2575 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2576
d2605269
JB
2577 * calc.el (calc-set-mode-line): Adjust mode line display for
2578 basic simplification mode.
2579
2580 * calc-help.el (calc-m-prefix-help): Update help message.
2581
2582 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2583 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2584
a3827a43
BG
25852012-07-31 Bastien Guerry <bzg@gnu.org>
2586
2587 * man.el (man): Fix comment. (bug#12101)
2588
502e3f89
MR
25892012-07-31 Martin Rudalics <rudalics@gmx.at>
2590
2591 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2592 Don't return a non-nil value when no suitable buffer was found.
2593
d7714961
FEG
25942012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2595
2596 * progmodes/python.el (run-python-internal): Disable font lock for
2597 internal shells.
2598
1f45e27e
SM
25992012-07-30 Stefan Merten <smerten@oekonux.de>
2600
70efc5c9 2601 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2602 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2603 (rst-official-version, rst-official-cvs-rev)
2604 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2605 (rst-mode-map): New key binding.
2606
0aee6912
PE
26072012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2608
2609 Update .PHONY listings in makefiles.
2610 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2611 autoloads, update-subdirs, updates, bzr-update, update-authors,
2612 compile-onefile, compile-calc, backup-compiled-files,
2613 compile-after-backup, compile-one-process, mh-autoloads,
2614 bootstrap-clean, distclean, maintainer-clean.
2615
9052f9f0
JB
26162012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2617
1823ac5a
JB
2618 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2619 (calc-set-mode-line): Don't display "AlgSimp ".
2620
2621 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2622 (calc-lim-simplify-mode): New function.
2623 (calc-set-simplify-mode): Default to 'alg.
2624 (calc-default-simplify-mode): Make algebraic simplifications
2625 the default.
2626
2627 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2628 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2629
8d7c7eed 2630 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2631 indicate new simplification modes.
2632
1823ac5a
JB
2633 * calc/README: Mention new default simplification mode.
2634
9052f9f0
JB
2635 * calc/calc.el (math-normalize-error): New variable.
2636 (math-normalize): Set `math-normalize-error' to t
2637 when there's an error.
2638
2639 * calc/calc-alg.el (math-simplify): Don't simplify when
2640 `math-normalize' returns an error.
2641
20ba0cb4
EZ
26422012-07-29 Eli Zaretskii <eliz@gnu.org>
2643
2644 * international/mule-cmds.el (set-locale-environment): Revert last
2645 change, since display-graphic-p returns nil when this function is
2646 called during startup. Instead...
2647
2648 * term/w32console.el (terminal-init-w32console): ...setup the
2649 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2650
a5dcc929
JL
26512012-07-29 Juri Linkov <juri@jurta.org>
2652
2653 * simple.el (goto-line): Don't display default line number in the
2654 prompt because it should be displayed by `read-number' (bug#9952).
2655 Add the current line number to the defaults of `goto-line' to
2656 allow its easier modification by users with `M-n' (bug#9201).
2657
2658 * subr.el (read-number): Support multiple default values like in
2659 other minibuffer reading functions. Replace `read' with
2660 `string-to-number' for consistency with `number-to-string'.
2661
72b255c7
PE
26622012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2663
2664 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2665 * emulation/viper-init.el (viper-deactivate-input-method-action):
2666 Rename from viper-inactivate-input-method-action.
2667 (viper-deactivate-input-method):
2668 Rename from viper-inactivate-input-method.
2669 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2670 * international/mule-cmds.el (deactivate-input-method):
2671 Rename from inactivate-input-method.
2672 Also run input-method-deactivate-hook.
2673 (deactivate-current-input-method-function):
2674 Rename from inactivate-current-input-method-function.
2675 (input-method-deactivate-hook): New hook.
2676 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2677 (inactivate-input-method): Mark obsolete.
2678
72b255c7
PE
2679 * international/quail.el (quail-activate):
2680 Also run quail-deactivate-hook.
2681 (quail-deactivate): Rename from quail-inactivate.
2682 * international/robin.el (robin-activate):
2683 Also run robin-deactivate-hook.
2684 (robin-deactivate): Rename from robin-inactivate.
2685
2549c068
CY
26862012-07-29 Chong Yidong <cyd@gnu.org>
2687
2688 * simple.el (indicate-copied-region): New function.
2689 (kill-ring-save): Split off from here.
2690
2691 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2692 (kill-rectangle): Set deactivate-mark to t on read-only error.
2693
2694 * register.el (copy-to-register, copy-rectangle-to-register):
2695 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
2696 (append-to-register, prepend-to-register): Call indicate-copied-region.
2697
26982012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2699
2700 * simple.el (async-shell-command-buffer): New defcustom.
2701 (shell-command): Use it. (Bug#4719)
2702
01bd1b0d
EZ
27032012-07-28 Eli Zaretskii <eliz@gnu.org>
2704
2705 * international/mule-cmds.el (set-locale-environment): In a
2706 console session on MS-Windows, set up keyboard and terminal
2707 encoding from the OEM codepage, not the ANSI codepage.
2708 (Bug#12055)
2709
a55739d3
CY
27102012-07-28 Chong Yidong <cyd@gnu.org>
2711
2712 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2713 gdb-get-location.
2714
0e1a094f 27152012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2716
2717 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2718 the alist (bug#12029).
2719
20329d73
EZ
27202012-07-28 Eli Zaretskii <eliz@gnu.org>
2721
2722 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2723 (compile-always, compile-first)
2724 ($(lisp)/calendar/cal-loaddefs.el)
2725 ($(lisp)/calendar/diary-loaddefs.el)
2726 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2727 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2728 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2729 instead of on update-subdirs.
2730 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2731
345a2258
CY
27322012-07-28 Chong Yidong <cyd@gnu.org>
2733
1eee6341
CY
2734 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2735 directory if vc-deduce-backend returns nil (Bug#7350).
2736
345a2258
CY
2737 * simple.el (delete-trailing-lines): New option.
2738 (delete-trailing-whitespace): Obey it (Bug#11879).
2739
049a0936
DE
27402012-07-28 David Engster <deng@randomsample.de>
2741
2742 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2743 Explanation of new 'symbol-qnames feature in doc-strings.
2744 (xml-maybe-do-ns): Return expanded names as plain symbols if
2745 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2746 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2747
aa81af71
FEG
27482012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2749
2750 Consistent completion in inferior python with emacs -nw.
2751 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2752 binding in inferior-python-mode-map with "\t".
2753 (python-shell-completion-complete-at-point)
2754 (python-completion-complete-at-point): Remove interactive spec.
2755
e827b1eb
JB
27562012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2757
2758 * calc/calccomp.el (math-compose-expr): Undo previous change.
2759
a90dfb95
FEG
27602012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2761
4250fdf5 2762 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2763 run-python.
2764 (python-shell-make-comint): Fix pop-to-buffer call.
2765 (run-python): Autoload. New arg SHOW.
2766 (python-shell-get-or-create-process): Do not pop python process
2767 buffer.
2768
32770973 27692012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2770
2771 * notifications.el (notifications-on-action-signal)
2772 (notifications-on-closed-signal): Use also the bus address for the map.
2773 (notifications-notify, notifications-close-notification)
fc0c31f8 2774 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2775
86332df2
TH
27762012-07-27 Tassilo Horn <tsdh@gnu.org>
2777
4250fdf5
SM
2778 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2779 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2780 ctable macro.
2781 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2782 labels written in keyvals syntax.
2783
ca1302a4
JB
27842012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2785
2786 * calc/calccomp.el (math-compose-expr): Use parentheses when
2787 there is a product in the denominator of a fraction.
2788
f8b91036
EZ
27892012-07-26 Eli Zaretskii <eliz@gnu.org>
2790
2791 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2792 ($(lisp)/calendar/diary-loaddefs.el)
2793 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2794 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2795 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2796 rewritten while the autoload files are built at the same time,
2797 which needs to load subdirs.el.
2798
c8e5a42c
MR
27992012-07-26 Martin Rudalics <rudalics@gmx.at>
2800
2801 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2802 (mouse-drag-line): Don't exit tracking when a switch-frame or
2803 switch-window event occurs (Bug#12006).
2804
670d85ea
SM
28052012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * mouse.el (popup-menu): Fix last change.
2808
7abaf5cc
SM
28092012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 Autoload from Lisp with more care. Follow aliases when looking for
2812 function properties.
2813 * subr.el (autoloadp): New function.
2814 (symbol-file): Use it.
2815 (function-get): New function.
2816 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2817 autoload-do-load.
2818 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2819 (lisp-indent-function):
2820 * emacs-lisp/gv.el (gv-get):
2821 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2822 * emacs-lisp/byte-opt.el (byte-optimize-form):
2823 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2824 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2825 Use function-get.
2826 * emacs-lisp/cl.el: Don't propagate function properties any more.
2827
2828 * speedbar.el (speedbar-add-localized-speedbar-support):
2829 * emacs-lisp/disass.el (disassemble-internal):
2830 * desktop.el (desktop-load-file):
2831 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2832 (describe-function-1):
2833 * emacs-lisp/find-func.el (find-function-noselect):
2834 * emacs-lisp/elp.el (elp-instrument-function):
2835 * emacs-lisp/advice.el (ad-has-proper-definition):
2836 * apropos.el (apropos-safe-documentation, apropos-macrop):
2837 * emacs-lisp/debug.el (debug-on-entry):
2838 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2839 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2840 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2841
b1364986
AA
28422012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2843
2844 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2845 function, not an obsolete variable (Bug#12046).
2846
67ada220
AS
28472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2848
2849 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2850
f08088e3
CS
28512012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2852
2853 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2854 window only if it is still live (Bug#12034).
2855
8137e7b3
MR
28562012-07-25 Martin Rudalics <rudalics@gmx.at>
2857
2858 * subr.el (redirect-frame-focus): Add advertised calling
2859 convention (Bug#12030).
2860
09ae5da1
PE
28612012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2862
2863 Prefer typical American spelling for "acknowledgment".
2864 * vc/add-log.el (change-log-acknowledgment): Rename from
2865 change-log-acknowledgement, with an alias for the old name.
2866
3cc5a3a8
JB
28672012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2868
2869 * calc-alg.el (math-simplify-divide): Don't cross multiply
2870 in an equation when the lhs is a variable.
2871
b7af7f62
JD
28722012-07-24 Julien Danjou <julien@danjou.info>
2873
2874 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2875 Remove, unused.
2876
ec1b09b1
EZ
28772012-07-23 Eli Zaretskii <eliz@gnu.org>
2878
2879 * startup.el (command-line): Don't display an empty user name in
2880 the error message about non-existent home directory, when
2881 init-file-user was set to an empty string. See
2882 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2883 for the details and context.
2884
b525fd8a
VB
28852012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2886
2887 * ses.el (ses-cell-formula-aset): New macro.
2888 (ses-cell-references-aset): New macro.
2889 (ses-cell-p): New function.
2890 (ses-rename-cell): Do no longer rely on complex operations like
2891 ses-cell-set-formula or ses-set-cell to change the cell and handle
2892 the undo at the same time, but rather use lower level new macros
2893 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2894 the undo directly. Refresh the mode line.
b525fd8a 2895
2c73e345
LL
28962012-07-21 Leo Liu <sdl.web@gmail.com>
2897
670d85ea
SM
2898 * progmodes/cc-cmds.el (c-defun-name):
2899 Use match-string-no-properties instead for consistency.
2c73e345 2900
542dfbde
LL
29012012-07-20 Leo Liu <sdl.web@gmail.com>
2902
3646bcd6
LL
2903 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2904 (Bug#7879)
2905
542dfbde
LL
2906 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2907
25721031
CY
29082012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2911 * progmodes/bug-reference.el, misearch.el: Provide themselves
2912 (bug#11915).
2913
2914 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2915 of narrowed buffer (bug#11966).
2916
316e68a7
VB
29172012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2918
2919 * ses.el (ses-rename-cell): Set new name also in reference list of
2920 cells of which the renamed cell depends.
2921
bbf0e7d9
MY
29222012-07-20 Masatake YAMATO <yamato@redhat.com>
2923
2924 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2925 to check whether menu-bar is shown or not. If not shown,
2926 show the menu-bar as a popup menu instead of using tmm.
2927 * mouse.el (popup-menu): Accept `point' as `position' argument.
2928
c28662a8
DG
29292012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2930
2931 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2932 up inside string symbol literal (bug#11923).
2933
87ab808f
EZ
29342012-07-20 Eli Zaretskii <eliz@gnu.org>
2935
2936 * startup.el (fancy-startup-text): Read the whole tutorial, not
2937 just its first 256 bytes. Prevents gibberish in display of the
2938 tutorial title.
2939
89dea803
DA
29402012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2941
2942 Drop idle buffer compaction due to an absence of the
2943 proved efficiency.
2944 * compact.el: Remove.
2945
8a4e6db8
SS
29462012-07-19 Sam Steingold <sds@gnu.org>
2947
2948 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2949 vc-bzr-pull & vc-bzr-merge-branch.
2950 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2951 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2952 for consistency with compilation-error-regexp-alist.
2953 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2954 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2955 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2956 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2957
5db81e33
SM
29582012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * emacs-lisp/chart.el: Use lexical-binding.
2961 (chart-emacs-storage): Don't hardcode the list of entries.
2962
5b835e1d
DA
29632012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2964
2965 Next round of tweaks caused by Fgarbage_collect changes.
2966 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2967
9cd47b72
DA
29682012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2969
2970 Compact buffers when idle.
2971 * compact.el: New file.
2972
1d6fc0df
SM
29732012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * subr.el (eventp): Presume that if it looks vaguely like an event,
2976 it's an event (bug#10190).
2977
1d29cc7d
FEG
29782012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2979
2980 Enhancements to ppss related code (thanks Stefan).
2981 * progmodes/python.el (python-indent-context)
2982 (python-indent-calculate-indentation, python-indent-dedent-line)
2983 (python-indent-electric-colon, python-nav-forward-block)
2984 (python-mode-abbrev-table)
1d6fc0df 2985 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2986 for ppss context.
2987 (python-info-continuation-line-p): Cleanup.
2988 (python-info-ppss-context): Do not catch 'quote.
2989 (python-info-ppss-context-type)
2990 (python-info-ppss-comment-or-string-p): Simplify.
2991
d583cbe6
FEG
29922012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2993
2994 * progmodes/python.el: Enhancements to eldoc support.
2995 (python-info-current-symbol): New function.
2996 (python-eldoc-at-point): Use python-info-current-symbol.
2997 (python-info-current-defun): Fix cornercase on first defun scan.
2998 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2999 and signal error when no inferior python process is available.
3000
eceb6feb
DG
30012012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3002
3003 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3004 assume it's always t.
3005 (vc-git-registered): Remove caching, the function is only called
3006 once.
3007 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3008
4c8ff0fe
CY
30092012-07-18 Chong Yidong <cyd@gnu.org>
3010
19fb7186
CY
3011 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3012
9587c688
CY
3013 * simple.el (count-words): Report on narrowing (Bug#9959).
3014
0fe776a1
CY
3015 * bindings.el: Bind M-= to count-words.
3016
4c8ff0fe
CY
3017 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3018
7f5331cc
MY
30192012-07-18 Masatake YAMATO <yamato@redhat.com>
3020
3021 * progmodes/sh-script.el (sh-imenu-generic-expression):
3022 Capture a function with `function' keyword and without parentheses
3023 like "function FOO" (bug#11856).
3024
2dc2a609
TH
30252012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3026
3027 * window.el (split-window-sensibly): Make WINDOW argument
3028 optional.
3029
439f7677
CY
30302012-07-18 Chong Yidong <cyd@gnu.org>
3031
9aeb25a6
CY
3032 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3033
439f7677
CY
3034 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3035 and make C-x 8 RET exit isearch (Bug#11439).
3036
3037 * international/iso-transl.el: Move isearch-mode-map key
3038 definitions to isearch.el.
3039
12999ea8
SM
30402012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3043 (eieio-defclass): Use gv-define-setter when possible.
3044
3ab6e069
DA
30452012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3046
3047 Reflect recent changes in Fgarbage_collect.
3048 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3049 reflect new format of data returned by Fgarbage_collect.
3050
0a60bc10
FEG
30512012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3052
3053 New utility functions + python-info-ppss-context fix (Bug#11910).
3054 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3055 (python-info-ppss-comment-or-string-p): New functions.
3056 (python-info-ppss-context): Small fix for string check.
3057
6dafa0d5
JL
30582012-07-17 Juri Linkov <juri@jurta.org>
3059
3060 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3061 (dired-do-async-shell-command): Don't add `*' at the end of the
3062 command (Bug#11815).
3063 (dired-do-shell-command): Doc fix.
3064 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3065 Join the individual commands using either "&" or ";" as the
3066 separator depending on the values of these trailing characters.
3067 At the end re-add the trailing "&". (Bug#10598)
3068
3069 * simple.el (async-shell-command): Sync the interactive spec with
3070 `shell-command'. Doc fix.
3071 (shell-command): Doc fix.
3072
b19dd9d1
JL
30732012-07-17 Juri Linkov <juri@jurta.org>
3074
3075 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3076
bcdc27d7 30772012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3078
bcdc27d7 3079 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3080 * progmodes/python.el (python-nav-beginning-of-statement):
3081 Rename from python-nav-statement-start.
bcdc27d7
FEG
3082 (python-nav-end-of-statement): Rename from
3083 python-nav-statement-end.
3084 (python-nav-beginning-of-block): Rename from
3085 python-nav-block-start.
3086 (python-nav-end-of-block): Rename from python-nav-block-end.
3087
191da00e
FEG
30882012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3089
7f5331cc
MY
3090 * progmodes/python.el (python-shell-send-string-no-output):
3091 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3092 future interactions (Bug#11868).
3093
4dc7c8d5 30942012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3095
88ecaf8f
SM
3096 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3097
ef501ef0
SM
3098 * emacs-lisp/elint.el (elint-find-args-in-code):
3099 Use help-function-arglist, so as to handle lexical byte-code.
3100
aa7aaf8f
SM
3101 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3102 change (bug#11826).
3103
45fd731c
SM
31042012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3105
2143fa32
SM
3106 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3107 Avoid spuriously marking the buffer as modified because of c-is-sws.
3108
efc26dbe
SM
3109 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3110 as not-a-comment (bug#11946).
3111
f5695c9a
SM
3112 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3113 for uninterned vars.
3114
3115 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3116 Use read-event since we don't really want to read chars but bytes.
3117
45fd731c
SM
3118 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3119 $$..$$ but also $..$ using regexps (bug#11953).
3120 Use tex-verbatim for \url and \path.
3121 (tex-font-lock-keywords): Define as defconst like the others.
3122 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3123
ddfc8813
RK
31242012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3125
3126 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3127 alias for insert-char.
3128
758e556a
FEG
31292012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3130
3131 * progmodes/python.el: Simplified imenu implementation.
3132 (python-nav-jump-to-defun): Remove command.
3133 (python-mode-map): Use `imenu' instead.
3134 (python-nav-list-defun-positions-cache)
3135 (python-imenu-include-defun-type, python-imenu-make-tree)
3136 (python-imenu-subtree-root-label, python-imenu-index-alist):
3137 Remove vars.
3138 (python-nav-list-defun-positions, python-nav-read-defun)
3139 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3140 (python-imenu-make-tree, python-imenu-create-index):
3141 Remove functions.
758e556a
FEG
3142 (python-mode): Update to interact with imenu by setting
3143 `imenu-extract-index-name-function' only.
3144
032d23ab
FEG
31452012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3146
3147 * progmodes/python.el: Enhancements to navigation commands.
3148 (python-nav-backward-sentence)
3149 (python-nav-forward-sentence): Remove.
3150 (python-nav-backward-statement, python-nav-forward-statement)
3151 (python-nav-statement-start, python-nav-statement-end)
3152 (python-nav-backward-block, python-nav-forward-block)
3153 (python-nav-block-start, python-nav-block-end)
3154 (python-nav-forward-sexp-function)
3155 (python-info-current-line-comment-p)
3156 (python-info-current-line-empty-p): New functions.
3157 (python-indent-context): Use `python-nav-statement-start'.
3158
01795a1b
MA
31592012-07-16 Michael Albinus <michael.albinus@gmx.de>
3160
9328d9aa
MA
3161 * eshell/em-ls.el (eshell/ls): Use `apply'.
3162
3163 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3164 multi-hops, instead of Tramp internals.
3165
01795a1b
MA
3166 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3167
3168 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3169 when F1 and F2 are located on different hosts.
3170
63408057
CY
31712012-07-14 Chong Yidong <cyd@gnu.org>
3172
3173 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3174 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3175 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3176 (xterm-mouse--read-event-sequence-1000)
3177 (xterm-mouse--read-event-sequence-1006): New functions. For old
3178 mouse protocol, handle M-mouse-X events correctly.
3179 (xterm-mouse-event): New arg specifying mouse protocol.
3180 (turn-on-xterm-mouse-tracking-on-terminal)
3181 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3182 sequence to toggle extended coordinates on newer XTerms.
3183 This appears to be harmless on terminals which do not support this.
63408057 3184
cd276f6e
LL
31852012-07-14 Leo Liu <sdl.web@gmail.com>
3186
28ca98ac
LL
3187 Add fringe bitmap indicators for flymake. (Bug#11253)
3188 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3189 (flymake-make-overlay): New arg BITMAP.
3190 (flymake-error-bitmap, flymake-warning-bitmap)
3191 (flymake-fringe-indicator-position): New user variables.
3192
cd276f6e
LL
3193 * fringe.el: New bitmap exclamation-mark.
3194
04408072
JD
31952012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3196
3197 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3198 also (Bug#7879).
3199
b5cf7fc4
CY
32002012-07-14 Chong Yidong <cyd@gnu.org>
3201
3202 * electric.el (electric-pair-post-self-insert-function): Fix pair
3203 insertion in empty-region case (Bug#11520).
3204
be755c79
RT
32052012-07-14 Chong Yidong <cyd@gnu.org>
3206
45fd731c
SM
3207 * bindings.el: Consolidate ctl-x-r-map bindings.
3208 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3209
3210 * rect.el, register.el: Move bindings to bindings.el.
3211
32122012-07-14 Reuben Thomas <rrt@sc3d.org>
3213
3214 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3215
7f5b3198
AS
32162012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3217
3218 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3219
97662200
JB
32202012-07-13 Juanma Barranquero <lekktu@gmail.com>
3221
80185fed
JB
3222 * bindings.el (top): Use `mapc' instead of `mapcar'.
3223
97662200
JB
3224 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3225
2bb1ae55
MA
32262012-07-13 Michael Albinus <michael.albinus@gmx.de>
3227
3228 * progmodes/sql.el (sql-comint): Suppress the check for program on
3229 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3230 (Bug#11908)
3231
dea31bd3
CY
32322012-07-13 Chong Yidong <cyd@gnu.org>
3233
3234 * bindings.el: Assign a non-nil permanent-local property to
3235 per-buffer variables which lack a default value (Bug#11930).
3236
3237 * help-fns.el (describe-variable): In the "automatically becomes
3238 local" notice, take note of permanent-local variables.
3239
b68b3337
CY
32402012-07-13 Chong Yidong <cyd@gnu.org>
3241
3242 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3243 to allow printing the message when called from Lisp.
3244
3245 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3246 Remove toggle-read-only.
3247
3248 * bs.el (bs-toggle-readonly):
45fd731c
SM
3249 * buff-menu.el (Buffer-menu-toggle-read-only):
3250 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3251
3252 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3253 Remove with-no-warnings around toggle-read-only.
3254 (ffap-read-only, ffap-read-only-other-window)
3255 (ffap-read-only-other-frame): Callers changed.
3256
3257 * help-mode.el: Don't require view package.
3258 (help-mode-finish): Set buffer-read-only instead of calling
3259 toggle-read-only.
3260
3261 * bindings.el (mode-line-toggle-read-only):
3262 * dired.el (dired-toggle-read-only):
3263 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3264 with non-nil second arg.
3265
3266 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3267 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3268 directly.
3269
56bc1586
EZ
32702012-07-12 Eli Zaretskii <eliz@gnu.org>
3271
3272 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3273 not incf.
3274
a464a6c7
SM
32752012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 More CL cleanups and reduction of use of cl.el.
3278 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3279 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3280 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3281 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3282 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3283 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3284 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3285 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3286 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3287 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3288 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3289 * eshell/em-cmpl.el, eshell/em-banner.el:
3290 * calendar/parse-time.el: Use cl-lib.
3291 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3292 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3293 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3294 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3295 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3296 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3297 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3298 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3299 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3300 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3301 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3302 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3303 `lambda' rather than with `quote'.
3304 (eshell-do-opt): Adjust accordingly.
3305 (eshell-process-option): Simplify.
3306 * eshell/esh-var.el:
3307 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3308 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3309 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3310 to `pcase--dontcare'.
3311 * emacs-lisp/cl.el (labels): Mark obsolete.
3312 (cl--letf, letf): Move to cl-lib.
3313 (cl--letf*, letf*): Remove.
3314 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3315 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3316 (cl-progv): Rewrite.
3317 (cl--letf, cl-letf): Move from cl.el.
3318 (cl-letf*): New macro.
3319 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3320
7ad4afe1
MA
33212012-07-11 Michael Albinus <michael.albinus@gmx.de>
3322
3323 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3324
9af57756
CY
33252012-07-11 Chong Yidong <cyd@gnu.org>
3326
3327 * vc/log-edit.el (log-edit-vc-backend): New variable.
3328 (log-edit): Doc fix.
3329
3330 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3331 argument of log-edit to set up all local variables.
3332 (vc-start-logentry): New optional arg specifying VC backend.
3333
3334 * vc/vc.el (vc-checkin): Use it.
3335 (vc-deduce-fileset): Handle Log Edit buffers.
3336 (vc-diff): Make first argument optional too.
3337
3338 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3339
8477cc7a
MA
33402012-07-10 Michael Albinus <michael.albinus@gmx.de>
3341
3342 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3343 command, just in case. The function is not needed anymore.
3344 (eshell-external-command): Do not call `eshell-remote-command'.
3345
19faa8e8
SM
33462012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3347
f58e0fd5
SM
3348 Reduce use of (require 'cl).
3349 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3350 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3351 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3352 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3353 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3354 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3355 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3356 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3357 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3358 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3359 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3360 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3361 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3362 (byte-compile-unfold-bcf, byte-compile-check-variable):
3363 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3364 (byte-compile-nilconstp):
3365 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3366 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3367
2519d43a
SM
3368 * emacs-lisp/gv.el (cond): Make it a valid place.
3369 (if): Simplify slightly.
3370
19faa8e8
SM
3371 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3372 (pcase--self-quoting-p): New function.
3373 (pcase--u1): Use it.
3374
c4907a5e
GM
33752012-07-10 Glenn Morris <rgm@gnu.org>
3376
3377 * emacs-lisp/authors.el (authors-fixed-entries):
3378 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3379
c4444d16
PE
33802012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3381
3382 Rename configure.in to configure.ac (Bug#11603).
3383 * emacs-lisp/authors.el (authors-canonical-file-name):
3384 * progmodes/autoconf.el (autoconf-mode):
3385 Prefer configure.ac to configure.in.
3386
d75be97d
CY
33872012-07-08 Chong Yidong <cyd@gnu.org>
3388
01ac65bd
CY
3389 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3390 Implement the mouse-1-click-follows-link handling properly.
3391
3392 * info.el (Info-link-keymap): Use follow-link mechanism for
3393 header-line links (Bug#374).
3394
d75be97d
CY
3395 * simple.el (deactivate-mark): Do not set the primary selection
3396 if another program has acquired it (Bug#11772).
3397
87a92845 33982012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3399
3400 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3401 (woman-decode-region): Replace escaped-escapes without destroying
3402 bold or underline (Bug#11552).
87a92845 3403 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3404
621b9d6c
CY
34052012-07-07 Chong Yidong <cyd@gnu.org>
3406
3407 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3408 (interprogram-cut-function, interprogram-paste-function):
3409 Mention that we typically mean the clipboard.
621b9d6c 3410
133a11fc
GM
34112012-07-06 Glenn Morris <rgm@gnu.org>
3412
0d27a45e
GM
3413 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3414
133a11fc
GM
3415 * files.el (toggle-read-only): Restrict message to interactive use.
3416
07b151f1
MA
34172012-07-06 Michael Albinus <michael.albinus@gmx.de>
3418
3419 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3420
3421 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3422
211b896b
GM
34232012-07-06 Glenn Morris <rgm@gnu.org>
3424
50394322
GM
3425 * Makefile.in (compile-one-process): Rename from "recompile".
3426
211b896b
GM
3427 * Makefile.in (bzr-update): "compile" is the same as "recompile
3428 autoloads", but parallelizable, so use that instead.
3429
4737eec9
DG
34302012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3431
3432 * window.el (quit-window): Always restore window height when
8137e7b3 3433 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3434
226c3633 34352012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3436
3437 * simple.el (kill-whole-line): Doc tweak.
3438
226c3633 34392012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3440
3441 * files.el (file-relative-name): Compare file names
3442 case-insensitively if on MS-Windows or MS-DOS, or if
3443 read-file-name-completion-ignore-case is non-nil. Don't use
3444 case-fold-search for this purpose. (Bug#11827)
3445
4dc7c8d5
SM
34462012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3447
3448 * calendar/cal-dst.el (calendar-current-time-zone):
3449 Return calendar-current-time-zone-cache if non-nil.
3450
34512012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 34522012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3453
19faa8e8
SM
3454 * calendar/cal-dst.el (calendar-current-time-zone):
3455 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3456
60198fc9
GM
34572012-07-06 Glenn Morris <rgm@gnu.org>
3458
3459 * Makefile.in (cvs-update): Remove old alias.
3460
957b3189
MA
34612012-07-05 Michael Albinus <michael.albinus@gmx.de>
3462
3463 Sync with Tramp 2.2.6-pre.
3464
3465 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3466 compatible declaration.
3467
19faa8e8
SM
3468 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3469 Protect `list-load-path-shadows' call.
957b3189
MA
3470
3471 * net/tramp-compat.el (top): Require packages, which aren't
3472 autoloaded anymore for XEmacs. Protect call of
3473 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3474 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3475 it hurts at least for SXEmacs.
3476 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3477 standard-value for `temporary-file-directory'.
3478
3479 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3480 Redirect stderr to /dev/null.
3481 (tramp-sh-handle-write-region): uid and gid can be floats.
3482 Reported by Russell Sim <russell.sim@gmail.com>.
3483 (tramp-sh-handle-vc-registered): Hide errors.
3484 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3485 and `start-file-process'.
3486 (tramp-maybe-open-connection): Check also whether `non-essential'
3487 is bound.
3488
566df3fc
CY
34892012-07-04 Chong Yidong <cyd@gnu.org>
3490
3491 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3492 (xml-parse-tag): Likewise, and avoid changing entity tables.
3493 (xml-syntax-table): Define from scratch, making sure not to give
3494 x2000 and other Unicode spaces whitespace syntax, since those are
3495 not spaces in XML.
3496 (xml-parse-fragment): Delete unused function.
3497 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3498 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3499 (xml-entity-ref, xml-pe-reference-re)
3500 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3501 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3502 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3503 (xml-entity-value-re): Use syntax references in regexps where
3504 possible; no need to define inside a let-binding.
3505 (xml-parse-dtd): Use xml-pe-reference-re.
3506 (xml-entity-or-char-ref-re): New defconst.
3507 (xml-parse-string, xml-substitute-special): Use it.
3508
30eabd7a
SM
35092012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3510
0781098a
SM
3511 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3512 (find-file--read-only): New function.
3513 (find-file-read-only, find-file-read-only-other-window)
3514 (find-file-read-only-other-frame): Use it.
3515 (insert-file-contents-literally): Don't `fset'.
3516 (get-free-disk-space): Use locate-dominating-file.
3517
b5771c0d
SM
3518 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3519 function is already compiled.
3520
30eabd7a
SM
3521 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3522
b4886f6e
MA
35232012-07-03 Michael Albinus <michael.albinus@gmx.de>
3524
3525 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3526 files on the same host.
3527
b9d82339
AS
35282012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3529
3530 * help-fns.el (describe-function-1): Only call
3531 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3532
a76e6535
CY
35332012-07-03 Chong Yidong <cyd@gnu.org>
3534
3535 * xml.el: Protect parser against XML bombs.
3536 (xml-entity-expansion-limit): New variable.
3537 (xml-parse-string, xml-substitute-special): Use it.
3538 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3539
b544fef2
GM
35402012-07-03 Glenn Morris <rgm@gnu.org>
3541
3542 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3543 Allow linking to specific messages in debbugs reports (eg 123#5).
3544
a7aef6f5
CY
35452012-07-02 Chong Yidong <cyd@gnu.org>
3546
3547 * xml.el: Fix entity and character reference expansion, allowing
3548 them to expand into markup as per XML spec.
3549 (xml-default-ns): New variable.
3550 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3551 (xml-parse-region): Make first two arguments optional.
3552 Discard text properties.
3553 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3554 All callers changed.
a7aef6f5
CY
3555 (xml-parse-tag): Call xml-parse-tag-1. For backward
3556 compatibility, this function should not modify buffer contents.
3557 (xml-parse-tag-1): Fix opening-tag regexp.
3558 (xml-parse-string): Rewrite, handling entity and character
3559 references properly.
3560 (xml--entity-replacement-text): Signal an error if a parameter
3561 entity is undefined.
3562
3df31c9f
SM
35632012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3564
2b5208f1
SM
3565 * comint.el (comint-output-filter): Filter out repeated prompts.
3566
3df31c9f
SM
3567 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3568 and file-name-absolute-p.
3569 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3570 internal calls.
3571
e3ac1281
PE
35722012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3573
3574 Spelling fixes.
3575 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3576 Rename from byte-compile--refiy-function. All uses changed.
3577
fbf2e7ad
CY
35782012-07-01 Chong Yidong <cyd@gnu.org>
3579
3580 * xml.el (xml--parse-buffer): New function. Move most of
3581 xml-parse-region here.
3582 (xml-parse-region): Copy region into a temporary buffer, since
3583 parameter entity substitution requires changing buffer contents.
3584 Use xml--parse-buffer.
3585 (xml-parse-file): Use xml--parse-buffer.
3586 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3587 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3588
9bf0aa15
GM
35892012-06-30 Glenn Morris <rgm@gnu.org>
3590
bbce2853
GM
3591 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3592
9bf0aa15
GM
3593 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3594 Remove outdated and unnecessary dbus declarations.
3595
0d23c240
EZ
35962012-06-30 Eli Zaretskii <eliz@gnu.org>
3597
3598 * emacs-lisp/timer.el (timer-until): Subtract results of
3599 float-time, instead of taking float-time of the result of
3600 time-subtract, since float-time signals an error for negative time
3601 arguments.
3602
b3218de1
CY
36032012-06-30 Chong Yidong <cyd@gnu.org>
3604
3605 * xml.el (xml-*-re): Convert defvars into defconsts, and
3606 eval-and-compile them so eval-and-compile works on derivatives.
3607 (xml--entity-replacement-text): Use eval-and-comple.
3608
a40c87a0
MA
36092012-06-30 Michael Albinus <michael.albinus@gmx.de>
3610
3611 * vc/vc-git.el (vc-git-registered): Use cache property
3612 `git-registered'.
3613 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3614 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3615 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3616
ac87de97
DG
36172012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3618
3619 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3620 removed (likely outside Emacs). (Bug#11757)
ac87de97 3621
ac10fe06
SM
36222012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3df31c9f 3624 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3625
7f3fbd5d
CY
36262012-06-30 Chong Yidong <cyd@gnu.org>
3627
3628 * xml.el: Implement XML parameter entities.
3629 (xml-parameter-entity-alist): New variable.
3630 (xml-parse-region, xml-parse-fragment): Preserve previous values
3631 of xml-entity-alist and xml-parameter-entity-alist, so that
3632 repeated calls on different documents do not change them.
3633 (xml-parse-tag): Fix doctype regexp.
3634 (xml--entity-replacement-text): New function.
3635 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3636 properly requires url retrieval which is unimplemented.
3637 (xml-escape-string): Doc fix.
3638
3cfbebba
SM
36392012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3642
2af3565e
DA
36432012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3644
3645 * fringe.el (fringe-mode): Doc fix.
3646
929df0e7
MA
36472012-06-29 Michael Albinus <michael.albinus@gmx.de>
3648
3649 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3650 is non-nil.
3651 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3652 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3653
c8d3a25c 36542012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3655
c8d3a25c
GM
3656 * calendar/cal-dst.el (calendar-current-time-zone):
3657 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3658
c8d3a25c 36592012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3660
3661 * progmodes/which-func.el (which-func-format):
3662 Add mouse-face. (Bug#11698)
3663
c8d3a25c
GM
36642012-06-29 Leo Liu <sdl.web@gmail.com>
3665
3666 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3667
36682012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * minibuffer.el (minibuffer-confirm-exit-commands):
3671 Add completion-at-point (bug#11725).
3672
36732012-06-29 Glenn Morris <rgm@gnu.org>
3674
3675 * progmodes/f90.el (f90-font-lock-keywords-2):
3676 Add some preprocessor elements. (Bug#10499)
3677
36782012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3679
3680 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3681 Use syntax-propertize (bug#11739).
3682
2badeec4
JB
36832012-06-28 Juanma Barranquero <lekktu@gmail.com>
3684
3685 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3686
ae4969c2
JD
36872012-06-28 Julien Danjou <julien@danjou.info>
3688
3689 * term.el (term-handle-colors-array): Use a set of new faces to
3690 color the terminal. Also uses :inverse-video property.
3691 (term-default-fg-color): Set to nil by default, deprecate in favor
3692 of `term-face'.
3693 (term-default-bg-color): Set to nil by default, deprecate in favor
3694 of `term-face'.
3695 (term-current-face): Use `term-face' by default.
3696 (term-bold-attribute): Variable deleted.
3697
1c9bd870
GM
36982012-06-28 Glenn Morris <rgm@gnu.org>
3699
3700 * simple.el (completion-list-mode-finish):
3701 Don't use toggle-read-only. (Since completion-list-mode has
3702 a special mode-class, it wasn't doing anything extra anyway.)
3703
c207708c
SM
37042012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 Make inlining of other-mode interpreted functions work (bug#11799).
3707 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3708 (byte-compile): Use it to fix compilation of lexical-binding closures.
3709 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3710 function, if needed.
3711
3fd56834
SM
37122012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3713
04901786
SM
3714 * help-mode.el (help-make-xrefs): Don't just withstand
3715 cyclic-variable-indirection but any error in documentation-property.
3716
1ec4b7b2
SM
3717 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3718 memory use.
3719 * bindings.el (bindings--define-key): New function.
3720 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3721 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3722 * bindings.el: Use it to purecopy define-key bindings.
3723
e309e2a5
SM
3724 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3725
d5c6faf9
SM
3726 * emacs-lisp/cl.el (flet): Mark obsolete.
3727 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3728 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3729 * progmodes/js.el (js-c-fill-paragraph):
3730 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3731 (ebrowse-switch-member-buffer-to-derived-class):
3732 * play/5x5.el (5x5-solver): Use cl-flet.
3733
6e9590e2
SM
3734 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3735 (cl--symbol-function): New macro.
3736 (cl--letf, cl--letf*): Use it.
3737
3fd56834
SM
3738 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3739 Strip "toggle-" if any.
3740
35ff222c
GM
37412012-06-27 Glenn Morris <rgm@gnu.org>
3742
1ba6038a
GM
3743 * info.el (Info-default-directory-list): Move here from paths.el.
3744 * paths.el: Remove file, which is now empty.
3745 * loadup.el: No longer load "paths".
3746
0ea0e51b
GM
3747 * custom.el (custom-initialize-delay): Doc fix.
3748
35ff222c
GM
3749 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3750 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3751 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3752 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3753 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3754 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3755 * eshell/eshell.el (eshell-defgroup): Remove alias.
3756
c89926a5
CY
37572012-06-27 Chong Yidong <cyd@gnu.org>
3758
3759 * help.el (help-enable-auto-load): New variable.
3760
3761 * help-fns.el (help-fns--autoloaded-p): New function.
3762 (describe-function-1): Refer to a function as "autoloaded" if it
3763 was autoloaded at any time in the past. Perform autoloading if
3764 help-enable-auto-load is non-nil.
3765
cc06e7e7
EZ
37662012-06-26 Eli Zaretskii <eliz@gnu.org>
3767
3768 * makefile.w32-in (compile, compile-always): Depend on
3769 update-subdirs, not on subdirs.el. Otherwise, several different
3770 sub-targets of 'bootstrap' running in parallel could
3771 simultaneously write to subdirs.el, producing a garbled file.
3772
d2c32364
SS
37732012-06-26 Sam Steingold <sds@gnu.org>
3774
3775 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3776 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3777 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3778 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3779 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3780 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3781 * textmodes/tex-mode.el: Use it.
3782 Did not touch cedet and org because they are maintained elsewhere.
3783
5cf983b2
MR
37842012-06-26 Martin Rudalics <rudalics@gmx.at>
3785
3786 * calendar/calendar.el (calendar-exit): Don't try to delete or
3787 iconify last frame. See:
3788 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3789
8c4f2952
JD
37902012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3791
3792 * server.el (server-process-filter): Remember dir in the
3793 process's `server-client-directory' properties.
3794
772b2e2c
CY
37952012-06-24 Chong Yidong <cyd@gnu.org>
3796
3797 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3798 non-tag text.
3799
711b11e1
JB
38002012-06-23 Juanma Barranquero <lekktu@gmail.com>
3801
3802 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3803
dc5d230c
SM
38042012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * help-fns.el (describe-variable): Don't croak when doc is not found.
3807 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3808 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3809 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3810 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3811 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3812 ((lambda ..) ..).
3813 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3814
136e1c1d
CY
38152012-06-23 Chong Yidong <cyd@gnu.org>
3816
e8c1cabf
CY
3817 * info.el (Info-mouse-follow-link): Accept symbol values of
3818 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3819 (Info-fontify-node): Use Info-link-keymap for all navigation
3820 buttons, with link-args property to perform the desired action.
3821 (Info-link-keymap): Doc fix.
3822 (Info-next-link-keymap, Info-prev-link-keymap)
3823 (Info-up-link-keymap): Delete now-unused keymaps.
3824
0e9e6c6a
CY
38252012-06-23 Chong Yidong <cyd@gnu.org>
3826
05e89fea
CY
3827 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3828
0e9e6c6a
CY
3829 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3830 system abbrevs.
3831
3832 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3833
e33c6771
SM
38342012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3835
b68581e2
SM
3836 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3837 (bug#11719).
3838
e33c6771
SM
3839 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3840 the requote function doesn't work properly (bug#11714).
3841
7117e105
GM
38422012-06-23 Glenn Morris <rgm@gnu.org>
3843
3844 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3845
36cec983
SM
38462012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 Further GV/CL cleanups.
3849 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3850 gv-expander.
3851 (gv--defun-declaration): New function.
3852 (defun-declarations-alist): Use it.
3853 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3854 (gv-place): Autoload.
3855 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3856 original definition of dotimes and dolist.
3857 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3858 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3859 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3860 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3861 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3862 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3863 to the function's definition.
3864 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3865 * window.el:
3866 * files.el:
3867 * faces.el:
3868 * env.el: Don't use CL.
3869
d35af63c
PE
38702012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3871
3872 Support higher-resolution time stamps (Bug#9000).
3873
3874 * calendar/time-date.el (with-decoded-time-value): New arg
3875 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3876 (encode-time-value): New optional arg PICO. New type 3.
3877 (time-to-seconds) [!float-time]: Support the new picoseconds
3878 component if it's used.
3879 (seconds-to-time, time-subtract, time-add):
3880 Support ps-resolution time stamps as well.
3881
3882 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3883 (timerp): Timer vectors now have length 9, not 8.
3884 (timer--time): Support new-style (4-part) time stamps.
3885 (timer-next-integral-multiple-of-time): Time stamps now have
3886 picosecond resolution, so take a bit more care about rounding.
3887 (timer-relative-time, timer-inc-time): New optional arg psecs.
3888 (timer-set-time-with-usecs): Set psecs to 0.
3889 (timer--activate): Check psecs component, too.
3890
3891 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3892
ac77b21a
SM
38932012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3894
f143bfe3
SM
3895 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3896 Move the non-essential binding to the post/pre-command-hook where it is
3897 more obviously correct.
3898
ac77b21a
SM
3899 * subr.el (read-passwd): Don't use a history at all.
3900 * savehist.el (savehist-save): Remove password saved accidentally
3901 because of the above bug.
3902
76386c5a
BG
39032012-06-22 Bastien Guerry <bzg@gnu.org>
3904
3905 * files.el (toggle-read-only): Display a message telling whether
3906 the buffer is read-only or not (bug#11726).
3907
2ee3d7f0
SM
39082012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * emacs-lisp/gv.el: New file.
3911 * subr.el (push, pop): Extend to generalized variables.
3912 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3913 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3914 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3915 gv-define-simple-setter, and gv-define-expander.
3916 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3917 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3918 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3919 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3920 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3921 gv-letplace.
3922 (cl-defstruct): Don't define setf-method any more.
3923 * emacs-lisp/cl.el (flet): Don't autoload.
3924 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3925 (define-setf-expander, defsetf, define-modify-macro)
3926 (cl-struct-setf-expander): Move from cl-lib.el.
3927 * emacs-lisp/syntax.el:
3928 * emacs-lisp/ewoc.el:
3929 * emacs-lisp/smie.el:
3930 * emacs-lisp/cconv.el:
3931 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3932 (timer--time): Use gv-define-simple-setter.
3933 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3934 to avoid coding-system problems in subr.el. Adjust all users.
3935 (macroexp--maxsize, macroexp-small-p): New functions.
3936 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3937 * scroll-bar.el (scroll-bar-mode):
3938 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3939 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3940 * winner.el (winner-configuration, winner-make-point-alist)
3941 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3942 * files.el (locate-file-completion-table): Avoid list*.
3943
c5695d1d
CY
39442012-06-22 Chong Yidong <cyd@gnu.org>
3945
3946 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3947 (dired-create-files): Doc fix (Bug#11329).
3948 (dired-do-copy): Doc fix (Bug#11334).
3949 (dired-mark-read-string): Doc fix (Bug#11553).
3950
2ee3d7f0
SM
3951 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3952 Doc fix (Bug#11326).
c5695d1d
CY
3953 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3954 (dired-dwim-target): Doc fix.
3955
3956 * wdired.el (wdired-mode): Doc fix.
3957
89b5595a
GM
39582012-06-22 Glenn Morris <rgm@gnu.org>
3959
575db3f1
GM
3960 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3961 (pcmpl-rpm-cache-stamp-file): New constant.
3962 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3963 (pcmpl-rpm-packages): Optionally cache list of packages.
3964
a4c8dd51
GM
3965 * pcmpl-rpm.el (pcmpl-rpm): New group.
3966 (pcmpl-rpm-query-options): New option.
3967 (pcmpl-rpm-packages): No need to inline it.
3968 Use pcmpl-rpm-query-options.
3969
89b5595a
GM
3970 * calendar/calendar.el (calendar-in-read-only-buffer):
3971 Avoid some needless mode changes.
3972
e76f0800
CY
39732012-06-21 Chong Yidong <cyd@gnu.org>
3974
3975 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3976 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3977 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3978
297a8f1d
CY
39792012-06-20 Chong Yidong <cyd@gnu.org>
3980
3981 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3982
d34c18b1
DR
39832012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3984
3985 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3986 (bug#11201).
3987
32f7f28e
CY
39882012-06-20 Chong Yidong <cyd@gnu.org>
3989
3990 * term.el (term-window-width): Handle the case of a missing right
3991 fringe (Bug#8837).
3992 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3993 (term-mode): Use define-derived-mode. Minor cleanups.
3994 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3995 (term-move-columns, term-insert-char, term-emulate-terminal)
3996 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3997
493c6688
MA
39982012-06-20 Michael Albinus <michael.albinus@gmx.de>
3999
d34c18b1
DR
4000 * net/ange-ftp.el (ange-ftp-get-passwd):
4001 Bind `enable-recursive-minibuffers'.
493c6688
MA
4002 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4003
3f06ecf4
DR
40042012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4005
4006 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4007
68f12411
GM
40082012-06-19 Glenn Morris <rgm@gnu.org>
4009
4010 * progmodes/python.el (python-mode): Derive from prog-mode.
4011
b3820318
KG
40122012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4013
4014 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4015 (edt-user-menu-bar-update-buffers): New functions.
4016 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4017
c6bf3022
CY
40182012-06-19 Chong Yidong <cyd@gnu.org>
4019
4020 * subr.el (with-selected-window): Preserve the selected window's
4021 terminal's top-frame (Bug#4702).
4022
4023 * window.el (save-selected-window): Likewise.
4024
25f09295
SM
40252012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * progmodes/python.el (python-rx-constituents): Move backquote.
4028 (python-skeleton-define, python-define-auxiliary-skeleton):
4029 Use `declare'.
4030
6b11952a
MA
40312012-06-18 Michael Albinus <michael.albinus@gmx.de>
4032
4033 * minibuffer.el (read-file-name-default): Revert the patch from
4034 2012-06-17.
4035
ee4b1330
SM
40362012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4039 (pcase--u1, pcase--q1): Don't use apply-partially.
4040
35647f79
GM
40412012-06-18 Glenn Morris <rgm@gnu.org>
4042
4043 * progmodes/python.el (python-proc, python-buffer)
4044 (python-send-receive, python-send-string): Fix obsolete versions.
4045
24b0cff0
MR
40462012-06-18 Martin Rudalics <rudalics@gmx.at>
4047
4048 * window.el (special-display-p): Completely remove stringp
4049 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4050
29855149
MA
40512012-06-17 Michael Albinus <michael.albinus@gmx.de>
4052
4053 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4054
4055 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4056
4057 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4058 * net/tramp-sh.el (tramp-maybe-open-connection):
4059 Throw if `non-essential' is non-nil.
4060
07463363
MR
40612012-06-17 Martin Rudalics <rudalics@gmx.at>
4062
4063 * window.el (special-display-p): Signal an error if BUFFER-NAME
4064 is not a string (Bug#11713).
4065
48d1354e
PE
40662012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4067
4068 * progmodes/python.el (python-info-beginning-of-backslash):
4069 Rename from python-info-beginning-of-backlash, as a spelling fix.
4070
eb4a8a9a
CY
40712012-06-17 Chong Yidong <cyd@gnu.org>
4072
4073 * term.el (term-emulate-terminal): If term-check-size is called,
4074 move point to the process mark without resetting point (Bug#4635).
4075
ddfbf826 40762012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4077
4078 * international/mule-cmds.el (mule-menu-keymap)
4079 (set-language-environment, set-locale-environment): Doc tweaks.
4080
9b0e3eba
AA
40812012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4082
4083 * cus-face.el (custom-face-attributes): Add wave-style underline
4084 attribute.
4085 * faces.el (set-face-attribute): Update docstring to describe
4086 wave-style underline attribute.
4087
771e3eae
CY
40882012-06-16 Chong Yidong <cyd@gnu.org>
4089
4090 * term/xterm.el (terminal-init-xterm): Discard input before
4091 querying background mode (Bug#10959).
4092
7ae2ea10
SM
40932012-06-16 Stefan Merten <smerten@oekonux.de>
4094
4095 * textmodes/rst.el: Added and corrected some comments.
4096 (rst-re-alist-def): Improve symbol syntax.
4097 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4098 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4099 (rst-official-version, rst-official-cvs-rev): Update version
4100 information.
7ae2ea10 4101
b6974efa
JB
41022012-06-15 Juanma Barranquero <lekktu@gmail.com>
4103
4104 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4105 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4106
8826d473
GM
41072012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4108
4109 * progmodes/python.el: New python.el merge.
4110 (python-guess-indent): Obsolete var.
4111 (python-indent-guess-indent-offset): New defcustom.
4112 (python-indent): Obsolete var.
4113 (python-indent-offset): New defcustom.
4114 (python-python-command, python-jython-command): Delete var.
4115 (python-shell-interpreter): New defcustom.
4116 (python-pdbtrack-do-tracking-p): Delete var.
4117 (python-pdbtrack-activate): New defcustom.
4118 (python-use-skeletons): Obsolete var.
4119 (python-skeleton-autoinsert): New defcustom.
4120 (inferior-python-filter-regexp, python-continuation-offset)
4121 (python-honour-comment-indentation, python-indent-string-contents)
4122 (python-jython-packages, python-mode-hook)
4123 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4124 (python-shell-prompt-alist)
4125 (python-source-modes): Delete defcustoms.
4126 (python-check-buffer-name, python-eldoc-setup-code)
4127 (python-eldoc-string-code, python-ffap-setup-code)
4128 (python-ffap-string-code, python-fill-comment-function)
4129 (python-fill-decorator-function, python-fill-paren-function)
4130 (python-fill-string-function, python-imenu-include-defun-type)
4131 (python-imenu-make-tree, python-imenu-subtree-root-label)
4132 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4133 (python-shell-compilation-regexp-alist)
4134 (python-shell-completion-module-string-code)
4135 (python-shell-completion-pdb-string-code)
4136 (python-shell-completion-setup-code)
4137 (python-shell-completion-string-code)
4138 (python-shell-enable-font-lock, python-shell-exec-path)
4139 (python-shell-extra-pythonpaths)
4140 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4141 (python-shell-process-environment)
4142 (python-shell-prompt-block-regexp)
4143 (python-shell-prompt-output-regexp)
4144 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4145 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4146 (python-shell-virtualenv-path): New defcustoms.
4147 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4148 (inferior-python-mode-syntax-table, python--prompt-regexp)
4149 (python-buffer, python-command python-python-command)
4150 (python-default-template, python-imports, python-indent-index)
4151 (python-indent-list, python-indent-list-length)
4152 (python-mode-running, python-pdbtrack-is-tracking-p)
4153 (python-preoutput-continuation, python-preoutput-leftover)
4154 (python-preoutput-result, python-preoutput-skip-next-prompt)
4155 (python-prev-dir/file, python-recursing)
4156 (python-saved-check-command, python-version-checked)
4157 (python-which-func-length-limit)
4158 (view-return-to-alist): Delete vars.
4159 (python-check-custom-command, python-dotty-syntax-table)
4160 (python-imenu-index-alist, python-indent-current-level)
4161 (python-indent-dedenters, python-indent-levels)
4162 (python-nav-beginning-of-defun-regexp)
4163 (python-nav-list-defun-positions-cache)
4164 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4165 (python-shell-internal-buffer)
4166 (python-skeleton-available): New vars.
4167 (def-python-skeleton): Delete macro.
4168 (python-skeleton-define): New macro.
4169 (python-define-auxiliary-skeleton, python-rx): New macros.
4170 (python-insert-class): Delete command.
4171 (python-skeleton-class): New command.
4172 (python-insert-def): Delete command.
4173 (python-skeleton-def): New command.
4174 (python-insert-for): Delete command.
4175 (python-skeleton-for): New command.
4176 (python-insert-if): Delete command.
4177 (python-skeleton-if): New command.
4178 (python-insert-try/except, python-insert-try/finally): Delete commands.
4179 (python-skeleton-try): New command.
4180 (python-insert-while): Delete command.
4181 (python-skeleton-while): New command.
4182 (python-backspace): Delete command.
4183 (python-indent-dedent-line-backspace): New command.
4184 (python-electric-colon): Delete command.
4185 (python-indent-electric-colon): New command.
4186 (python-guess-indent): Delete command.
4187 (python-indent-guess-indent-offset): New command.
4188 (python-shift-left): Delete command.
4189 (python-indent-shift-left): New command.
4190 (python-shift-right): Delete command.
4191 (python-indent-shift-right): New command.
4192 (python-find-function): Delete command.
4193 (python-nav-jump-to-defun): New command.
4194 (python-next-statement): Delete command.
4195 (python-nav-forward-sentence): New command.
4196 (python-previous-statement): Delete command.
4197 (python-nav-backward-sentence): New command.
4198 (python-fill-paragraph): Delete command.
4199 (python-fill-paragraph-function): New command.
4200 (python-send-buffer): Delete command.
4201 (python-shell-send-buffer): New command.
4202 (python-send-defun): Delete command.
4203 (python-shell-send-defun): New command.
4204 (python-send-region, python-send-region-and-go): Delete commands.
4205 (python-shell-send-region)
4206 (python-shell-switch-to-shell): New commands.
4207 (python-send-string): Delete command.
4208 (python-shell-send-string): New command.
4209 (python-switch-to-python): Delete command.
4210 (python-shell-switch-to-shell): New command.
4211 (python-describe-symbol): Delete command.
4212 (python-eldoc-at-point): New command.
4213 (python--set-prompt-regexp, python-args-to-list)
4214 (python-after-info-look, python-check-version)
4215 (python-check-comint-prompt, python-find-imports)
4216 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4217 (python-unload-function, python-expand-template)
4218 (python-maybe-jython, python-preoutput-filter)
4219 (python-pdbtrack-get-source-buffer)
4220 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4221 (python-pdbtrack-toggle-stack-tracking)
4222 (python-pdbtrack-track-stack-file, python-initial-text)
4223 (python-first-word, python-comment-line-p, python-send-command)
4224 (python-setup-brm, python-sentinel, python-set-proc)
4225 (python-skip-out, python-input-filter, python-outdent-p)
4226 (python-outline-level, python-backslash-continuation-line-p)
4227 (python-end-of-block, python-end-of-statement, python-mark-block)
4228 (python-beginning-of-block, python-beginning-of-statement)
4229 (python-blank-line-p, python-beginning-of-string)
4230 (python-open-block-statement-p): Delete functions.
4231 (python-indent-line, python-indent-line-1): Delete functions.
4232 (python-indent-line): New function.
4233 (python-indentation-levels): Delete function.
4234 (python-indent-calculate-levels): New function.
4235 (python-proc): Delete function.
4236 (python-shell-get-process): New function.
4237 (python-send-receive): Delete function.
4238 (python-shell-send-string-no-output): New function.
4239 (python-module-path): Delete function.
4240 (python-ffap-module-path): New function.
4241 (python-completion-at-point)
4242 (python-symbol-completions): Delete functions.
4243 (python-completion-complete-at-point): New function.
4244 (python-load-file): Delete function.
4245 (python-shell-send-file): New function.
4246 (python-calculate-indentation): Delete function.
4247 (python-indent-calculate-indentation): New function.
4248 (python-skip-comments/blanks): Delete function.
4249 (python-util-forward-comment): New function.
4250 (python-continuation-line-p): Delete function.
4251 (python-info-continuation-line-p): New function.
4252 (python-which-func, python-current-defun): Delete function.
4253 (python-info-current-defun): New function.
4254 (python-beginning-of-defun): Delete function.
4255 (python-nav-beginning-of-defun): New function.
4256 (python-close-block-statement-p)
4257 (python-block-end-p): Delete function.
4258 (python-info-closing-block): New function.
4259 (python-comint-output-filter-function)
4260 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4261 (python-fill-comment, python-fill-decorator, python-fill-paren)
4262 (python-fill-string, python-imenu-make-element-tree)
4263 (python-imenu-make-tree, python-imenu-tree-assoc)
4264 (python-indent-context, python-indent-dedent-line)
4265 (python-indent-line-function)
4266 (python-indent-post-self-insert-function)
4267 (python-indent-toggle-levels)
4268 (python-info-assignment-continuation-line-p)
4269 (python-info-beginning-of-backlash)
4270 (python-info-block-continuation-line-p)
4271 (python-info-closing-block-message)
4272 (python-info-line-ends-backslash-p)
4273 (python-info-looking-at-beginning-of-defun)
4274 (python-info-ppss-context, python-info-ppss-context-type)
4275 (python-nav-list-defun-positions, python-nav-read-defun)
4276 (python-nav-sentence-end, python-nav-sentence-start)
4277 (python-pdbtrack-comint-output-filter-function)
4278 (python-pdbtrack-set-tracked-buffer)
4279 (python-shell-calculate-exec-path)
4280 (python-shell-calculate-process-environment)
4281 (python-shell-completion--do-completion-at-point)
4282 (python-shell-completion--get-completions)
4283 (python-shell-completion-complete-at-point)
4284 (python-shell-completion-complete-or-indent)
4285 (python-shell-get-or-create-process)
4286 (python-shell-get-process-name)
4287 (python-shell-internal-get-or-create-process)
4288 (python-shell-internal-get-process-name)
4289 (python-shell-internal-send-string, python-shell-make-comint)
4290 (python-shell-parse-command, python-shell-send-setup-code)
4291 (python-skeleton-add-menu-items)
4292 (python-util-clone-local-variables, python-util-position)
4293 (run-python-internal, python-indentation-levels)
4294 (python-nav-beginning-of-defun)
4295 (python-completion-complete-at-point): New functions.
4296 (run-python): Change arguments. New API requirements.
4297
4302f5ba
SM
42982012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4299
f38ea36d
SM
4300 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4301 (bug#11649).
4302
4303 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4304 (macroexp--expand-all): Use it.
4305
4302f5ba
SM
4306 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4307 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4308 Use `cl-function' instead.
4309
33377562
JB
43102012-06-14 Juanma Barranquero <lekktu@gmail.com>
4311
4312 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4313 Suggested by Stefan Monnier while discussing bug#11657.
4314
54c5ba1a
SS
43152012-06-14 Sam Steingold <sds@gnu.org>
4316
4317 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4318
f9f1b1fe
AS
43192012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4320
4321 * play/doctor.el (doctor-doc): Remove parameter and use
4322 doctor-sent instead of sent.
4323 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4324
a81068ba
SM
43252012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4326
5a315f9c
SM
4327 * files.el: Require cl-lib.
4328 (file-name-non-special): Replace case -> cl-case.
4329
4330 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4331
a81068ba
SM
4332 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4333 mapping from #' to function*.
4334
8cca9703
CY
43352012-06-13 Chong Yidong <cyd@gnu.org>
4336
4337 * mouse.el (mouse-drag-track): Do not set the mark if the user
4338 releases the mouse without selecting anything (Bug#11588).
4339
a12ac9d7
SM
43402012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4341
ccf1dc18
SM
4342 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4343 as well (bug#11646).
4344
ef62b23d
SM
4345 * loadup.el: Count byte-code functions as well.
4346
c4c8444a
SM
4347 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4348 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4349
a12ac9d7
SM
4350 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4351 (bug#11649). Add cl-defun and cl-defmacro.
4352
87e6e64f
DA
43532012-06-13 Drew Adams <drew.adams@oracle.com>
4354
4355 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4356 Fix last change.
4357
682cefaf
MA
43582012-06-13 Michael Albinus <michael.albinus@gmx.de>
4359
4360 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4361 Otherwise, it blocks in batch mode.
4362
773e1f08
JB
43632012-06-13 Juanma Barranquero <lekktu@gmail.com>
4364
4365 * help-mode.el (bookmark-make-record-default): Declare.
4366
60057926
CY
43672012-06-13 Chong Yidong <cyd@gnu.org>
4368
4369 * emacs-lisp/package.el (list-packages): Compute a list of
4370 packages that are newly-available since the last list-packages
4371 invocation.
4372 (package-menu--new-package-list): New var.
4373 (package-menu--generate, package-menu--print-info)
4374 (package-menu--status-predicate, package-menu-mark-install):
4375 Handle new status label "new".
4376
ad4d226c
SM
43772012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4380 conversion to backquotes.
4381
f1a4e679
CY
43822012-06-12 Chong Yidong <cyd@gnu.org>
4383
4384 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4385 Rename from gud-inhibit-global-bindings.
4386
4387 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4388
4389 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4390 hook from nxml-glyph-set-hook.
4391
4392 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4393 declaration.
4394
4395 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4396
4397 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4398 Convert to defcustom.
4399
0c9e42b5
DA
44002012-06-12 Drew Adams <drew.adams@oracle.com>
4401
4402 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4403 New functions.
4404 (help-mode): Use them.
4405
09e06855
GM
44062012-06-11 Glenn Morris <rgm@gnu.org>
4407
4408 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4409 Use preprocessor face for directives.
4410 (fortran-directive-re): Doc fix.
4411
71adb94b
SM
44122012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4413
2eb87922
SM
4414 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4415 conversion to backquotes (bug#11652).
4416
71adb94b
SM
4417 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4418 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4419 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4420 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4421 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4422 (cl-ninth, cl-tenth): Mark them as inlinable.
4423 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4424 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4425 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4426 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4427 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4428 (cl-list*, cl-adjoin): Don't put an autoload manually.
4429 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4430 (cl--compiler-macro-list*): Add autoload cookie.
4431 (cl--compiler-macro-cXXr): New function.
2eb87922 4432
71adb94b
SM
4433 * help-fns.el (help-fns--compiler-macro): New function extracted from
4434 describe-function-1; follow aliases and use `compiler-macro' property.
4435 (describe-function-1): Use it.
4436
a6674402
CY
44372012-06-11 Chong Yidong <cyd@gnu.org>
4438
4439 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4440 is uninstalled, if imagemagick is installed.
4441
bb3faf5b
SM
44422012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4443
4444 * emacs-lisp/cl-lib.el: Use lexical-binding.
4445 (cl-map-extents, cl-maclisp-member): Remove.
4446 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4447 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4448 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4449 * emacs-lisp/cl-extra.el: Use lexical-binding.
4450 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4451 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4452 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4453 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4454 * emacs-lisp/cl-seq.el: Use lexical-binding.
4455 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4456 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4457 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4458 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4459 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4460 CL's internals.
4461
2fe4b125
MA
44622012-06-11 Michael Albinus <michael.albinus@gmx.de>
4463
4464 Sync with Tramp 2.2.6-pre.
4465
4466 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4467 `print-length' and `print-level' to nil, in order to avoid
4468 truncation. Reported by Christopher Schmidt
4469 <christopher@ristopher.com>.
4470
4471 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4472
4473 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4474 New defmacro.
4475 (tramp-compat-copy-directory): Add optional argument
4476 COPY-CONTENTS. It is not handled yet.
4477
4478 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4479 (tramp-ftp-file-name-p): Simplify.
4480
4481 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4482 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4483 connection vector.
4484
4485 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4486 (tramp-methods): Do not use `tramp-password-end-of-line'.
4487 (tramp-completion-function-alist-putty): Handle UNIX case.
4488 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4489 (tramp-do-file-attributes-with-stat)
4490 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4491 gid as real numbers. They could run out of integer range on cygwin.
4492 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4493 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4494 (tramp-open-connection-setup-interactive-shell):
4495 Use `tramp-cleanup'. Move check for busyboxes ...
4496 (tramp-find-shell): ... here. Simplify implementation.
4497 Set "remote-shell" property also for alternative shells.
4498 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4499 If failing, a regular file would be written otherwise.
4500 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4501 (tramp-find-inline-encoding): Cache the coding commands in the
4502 process cache. Apply test command on the remote side, if defined.
4503 (tramp-find-inline-compress): Cache the compress commands in the
4504 process cache.
4505 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4506 when requested. Handle hops.
4507 (tramp-current-connection): New defvar.
87e6e64f
DA
4508 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4509 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4510 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4511 (tramp-get-inline-compress, tramp-get-inline-coding):
4512 Read connection properties from the process cache.
2fe4b125
MA
4513
4514 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4515 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4516 New defconsts.
2fe4b125
MA
4517 (tramp-smb-prompt): Extend for powershell prompt.
4518 (tramp-smb-file-name-handler-alist): Add handlers for
4519 `process-file', `shell-command' and `start-file-process'.
4520 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4521 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4522 (tramp-smb-file-name-p): Simplify.
4523 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4524 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4525 (tramp-smb-shell-quote-argument): New defuns.
4526 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4527 Implement using "tar". By this, time-stamps are preserved.
4528 (tramp-smb-handle-copy-file): Handle also the case of directories.
4529 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4530 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4531 Use `tramp-get-connection-buffer').
2fe4b125
MA
4532 (tramp-smb-handle-rename-file): Use "rename", when source and
4533 target are on the same share.
87e6e64f
DA
4534 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4535 Use `tramp-smb-server-version'.
2fe4b125
MA
4536 (tramp-smb-wait-for-output): Remove prompt.
4537
4538 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4539 (tramp-methods, tramp-rsh-end-of-line):
4540 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4541 (tramp-save-ad-hoc-proxies): New defcustom.
4542 (tramp-completion-function-alist): Adapt docstring.
4543 (tramp-default-password-end-of-line): Remove defcustom.
4544 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4545 (tramp-user-regexp, tramp-file-name-regexp-unified)
4546 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4547 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4548 (tramp-remote-file-name-spec-regexp): New defconst.
4549 (tramp-file-name-structure): Extend structure for hops.
4550 (tramp-get-method-parameter): Move up.
4551 (tramp-file-name-p, tramp-dissect-file-name)
4552 (with-parsed-tramp-file-name): Handle hops.
4553 (tramp-file-name-hop): New defun.
4554 (tramp-make-tramp-file-name): New optional arg HOP.
4555 (tramp-message-show-progress-reporter-message): New defvar.
4556 (tramp-with-progress-reporter): Use it. We cannot use
4557 `tramp-message-show-message' here, because this suppresses also
4558 error buffers.
4559 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4560 `tramp-message-show-message' is nil.
4561 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4562 (tramp-cleanup): New defun.
4563 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4564 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4565 an error unchanged.
4566 (tramp-completion-handle-file-name-all-completions): Handle hops.
4567 Fix an error when called from ido.
4568 (tramp-completion-dissect-file-name): Use better local variable
4569 name. Add hop to the vector.
4570 (tramp-handle-insert-file-contents): Use progress-reporter for the
4571 whole scenario.
4572 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4573 to `t'.
4574 (tramp-check-for-regexp): Simplify search.
4575 (tramp-enter-password): Remove it. Move implementation ...
4576 (tramp-action-password): ... here.
4577 (tramp-mode-string-to-int, tramp-local-host-p)
4578 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4579 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4580 Set tramp-autoload cookie.
2fe4b125
MA
4581
4582 * net/trampver.el: Update release number.
4583
45842012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4585 Michael Albinus <michael.albinus@gmx.de>
4586
4587 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4588 (tramp-parse-group, tramp-parse-file)
4589 (tramp-parse-shostkeys-sknownhosts): New defuns.
4590 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4591 (tramp-parse-shosts-group, tramp-parse-sconfig)
4592 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4593 (tramp-parse-sknownhosts, tramp-parse-hosts)
4594 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4595 Use them.
4596 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4597 (tramp-parse-putty-group): Don't narrow.
4598 (tramp-parse-putty): Make a loop.
4599 (tramp-file-name-handler): Catch the `suppress' signal.
4600
72834e10
CY
46012012-06-11 Chong Yidong <cyd@gnu.org>
4602
4603 * image.el (imagemagick-register-types): Put the ImageMagick entry
4604 at the end of image-type-file-name-regexps.
4605
a4712e11
JB
46062012-06-11 Johan Bockgård <bojohan@gnu.org>
4607
4608 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4609 (pcase, pcase-let*, pcase-dolist): Use them.
4610
82ad98e3
SM
46112012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * emacs-lisp/pcase.el (pcase--let*): New function.
4614 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4615 (pcase--expand): Use macroexp-let².
4616
f80efb86
SM
46172012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4618
4619 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4620 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4621 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4622 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4623 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4624 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4625
31ca4639 46262012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4627
31ca4639
CY
4628 * mail/rmail.el (rmail-yank-current-message): Leave point at
4629 correct position. (Bug#11660)
94f0aa34 4630
31ca4639 46312012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4632
31ca4639 4633 * allout-widgets.el: Fix code header.
9e1b8ec4 4634
31ca4639 46352012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4636
f80efb86
SM
4637 * cus-edit.el (customize-changed-options-previous-release):
4638 Bump to 24.1.
31ca4639 4639
642b6d30
AS
46402012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4641
4642 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4643
4f5d2ba1
CY
46442012-06-09 Chong Yidong <cyd@gnu.org>
4645
4646 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4647
e75852fd
MR
46482012-06-09 Martin Rudalics <rudalics@gmx.at>
4649
4650 * window.el (special-display-popup-frame): Don't use
4651 window--display-buffer (Bug#11651).
4652
1e48e282
EZ
46532012-06-09 Eli Zaretskii <eliz@gnu.org>
4654
8a26b487
EZ
4655 Fix parallel builds: make sure loaddefs.el is not being written
4656 while Lisp files are compiled.
4657 (compile): Don't depend on 'mh-autoloads'.
4658 (compile-CMD, compile-SH): Depend on 'autoloads'.
4659 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4660
1e48e282
EZ
4661 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4662
6175e34b
CY
46632012-06-09 Chong Yidong <cyd@gnu.org>
4664
4665 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4666 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4667 Doc fixes (Bug#11225).
4668
d9857e53
SM
46692012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4672 a function if there's a clear indication that it has a compiler-macro.
4673 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4674 (macro-declarations-alist): Add arglist to declaration functions.
4675 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4676 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4677 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4678 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4679 Also add autoload to find the compiler macro.
4680 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4681 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4682 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4683 (cl--compiler-macro-get): New functions, replacing calls to
4684 cl-define-compiler-macro.
4685 (cl-typep) [compiler-macro]: Use macroexp-let².
4686
f81298f8 46872012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4688
4689 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4690 string properly, fixes Bug#11473.
4691
4b56d0fe
CY
46922012-06-08 Chong Yidong <cyd@gnu.org>
4693
4694 * faces.el (set-face-attribute): Doc fix.
4695 (modify-face): Don't use :bold and :italic.
4696 (error, warning, success): Tweak definitions.
4697
4698 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4699 (custom-modified, custom-set, custom-changed, custom-themed)
4700 (custom-saved, custom-button, custom-button-mouse)
4701 (custom-button-pressed, custom-state, custom-comment-tag)
4702 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4703 (custom-group-subtitle): Use new-style face specs.
4704 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4705 (custom-set-face, custom-changed-face, custom-saved-face)
4706 (custom-button-face, custom-button-pressed-face)
4707 (custom-documentation-face, custom-state-face)
4708 (custom-comment-face, custom-comment-tag-face)
4709 (custom-variable-tag-face, custom-variable-button-face)
4710 (custom-face-tag-face, custom-group-tag-face-1)
4711 (custom-group-tag-face): Remove obsolete face alias.
4712
4713 * epa.el (epa-validity-high, epa-validity-medium)
4714 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4715 (epa-field-name, epa-field-body):
4716 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4717 (font-lock-keyword-face, font-lock-builtin-face)
4718 (font-lock-function-name-face, font-lock-variable-name-face)
4719 (font-lock-type-face, font-lock-constant-face):
4720 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4721 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4722 * speedbar.el (speedbar-button-face, speedbar-file-face)
4723 (speedbar-directory-face, speedbar-tag-face)
4724 (speedbar-selected-face, speedbar-highlight-face)
4725 (speedbar-separator-face):
4726 * whitespace.el (whitespace-newline, whitespace-space)
4727 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4728 (whitespace-line, whitespace-space-before-tab)
4729 (whitespace-space-after-tab, whitespace-indentation)
4730 (whitespace-empty):
4731 * emulation/cua-base.el (cua-global-mark):
4732 * eshell/em-prompt.el (eshell-prompt):
4733 * net/newst-plainview.el (newsticker-new-item-face)
4734 (newsticker-old-item-face, newsticker-immortal-item-face)
4735 (newsticker-obsolete-item-face, newsticker-date-face)
4736 (newsticker-statistics-face, newsticker-default-face):
4737 * net/newst-reader.el (newsticker-feed-face)
4738 (newsticker-extra-face, newsticker-enclosure-face):
4739 * net/newst-treeview.el (newsticker-treeview-face)
4740 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4741 (newsticker-treeview-immortal-face)
4742 (newsticker-treeview-obsolete-face)
4743 (newsticker-treeview-selection-face):
4744 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4745 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4746 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4747 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4748 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4749 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4750 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4751 (mpuz-text):
4752 * progmodes/vera-mode.el (vera-font-lock-number)
4753 (vera-font-lock-function, vera-font-lock-interface):
4754 * textmodes/table.el (table-cell): Use new-style face specs, and
4755 don't use the old :bold and :italic attributes.
4756
4757 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4758 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4759 (ebrowse-member-class, ebrowse-progress): Likewise.
4760 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4761 (ebrowse-file-name-face, ebrowse-default-face)
4762 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4763 (ebrowse-progress-face): Remove obsolete faces.
4764
4765 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4766 Inherit from error and warning faces respectively.
4767
4768 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4769 Likewise.
f80efb86
SM
4770 (flyspell-incorrect-face, flyspell-duplicate-face):
4771 Remove obsolete aliases.
4b56d0fe 4772
03310646
MA
47732012-06-08 Michael Albinus <michael.albinus@gmx.de>
4774
4775 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4776 Avoid infloop.
4777
513749ee
SM
47782012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * startup.el (argv, argi): Make lexically scoped.
4781 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4782 * emacs-lisp/cl-macs.el: Use lexical-binding.
4783 Rename cl-bind-* to cl--bind-*.
4784 * files.el: Don't require `cl' since it doesn't use it.
4785 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4786
595ef4ad
JB
47872012-06-08 Juanma Barranquero <lekktu@gmail.com>
4788
4789 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4790 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4791 instead of calling external sort utility.
4792 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4793
e9f66fcb
EZ
47942012-06-08 Eli Zaretskii <eliz@gnu.org>
4795
4796 * descr-text.el (describe-char): Mention how to insert the
4797 character, if the current input method doesn't support it.
4798 See the discussion in this thread for the details:
4799 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4800
3d10db47
SS
48012012-06-08 Sam Steingold <sds@gnu.org>
4802
4803 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4804 XF86Back to previous-buffer.
4805 (minibuffer-local-map): Bind them to next-history-element and
4806 previous-history-element respectively.
4807 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4808 help-go-back respectively.
4809 * info.el (Info-mode-map): Bind them to Info-history-forward and
4810 Info-history-back respectively.
4811 These are the keys next to Up on the ThinkPad keyboard.
4812
de7e2b36
SM
48132012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4816 * emacs-lisp/cl-macs.el: Provide itself.
4817 (cl--labels-convert-cache): New var.
4818 (cl--labels-convert): New function.
4819 (cl-flet, cl-labels): New implementation with new semantics, relying on
4820 lexical-binding.
4821 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4822 (cl-closure-vars, cl--function-convert-cache)
4823 (cl--function-convert): Move from cl-macs.el.
4824 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4825 rename by removing the "cl-" prefix.
4826 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4827
6fa6c4ae
SM
48282012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4831 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4832 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4833 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4834 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4835 (cl-hash-table-count): Add old compatibility aliases.
4836
4837 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4838 Use macroexpand-all-environment instead.
4839 (cl--old-macroexpand): New var.
4840 (cl--sm-macroexpand): New function.
4841 (cl-symbol-macrolet): Use it during macro expansion.
4842 (cl--function-convert-cache): New var.
4843 (cl--function-convert): New function, extracted from
4844 cl-macroexpand-all.
4845 (cl-lexical-let): Use it.
4846
4847 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4848 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4849 (cl-member): Remove old alias.
4850
4851 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4852 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4853 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4854 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4855 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4856 (cl-macroexpand-cmacs): Remove var.
4857 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4858 Use macroexpand-all instead.
4859
4dd1c416
SM
48602012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4863 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4864 (macroexp-copyable-p): New functions and macros.
4865 * emacs-lisp/edebug.el (edebug-unwrap):
4866 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4867 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4868 (pcase--let*): Remove.
4869 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4870 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4871 macroexp-const-p instead.
4872 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4873
4874 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4875 instead of "cl-" for internal definitions. Use macroexp-const-p.
4876 (cl-old-bc-file-form): Remove var.
4877 (cl-const-exprs-p): Remove fun.
4878 (cl-labels, cl-macrolet): Use backquote.
4879 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4880 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4881 (cl-define-setf-expander): Rename from cl-define-setf-method.
4882 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4883
4884 * international/mule-cmds.el: Don't require CL.
4885 (view-hello-file): Don't use `letf'.
4886
ed8bd4d7
SM
48872012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4888
7287f2f3
SM
4889 * tmm.el (tmm-prompt): Use string-prefix-p.
4890 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4891 (tmm-add-prompt): Use minibuffer-completion-help.
4892 (tmm-delete-map): Remove.
4893
ed8bd4d7
SM
4894 * subr.el (kbd): Make it its own function.
4895
7b4cdbf4
SM
48962012-06-07 Stefan Merten <smerten@oekonux.de>
4897
4898 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4899 Silence compiler warnings. Fix versions.
ed8bd4d7 4900 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4901 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4902 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4903 (rst-package-emacs-version-alist): Correct Emacs version to
4904 represent major merge with upstream.
ed8bd4d7 4905 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4906
2b48d721
GM
49072012-06-06 Glenn Morris <rgm@gnu.org>
4908
4909 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4910 Only print environment variables if set.
4911
fa779ab0
SM
49122012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4915 (macroexp--cons): Rename from maybe-cons.
4916 (macroexp--accumulate): Rename from macroexp-accumulate.
4917 (macroexp--all-forms): Rename from macroexpand-all-forms.
4918 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4919 (macroexp--expand-all): Rename from macroexpand-all-1.
4920
628299e0
SS
49212012-06-06 Sam Steingold <sds@gnu.org>
4922
4923 * calendar/calendar.el (calendar-in-read-only-buffer):
4924 Call `special-mode' to enable the standard read-only keybindings.
4925
b7bb5838
SM
49262012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4929 with "loading" messages (bug#11635).
4930
dfb308ba
MA
49312012-06-06 Michael Albinus <michael.albinus@gmx.de>
4932
4933 * files.el (enable-remote-dir-locals): New option.
4934 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4935
0372ee92
MA
4936 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4937 Ensure, that the temp directory is local.
4938
4939 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4940 `temporary-file-directory'.
4941
eed0bb91
MA
4942 * progmodes/python.el (python-send-region): Ensure, that the
4943 temporary file is created also in the remote case.
4944
7a58f64d
GM
49452012-06-06 Glenn Morris <rgm@gnu.org>
4946
f7dd4e98
GM
4947 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4948 (vc-rcs-update-changelog): Use it.
4949
090bd7cb 4950 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4951
7a58f64d
GM
4952 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4953 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4954 (vc-sccs-diff): Replace use of the external vcdiff script.
4955
daed4003
GM
49562012-06-05 Glenn Morris <rgm@gnu.org>
4957
4958 * ledit.el: Move to obsolete/.
4959
48c455c7
SS
49602012-06-05 Sam Steingold <sds@gnu.org>
4961
ed9265fc 4962 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4963 patch (Bug#11140).
4964
57a7d507
SM
49652012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4966
090bd7cb 4967 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4968
53aacf21
SM
4969 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4970 compiler-macro expansion.
4971
57a7d507
SM
4972 Add native compiler-macro support.
4973 * emacs-lisp/macroexp.el (macroexpand-all-1):
4974 Support compiler-macros directly. Properly follow aliases and apply
4975 the compiler macros more thoroughly.
4976 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4977 macroexpand now properly follows aliases.
4978 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4979 (cl-compiler-macroexpand): Use new prop.
4980 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4981
4982 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4983
51a5f9d8
MR
49842012-06-05 Martin Rudalics <rudalics@gmx.at>
4985
4986 * window.el (get-lru-window, get-mru-window, get-largest-window):
4987 New argument NOT-SELECTED to avoid picking the selected window.
4988 (window--display-buffer-1, window--display-buffer-2): Replace by
4989 new function window--display-buffer
4990 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4991 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4992 Use window--display-buffer.
51a5f9d8
MR
4993 (display-buffer-use-some-window): Remove temporary dedication
4994 hack by calling get-lru-window and get-largest-window with
4995 NOT-SELECTED argument non-nil. Call window--display-buffer.
4996
08f9f738
GM
49972012-06-05 Glenn Morris <rgm@gnu.org>
4998
4999 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5000 Replace external vcdiff script.
5001
e364a2b7
SM
50022012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5005
041df390
CY
50062012-06-04 Chong Yidong <cyd@gnu.org>
5007
e364a2b7
SM
5008 * image.el (imagemagick-types-inhibit): Revert last change.
5009 Add INFO and M.
47b36b94 5010 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5011
7c1898a7
SM
50122012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * emacs-lisp/cl-lib.el: Rename from cl.el.
5015 * emacs-lisp/cl.el: New compatibility file.
5016 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5017 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5018 to obey the "cl-" prefix.
5019 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5020
0c3461de
GM
50212012-06-03 Glenn Morris <rgm@gnu.org>
5022
1e266c88
GM
5023 * emacs-lisp/authors.el (authors-aliases): Addition.
5024
0c3461de
GM
5025 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5026 Fix :version.
5027
d8a52e15
SM
50282012-06-03 Stefan Merten <smerten@oekonux.de>
5029
5030 * textmodes/rst.el: Add comments.
5031 (rst-transition, rst-adornment): New faces.
5032 (rst-adornment-faces-alist): Make default safe to reevaluate.
5033 Fixes
5034 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5035 Improve customization tags.
5036 (rst-define-level-faces): Clarify meaning.
5037
5205d6f6
CY
50382012-06-03 Chong Yidong <cyd@gnu.org>
5039
5040 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5041 (compilation-mode-line-run, compilation-mode-line-exit):
5042 New faces.
5205d6f6
CY
5043 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5044
757ee657
JD
50452012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5046
7c1898a7
SM
5047 * progmodes/which-func.el (which-func-update-ediff-windows):
5048 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5049
5f2c76c6
CY
50502012-06-03 Chong Yidong <cyd@gnu.org>
5051
5052 * bindings.el: Remove explicit help text from format-mode-line.
5053 It is now supplied by mode-line-default-help-echo.
5054 (mode-line-front-space, mode-line-end-spaces)
5055 (mode-line-misc-info): New variables.
5056 (mode-line-modes, mode-line-position): Move the default value to
5057 the variable definition.
5058 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5059 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5060 (mode-line-modified-help-echo): New functions.
5061 (mode-line-mule-info, mode-line-modified): Use them.
5062 (mode-line-eol-desc, propertized-buffer-identification):
5063 Consistency fixes for help text.
cbe46e5f
CY
5064 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5065 set-buffer-file-coding-system (Bug#289).
5066 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5067
f2d6a3df
SM
50682012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * simple.el (execute-extended-command): Set real-this-command
5071 (bug#11506).
5072
37269466
CY
50732012-06-02 Chong Yidong <cyd@gnu.org>
5074
5075 Remove incorrect uses of "modeline" in comments, docstrings, and
5076 function/variable names (Bug#10329).
5077
5078 * cus-edit.el (mode-line):
5079 * dframe.el (dframe-mouse-hscroll):
5080 * emacs-lisp/re-builder.el:
5081 * emacs-lisp/easy-mmode.el (define-minor-mode):
5082 * frame.el (set-frame-name):
5083 * help.el (lookup-minor-mode-from-indicator):
5084 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5085 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5086 (c-toggle-hungry-state):
5087 * progmodes/antlr-mode.el (antlr-language-alist):
5088 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5089 * progmodes/vhdl-mode.el (vhdl-mode):
5090 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5091 * term/ns-win.el (ns-face-at-pos):
5092 * term/sup-mouse.el (sup-mouse-report):
5093 * textmodes/flyspell.el (flyspell-mode-line-string):
5094 * textmodes/ispell.el (ispell-highlight-face):
5095 * textmodes/reftex-global.el:
5096 * vc/vc-arch.el (vc-arch-mode-line-string):
5097 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5098 * vc/vc-git.el (vc-git-mode-line-string):
5099 * vc/vc-hooks.el (vc-display-status)
5100 (vc-default-mode-line-string):
5101 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5102
5103 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5104
5105 * dired.el (dired-sort-set-mode-line): Rename from
5106 dired-sort-set-modeline. All callers changed.
5107
5108 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5109 eshell-status-in-modeline.
5110
5111 * foldout.el (foldout-mode-line-string): Rename from
5112 foldout-modeline-string. All callers changed.
5113 (foldout-update-mode-line): Rename from foldout-update-modeline.
5114
5115 * subr.el (redraw-modeline): Make into obsolete alias.
5116
5117 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5118 timeclock-modeline-display. Make old name an alias.
5119 (timeclock-update-mode-line): Likewise. All callers changed.
5120 (timeclock-mode-line-display): No need to check before using
5121 add-hook.
5122 (timeclock-relative, timeclock-day-over-hook)
5123 (timeclock-use-elapsed, timeclock-mode-string)
5124 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5125
5126 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5127 crisp-mode-modeline-string.
5128
5129 * play/solitaire.el (solitaire-build-mode-line): Rename from
5130 solitaire-build-modeline. All callers changed.
5131
5132 * play/zone.el (zone-hiding-mode-line): Rename from
5133 zone-hiding-modeline. All callers changed.
5134 (zone): Remove unusued `modeline-hidden-level' property.
5135
5136 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5137 xscheme-modeline-initialize. All callers changed.
5138
5139 * strokes.el (strokes-lighter): Rename from
5140 strokes-modeline-string.
5141
5142 * textmodes/sgml-mode.el (html-face-tag-alist)
5143 (html-tag-face-alist): Use mode-line face instead of obsolete
5144 alias modeline.
5145
42152ee4
SM
51462012-06-02 Stefan Merten <smerten@oekonux.de>
5147
5148 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5149 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5150
95f520b5
CY
51512012-06-02 Chong Yidong <cyd@gnu.org>
5152
5153 * image.el (imagemagick-enabled-types): Rename from
5154 imagemagick-types-enable. Add many more types.
5155 (imagemagick-types-inhibit): Change default to nil.
5156 (imagemagick-filter-types): Caller changed.
5157
4a5f187a
SM
51582012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5159
03fef3e6
SM
5160 * emacs-lisp/cl-macs.el: Use backquotes.
5161 (cl-transform-function-property): Use eval-and-compile rather than
5162 abusing `require'.
5163 (defstruct): Use declare-function instead of with-no-warnings.
5164
4a5f187a
SM
5165 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5166 (byte-compile-output-docform): Re-add the print-circle bindings.
5167 (byte-compile-fix-header): Use #$ just because it's shorter.
5168 (byte-compile-output-file-form): Remove defun/defmacro.
5169
bd56924f
MR
51702012-06-01 Martin Rudalics <rudalics@gmx.at>
5171
5172 * simple.el (choose-completion): Remove now obsolete binding for
5173 owindow.
5174
046e38ce
MA
51752012-06-01 Michael Albinus <michael.albinus@gmx.de>
5176
5177 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5178 in order to avoid "Stack overflow in regexp matcher".
5179
32d72c2f
GM
51802012-05-31 Glenn Morris <rgm@gnu.org>
5181
5182 * image.el: For clarity, call imagemagick-register-types at
5183 top-level, rather than relying on a custom :initialize.
5184 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5185 (imagemagick-filter-types): New function. (Bug#7406)
5186 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5187 If disabling support, remove elements altogether rather
5188 than using an impossible regexp.
5189 (imagemagick-types-inhibit): Give it the default init function.
5190
dd41169b
SM
51912012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5192
4a5f187a
SM
5193 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5194 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5195
efc00ab1 51962012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5197
5198 * desktop.el (desktop-read): Clear previous and next buffers for
5199 all windows and bury *Messages* buffer (bug#11556).
5200
500fcedc
SM
52012012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 Add `declare' for `defun'. Align `defmacro's with it.
5204 * emacs-lisp/easy-mmode.el (define-minor-mode)
5205 (define-globalized-minor-mode): Don't autoload the var definitions.
5206 * emacs-lisp/byte-run.el: Use lexical-binding.
5207 (defun-declarations-alist, macro-declarations-alist): New vars.
5208 (defmacro, defun): Use them.
5209 (make-obsolete, define-obsolete-function-alias)
5210 (make-obsolete-variable, define-obsolete-variable-alias):
5211 Use `declare'.
5212 (macro-declaration-function): Mark obsolete.
5213 * emacs-lisp/autoload.el: Use lexical-binding.
5214 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5215
6e8a1786
AM
52162012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5217
5218 * textmodes/ispell.el (ispell-with-no-warnings):
5219 Define as a macro.
500fcedc
SM
5220 (ispell-kill-ispell, ispell-change-dictionary):
5221 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5222 `interactive-p'.
5223
61b108cc
SM
52242012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5225
5226 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5227 (macro-declaration-function): Move var from C code.
5228 (macro-declaration-function): Define function with defalias.
5229 * emacs-lisp/macroexp.el (macroexpand-all-1):
5230 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5231 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5232 defun/defmacro any more.
5233 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5234 Provide fallback for unknown arglist.
5235 (byte-compile-arglist-warn): Change calling convention.
5236 (byte-compile-output-file-form): Move print-vars binding.
5237 (byte-compile-output-docform): Simplify accordingly.
5238 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5239 (byte-compile-defmacro-declaration): Remove.
5240 (byte-compile-file-form-defmumble): Generalize to defalias.
5241 (byte-compile-output-as-comment): Return byte-positions.
5242 Simplify callers accordingly.
5243 (byte-compile-lambda): Use `assert'.
5244 (byte-compile-defun, byte-compile-defmacro): Remove.
5245 (byte-compile-file-form-defalias):
5246 Use byte-compile-file-form-defmumble.
5247 (byte-compile-defalias-warn): Remove.
5248
6d3f7c2f
SM
52492012-05-29 Stefan Merten <smerten@oekonux.de>
5250
5251 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5252 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5253
5254 (rst-mode-abbrev-table): Merge definition.
5255 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5256 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5257
6dbaa1c7
UJ
52582012-05-29 Ulf Jasper <ulf.jasper@web.de>
5259
5260 * calendar/icalendar.el
5261 (icalendar-export-region): Export UID properly.
5262
d209e2fb 52632012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5264 * calendar/icalendar.el (icalendar-import-format):
5265 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5266 (icalendar-import-format-uid): New.
5267 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5268 Export UID.
5269
6876a58d
SM
52702012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5273 different alternative patterns.
5274 (pcase-codegen): Be more careful to preserve identity.
5275 (pcase--u1): Don't forget to mark vars as used.
5276
5277 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5278 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5279 (byte-compile-from-buffer): ...rather than here.
5280
5281 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5282 functions from byte-compile-function-environment.
5283
46b7967e
TN
52842012-05-29 Troels Nielsen <bn.troels@gmail.com>
5285
5286 * window.el (window-deletable-p): Avoid deleting the root window
5287 of a frame with an active minibuffer.
5288
69d565e2
MR
52892012-05-29 Martin Rudalics <rudalics@gmx.at>
5290
5291 * simple.el (choose-completion): Use quit-window (Bug#11567).
5292
a149fa51
CY
52932012-05-29 Chong Yidong <cyd@gnu.org>
5294
5295 * whitespace.el (whitespace-cleanup): Fix usage of
5296 whitespace-empty-at-bob-regexp (Bug#11492).
5297
2b311310
AH
52982012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5299
5300 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5301 revert (Bug#11488).
5302
b9cb2387
JL
53032012-05-29 Juri Linkov <juri@jurta.org>
5304
5305 * isearch.el (isearch-mode-map): Bind `M-s _' to
5306 `isearch-toggle-symbol'. Bind `M-s c' to
5307 `isearch-toggle-case-fold'.
5308 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5309 (isearch-forward): Add `M-s _' to the docstring.
5310 (isearch-forward-symbol, isearch-toggle-case-fold)
5311 (isearch-symbol-regexp): New functions. (Bug#11381)
5312
d5e61c1c
JL
53132012-05-29 Juri Linkov <juri@jurta.org>
5314
5315 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5316 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5317 a function, call it to get the regexp.
5318 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5319 property `isearch-message-prefix' instead of the string "word ".
5320 (isearch-search-fun-default): For the case of `isearch-word',
5321 return a lambda that calls re-search-forward/re-search-backward
5322 with a regexp returned by `word-search-regexp' or by the function
5323 in `isearch-word'.
5324
8cbd80f7
JL
53252012-05-29 Juri Linkov <juri@jurta.org>
5326
5327 * isearch.el (isearch-search-fun-default): New function.
5328 (isearch-search-fun): Move default part to the new function
5329 `isearch-search-fun-default'.
5330 (isearch-search-fun-function): Set the default value to
5331 `isearch-search-fun-default'. (Bug#11381)
5332
5333 * comint.el (comint-history-isearch-end):
5334 Use `isearch-search-fun-default'.
5335 (comint-history-isearch-search): Use `isearch-search-fun-default'
5336 and remove spacial case for `isearch-word'.
5337 (comint-history-isearch-wrap): Remove spacial case for
5338 `isearch-word'.
5339
5340 * hexl.el (hexl-isearch-search-function):
5341 Use `isearch-search-fun-default'.
5342
5343 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5344 Use `word-search-regexp' for `isearch-word'.
5345
5346 * misearch.el (multi-isearch-search-fun):
5347 Use `isearch-search-fun-default'.
5348
5349 * simple.el (minibuffer-history-isearch-search):
5350 Use `isearch-search-fun-default' and remove spacial case for
5351 `isearch-word'.
5352 (minibuffer-history-isearch-wrap): Remove spacial case for
5353 `isearch-word'.
5354
5355 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5356 Remove spacial case for `isearch-word'.
5357 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5358
85c8c5b6
AM
53592012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5360
5361 Decrease XEmacs incompatibilities.
5362 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5363 Use `string-match'.
5364 (flyspell-delete-region-overlays): Use alternative definition for
5365 XEmacs.
5366 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5367 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5368 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5369 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5370 `define-obsolete-face-alias' under XEmacs, but old method.
5371
5372 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5373 `with-no-warnings' definition or Emacs alias.
5374 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5375 (ispell-word): Do not use `region-p' if XEmacs.
5376
8cab9efc
AM
53772012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5378
5379 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5380 Check for `ispell-dictionary-base-alist' instead of full
5381 `ispell-dictionary-alist'.
5382 (ispell-init-process): Show spellchecker when starting new Ispell
5383 process.
5384
fda91268
RZ
53852012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5388 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5389
694ea8e3
JB
53902012-05-27 Juanma Barranquero <lekktu@gmail.com>
5391
5392 * version.el (motif-version-string, gtk-version-string)
5393 (ns-version-string): Declare.
5394
e4d4f539
JL
53952012-05-27 Juri Linkov <juri@jurta.org>
5396
5397 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5398 after the `eval-defun-1' specialcaseing
5399 like in `edebug-eval-defun' (bug#10181).
5400
5401 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5402 like in `eval-defun-1'.
5403
33017faf 54042012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5405
fda91268
RZ
5406 * mail/sendmail.el (mail-yank-region):
5407 Recognize rmail-yank-current-message in addition to insert-buffer.
5408 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5409 a *mail* buffer created through rmail-start-mail with sendmail as
5410 mail-user-agent.
5411
33017faf
GM
54122012-05-27 Chong Yidong <cyd@gnu.org>
5413
5414 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5415 Default to 256 (Bug#11267).
5416
5417 * help.el (describe-mode): Doc fix.
5418
04188bb9
GM
54192012-05-26 Glenn Morris <rgm@gnu.org>
5420
38264cc9
GM
5421 * w32-fns.el (w32-init-info): Remove.
5422 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5423
eb7afdad
GM
5424 * info.el (info-initialize): For self-contained NS builds, put the
5425 included info/ directory at the front. (Bug#2791)
5426
04188bb9
GM
5427 * paths.el (Info-default-directory-list): Make it a defcustom,
5428 mainly so that we can use custom-initialize-delay.
5429
a179e3f7
SM
54302012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5431
43416392
SM
5432 * subr.el (buffer-has-markers-at): Mark obsolete.
5433
a179e3f7 5434 * subr.el (lambda): Use declare.
43416392 5435
a179e3f7
SM
5436 * emacs-lisp/lisp-mode.el (lambda):
5437 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5438
34a008d9
AH
54392012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5440
5441 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5442
0a3b289f
GM
54432012-05-26 Glenn Morris <rgm@gnu.org>
5444
5445 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5446
758c81e8
GM
54472012-05-25 Glenn Morris <rgm@gnu.org>
5448
f9f334f0
GM
5449 * paths.el: Remove no-byte-compile.
5450 * loadup.el: No need to load paths.el uncompiled.
5451
87eb79c2
GM
5452 * image.el (imagemagick-types-inhibit): Doc fix.
5453
758c81e8
GM
5454 * version.el: Remove no-byte-compile and associated formatting.
5455 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5456 is ancient code from when there was an "inc-vers.el".
5457
e7e85dc0
SM
54582012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5459
5460 * progmodes/gdb-mi.el: Minor style changes.
5461 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5462 Turn into minor modes.
5463 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5464 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5465 (gdb-shell): Remove unneeded let-binding.
5466 (gdb-get-many-fields): Eliminate O(n²) behavior.
5467
f31237a4
EZ
54682012-05-25 Eli Zaretskii <eliz@gnu.org>
5469
5470 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5471 platforms that don't link in fontset.c.
5472
bc1b21bb
JL
54732012-05-25 Juri Linkov <juri@jurta.org>
5474
5475 Use the same diff color scheme as in modern VCSes (bug#10181).
5476
5477 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5478 to avoid confusion with `diff-added' that now uses green colors.
5479 (diff-removed): Use shades of red.
5480 (diff-added): Use shades of green.
5481 (diff-changed): Leave just the yellow color.
5482 (diff-use-changed-face): New variable.
5483 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5484 how to highlight context diff changes.
5485 (diff-refine-change): Use shades of yellow.
5486 (diff-refine-removed): New face that uses shades of red.
5487 (diff-refine-added): New face that uses shades of green.
5488 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5489 `diff-refine-removed' in the call to `smerge-refine-subst'
5490 depending on the value of `diff-use-changed-face'.
5491
5492 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5493 (smerge-other): Use shades of green.
5494 (smerge-base): Use shades of yellow.
5495 (smerge-refined-change): Empty face.
5496 (smerge-refined-removed): New face that uses shades of red.
5497 (smerge-refined-added): New face that uses shades of green.
5498 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5499 args `props-r' and `props-a', and use them. Doc fix.
5500 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5501 on its value use different faces `smerge-refined-change',
5502 `smerge-refined-removed', `smerge-refined-added' in the call to
5503 `smerge-refine-subst'.
5504
5505 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5506 Add face condition `min-colors 88' with shades of red.
5507 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5508 `min-colors 88' with shades of green.
5509 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5510 `min-colors 88' with shades of yellow.
5511
6df9112c
GM
55122012-05-24 Glenn Morris <rgm@gnu.org>
5513
ead5edc0
GM
5514 * paths.el (prune-directory-list, remote-shell-program): Move to...
5515 * files.el (prune-directory-list, remote-shell-program): ...here.
5516 For the latter, delay initialization, prefer ssh, just search PATH.
5517
f18b81e6
GM
5518 * paths.el (term-file-prefix): Move to faces.el (the only user).
5519 * faces.el (term-file-prefix): Move here, make it a defcustom.
5520
ee2f89a6
GM
5521 * paths.el (news-directory, news-path, news-inews-program):
5522 Move to gnus/nnspool.el.
61a583ca 5523
f8815e4c
GM
5524 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5525
c8f3b42c
GM
5526 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5527 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5528 Make the latter a defcustom, with a delayed initialization.
5529
6df9112c
GM
5530 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5531 These were deleted from Gnus itself late 2010.
5532
5dadff36
JB
55332012-05-22 Juanma Barranquero <lekktu@gmail.com>
5534
9e1701c6
JB
5535 * progmodes/which-func.el (which-func-ff-hook):
5536 Check against user-error, not error.
5537
bd7239f5 5538 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5539 cl-specs.el, which no longer exists.
5540
3290526d
GM
55412012-05-22 Glenn Morris <rgm@gnu.org>
5542
5543 * info.el (info-emacs-bug): New command.
5544 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5545 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5546
ff0c3cfb
GM
55472012-05-21 Glenn Morris <rgm@gnu.org>
5548
5549 * makefile.w32-in (update-subdirs-SH):
5550 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5551
5814f126
SM
55522012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5553
a52c0aa0
SM
5554 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5555
5814f126
SM
5556 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5557 Simplify Maven regexp, and make sure the file can't start with a space
5558 (bug#11517).
5559
b847032c
GM
55602012-05-21 Glenn Morris <rgm@gnu.org>
5561
5562 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5563 Scrap superfluous subshells.
5564
3858bfe7
SM
55652012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5568 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5569
d14b0029
JB
55702012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5571
5572 * calc/calc.el (calc-ensure-consistent-units): New variable.
5573
a52c0aa0
SM
5574 * calc/calc-units.el (math-consistent-units-p)
5575 (math-check-unit-consistency): New functions.
5576 (calc-quick-units, calc-convert-units):
5577 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5578 is non-nil.
d14b0029
JB
5579 (calc-extract-units): Fix typo.
5580
60c4db3a
SM
55812012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5582
77f3b62e
SM
5583 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5584
60c4db3a
SM
5585 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5586 (flyspell-default-deplacement-commands): Don't spell check after
5587 repeated window/frame switches (e.g. triggered by mouse-movement).
5588 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5589 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5590 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5591 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5592 Remove unused vars.
5593 (flyspell-get-casechars, flyspell-get-not-casechars):
5594 Simplify; Don't bother removing a ] just to add it back.
5595 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5596
d209e2fb 55972012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5598
5599 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5600 New functions.
bd7239f5 5601 (math-function-table): Add support for more C functions.
b1a10716 5602
3f1b25b5
AM
56032012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5604
090bd7cb
JB
5605 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5606 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5607 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5608
b581bb5c
SM
56092012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5612 their respective macro declarations.
5613 * skeleton.el (define-skeleton):
5614 * progmodes/compile.el (define-compilation-mode):
5615 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5616 (define-ibuffer-filter):
5617 * emacs-lisp/generic.el (define-generic-mode):
5618 * emacs-lisp/easy-mmode.el (define-minor-mode)
5619 (define-globalized-minor-mode):
5620 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5621 * emacs-lisp/byte-run.el (defsubst):
5622 * custom.el (deftheme): Add doc-string metadata.
5623
70b8ef8f
SM
56242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5627
b1198e17
SM
56282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5629
9abdc45d
SM
5630 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5631
b1198e17
SM
5632 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5633 * emacs-lisp/cl-macs.el: Idem.
5634 * emacs-lisp/cl-specs.el: Remove.
5635
4735906a
SM
56362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 Minor renaming of internal CL functions and variables.
5639 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5640 (cl--position): Rename from cl-position.
5641 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5642 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5643 (cl--random-state): Rename from *random-state*.
5644
ac348012
SM
56452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5648 parens around the arg list (bug#11499).
5649
a0a79cde
JL
56502012-05-17 Juri Linkov <juri@jurta.org>
5651
5652 * isearch.el (word-search-regexp, word-search-backward)
5653 (word-search-forward, word-search-backward-lax)
5654 (word-search-forward-lax): Move functions from search.c
5655 (bug#10145, bug#11381).
5656
65034a51
AM
56572012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5658
090bd7cb
JB
5659 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5660 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5661 Delay for otherchars as for normal word components.
65034a51 5662
1a72a195
SM
56632012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * minibuffer.el (completion--sifn-requote): Fix last change.
5666 (minibuffer-local-must-match-filename-map):
5667 Move define-obsolete-variable-alias before its var.
5668
fdb058c2
SM
56692012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5670
c41045e6
SM
5671 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5672
036dfb8b
SM
5673 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5674 behavior.
5675 (completion--string-equal-p): New function.
5676 (completion--twq-all): Use it to get better assertion failure data.
5677
2473256d
SM
5678 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5679 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5680 (shell--requote-argument): New functions.
5681 (shell-completion-vars): Use them.
5682 (shell--parse-pcomplete-arguments): Rename from
5683 shell-parse-pcomplete-arguments.
5684 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5685 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5686 Obey comint-file-name-quote-list.
5687
fdb058c2
SM
5688 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5689 (smie-indent-keyword): Use it.
5690
51fa99f1
SM
56912012-05-14 Stefan Merten <smerten@oekonux.de>
5692
5693 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5694
e18afed7 56952012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5696
5697 * net/rlogin.el (rlogin-mode-map): Fix last change.
5698
e18afed7 56992012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5700
5701 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5702 the following \r\n using a single `process-send-string', since the
5703 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5704 with two `process-send-string's (Bug#11444).
8633b1f4 5705
e18afed7 57062012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5707
fdb058c2
SM
5708 * shell.el (shell-parse-pcomplete-arguments):
5709 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5710
2d21d7f6
WJ
57112012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5712
e18afed7 5713 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5714 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5715 (image-transform-width, image-transform-fit-width): New functions.
5716 (image-transform-properties): Use them.
5717 (image-transform-check-size): New function.
5718 (image-toggle-display-image): Use it (for testing).
5719 (image-transform-set-rotation): Reduce angle mod 360.
5720 Delete obsolete comment.
5721
7102e6d0
WJ
57222012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5723
5724 * image-mode.el: Fix scaling (bug#11399).
5725 (image-transform-resize): Doc fix.
5726 (image-transform-properties): Default scale is 1 and height should
5727 be an integer.
5728
06bc5e6e
SM
57292012-05-13 Johan Bockgård <bojohan@gnu.org>
5730
5731 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5732 than hard-coding `car', to fix misbehavior when moving forward.
5733
0ae03b6a
CY
57342012-05-13 Chong Yidong <cyd@gnu.org>
5735
5736 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5737 (tabulated-list-entries, tabulated-list-padding)
5738 (tabulated-list-sort-key): Make permanent-local.
5739
5740 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5741 (electric-buffer-list): Put electric buffer menu
5742 command descriptions in this docstring, instead of the docstring
5743 of electric-buffer-menu-mode. Code cleanups.
5744 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5745 Electric-buffer-menu-mode.
5746 (electric-buffer-update-highlight): Minor code cleanup.
5747
205a7391
MA
57482012-05-13 Michael Albinus <michael.albinus@gmx.de>
5749
5750 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5751 (Bug#11447)
5752
e5bd0a28
SM
57532012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 Move define-obsolete-variable-alias before the var's definition.
5756 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5757 * tooltip.el (tooltip-hook):
5758 * textmodes/reftex-toc.el (reftex-toc-map):
5759 * textmodes/reftex-sel.el (reftex-select-label-map)
5760 (reftex-select-bib-map):
5761 * textmodes/reftex-index.el (reftex-index-map)
5762 (reftex-index-phrases-map):
5763 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5764 * progmodes/meta-mode.el (meta-mode-map):
5765 * novice.el (disabled-command-hook):
5766 * loadhist.el (unload-hook-features-list):
5767 * frame.el (blink-cursor):
5768 * files.el (find-file-not-found-hooks, write-file-hooks)
5769 (write-contents-hooks):
5770 * emulation/tpu-edt.el (GOLD-map):
5771 * emacs-lock.el (emacs-lock-from-exiting):
5772 * emacs-lisp/generic.el (generic-font-lock-defaults):
5773 * emacs-lisp/chart.el (chart-map):
5774 * dos-fns.el (register-name-alist):
5775 * dired-x.el (dired-omit-files-p):
5776 * desktop.el (desktop-enable):
5777 * cus-edit.el (custom-mode-hook):
5778 * buff-menu.el (buffer-menu-mode-hook):
5779 * bookmark.el (bookmark-read-annotation-text-func)
5780 (bookmark-exit-hooks):
5781 * allout.el (allout-mode-deactivate-hook)
5782 (allout-exposure-change-hook, allout-structure-added-hook)
5783 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5784 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5785 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5786 comes before the corresponding variable's definition.
5787
ac59c2f6
CY
57882012-05-12 Chong Yidong <cyd@gnu.org>
5789
5790 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5791 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5792 (Buffer-menu-mode-map): Bind it.
5793 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5794
dee6c9a3
SM
57952012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5796
2171cea5
SM
5797 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5798 (prolog-upper-case-string, prolog-lower-case-string)
5799 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5800 (prolog-use-smie, prolog-smie-grammar): New vars.
5801 (prolog-smie-forward-token, prolog-smie-backward-token)
5802 (prolog-smie-rules): New funs.
5803 (prolog-comment-indent): Remove.
5804 (prolog-mode-variables): Use default comment indentation instead.
5805 Setup SMIE.
5806 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5807 (prolog-mode): Don't call them any more.
5808 (prolog-electric-colon, prolog-electric-dash)
5809 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5810
aa0382bd
SM
5811 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5812
dbacb4bd
SM
5813 * minibuffer.el (completion--twq-all): Again, allow case differences.
5814
13bdd94c
SM
5815 * term.el: Move keymap initialization code to be more idiomatic.
5816 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5817 (term-terminal-menu): Move initialization into declaration.
5818 (term-escape-char): Let the user set it in her .emacs.
5819
ff46c759
SM
5820 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5821 Provide SMIE-based indentation (not enabled by default yet).
5822 (sh-mode-map): Don't bind electric keys.
5823 Use electric-pair-mode instead of skeleton-pair.
5824 (sh-assignment-regexp): Fit within 80 columns.
5825 (sh-indent-supported): Specify actual shell name instead of boolean.
5826 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5827 (sh-maybe-here-document): Use it. Make obsolete.
5828 (sh-electric-here-document-mode) New minor mode.
5829 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5830 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5831 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5832 (sh-smie-rc-grammar, sh-use-smie): New vars.
5833 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5834 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5835 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5836 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5837 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5838 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5839 (sh-set-shell): Use smie-setup if requested.
5840
dee6c9a3
SM
5841 * term.el (term-set-escape-char): Properly set term-escape-char.
5842 See http://stackoverflow.com/questions/10524656.
5843
9f9aa044
CY
58442012-05-10 Chong Yidong <cyd@gnu.org>
5845
5846 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5847 Use url-generic-parse-url, and handle host names and Windows
5848 filenames properly.
5849 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5850 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5851 URL schemes to work on.
5852 (ffap--toggle-read-only): New function.
5853 (ffap-read-only, ffap-read-only-other-window)
5854 (ffap-read-only-other-frame): Use it.
5855 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5856 necessary for ffap-url-unwrap-remote.
5857
836d29b3
DA
58582012-05-10 Dave Abrahams <dave@boostpro.com>
5859
5860 * cus-start.el (create-lockfiles): Add it.
5861
00fd78ed
CY
58622012-05-09 Chong Yidong <cyd@gnu.org>
5863
5864 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5865 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5866
666b903b 58672012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5868
5869 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5870
666b903b 58712012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5872
5873 * ansi-color.el (ansi-color-process-output): Check for validity of
5874 comint-last-output-start before using it. This avoids a bad
5875 interaction with gdb-mi's input/output buffer.
5876
666b903b 58772012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5878
5879 * files.el (dir-locals-read-from-file):
5880 Mention dir-locals in any error message.
5881
666b903b 58822012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5883
5884 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5885 package (Bug#11410).
5886
f677562b
CY
5887 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5888 variables into description.
5889
666b903b 58902012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5891
5892 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5893 shell-delimiter-argument-list (bug#11348).
5894 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5895
b499d8d0
JB
58962012-05-09 Juanma Barranquero <lekktu@gmail.com>
5897
8f6b6da8
JB
5898 * textmodes/rst.el: Silence byte-compiler warnings.
5899 (rst-re-alist, rst-reset-section-caches): Move around.
5900 (rst-re): Use `characterp', not `char-valid-p'.
5901 (font-lock-beg, font-lock-end): Declare.
5902
4824146a
JB
5903 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5904 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5905
b499d8d0
JB
5906 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5907
ad89bb83
GM
59082012-05-08 Glenn Morris <rgm@gnu.org>
5909
5910 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5911
8bba5a75
SM
59122012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5913
49ed9c8e
SM
5914 * vc/log-edit.el: Add GNU coding standards highlighting.
5915 (log-edit-font-lock-gnu-style)
5916 (log-edit-font-lock-gnu-keywords): New vars.
5917 (log-edit-font-lock-keywords): New fun.
5918 (log-edit-mode): Don't fold case in font-lock.
5919 (log-edit-font-lock-keywords): Do not assume case-folding.
5920
07d00b56
SM
5921 * imenu.el: Misc cleanup. Make docstrings out of comments.
5922 Use lexical-binding.
5923 (imenu--index-alist, imenu--last-menubar-index-alist)
5924 (imenu-menubar-modified-tick): Use defvar-local.
5925 (imenu--split-menu): Remove unused var.
5926 (imenu--cleanup-seen): Declare as global.
5927 (imenu--cleanup): Use dolist.
5928
8bba5a75
SM
5929 * subr.el (defvar-local): Add debug spec and doc-string position.
5930
5075bdb5
GM
59312012-05-08 Glenn Morris <rgm@gnu.org>
5932
090bd7cb 5933 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5934 * language/english.el, language/georgian.el, language/greek.el:
5935 * language/japanese.el, language/khmer.el, language/korean.el:
5936 * language/lao.el, language/misc-lang.el, language/romanian.el:
5937 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5938 * language/thai.el, language/utf-8-lang.el:
5939 Remove no-byte-compile setting.
5940
5075bdb5
GM
5941 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5942
06f679a7
AH
59432012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5944
5945 * progmodes/make-mode.el (makefile-browse):
5946 Remove unnecessary interactive. (Bug#11324)
5947
03794570
GM
59482012-05-07 Glenn Morris <rgm@gnu.org>
5949
af8630f4
GM
5950 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5951
03794570
GM
5952 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5953
f0809a9d
SM
59542012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5955
28be5ce7
SM
5956 * loadup.el: Preload newcomment.el.
5957 * newcomment.el: Move autoload-only code to toplevel.
5958
f0809a9d
SM
5959 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5960 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5961 Handle new :right-align column property.
5962 (tabulated-list-print-col): Idem, plus use `display' text-property to
5963 try and preserve alignment for variable pitch fonts.
5964
1241b724
CY
59652012-05-07 Chong Yidong <cyd@gnu.org>
5966
5967 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5968 (tabulated-list-use-header-line): New var.
5969 (tabulated-list-init-header): Use it.
5970 (tabulated-list-print-fake-header): New function.
5971 (tabulated-list-print): Use it.
5972 (tabulated-list-sort-button-map): Add non-header-line commands.
5973 (tabulated-list-init-header): Add column name property to basic
5974 labels as well.
5975 (tabulated-list-col-sort): Handle non-header-line button case.
5976 (tabulated-list--sort-by-column-name): Fix a corner case.
5977
f0809a9d
SM
5978 * buff-menu.el (list-buffers--refresh):
5979 Handle Buffer-menu-use-header-line.
1241b724 5980
e5f9458f
CY
59812012-05-06 Chong Yidong <cyd@gnu.org>
5982
5983 * buff-menu.el: Convert to Tabulated List mode.
5984 (Buffer-menu-buffer+size-width): Make obsolete.
5985 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5986 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5987 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5988 documentation into docstring of buffer-menu.
5989 (Buffer-menu-toggle-files-only): Add an informative message.
5990 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5991 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5992 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5993 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5994 (Buffer-menu-execute, Buffer-menu-select)
5995 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5996 (Buffer-menu-bury): Use Tabulated List machinery.
5997 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5998 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5999 Delete.
e5f9458f
CY
6000 (list-buffers--refresh): New function.
6001 (list-buffers-noselect): Use it.
6002 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6003 (Buffer-menu--pretty-file-name): New helper functions.
6004
6005 * loadup.el: Preload tabulated-list.
6006
6007 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6008 tabulated-list-sort-column.
6009 (tabulated-list-init-header): Add the initial aligning space even
6010 if tabulated-list-padding is zero.
6011
e129292c
CS
60122012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6013
6014 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6015 whose cdr is not a cons cell correctly (bug#11038).
6016
6632d361
CY
60172012-05-06 Chong Yidong <cyd@gnu.org>
6018
e129292c
CS
6019 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6020 Accept additional plist in column descriptors.
6632d361
CY
6021 (tabulated-list-init-header): Obey it.
6022 (tabulated-list-get-entry): New function.
6023 (tabulated-list-put-tag): Use it. Use string-width instead of
6024 length.
6025 (tabulated-list--column-number): New function.
6026 (tabulated-list-print): Use it.
e129292c
CS
6027 (tabulated-list-print-col): New function.
6028 Set `tabulated-list-column-name' property on each column's text.
6632d361 6029 (tabulated-list-print-entry): Use it.
e129292c
CS
6030 (tabulated-list-delete-entry, tabulated-list-set-col):
6031 New functions.
6632d361
CY
6032 (tabulated-list-sort-column): New command (Bug#11337).
6033
3cc99f68
CY
6034 * buff-menu.el (list-buffers): Move C-x C-b binding from
6035 buff-menu.el to bindings.el.
6036
6037 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6038 :advertised-binding feature.
6039
52b61776
TN
60402012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6041
6042 * progmodes/compile.el (compilation-internal-error-properties):
6043 Calculate start position correctly when end-col is set but
6044 end-line is not (Bug#11382).
6045
ebfe2597
WJ
60462012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6047
6048 * man.el (Man-unindent): Use text-property-default-nonsticky to
6049 prevent untabify from inheriting face properties (Bug#11408).
6050
6d3f7c2f
SM
60512012-05-05 Stefan Merten <smerten@oekonux.de>
6052
6053 * textmodes/rst.el: Major merge with upstream development up to
6054 Docutils SVN r7399 / rst.el V1.2.1.
6055
6056 Clarify maintainership and authors.
6057
6058 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6059 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6060 (rst-official-version, rst-official-cvs-rev, rst-version)
6061 (rst-package-emacs-version-alist): New functions and variables
6062 for version information.
6063
6064 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6065 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6066 (rst-mode-syntax-table, rst-mode): New and corrected functions
6067 and variables representing reStructuredText features.
6068
6069 (rst-re): New function for reStructuredText regexes. Use in
6070 many places.
6071
6072 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6073 (rst-mode-map): Rebind keys.
6074
6075 (rst-mode-lazy, rst-font-lock-keywords)
6076 (rst-font-lock-extend-region)
6077 (rst-font-lock-extend-region-internal)
6078 (rst-font-lock-extend-region-extend)
6079 (rst-font-lock-find-unindented-line-limit)
6080 (rst-font-lock-find-unindented-line-match)
6081 (rst-adornment-level, rst-font-lock-adornment-level)
6082 (rst-font-lock-adornment-match)
6083 (rst-font-lock-handle-adornment-pre-match-form)
6084 (rst-font-lock-handle-adornment-matcher): Major revision of
6085 font-locking. Integrate with other code. Use `jit-lock-mode'.
6086
6087 (rst-preferred-adornments, rst-adjust-hook)
6088 (rst-new-adornment-down, rst-preferred-bullets)
6089 (rst-preferred-bullets, rst-indent, rst-indent-width)
6090 (rst-indent-field, rst-indent-literal-normal)
6091 (rst-indent-literal-minimized, rst-indent-comment): Change,
6092 extend and improve customization.
6093
6094 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6095 (rst-normalize-cursor-position, rst-get-decoration)
6096 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6097 (rst-rstrip, rst-toc-insert-find-delete-contents)
6098 (rst-shift-fill-region, rst-compute-bullet-tabs)
6099 (rst-debug-print-tabs, rst-debug-mark-found)
6100 (rst-shift-region-guts, rst-shift-region-right)
6101 (rst-shift-region-left, rst-use-char-classes)
6102 (rst-font-lock-keywords-function)
6103 (rst-font-lock-indentation-point)
6104 (rst-font-lock-find-unindented-line-begin)
6105 (rst-font-lock-find-unindented-line-end)
6106 (rst-font-lock-find-unindented-line)
6107 (rst-font-lock-adornment-point, rst-font-lock-level)
6108 (rst-adornment-level-alist): Remove functions and variables.
6109
6110 (rst-compare-adornments, rst-get-adornment-match)
6111 (rst-suggest-new-adornment, rst-get-adornments-around)
6112 (rst-adornment-complete-p, rst-get-next-adornment)
6113 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6114 (rst-straighten-adornments): Standardize function names to
6115 use "adornment" instead of "decoration". Correct callers.
6116 Similar standardizing in many places.
6117
6118 (rst-update-section, rst-adjust, rst-promote-region)
6119 (rst-enumerate-region, rst-bullet-list-region)
6120 (rst-repeat-last-character): Correct use of `interactive'.
6121
6122 (rst-classify-adornment, rst-find-all-adornments)
6123 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6124 (rst-find-leftmost-column, rst-repeat-last-character):
6125 Refactor functions.
6126
6127 (rst-find-title-line, rst-reset-section-caches)
6128 (rst-get-adornments-around, rst-adjust-adornment-work)
6129 (rst-arabic-to-roman, rst-roman-to-arabic)
6130 (rst-insert-list-pos, rst-insert-list-new-item)
6131 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6132 New functions.
6133
6134 (rst-all-sections, rst-section-hierarchy)
6135 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6136 New variables.
6137
6138 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6139 configuration instead of only buffer. Change where necessary.
6140
6141 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6142 (rst-shift-region, rst-adaptive-fill): New functions for
6143 indentation and filling.
6144
6145 (rst-comment-line-break, rst-comment-indent)
6146 (rst-comment-insert-comment, rst-comment-region)
6147 (rst-uncomment-region): New functions for handling comments.
6148
6149 (rst-compile): Quote shell arguments.
6150
6151 (rst-compile-pdf-preview, rst-compile-slides-preview):
6152 Delete temporary files after use.
6153
a43f98b3
GM
61542012-05-05 Glenn Morris <rgm@gnu.org>
6155
48176e8b
GM
6156 * calendar/cal-html.el: Optionally include holidays in the output.
6157 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6158 (cal-html-holidays): New option.
6159 (cal-html-css-default): Add holiday entry.
6160 (holiday-in-range): Autoload it.
6161 (cal-html-htmlify-entry): Add optional class argument.
6162 (cal-html-htmlify-list): Add optional holidays argument.
6163 (cal-html-insert-agenda-days): Include holidays in the output.
6164 (cal-html-one-month): Maybe include holidays.
6165
a43f98b3
GM
6166 * calendar/holidays.el (holiday-in-range):
6167 Move here from cal-tex-list-holidays.
6168 * calendar/cal-tex.el (cal-tex-list-holidays):
6169 Make it an obsolete alias for holiday-in-range. Update all callers.
6170
fef9d149 61712012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6172
6173 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6174 Nextstep.
6175
248da2f4
RW
61762012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6177
6178 * files.el (file-auto-mode-skip): New var.
6179 (set-auto-mode-1): Use it.
6180
f95e9344
SM
61812012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6182
df96ab1e
SM
6183 * repeat.el: Use lexical-binding.
6184 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6185 (repeat-undo-count): Remove.
6186 (repeat):
6187 * progmodes/octave-mod.el (octave-abbrev-start):
6188 * progmodes/f90.el (f90-abbrev-start):
6189 * face-remap.el (text-scale-adjust):
6190 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6191
5342bb06
SM
6192 * emacs-lisp/pcase.el (pcase--let*): New function.
6193 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6194 a bit more.
6195 (pcase--split-pred): Be more clever about ruling out overlap between
6196 a predicate and some constant pattern.
6197 (pcase--q1): Use `null' instead of (eq foo nil).
6198
f95e9344
SM
6199 * subr.el (setq-local, defvar-local): New macros.
6200 (kbd): Redefine as an alias.
6201 (with-selected-window): Leave unrelated frames alone.
6202 (set-temporary-overlay-map): New function.
6203
71873e2b
SM
62042012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * subr.el (user-error): New function.
6207 * window.el (switch-to-buffer):
6208 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6209 (smerge-match-conflict):
6210 * simple.el (previous-matching-history-element)
6211 (next-matching-history-element, goto-history-element, undo-more)
6212 (undo-start):
6213 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6214 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6215 (next-file, tags-loop-scan, list-tags, complete-tag):
6216 * progmodes/compile.el (compilation-loop):
6217 * mouse.el (mouse-minibuffer-check):
6218 * man.el (Man-bgproc-sentinel, Man-goto-page):
6219 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6220 (Info-history-forward, Info-follow-reference, Info-menu)
6221 (Info-extract-menu-item, Info-extract-menu-counting)
6222 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6223 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6224 (Info-next-reference, Info-prev-reference, Info-index)
6225 (Info-index-next, Info-follow-nearest-node)
6226 (Info-copy-current-node-name):
6227 * imenu.el (imenu--make-index-alist)
6228 (imenu-default-create-index-function, imenu-add-to-menubar):
6229 * files.el (basic-save-buffer, recover-file):
6230 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6231 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6232 (checkdoc-message-text, checkdoc-defun):
6233 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6234 * cus-edit.el (customize-changed-options, customize-rogue)
6235 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6236 (custom-variable-mark-to-reset-standard)
6237 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6238 (custom-file):
6239 * completion.el (check-completion-length):
6240 * comint.el (comint-search-arg)
6241 (comint-previous-matching-input-string-position)
6242 (comint-previous-matching-input)
6243 (comint-replace-by-expanded-history-before-point, comint-send-input)
6244 (comint-copy-old-input, comint-backward-matching-input)
6245 (comint-goto-process-mark, comint-set-process-mark):
6246 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6247 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6248
8a61ee22
SM
62492012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6250
66408d1e
SM
6251 * dabbrev.el (dabbrev--ignore-case-p): New function.
6252 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6253 Use it.
6254
8a61ee22
SM
6255 * files.el (automount-dir-prefix): Mark as obsolete.
6256
3c74813a
GM
62572012-05-04 Glenn Morris <rgm@gnu.org>
6258
6259 * patcomp.el, play/bruce.el: Move to obsolete/.
6260
0bfcf5c5
PE
62612012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6262
6263 Fix minor Y10k bugs.
6264 * arc-mode.el (archive-unixdate):
6265 * autoinsert.el (auto-insert-alist):
6266 * calc/calc-forms.el (math-this-year):
6267 * emacs-lisp/copyright.el (copyright-current-year)
6268 (copyright-update-year, copyright):
6269 * tar-mode.el (tar-clip-time-string):
6270 * time.el (display-time-update):
6271 Don't assume years have 4 digits.
6272
78f3273a
CY
62732012-05-04 Chong Yidong <cyd@gnu.org>
6274
6275 * dos-w32.el (file-name-buffer-file-type-alist)
6276 (direct-print-region-use-command-dot-com):
6277 * ffap.el (ffap-menu-regexp):
6278 * find-file.el (ff-special-constructs):
6279 * follow.el (follow-debug):
6280 * forms.el (forms--debug):
6281 * iswitchb.el (iswitchb-all-frames):
6282 * ido.el (ido-all-frames):
6283 * emacs-lisp/timer.el (timer-max-repeats):
6284 * mail/feedmail.el (feedmail-mail-send-hook)
6285 (feedmail-mail-send-hook-queued):
6286 * mail/footnote.el (footnote-signature-separator):
6287 * mail/mailabbrev.el (mail-alias-separator-string)
6288 (mail-abbrev-mode-regexp):
6289 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6290 * progmodes/idlwave.el (idlwave-libinfo-file)
6291 (idlwave-default-completion-case-is-down)
6292 (idlwave-library-routines): Convert defvars to defcustoms.
6293
6294 * mail/rmail.el (rmail-decode-mime-charset):
6295 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6296 (idlwave-shell-fix-inserted-breaks)
6297 (idlwave-shell-activate-alt-keybindings)
6298 (idlwave-shell-use-breakpoint-glyph):
6299 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6300
f7ae6719
SM
63012012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6304
47086495
WS
63052012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6306
6307 * progmodes/verilog-mode.el (font-lock-keywords):
6308 Fix mis-highligting auto. Reported by Craig Barner.
6309 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6310 defines from global name space. Reported by Dan Dever.
47086495
WS
6311 (verilog-auto-reset, verilog-auto-reset-widths)
6312 (verilog-auto-tieoff): Support using unbased numbers for
6313 AUTORESET and AUTOTIEOFF.
6314 (verilog-submit-bug-report): Update variable list.
6315 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6316 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6317 (verilog-auto-template-lint): Fix hash error when linting modules
6318 with no used templates.
6319 (verilog-warn, verilog-warn-error)
6320 (verilog-warn-fatal): When non-interactive report multiple
6321 warnings before exiting. Suggested by Brad Dobbie.
6322 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6323 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6324 to report unused template errors. Reported by Brad Dobbie.
6325 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6326 nets, bug438. Reported by Vns Blore.
47086495
WS
6327 (verilog-auto-inout-module, verilog-auto-reg)
6328 (verilog-read-decls, verilog-read-sub-decls-sig)
6329 (verilog-signals-edit-wire-reg, verilog-signals-with):
6330 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6331 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6332 "reg" for backwards compatibility presuming Verilog 2001.
6333 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6334 (verilog-preprocess): Fix replication of preprocess output.
6335 Reported by Brad Dobbie.
6336 (verilog-auto-inst-interfaced-ports):
6337 Create verilog-auto-inst-interfaced-ports, bug429.
6338 Reported by Julian Gorfajn.
6339 (verilog-after-save-font-hook)
6340 (verilog-before-save-font-hook): New variable.
6341 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6342 (verilog-save-font-mods): Wrap disabling fontification, reported
6343 by David Rogoff.
6344 (verilog-do-indent, verilog-pretty-declarations-auto)
6345 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6346 Reported by Pierre-David Pfister.
6347 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6348 of class declarations, bug292. Reported by Kevin Heilman.
6349 (verilog-read-decls): Fix 'parameter type' not appearing in
6350 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6351 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6352 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6353 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6354 Reported by David Kravitz.
6355
63562012-05-03 Michael McNamara <mac@mail.brushroad.com>
6357
6358 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6359 assignment with tests in ifs and for loops.
6360 (verilog-extended-complete-re, verilog-complete-reg): Change so
6361 that DPI inport functions don't look like fuction declarations.
6362 (verilog-pretty-expr): Don't line up assignment
6363 operations to the test and increment in if and for loops
6364 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6365 that DPI inport functions don't look like fuction declarations.
47086495 6366
2e51d4b5
KH
63672012-05-03 Kenichi Handa <handa@m17n.org>
6368
6369 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6370 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6371 (Bug#11282).
6372
2bd785a2
SM
63732012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * emacs-lisp/bytecomp.el
6376 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6377 since cconv.el might have introduced :fun-body, internal-make-closure,
6378 and friends for bytecomp to handle (bug#11391).
6379 * custom.el (defcustom): Avoid ((λ ..) ..).
6380
99d27583
SM
63812012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6384
55a71479
JB
63852012-05-02 Juanma Barranquero <lekktu@gmail.com>
6386
6387 * notifications.el (dbus-debug):
6388 * term/linux.el (gpm-mouse-enable):
6389 * term/screen.el (xterm-register-default-colors): Declare.
6390
7b97c764
CY
63912012-05-02 Chong Yidong <cyd@gnu.org>
6392
2bc356d7
CY
6393 * cus-start.el (gc-cons-percentage, exec-suffixes)
6394 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6395 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6396 (make-cursor-line-fully-visible, void-text-area-pointer)
6397 (font-list-limit): Add customization data.
6398
7b97c764
CY
6399 * allout.el (allout-exposure-change-functions)
6400 (allout-structure-added-functions)
6401 (allout-structure-deleted-functions)
6402 (allout-structure-shifted-functions): Rename abnormal hooks from
6403 *-hook, and convert to defcustoms.
5d3385a0
JB
6404 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6405 Convert to defcustoms.
7b97c764
CY
6406 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6407
6408 * allout-widgets.el: Hook callers changed.
6409
90207a15 64102012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6411
6412 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6413 the yanked message in preference to the default value of
6414 buffer-file-coding-system.
6415
90207a15 64162012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6417
5d3385a0
JB
6418 * window.el (display-buffer--action-function-custom-type):
6419 Fix entry.
d9558cad 6420
90207a15 64212012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6422
6423 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6424
d80ac57b
GM
64252012-05-01 Glenn Morris <rgm@gnu.org>
6426
976f7668
GM
6427 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6428
beb83b5a
GM
6429 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6430
d80ac57b
GM
6431 * cus-edit.el (custom-variable-documentation): Simplify with format.
6432
b593d6a9 64332012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6434 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6435
6436 * simple.el (suggest-key-bindings, execute-extended-command):
6437 Move from keyboard.c.
6438
782fbf2a
CY
64392012-05-01 Chong Yidong <cyd@gnu.org>
6440
6441 * follow.el: Eliminate advice.
6442 (set-process-filter, process-filter, sit-for): Advice deleted.
6443 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6444 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6445 Vars deleted.
782fbf2a
CY
6446 (follow-auto): Use a :set function.
6447 (follow-mode): Rewritten. Don't advise process filters.
6448 (follow-switch-to-current-buffer-all, follow-scroll-up)
6449 (follow-scroll-down): Assume follow-mode is bound.
6450 (follow-comint-scroll-to-bottom)
6451 (follow-align-compilation-windows): New functions.
6452 (follow--window-sorter): New function.
6453 (follow-all-followers): Use it to explicitly sort windows by their
6454 positions; don't make assumptions about next-window order.
6455 (follow-windows-start-end, follow-delete-other-windows-and-split)
6456 (follow-calc-win-start): Doc fix.
6457 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6458 vertical-motion unnecessarily.
6459 (follow-adjust-window): New function.
6460 (follow-post-command-hook): Use it.
6461 (follow-call-set-process-filter, follow-call-process-filter)
6462 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6463 (follow-stop-intercept-process-output, follow-generic-filter):
6464 Functions deleted.
6465 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6466 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6467 New functions, replacing advice on scroll-bar-* commands.
87233a14 6468 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6469
6470 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6471 (comint-postoutput-scroll-to-bottom): Use it.
6472 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6473
290af740
GM
64742012-05-01 Glenn Morris <rgm@gnu.org>
6475
6476 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6477 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6478 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6479 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6480 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6481 Remove no-byte-compile setting.
6482
6eac8dc9
SM
64832012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6484
6485 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6486 all-completions code to not return a number in the last cdr.
6487
9cc7819c
LL
64882012-04-30 Leo Liu <sdl.web@gmail.com>
6489
6490 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6491 read-only error.
6492
c93b886f
CY
64932012-04-29 Chong Yidong <cyd@gnu.org>
6494
6495 * follow.el (follow-calc-win-end): Rewrite to handle partial
6496 screen lines correctly (Bug#8390).
6497 (follow-avoid-tail-recenter): Minor cleanup.
6498
8b6c19f4
SM
64992012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 Avoid the obsolete `assoc' package.
6502 * speedbar.el (speedbar-refresh): Avoid adelete.
6503 (speedbar-file-lists): Simplify and avoid aput.
6504 * man.el (Man--sections, Man--refpages): New vars, replacing
6505 Man-sections-alist and Man-refpages-alist.
6506 (Man-build-section-alist, Man-build-references-alist):
6507 Use them; avoid aput.
6508 (Man--last-section, Man--last-refpage): New vars.
6509 (Man-follow-manual-reference): Use them.
6510 Use the `default' arg of completing-read.
6511 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6512
c5bb7569
CY
65132012-04-27 Chong Yidong <cyd@gnu.org>
6514
d1d2e2e8
CY
6515 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6516
15cd8efd
CY
6517 * startup.el (x-apply-session-resources): New function.
6518
6519 * term/ns-win.el (ns-initialize-window-system):
6520 * term/w32-win.el (w32-initialize-window-system):
6521 * term/x-win.el (x-initialize-window-system): Use it to properly
6522 set menu-bar-mode and other vars from X resources, even if the
6523 initial frame is not a window-system frame (Bug#2299).
6524
c5bb7569
CY
6525 * subr.el (read-key): Avoid running filter function when setting
6526 up temporary tool bar entries (Bug#9922).
6527
a8e7d6d7 65282012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6529
6530 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6531 (Bug#11344)
6532
a8e7d6d7 65332012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6534
6535 * select.el (xselect--encode-string): New function, split from
6536 xselect-convert-to-string.
6537 (xselect-convert-to-string): Use it.
6538 (xselect-convert-to-filename, xselect-convert-to-os)
6539 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6540 returned strings are properly encoded (Bug#11315).
6541
a8e7d6d7 65422012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6543
6544 * simple.el (delete-active-region): Move to killing custom group.
6545
a8e7d6d7 65462012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6547
6548 * progmodes/which-func.el (which-func-current): Quote %
6549 characters for mode-line processing.
6550
578c1d4b 65512012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6552
6553 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6554 reaching eob (Bug#11286).
6555
a8e7d6d7 65562012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6557
6558 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6559 (gdb): Make it buffer-local and init to zero.
6560 (gdb-control-commands-regexp): New variable.
6561 (gdb-send): Don't wrap in "-interpreter-exec console" if
6562 gdb-control-level is positive. Increment gdb-control-level
6563 whenever the command matches gdb-control-commands-regexp, and
6564 decrement it each time the command is "end". (Bug#11279)
6565
a8e7d6d7 65662012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6567
6568 * window.el (adjust-window-trailing-edge, enlarge-window)
6569 (shrink-window, window-resize):
6570 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6571 windows (Bug#11276).
6572
b3608390
CY
65732012-04-27 Chong Yidong <cyd@gnu.org>
6574
6575 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6576 fix "missing prefix" warning. All callers changed.
b3608390 6577
797e6e88
SM
65782012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * emacs-lisp/assoc.el: Move to obsolete/.
6581
e95a67dc
SM
65822012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6583
657c21e4 6584 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6585
6586 * term/ns-win.el (ns-define-service):
6587 * progmodes/pascal.el (pascal-goto-defun):
6588 * progmodes/js.el (js--read-tab):
6589 * progmodes/etags.el (tags-lazy-completion-table):
6590 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6591 * emacs-lisp/ewoc.el (ewoc--wrap):
6592 * emacs-lisp/assoc.el (aput, adelete, amake):
6593 * doc-view.el (doc-view-convert-current-doc):
6594 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6595
cb3e7ae0
CY
65962012-04-26 Chong Yidong <cyd@gnu.org>
6597
dce04f7f
CY
6598 * image.el (image-type-from-buffer): Only return supported image
6599 type (Bug#9045).
6600
cb3e7ae0
CY
6601 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6602 value, for symmetry with diff-end-of-hunk.
6603 (diff-split-hunk, diff-find-source-location)
6604 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6605 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6606 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6607 compute the relevant hunk or file properly (Bug#6005).
6608 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6609
0d42eb3e
SM
66102012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * vc/vc-mtn.el:
6613 * vc/vc-hg.el:
6614 * vc/vc-git.el:
6615 * vc/vc-dir.el:
6616 * vc/vc-cvs.el:
6617 * vc/vc-bzr.el:
6618 * vc/vc-arch.el:
6619 * vc/vc.el: Replace lexical-let by lexical-binding.
6620 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6621 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6622 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6623
f08ae1c9
CY
66242012-04-26 Chong Yidong <cyd@gnu.org>
6625
8b71081d
CY
6626 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6627 (diff-mode-shared-map): Bind it to / and [remap undo].
6628
f08ae1c9
CY
6629 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6630 (ediff-window-setup-function): Use it as the default, to set up
6631 windows based on whether the current frame is graphical (Bug#2138).
6632 (ediff-choose-window-setup-function-automatically): Make obsolete.
6633
6634 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6635
ef24141c
SM
66362012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6637
cc356a5d
SM
6638 * ffap.el: Remove old code for obsolete package.
6639 (ffap-complete-as-file-p): Remove.
6640
b4ff4f1f
SM
6641 Use completion-table-with-quoting for comint and pcomplete.
6642 * comint.el (comint--unquote&requote-argument)
6643 (comint--unquote-argument, comint--requote-argument): New functions.
6644 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6645 (comint-quote-filename): Use regexp-opt-charset.
6646 (comint--common-suffix, comint--common-quoted-suffix)
6647 (comint--table-subvert): Remove.
6648 (comint-unquote-function, comint-requote-function): New vars.
6649 (comint--complete-file-name-data): Use them with
6650 completion-table-with-quoting.
6651 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6652 * pcomplete.el (pcomplete-arg-quote-list)
6653 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6654 (pcomplete-unquote-argument-function): Default to non-nil.
6655 (pcomplete-unquote-argument): Simplify.
6656 (pcomplete--common-quoted-suffix): Remove.
6657 (pcomplete-requote-argument-function): New var.
6658 (pcomplete--common-suffix): New function.
6659 (pcomplete-completions-at-point): Use completion-table-with-quoting
6660 and completion-table-subvert.
6661
79c4eeb4
SM
6662 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6663 (minibuffer--double-dollars): Preserve properties.
6664 (completion--sifn-requote): New function.
6665 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6666
ef24141c
SM
6667 * minibuffer.el: Add support for completion of quoted/escaped data.
6668 (completion-table-with-quoting, completion-table-subvert): New funs.
6669 (completion--twq-try, completion--twq-all): New functions.
6670 (completion--nth-completion): New function.
6671 (completion-try-completion, completion-all-completions): Use it.
6672
784e7d6e
LL
66732012-04-25 Leo Liu <sdl.web@gmail.com>
6674
dd2ac746
SM
6675 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6676 Use compilation-message if available to find real filename.
784e7d6e 6677
07875ee7
CY
66782012-04-25 Chong Yidong <cyd@gnu.org>
6679
6680 * vc/diff-mode.el (diff-setup-whitespace): New function.
6681 (diff-mode): Use it.
6682
6683 * vc/diff.el (diff-sentinel):
6684 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6685 Whitespace mode variables based on diff style (Bug#8612).
6686
5055880d
LL
66872012-04-25 Leo Liu <sdl.web@gmail.com>
6688
daf75653
LL
6689 * progmodes/python.el (python-send-region): Add suffix .py to the
6690 temp file.
6691
5055880d
LL
6692 * files.el (auto-mode-alist): Use javascript-mode instead.
6693
db9b177b
AH
66942012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6695
ef24141c 6696 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6697
090bd7cb 6698 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6699 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6700 references, see Bug#9.
ef24141c 6701 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6702 when receiving a fault reply.
ef24141c 6703 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6704
090bd7cb 6705 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6706 (soap-inspect-simple-type): New function.
db9b177b 6707
090bd7cb 6708 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6709 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6710 (soap-decode-basic-type, soap-encode-basic-type):
6711 support unsignedInt and double basic types.
db9b177b 6712 (soap-resolve-references-for-simple-type)
ef24141c
SM
6713 (soap-parse-simple-type, soap-encode-simple-type): New function.
6714 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6715
090bd7cb 6716 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6717 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6718 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6719 the local name of "soapenc:Array".
6720 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6721 decoding integer, byte and anyURI xsd types.
6722
1fc6097b
CY
67232012-04-25 Chong Yidong <cyd@gnu.org>
6724
6725 * cus-edit.el (custom-buffer-create-internal): Update header text.
6726
afc6df87
EZ
67272012-04-25 Eli Zaretskii <eliz@gnu.org>
6728
6729 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6730 settings on 'system-type', not on 'window-system'. On MS-Windows,
6731 set interactive-mode on in GDB.
6732
dfbd787f
SM
67332012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6736 (ruby-syntax-propertize-regexp): Remove.
6737 (ruby-syntax-propertize-function): Split regexp into chunks.
6738 Match following code directly.
6739
85222d44
DG
67402012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6741
51a8ea2a
DG
6742 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6743 (ruby-syntax-propertize-regexp): New function.
6744 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6745 by a special keyword.
6746
85222d44
DG
6747 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6748 (ruby-syntax-general-delimiters-goto-beg)
6749 (ruby-syntax-propertize-general-delimiters): New functions.
6750 (ruby-syntax-propertize-function): Use them to handle GDL.
6751 (ruby-font-lock-keywords): Move old handling of GDL...
6752 (ruby-font-lock-syntactic-keywords): .. to here.
6753 (ruby-calculate-indent): Adjust indentation for GDL.
6754
b613912b
MA
67552012-04-24 Michael Albinus <michael.albinus@gmx.de>
6756
b5380639
MA
6757 * notifications.el (top): Remove unneeded declarations.
6758 (notifications-specification-version): Change to "1.2".
e43042fe 6759 (notifications-interface, notifications-notify-method)
b613912b
MA
6760 (notifications-close-notification-method): Fix docstring.
6761 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6762 (notifications-notify): Add :action-items, :resident and
6763 :transient hints. Change "image_data" to "image-data" and
6764 "image_path" to "image-path".
b613912b
MA
6765 (notifications-get-capabilities): New defun.
6766
257440aa
LL
67672012-04-24 Leo Liu <sdl.web@gmail.com>
6768
6769 * progmodes/python.el: Move hideshow setup to the end.
6770
b1bac16e
MR
67712012-04-24 Martin Rudalics <rudalics@gmx.at>
6772
6773 * window.el (handle-select-window): Clear echo area since this is
6774 no more done by read_char (Bug#11304).
6775
d81bd059
SM
67762012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6779 and `/ M' to filter-derived-mode.
6780 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6781 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6782 (ibuffer-mark-by-mode): Use default rather than initial-input.
6783 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6784
c4cf6d91
IA
67852012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6786
6787 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6788 (ibuffer-filter-by-derived-mode): New filter.
6789 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6790
7511ded8
CY
67912012-04-23 Andreas Politz <politza@fh-trier.de>
6792
6793 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6794
775c916b
CY
67952012-04-23 Chong Yidong <cyd@gnu.org>
6796
6797 * cus-edit.el (customize-apropos, customize-apropos-options):
6798 Disable matching of non-option variables (Bug#11176).
6799 (customize-option, customize-option-other-window)
6800 (customize-changed-options): Doc fix.
6801 (customize-apropos-options, customize-apropos-faces)
6802 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6803
6804 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6805 Fix word list splitting (Bug#11132).
46c71e23
CY
6806 (apropos-symbol, apropos-keybinding, apropos-label)
6807 (apropos-property, apropos-function-button)
6808 (apropos-variable-button, apropos-misc-button): New faces.
6809 (apropos-symbol-face, apropos-keybinding-face)
6810 (apropos-label-face, apropos-property-face, apropos-match-face):
6811 Variables removed (Bug#8396).
6812 (apropos-library-button, apropos-format-plist, apropos-print)
6813 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6814
2df41f9c
MA
68152012-04-23 Michael Albinus <michael.albinus@gmx.de>
6816
6817 * net/xesam.el (xesam-mode-map): Use let-bound map in
6818 initialization. (Bug#11292)
6819
da00640a
AM
68202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6821
6822 Preserve ispell session localwords when switching back to
6823 original buffer.
6824
090bd7cb
JB
6825 * textmodes/ispell.el (ispell-buffer-session-localwords):
6826 New buffer-local variable to hold buffer session localwords.
ed9265fc 6827 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6828 localwords.
6829 (ispell-command-loop, ispell-change-dictionary)
6830 (ispell-buffer-local-words): Preserve session localwords when
6831 needed.
6832
090bd7cb
JB
6833 * textmodes/flyspell.el (flyspell-process-localwords)
6834 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6835
f621ccf5
AM
68362012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6837
090bd7cb
JB
6838 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6839 using obsolete `translation-table-for-input'.
ef24141c
SM
6840 (ispell-word, ispell-process-line, ispell-complete-word):
6841 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6842
c2d1019e
CY
68432012-04-22 Chong Yidong <cyd@gnu.org>
6844
6845 * cus-edit.el (custom-variable-menu)
6846 (custom-variable-reset-saved, custom-face-menu)
6847 (custom-face-reset-saved): If there is no saved value, make the
6848 "reset-saved" operation bring back the default (Bug#9509).
6849 (custom-face-state): Properly detect themed faces.
6850
eeddc531
CY
6851 * faces.el (face-spec-set): Stop supporting deprecated form of
6852 third arg.
6853
dcbf5805
MA
68542012-04-22 Michael Albinus <michael.albinus@gmx.de>
6855
6856 Move functions from C to Lisp. Make non-blocking method calls
6857 the default. Implement further D-Bus standard interfaces.
6858
ef24141c
SM
6859 * net/dbus.el (dbus-message-internal): Declare function.
6860 Remove unneeded function declarations.
dcbf5805
MA
6861 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6862 (dbus-message-type-method-return, dbus-message-type-error)
6863 (dbus-message-type-signal): Declare variables. Remove local
6864 definitions.
6865 (dbus-interface-dbus, dbus-interface-peer)
6866 (dbus-interface-introspectable, dbus-interface-properties)
6867 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6868 Adapt docstring.
6869 (dbus-interface-objectmanager): New defconst.
6870 (dbus-call-method, dbus-call-method-asynchronously)
6871 (dbus-send-signal, dbus-method-return-internal)
6872 (dbus-method-error-internal, dbus-register-service)
6873 (dbus-register-signal, dbus-register-method): New defuns, moved
6874 from dbusbind.c
6875 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6876 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6877 New defuns.
dcbf5805
MA
6878 (dbus-call-method-non-blocking): Make it an obsolete function.
6879 (dbus-unregister-object, dbus-unregister-service)
6880 (dbus-handle-event, dbus-register-property)
6881 (dbus-property-handler): Obey the new structure of
6882 `bus-registered-objects'.
6883 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6884 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6885 Use `dbus-call-method'.
6886
cf20dee0
CY
68872012-04-22 Chong Yidong <cyd@gnu.org>
6888
6889 * cus-edit.el (custom-commands, custom-reset-menu)
6890 (Custom-reset-standard): Tweak labels.
6891 (custom-reset-button-menu): Change default to t.
6892 (custom-buffer-create-internal): For the custom-reset-button-menu
6893 case, put the revert button first.
6894 (custom-group-subtitle): New face.
6895 (custom-group-value-create): Align docstring to a specific column.
6896
6897 * wid-edit.el (widget-documentation-link-add): Don't handle
6898 indentation in this function.
6899 (widget-documentation-string-indent-to): New function.
6900 (widget-documentation-string-value-create): Use it.
6901
6902 * autorevert.el (auto-revert):
6903 * epg-config.el (epg):
6904 * ibuffer.el (ibuffer):
6905 * mpc.el (mpc):
6906 * ses.el (ses):
6907 * eshell/eshell.el (eshell):
6908 * net/ange-ftp.el (ange-ftp):
6909 * progmodes/ebnf2ps.el (postscript):
6910 * progmodes/flymake.el (flymake):
6911 * progmodes/prolog.el (prolog):
6912 * progmodes/verilog-mode.el (verilog-mode):
6913 * progmodes/which-func.el (which-func):
6914 * term/xterm.el (xterm):
6915 * textmodes/picture.el (picture):
6916 * textmodes/tildify.el (tildify):
6917 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6918 customization buffers.
6919
583e23bd
AM
69202012-04-22 Alan Mackenzie <acm@muc.de>
6921
6922 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6923 Adding a ) can hide the resulting (..) from searches. Fix it.
6924 Bound the backward search to the position of the existing (.
6925
7dd51bf1
JB
69262012-04-21 Juanma Barranquero <lekktu@gmail.com>
6927
6928 * progmodes/verilog-mode.el (verilog-mode): Check whether
6929 which-func-modes is t before adding verilog-mode.
6930 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6931
d64a438f
LL
69322012-04-21 Leo Liu <sdl.web@gmail.com>
6933
7dd51bf1 6934 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6935
081e8d65
MV
69362012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6937
6938 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6939 filling of the last column of a table (Bug#5635).
6940 (woman-find-next-control-line): New arg, specifying an additional
6941 regexp component for the control line.
6942 (woman2-roff-buffer): Use it.
6943 (woman-break-table): New function.
6944 (woman2-TS): Use it.
6945
69462012-04-21 Chong Yidong <cyd@gnu.org>
6947
6948 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6949 (woman-horizontal-escapes, woman-negative-vertical-space)
6950 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6951 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6952
ed571ccb
SM
69532012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * minibuffer.el (completion-file-name-table): Complete user names.
6956
39773899
LL
69572012-04-20 Leo Liu <sdl.web@gmail.com>
6958
6959 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6960 and pcase-let*.
6961
de6ff46d
CY
69622012-04-20 Chong Yidong <cyd@gnu.org>
6963
6964 * server.el (server-execute): Respect initial-buffer-choice if it
6965 is a string and there are no files to open (Bug#2825).
6966 (server-create-window-system-frame, server-create-tty-frame):
6967 Don't switch buffers here.
2d0e8e61
CY
6968 (server-process-filter): Only try to open a window system frame if
6969 compiled with graphical support (Bug#8314).
de6ff46d 6970
54071013
DN
69712012-04-20 Dan Nicolaescu <dann@gnu.org>
6972
6973 * battery.el (battery-echo-area-format): Display remaining time
6974 for sysfs backend too (Bug#11269).
6975 (battery-linux-sysfs): Fix conditional for the charge.
6976
f30d612a
CY
69772012-04-20 Chong Yidong <cyd@gnu.org>
6978
c07a4c0b 6979 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6980 (gdb-inferior-io--init-proc): New function.
6981 (gdb-init-1): Use it.
6982 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6983 responsible for allocating a new pty and hooking it to gdb when
6984 the old pty gets an EIO due to process exit.
6985 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6986 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6987 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6988
2116e93c
EZ
69892012-04-20 Eli Zaretskii <eliz@gnu.org>
6990
6991 * window.el (window-min-size, window-sizable, window-min-delta)
6992 (window-max-delta, window--resizable, window-resizable)
6993 (window-total-size, window-full-height-p, window-full-width-p)
6994 (window-in-direction, window--resize-mini-window, window-resize)
6995 (window--resize-child-windows-normal)
6996 (window--resize-child-windows, window--resize-siblings)
6997 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6998 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6999
c07a4c0b 70002012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7001
ef24141c
SM
7002 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7003 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7004 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7005 pty process (Bug#11273).
7006 (gdb-update): New arg to suppress talking to the gdb process.
7007 (gdb-done-or-error): Use it.
7008 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7009 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7010 sentinel not being called.
7011
7012 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7013
d02766ab
CY
7014 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7015
c07a4c0b 70162012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7017
7018 * net/network-stream.el (open-network-stream): Doc fix.
7019
c07a4c0b 70202012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7021
7022 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7023
c07a4c0b 70242012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7025
7026 Ensure searching for keywords is case sensitive.
7027
7028 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7029 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7030 (c-defun-name, c-mark-function, c-cpp-define-name)
7031 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7032 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7033
ef24141c
SM
7034 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7035 Bind case-fold-search to nil.
f0f6bc35 7036
c07a4c0b 70372012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7038
7039 * mail/sendmail.el (mail-bury): Call return action with the right
7040 Rmail buffer (Bug#11242).
7041
9a864fa2
CY
7042 * server.el (server-process-filter): Handle corner case where both
7043 tty and nowait options are present (Bug#11102).
7044
539aa513
EZ
70452012-04-20 Eli Zaretskii <eliz@gnu.org>
7046
7047 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7048 (top level): Put into the executable the ident-style '$Id:' tag on
7049 windows-nt as well.
539aa513 7050
cfc7d5da
SM
70512012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7052
7053 * electric.el (electric-indent-post-self-insert-function): Check that
7054 electric-indent-mode is enabled in current buffer.
7055
5b01685c
JB
70562012-04-19 Juanma Barranquero <lekktu@gmail.com>
7057
7058 * imenu.el (imenu-progress-message): Restore; it is "used" in
7059 erc/erc-imenu.el and net/snmp-mode.el.
7060
4d6769e1
JB
70612012-04-19 Juanma Barranquero <lekktu@gmail.com>
7062
7063 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7064 (mouse-avoidance-nudge-mouse): Remove unused binding.
7065
7066 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7067
7068 * descr-text.el (describe-char):
7069 * progmodes/python.el (python-describe-symbol):
7070 Don't call `toggle-read-only', set `buffer-read-only'.
7071
7072 * imenu.el (imenu-default-goto-function): Mark unused args.
7073 (imenu-progress-message): Remove obsolete macro; all callers changed.
7074
7075 * subr.el (keymap-canonicalize): Remove unused binding.
7076 (read-passwd): Mark unused arg.
7077
7078 * tutorial.el (tutorial--display-changes): Remove unused binding.
7079 (tutorial--save-tutorial-to): Remove unused variable.
7080
7081 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7082 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7083 (package-generate-autoloads, package-menu--generate)
7084 (package-menu--find-upgrades): Remove unused bindings.
7085
7086 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7087 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7088 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7089 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7090 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7091 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7092 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7093 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7094 (cua-delete-char-rectangle): Mark unused args.
7095 (cua-align-rectangle): Remove unused binding.
7096
7097 * mail/rmail.el (compilation--message->loc)
7098 (epa--find-coding-system-for-mime-charset): Declare.
7099
7100 * net/dbus.el (dbus-register-service): Declare.
7101 (dbus-name-owner-changed-handler): Remove unused binding.
7102
7103 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7104 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7105 (nxml-scan-backward-within): Mark unused arg.
7106 (nxml-dynamic-markup-word): Remove unused binding.
7107
7108 * mouse.el (mouse-menu-major-mode-map):
7109 * emacs-lisp/authors.el (authors-scan-change-log)
7110 (authors-add-to-author-list):
7111 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7112 * emacs-lisp/smie.el (smie-auto-fill):
7113 * mail/sendmail.el (mail-bury):
7114 * mail/unrmail.el (unrmail):
7115 * net/tls.el (open-tls-stream):
7116 * textmodes/picture.el (picture-mouse-set-point):
7117 Remove unused bindings.
7118
8c8fc5df
MA
71192012-04-19 Michael Albinus <michael.albinus@gmx.de>
7120
7121 * net/tramp.el (tramp-action-password): Let-bind
7122 `enable-recursive-minibuffers' to t.
7123
a77b0ac9
SS
71242012-04-18 Sam Steingold <sds@gnu.org>
7125
7126 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7127 instead of 'string to accommodate values like [f11].
7128 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7129 * progmodes/gdb-mi.el: Likewise.
7130
12a106a9
LL
71312012-04-18 Leo Liu <sdl.web@gmail.com>
7132
7133 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7134 current buffer.
7135 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7136 LOCAL is nil.
7137
bc6494ef
CY
71382012-04-18 Chong Yidong <cyd@gnu.org>
7139
7140 * simple.el (line-move): Use forward-line if in batch mode
7141 (Bug#11053).
7142
c09c46b2
CS
71432012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7144
7145 * files.el (after-find-file): Do not try to add a final newline if
7146 the buffer is read-only (Bug#11156).
7147
5f6530ea
RS
71482012-04-17 Richard Stallman <rms@gnu.org>
7149
7150 * mail/rmail.el (rmail-start-mail):
7151 Pass (rmail-mail-return...) for the return-action.
7152 Pass (rmail-yank-current-message...) for the yank-action.
7153 (rmail-yank-current-message): New function.
7154 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7155 (rmail-reply): Likewise.
7156 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7157
7158 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7159 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7160 buffer, not newbuf.
7161
197b6f3c
JB
71622012-04-17 Juanma Barranquero <lekktu@gmail.com>
7163
7164 * server.el (server-ensure-safe-dir): Simplify.
7165
2311d8e5 71662012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7167
2311d8e5
GM
7168 * emacs-lisp/smie.el: Provide smarter auto-filling.
7169 (smie-auto-fill): New function.
7170 (smie-setup): Use it.
98fb480e 7171
2311d8e5
GM
7172 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7173
71742012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7175
7176 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7177 (comment-indent): Use it.
7178
2311d8e5 71792012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7180
7181 * ses.el: The overall change is to add cell renaming, that is
7182 setting fancy names for cell symbols other than name matching
7183 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7184 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7185 (ses-create-cell-variable): New defun.
2311d8e5 7186 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7187 (ses-relocate-formula): Relocate formulas only for cells the
7188 symbols of which are not renamed, i.e. symbols whose names do not
7189 match regexp "\\`[A-Z]+[0-9]+\\'".
7190 (ses-relocate-all): Relocate values only for cells the symbols of
7191 which are not renamed.
7192 (ses-load): Create cells variables as the (ses-cell ...) are read,
7193 in order to check row col consistency with cell symbol name only
7194 for cells that are not renamed.
7195 (ses-replace-name-in-formula): New defun.
7196 (ses-rename-cell): New defun.
4bdf2ad2 7197
fc72b15c
PO
71982012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7199
7200 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7201 New option (bug#11118).
7202 (perl-calculate-indent): Respect it.
7203
12e10e61
GM
72042012-04-17 Glenn Morris <rgm@gnu.org>
7205
7206 * dired-aux.el (dired-mark-read-string): Doc fix.
7207
30009afd
DA
72082012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7209
7210 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7211 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7212
41f03f4d
GM
72132012-04-17 Glenn Morris <rgm@gnu.org>
7214
7215 * mouse.el (mouse-drag-track):
7216 * speedbar.el (speedbar-frame-mode):
7217 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7218
f45f90f3
LL
72192012-04-16 Leo Liu <sdl.web@gmail.com>
7220
7221 * progmodes/python.el: Trivial cleanup.
7222
94ee8db5
GM
72232012-04-16 Glenn Morris <rgm@gnu.org>
7224
121b8917
GM
7225 * vc/vc.el (vc-string-prefix-p):
7226 * vc/pcvs-util.el (cvs-string-prefix-p):
7227 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7228 * mpc.el (mpc-string-prefix-p):
7229 Make all of these into obsolete aliases for string-prefix-p.
7230 Update callers.
7231 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7232
1197ecfa
GM
7233 * textmodes/two-column.el: Move custom options to the start.
7234 (frame-width): Remove compat definition.
7235 (2C-associate-buffer, 2C-dissociate):
7236 Use with-current-buffer rather than save-excursion.
7237 (2C-dissociate): Force a mode-line update.
7238 (2C-autoscroll): Use ignore-errors.
7239
099e7202
GM
7240 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7241 Autoload trivia.
7242
bf350d6a
GM
7243 * emacs-lisp/cl-extra.el (*random-state*):
7244 Remove unnecessary declaration.
7245
0e829eab
GM
7246 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7247
e3ad7552
GM
7248 * play/cookie1.el (cookie-snarf):
7249 Give an explicit error if input file cannot be read.
7250
68892d27
GM
7251 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7252
20f0c46d
GM
7253 * progmodes/perl-mode.el (c-macro-expand):
7254 Remove unnecessary autoload (it is in loaddefs.el).
7255
5a0978ce
GM
7256 * textmodes/picture.el (picture-desired-column)
7257 (picture-update-desired-column): Convert comments to doc-strings.
7258 (picture-substitute): Remove function.
7259 (picture-mode-map): Initialize in the defvar.
7260
6b955486
GM
7261 * woman.el: Remove eval-after-load for tar-mode.
7262 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7263 (woman-tar-extract-file): Autoload it.
7264
94ee8db5
GM
7265 * frame.el (automatic-hscrolling): Make this alias obsolete.
7266
177eca34
AM
72672012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7268
090bd7cb 7269 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7270 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7271 (ispell-dictionary-base-alist): Revert to original XEmacs
7272 friendly version for default. [:alpha:] will be added in
090bd7cb 7273 `ispell-set-spellchecker-params' if needed.
177eca34 7274
c505aaeb
CY
72752012-04-16 Chong Yidong <cyd@gnu.org>
7276
b19dd9d1 7277 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7278 (imagemagick-register-types): Use it.
7279 (imagemagick-types-inhibit): Add :set function. Allow new value
7280 of t to inhibit all types.
7281
7282 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7283 so we can preload it.
7284
7285 * loadup.el (fboundp): Preload regexp-opt, needed by
7286 imagemagick-register-types.
7287
60efac0f
CY
72882012-04-15 Chong Yidong <cyd@gnu.org>
7289
7290 * frame.el (scrolling): Remove nearly unused customization group.
7291
7292 * scroll-all.el (scroll-all-mode): Move to windows group.
7293
5dd1713e
CY
72942012-04-15 Chong Yidong <cyd@gnu.org>
7295
7296 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7297
e6fd457e
CY
72982012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7301 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7302
e153c136
GM
73032012-04-15 Glenn Morris <rgm@gnu.org>
7304
7305 * simple.el (process-file-side-effects): Doc fix.
7306
e6fd457e 73072012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7308
7309 * international/mule-cmds.el (set-language-environment): Doc fix.
7310
3603c3b1
JB
73112012-04-14 Juanma Barranquero <lekktu@gmail.com>
7312
7313 * server.el (server-auth-key, server-generate-key): Doc fixes.
7314 (server-get-auth-key): Doc fix. Use `string-match-p'.
7315 (server-start): Reflow docstring.
7316
e6de100c
LI
73172012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7318
7319 * server.el (server-generate-key): `called-interactively-p'
7320 requires a parameter.
7321
29734c21
MN
73222012-04-14 Michal Nazarewicz <mina86@mina86.com>
7323
7324 * server.el (server-auth-key): New variable.
75f1671a 7325 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7326 (server-start): Use the new variable and functions to allow
7327 setting a permanent server key (bug#9423).
7328
d65c9521
LL
73292012-04-14 Leo Liu <sdl.web@gmail.com>
7330
7331 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7332
5ae255c7
PE
73332012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7334
7335 Spelling fixes.
7336 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7337 Emacs uses American spelling.
7338
d5e6342e
JB
73392012-04-14 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7342 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7343 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7344 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7345
ab036cd7
SM
73462012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * progmodes/which-func.el (which-func-modes): Change default.
7349
35dc09a1 73502012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7351
7352 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7353 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7354
35dc09a1 73552012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7356
7357 * custom.el (custom-theme-set-variables): Doc fix.
7358
35dc09a1 73592012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7360
7361 * international/mule.el (set-auto-coding-for-load): Doc fix.
7362
35dc09a1 73632012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7364
35dc09a1
GM
7365 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7366 imenu work again for Objective C Mode. Correct the *-index values,
7367 these having been disturbed by a previous change in 2011-08.
57f845ee 7368
0de3da9f
AM
7369 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7370 Correct two search limits.
7371
35dc09a1 73722012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7373
7374 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7375
35dc09a1 73762012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7377
7378 * international/characters.el: Fix sorting.
7379
35dc09a1 73802012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7381
7382 * international/characters.el: Add more missing Latin case pairs.
7383
35dc09a1 73842012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7385
7386 * files.el (dir-locals-set-class-variables): Doc fix.
7387
35dc09a1 73882012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7389
3f1b5bf8
EZ
7390 * international/characters.el: Add set-case-syntax-pair call for
7391 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7392 counterpart. (Bug#11209)
7393
9f847f41
EZ
7394 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7395
35dc09a1 73962012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7397
7398 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7399
35dc09a1 74002012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7401
35dc09a1
GM
7402 * textmodes/ispell.el (ispell-dictionary-base-alist):
7403 Add data for Hebrew.
e2627d21 7404
35dc09a1 74052012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7406
35dc09a1
GM
7407 * net/rcirc.el (rcirc-cmd-quit):
7408 Revert 2012-03-18 change (Bug#11192).
5c14e333 7409
35dc09a1 74102012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7411
7412 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7413
35dc09a1 74142012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7415
4517fe3a
SM
7416 * minibuffer.el (completion-in-region-mode-map):
7417 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7418
b472a594
VD
74192012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7420
7421 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7422
09b95ce3
MY
74232012-04-13 Masatake YAMATO <yamato@redhat.com>
7424
7425 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7426 to allow `C-M-f' and `C-M-b' to move to the nearest path
7427 separator (bug#9511).
7428
4b63a9ca
LI
74292012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7430
7431 * avoid.el: Require cl when compiling. And also move the
7432 `provide' to the end.
7433
7b55b8bf
TV
74342012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7435
7436 * avoid.el (mouse-avoidance-banish-position): New variable.
7437 (mouse-avoidance-banish-destination): Use it (bug#10165).
7438
adedaa1f
LL
74392012-04-13 Leo Liu <sdl.web@gmail.com>
7440
7441 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7442
70e74021
KB
74432012-04-13 Ken Brown <kbrown@cornell.edu>
7444
7445 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7446 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7447 (browse-url-filename-alist): For the same reason, don't modify
7448 file:// URLs on Cygwin.
7449
e75e89ba
SM
74502012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7451
7452 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7453 the region on shift if the binding is already shifted (bug#11221).
7454
82f289a4
GM
74552012-04-12 Glenn Morris <rgm@gnu.org>
7456
7457 * mail/mailpost.el: Move to obsolete/.
7458
d333dc4c
DA
74592012-04-12 Drew Adams <drew.adams@oracle.com>
7460
7461 * imenu.el (imenu--generic-function): Ignore invisible definitions
7462 (bug#10123).
7463
0d15b5ba
VD
74642012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7465
7466 * hexl.el (hexl-bits): New variable.
7467 (hexl-options): Mention the variable in the doc string.
75f1671a 7468 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7469 (hexl-mode): Mention the new variable.
75f1671a
JB
7470 (hexl-mode, hexl-current-address, hexl-current-address):
7471 Use the displen.
0d15b5ba
VD
7472 (hexl-ascii-start-column): New function.
7473 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7474 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7475
64a440db
AM
74762012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7477
7478 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7479 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7480 the encoding, as expected by hunspell.
7481
6decb6c2
SM
74822012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * battery.el (battery--linux-sysfs-regexp): New const.
7485 (battery-status-function): Use it. Remove yeeloong special case.
7486 (battery-yeeloong-sysfs): Remove.
7487 (battery-echo-area-format): Remove yeeloong special case.
7488
088be6fb
SM
74892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7490
6622e416
SM
7491 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7492 Reported by Noah Friedman.
7493
088be6fb
SM
7494 * subr.el (read-passwd): Use read-string.
7495
b49f886e
LMI
74962012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7497
7498 * vcursor.el (vcursor-move): Increase the priority of the overlay
7499 (bug#9663).
7500
a63067fc
DD
75012012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7502
7503 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7504 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7505
ac3cf14a
WS
75062012-04-11 William Stevenson <yhvh2000@gmail.com>
7507
7508 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7509 define-minor-mode (bug#10760).
7510
c4fc691b 75112012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7512
4d6769e1 7513 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7514 that directories matching `grep-find-ignored-files' won't be
7515 pruned (bug#10351).
7516
af23e2e5
CY
75172012-04-11 Chong Yidong <cyd@gnu.org>
7518
7519 * startup.el (command-line): Remove support for long-obsolete
7520 variable font-lock-face-attributes.
7521
ab7ce8c1
GM
75222012-04-11 Glenn Morris <rgm@gnu.org>
7523
7524 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7525
de8c03dc
SM
75262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * window.el (window--state-get-1): Obey window-point-insertion-type.
7529
050cc68b
LB
75302012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7531
7532 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7533 to previous function when point is on the first character of a
75f1671a 7534 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7535
a38c310c
GM
75362012-04-11 Glenn Morris <rgm@gnu.org>
7537
effed0c2
GM
7538 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7539 not just file-errors.
7540
a38c310c
GM
7541 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7542 (vc-bzr-sha1): Use internal sha1.
7543
0221e323
SM
75442012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7547
43956923
SG
75482012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7549
7550 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7551 that start in the middle of the line (bug#10496).
7552
6a8c9eaf
DN
75532012-04-10 Dan Nicolaescu <dann@gnu.org>
7554
7555 * battery.el (battery-linux-proc-acpi): Only one battery is
7556 discharged at a time, but that seems to confuse battery.el when
7557 computing `rate-type' for the battery not being discharged
7558 (bug#10332).
7559
1930bf5d
SM
75602012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7561
2a718f6f
SM
7562 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7563
599430d0
SM
7564 * international/quail.el: Use dolist and simplify.
7565 (quail-define-package, quail-update-keyboard-layout)
7566 (quail-define-rules): Use dolist.
7567 (quail-insert-kbd-layout, quail-get-translation): CSE.
7568
a2754b6c
SM
7569 * tmm.el: Use dolist, remove left over hook.
7570 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7571 Use dolist.
7572 (calendar-load-hook): Don't mess with it.
7573
1930bf5d
SM
7574 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7575 Use derived-mode-p. Run the diff asynchronously.
7576
9f67961c
LMI
75772012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7578
7579 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7580
2a8ce227
JB
75812012-04-10 Juanma Barranquero <lekktu@gmail.com>
7582
7583 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7584 (list-dynamic-libraries--loaded): New function.
7585 (list-dynamic-libraries--refresh): Use it.
7586
8f33b5f8
NW
75872012-04-10 Nathan Weizenbaum <nweiz@google.com>
7588
1930bf5d
SM
7589 * progmodes/python.el (python-fill-paragraph):
7590 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7591 disabled (bug#7018).
7592
b12f0439
L
75932012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7594
1930bf5d 7595 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7596 DOS/MS Windows for the Baltic languages. There are still plenty
7597 of texts written in this encoding/codepage (bug#6519).
b12f0439 7598
57c3bd01
GM
75992012-04-10 Glenn Morris <rgm@gnu.org>
7600
7601 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7602 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7603
6c3eab30
FA
76042012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7605
1930bf5d 7606 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7607 next-line "n" and previous-line "p" in order to make recentf more
7608 consistent with ibuffer, dired or org-mode (bug#9387).
7609
24d78a88
LMI
76102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7611
bc72b5d9
LMI
7612 * image.el (put-image): Return the overlay created instead of the
7613 optional input string (bug#7834). Note that this may break code
7614 that is (for some reason or other) depending on `put-image'
7615 returning the string.
7616
bd2dba5a
LMI
7617 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7618
74beb59f
LMI
7619 * simple.el (zap-to-char): Allow zapping using input methods
7620 (bug#1580).
7621
24d78a88
LMI
7622 * textmodes/fill.el (fill-region): Leave point and mark where they
7623 were before filling (bug#5399).
7624
263f20cd
GM
76252012-04-09 Glenn Morris <rgm@gnu.org>
7626
7627 * version.el (emacs-bzr-get-version):
7628 Handle lightweight checkouts of local branches.
7629
58d1f797
AS
76302012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7631
263f20cd 7632 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7633
b4d3bc10
CY
76342012-04-09 Chong Yidong <cyd@gnu.org>
7635
7636 * custom.el (custom-variable-p): Return nil for non-symbol
7637 arguments instead of signaling an error.
7638 (user-variable-p): Obsolete alias for custom-variable-p.
7639
7640 * apropos.el (apropos-variable):
7641 * files-x.el (read-file-local-variable):
7642 * simple.el (set-variable):
7643 * woman.el (woman-mini-help):
7644 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7645
fd06db5d
GM
76462012-04-09 Glenn Morris <rgm@gnu.org>
7647
e5fcdb5e
GM
7648 * startup.el (normal-top-level): Don't look for leim-list.el
7649 in places where it will not be found. (Bug#910)
7650
fd06db5d
GM
7651 * international/mule-cmds.el (set-default-coding-systems):
7652 * files.el (normal-mode):
7653 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7654 This function was removed with ucs-tables.el in 2008.
7655
b39bb7e1
EZ
76562012-04-08 Eli Zaretskii <eliz@gnu.org>
7657
7658 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7659 ispell-encoding8-command to "-i", without a trailing space.
7660 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7661 separate command-line arguments, to specify the encoding, since
7662 that's how hunspell expects it.
7663
5c5b8e23
GM
76642012-04-08 Glenn Morris <rgm@gnu.org>
7665
7666 * loadup.el: Load bindings before cus-start.
7667 This reduces somewhat the number of "rogue" settings in emacs -Q.
7668
a1ed8b05
GM
76692012-04-07 Glenn Morris <rgm@gnu.org>
7670
7671 * version.el (emacs-bzr-get-version): New function.
dfae128a 7672 (emacs-bzr-version): New variable.
a1ed8b05
GM
7673 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7674 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7675
b142f158
EZ
76762012-04-07 Eli Zaretskii <eliz@gnu.org>
7677
dfae128a
GM
7678 * international/uni-bidi.el, international/uni-category.el:
7679 * international/uni-combining.el, international/uni-decimal.el:
7680 * international/uni-decomposition.el, international/uni-digit.el:
7681 * international/uni-lowercase.el, international/uni-mirrored.el:
7682 * international/uni-name.el, international/uni-numeric.el:
7683 * international/uni-titlecase.el, international/uni-uppercase.el:
7684 Update for Unicode 6.1.
b142f158 7685
9078ead6
EZ
76862012-04-07 Eli Zaretskii <eliz@gnu.org>
7687
7688 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7689
f23d2c7d
LMI
76902012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7691
7692 * window.el (shrink-window): Mention the `window-min-height'
7693 variable in the doc string.
7694
0a0a3573
BG
76952012-04-05 Bastien Guerry <bzg@altern.org>
7696
7697 * color.el (color-lighten-name): Fix typo.
7698
e5248ac9
SM
76992012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * server.el (server--on-display-p): New function.
7702 (server--on-display-p): Use it.
7703
b4243e22
GV
77042012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7705
7706 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7707 (bug#11145).
7708
305d9f44
SM
77092012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * comint.el (comint--common-quoted-suffix): Check string boundary
7712 before comparing (bug#11158).
7713 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7714
3d439cd1
CY
77152012-04-04 Chong Yidong <cyd@gnu.org>
7716
321cc491
CY
7717 * minibuffer.el (completion-extra-properties): Doc fix.
7718
3d439cd1
CY
7719 * subr.el (delayed-warnings-hook): Doc fix.
7720
2d562c0f
DU
77212012-04-04 Daiki Ueno <ueno@unixuser.org>
7722
7723 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7724 selection (Bug#11159).
7725 (epa-insert-keys): Inform that the default public key will be
7726 exported if no key is selected.
7727
4443f204
RS
77282012-04-04 Richard Stallman <rms@gnu.org>
7729
7730 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7731
529c06b6
CY
77322012-04-03 Chong Yidong <cyd@gnu.org>
7733
7734 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7735 mail-insert-file, not its obsolete alias mail-attach-file.
7736
66b907dc
MA
77372012-04-03 Michael Albinus <michael.albinus@gmx.de>
7738
7739 * notifications.el (notifications-notify): Fix docstring.
7740
c0ea195d
GM
77412012-04-02 Glenn Morris <rgm@gnu.org>
7742
7743 * emacs-lisp/authors.el (authors-aliases): Another addition.
7744
5ca64e00
MA
77452012-04-02 Michael Albinus <michael.albinus@gmx.de>
7746
7747 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7748 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7749 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7750
42ee526b
CY
77512012-04-01 Chong Yidong <cyd@gnu.org>
7752
7753 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7754 Handle root directory properly.
7755 (copy-directory): Caller changed.
7756
7757 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7758 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7759
0b021094
GM
77602012-03-31 Glenn Morris <rgm@gnu.org>
7761
40f86458
GM
7762 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7763
7019c177
GM
7764 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7765
a1daddd6
GM
7766 * calendar/calendar.el (calendar-window-list)
7767 (calendar-hide-window): Restore. (Bug#11140)
7768 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7769
0b021094
GM
7770 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7771
40311efc
TV
77722012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7773
7774 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7775 Check if file is a symlink (Bug#10489).
7776
7777 * files.el (copy-directory): Likewise.
7778
5319014e
CY
77792012-03-30 Chong Yidong <cyd@gnu.org>
7780
7781 * image.el (imagemagick-types-inhibit)
7782 (imagemagick-register-types): Doc fix.
7783
935d1290
AM
77842012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7785
090bd7cb 7786 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7787 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7788 and treats ~word as ordinary words in pipe mode.
935d1290 7789
61c6e8fd
GM
77902012-03-30 Glenn Morris <rgm@gnu.org>
7791
7792 * tutorial.el (help-with-tutorial): Ensure local variables don't
7793 happen to make the buffer read-only. (Bug#11127)
7794
81fdff00
SM
77952012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7796
7797 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7798 (perl-calculate-indent): Return `noindent' in strings.
7799
6e7a6ec0
SS
78002012-03-28 Sam Steingold <sds@gnu.org>
7801
7802 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7803 instead of the broken adhockery which does not prevent calendar
7804 buffers from being displayed at random after exit.
7805 (calendar-window-list, calendar-hide-window): Remove the broken
7806 adhockery.
7807
fee88ca0
GM
78082012-03-28 Glenn Morris <rgm@gnu.org>
7809
7810 * replace.el (query-replace-map): Doc fix.
7811
38de3354
AS
78122012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7813
7814 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7815 contents. (Bug#11109)
7816
b973155e
SM
78172012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7818
7819 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7820 (bug#11077).
7821 (avl-tree--check, avl-tree--check-node): New funs.
7822
dcb6e7b3
MR
78232012-03-27 Martin Rudalics <rudalics@gmx.at>
7824
7825 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7826 (switch-to-prev-buffer, switch-to-next-buffer):
7827 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7828 showing a buffer already is done on the same frame.
7829
b4fa35fa
GM
78302012-03-27 Glenn Morris <rgm@gnu.org>
7831
7832 * startup.el (mail-host-address): Doc fix.
7833
f9210e18
SM
78342012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7837 than 197 variables.
7838
c0bf7753
AF
78392012-03-26 Ami Fischman <ami@fischman.org>
7840
7841 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7842
33da7b16
GM
78432012-03-26 Glenn Morris <rgm@gnu.org>
7844
02243d9d
GM
7845 * files.el (save-buffers-kill-emacs): Doc fix.
7846
33da7b16
GM
7847 * startup.el (normal-top-level, command-line, command-line-1):
7848 Give them doc strings.
7849
e5a69fd0
EZ
78502012-03-25 Eli Zaretskii <eliz@gnu.org>
7851
7852 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7853 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7854
9a69676a
CY
78552012-03-25 Chong Yidong <cyd@gnu.org>
7856
4125cb8b
CY
7857 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7858 theme if it was previously enabled before (Bug#11031).
7859
dd470960
CY
7860 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7861 spec with custom-face-get-current-spec if its :shown-value is not
7862 determined yet (Bug#9337).
4125cb8b 7863 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7864
9a69676a
CY
7865 * button.el (button-at): Minor addition to docstring.
7866
6e7e90fa
SL
78672012-03-24 Simon Leinen <simon.leinen@gmail.com>
7868
7869 * vc/vc.el (vc-merge): Fix a prompt.
7870
f06e2758
CY
78712012-03-24 Chong Yidong <cyd@gnu.org>
7872
7873 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7874 point (Bug#9623).
7875
6e7e90fa
SL
7876 * button.el (button-at): Minor addition to docstring.
7877
b9d0879b
SM
78782012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * newcomment.el (comment-choose-indent): No space after BOL.
7881
e71cebb3
SS
78822012-03-22 Sam Steingold <sds@gnu.org>
7883
7884 * window.el (switch-to-prev-buffer): Revert last patch because the
7885 bug turned out to be an advertised feature (Elisp manual 28.14).
7886
335aff35
GM
78872012-03-22 Glenn Morris <rgm@gnu.org>
7888
7889 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7890 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7891
c676576a
LMI
78922012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7893
7894 * net/network-stream.el (network-stream-open-starttls): Make error
7895 message under Windows be less misleading.
7896
126f3d39
LW
78972012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7898
7899 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7900 understands (bug#9942).
7901
64fee311
CY
79022012-03-22 Chong Yidong <cyd@gnu.org>
7903
7904 * simple.el (end-of-visible-line): Handle return value of
7905 next-single-property-change properly (Bug#9371).
7906
a640d29a
KH
79072012-03-22 Kenichi Handa <handa@m17n.org>
7908
7909 * international/quail.el (quail-insert-kbd-layout): Fix previous
7910 change. To avoid unwanted bidi reordering, use
7911 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7912
39675016
DG
79132012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7914
7915 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7916 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7917 (ruby-beginning-of-indent): Be more careful with the difference
7918 between word-boundary and symbol boundary.
7919 (ruby-mode-syntax-table): Make : a symbol constituent.
7920
0a6934fc 79212012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7922
3d008e4f
SM
7923 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7924
0a6934fc
SM
79252012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7926
af67c9d7
SM
7927 * progmodes/etags.el (tags-completion-at-point-function):
7928 Improve last fix.
7929
1acad97c
SM
7930 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7931
e298b5da
SS
79322012-03-21 Sam Steingold <sds@gnu.org>
7933
7934 * progmodes/etags.el (tags-completion-at-point-function):
7935 Avoid the error when point is inside the pattern.
7936
91d82a70
JY
79372012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7938
7939 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7940 line (Bug#10855).
7941
69188b79
CY
79422012-03-21 Drew Adams <drew.adams@oracle.com>
7943
7944 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7945
99fc91fe
AK
79462012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7947
7948 * ido.el (ido-set-current-directory, ido-read-internal)
7949 (ido-choose-completion-string, ido-completion-help): Handle nil
7950 value of ido-completion-buffer (Bug#11008).
7951
087bbb4c
SS
79522012-03-21 Sam Steingold <sds@gnu.org>
7953
7954 * window.el (switch-to-prev-buffer): Do not switch to a visible
7955 window previous buffer, just like with the frame previous buffers.
7956
fb5b8aca
CY
79572012-03-21 Chong Yidong <cyd@gnu.org>
7958
7959 * faces.el (make-face, make-empty-face, copy-face):
7960 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7961 Doc fixes.
7962
dc9924b8
SM
79632012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7964
7965 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7966 (widget-complete): Remove broken use of it.
7967
f0bcceb9
CY
79682012-03-20 Chong Yidong <cyd@gnu.org>
7969
dc9924b8
SM
7970 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7971 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7972 characters.
7973
ee52ebf3
TH
79742012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7975
7976 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7977 to draw rectangles, not squares. (Regression introduced by revno
7978 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7979
4c5779ab
CY
79802012-03-18 Chong Yidong <cyd@gnu.org>
7981
7982 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7983 it is not yet defined (for temacs).
7984
15360934
LL
79852012-03-18 Leo Liu <sdl.web@gmail.com>
7986
dc9924b8 7987 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7988
d9a8eb66
EZ
79892012-03-17 Eli Zaretskii <eliz@gnu.org>
7990
7991 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7992 (ispell-choices-win-default-height, ispell-silently-savep)
7993 (ispell-dictionary-alist, ispell-encoding8-command)
7994 (ispell-check-version, ispell-aspell-find-dictionary)
7995 (ispell-valid-dictionary-list, ispell-words-keyword)
7996 (ispell-get-word, ispell-internal-change-dictionary)
7997 (ispell-region, ispell-skip-region-list)
7998 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7999 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8000 (ispell-message-text-end, ispell-message)
8001 (ispell-buffer-local-parsing): Doc fix.
8002
f02ff80d
J
80032012-03-13 Jambunathan K <kjambunathan@gmail.com>
8004
8005 * htmlfontify.el: Add support for code block fontification for ODT
8006 export (Bug #9914).
8007 (hfy-optimisations): Define new option
8008 `body-text-only'
8009 (hfy-fontify-buffer): Honor above setting.
8010 (hfy-begin-span, hfy-end-span): New routines factored out form
8011 `hfy-fontify-buffer'.
8012 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8013 that permit insertion of custom tags.
8014 (hfy-fontify-buffer): Use above handlers.
8015 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8016 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8017 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8018 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8019 bind a special variable `hfy-user-sheet-assoc'.
8020 (htmlfontify-string): New defun.
8021 (hfy-compile-face-map): Make sure that the last char in the
8022 buffer is correctly fontified.
8023 (hfy-face-resolve-face): Whitespace only change.
8024
9ac7a13f
EZ
80252012-03-17 Eli Zaretskii <eliz@gnu.org>
8026
8027 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8028 message more clear.
8029
e2b5bdd7
LL
80302012-03-16 Leo Liu <sdl.web@gmail.com>
8031
8032 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8033
2e492df3
AM
80342012-03-16 Alan Mackenzie <acm@muc.de>
8035
8036 Further optimise the handling of large macros.
8037
8038 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8039 limit to a call of `c-literal-limits'.
8040 (c-determine-+ve-limit): New function.
dc9924b8
SM
8041 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8042 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8043 In CASE 5B, restrict a search limit to 500.
8044 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8045
8046 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8047 Restrict macro bounds to +-500 from after-change's BEG END.
8048
50e94f0c
LL
80492012-03-16 Leo Liu <sdl.web@gmail.com>
8050
8051 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8052
6f09f6ed
AH
80532012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8054
8055 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8056 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8057
c7e73d51
GM
80582012-03-16 Glenn Morris <rgm@gnu.org>
8059
da986230
GM
8060 * view.el (view-buffer, view-buffer-other-window)
8061 (view-buffer-other-frame): Doc fixes re special mode-class.
8062
0835f01e
GM
8063 * subr.el (eval-after-load): If named feature is provided not from
8064 a file, run after-load forms. (Bug#10946)
8065
c7e73d51
GM
8066 * calendar/calendar.el (calendar-insert-at-column):
8067 Handle non-unit-width characters a bit better. (Bug#10978)
8068
3f2eafd1
CY
80692012-03-15 Chong Yidong <cyd@gnu.org>
8070
8071 * emacs-lisp/ring.el (ring-extend): New function.
8072 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8073
8074 * comint.el (comint-read-input-ring)
8075 (comint-add-to-input-history): Grow comint-input-ring lazily.
8076
103af3fe
SM
80772012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8078
663b1677
SM
8079 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8080 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8081
103af3fe
SM
8082 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8083 (imenu-add-to-menubar): Don't add a redundant index.
8084 (imenu-update-menubar): Handle a dynamically composed keymap.
8085
899cb7cb
KY
80862012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8087
8088 * mail/sendmail.el (mail-encode-header):
8089 Bind rfc2047-encode-encoded-words to nil.
8090
3809f91d
GM
80912012-03-13 Glenn Morris <rgm@gnu.org>
8092
8093 * calendar/calendar.el (calendar-string-spread):
8094 Handle non-unit-width characters a bit better. (Bug#10978)
8095
9e345a01
LL
80962012-03-13 Leo Liu <sdl.web@gmail.com>
8097
8098 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8099 directory and file as argument (Bug#10822).
8100
4a07df36
KS
81012012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8102
8103 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8104 For dynamically generated code, follow $PC.
8105 (gdb-disassembly-handler-custom): Handle no function name case.
8106
4aaa9356
TL
81072012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8108
8109 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8110 * emulation/ws-mode.el (ws-query-replace):
8111 * sort.el (sort-regexp-fields):
8112 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8113
225979da
SM
81142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * dabbrev.el: Fix cycle completion order (bug#10963).
8117 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8118 (dabbrev-completion): Don't use an obarray; provide
8119 a cycle-sort-function.
8120
e2f1fdab
LL
81212012-03-12 Leo Liu <sdl.web@gmail.com>
8122
dc9924b8 8123 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8124 (kill-do-not-save-duplicates): Doc fix.
8125
b19490ed
SM
81262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * dabbrev.el: Fix cycle completion (bug#10963).
8129 Use lexical binding and wrap to 80 columns.
8130 (dabbrev-completion): Delay computing the list of completions.
8131
4b05d722
KH
81322012-03-12 Kenichi Handa <handa@m17n.org>
8133
8134 * international/quail.el (quail-insert-kbd-layout): Surround each
8135 row by LRO and PDF instead of inserting many LRMs. Pad the left
8136 and right of each non-spacing marks. Insert invisible space
8137 between lower and upper characters to prevent composition.
8138
dbbc2e69
SM
81392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * minibuffer.el (minibuffer-complete): Don't get confused when the
8142 function is run twice via different commands (bug#10958).
8143 (complete-with-action): Fix docstring.
8144
292112ed
CY
81452012-03-12 Chong Yidong <cyd@gnu.org>
8146
5d1ac394
CY
8147 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8148 (nxml-completion-at-point-function): New function.
8149 (nxml-mode): Use it.
8150 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8151
292112ed
CY
8152 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8153 Load generated autoloads file before byte compiling (Bug#10970).
8154 (package--make-autoloads-and-compile): New helper fun.
8155
4098f8f7
CS
81562012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8157
8158 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8159
8f754691
MA
81602012-03-11 Michael Albinus <michael.albinus@gmx.de>
8161
8162 * autorevert.el (auto-revert-handler): Ensure, that
8163 file-readable-p is applied only for local files or in
8164 auto-revert-tail-mode.
8165
e29ab36b
AS
81662012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8167
dbbc2e69
SM
8168 * server.el (server-eval-at): Handle non-tcp connections.
8169 Decode result string.
ad0bf5b6 8170
e29ab36b
AS
8171 * server.el (server-msg-size): New constant.
8172 (server-reply-print): New function.
8173 (server-eval-and-print): Use it.
8174 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8175 Handle -print-nonl.
8176
de5939ba
CS
81772012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8178
8179 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8180 (Bug#10987).
8181
0c93eabf
CY
81822012-03-11 Chong Yidong <cyd@gnu.org>
8183
397a688f
CY
8184 * simple.el (goto-line): Doc fix (Bug#9938).
8185
2cc775f9
CY
8186 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8187
0c93eabf
CY
8188 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8189 when finished (Bug#10963).
8190
c491fa41
MR
81912012-03-11 Martin Rudalics <rudalics@gmx.at>
8192
8193 * window.el (split-window-below): Fix bug in case where
8194 split-window-keep-point is nil (Bug#10971).
8195
300e8fa5
JL
81962012-03-11 Juri Linkov <juri@jurta.org>
8197
8198 * replace.el (replace-highlight): Set isearch-word to nil
8199 unconditionally. (Bug#10887)
8200
dbf6c5a1
EZ
82012012-03-10 Eli Zaretskii <eliz@gnu.org>
8202
8203 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8204 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8205 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8206 (mairix-widget-create-query): Add usage information about mairix
8207 search forms: negating words, searching for substrings, etc.
8208
b9e501de
JP
82092012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8210
8211 * international/fontset.el (font-encoding-alist): Add an entry for
8212 ksx1001 (Bug#5667).
8213
92795c91
RS
82142012-03-10 Richard Stallman <rms@gnu.org>
8215
1694e6c1
RS
8216 * mail/sendmail.el (mail-encode-header):
8217 Set rfc2047-encode-encoded-words.
8218
607e8555
RS
8219 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8220
de3bc99a
RS
8221 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8222 view buffer means not swapped.
8223 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8224 (rmail-write-region-annotate): Error if real text has disappeared.
8225
92795c91
RS
8226 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8227
699bd04e
CY
82282012-03-10 Chong Yidong <cyd@gnu.org>
8229
8230 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8231 * emulation/cua-base.el (cua--init-keymaps):
8232 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8233
570a1714
MR
82342012-03-10 Martin Rudalics <rudalics@gmx.at>
8235
dbbc2e69
SM
8236 * speedbar.el (speedbar-unhighlight-one-tag-line):
8237 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8238
82dcf4e4
CY
82392012-03-10 Chong Yidong <cyd@gnu.org>
8240
7a2c7ca7
CY
8241 * minibuffer.el (completion-in-region, completion-help-at-point):
8242 Give the completion field overlay a high priority (Bug#6830).
8243
82dcf4e4
CY
8244 * dired.el (dired-goto-file): Recognize absolute file name
8245 listings (Bug#7126).
8246 (dired-goto-file-1): New helper function.
8247 (dired-toggle-read-only): Inhibit warnings.
8248
052e28ac
MA
82492012-03-09 Michael Albinus <michael.albinus@gmx.de>
8250
75f1671a 8251 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8252 there are no properties.
8253
95d5e396
LL
82542012-03-09 Leo Liu <sdl.web@gmail.com>
8255
8256 * savehist.el (savehist-printable): Stricter check for string
8257 value (Bug#10937).
8258
3f018d6d
EZ
82592012-03-09 Eli Zaretskii <eliz@gnu.org>
8260
dbbc2e69
SM
8261 * mail/smtpmail.el (smtpmail-send-it):
8262 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8263 valid mbox format.
8264
f7fd3d79
GM
82652012-03-09 Glenn Morris <rgm@gnu.org>
8266
8267 * files.el (dir-locals-find-file):
8268 Don't check result is regular, readable.
8269 (dir-locals-read-from-file): Demote errors.
8270
6ff6e72f
EZ
82712012-03-08 Eli Zaretskii <eliz@gnu.org>
8272
dbbc2e69
SM
8273 * international/quail.el (quail-insert-kbd-layout):
8274 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8275 layout cell, to prevent their reordering by bidi display engine.
8276 For details, see the discussion in
8277 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8278
9cec7834
AM
82792012-03-08 Alan Mackenzie <acm@muc.de>
8280
8281 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8282 the starting position; make it extend the marked region when
8283 invoked repeatedly - all under appropriate circumstances.
8284 Fixes bugs #5525, #10906.
8285
9a40b8d4
GM
82862012-03-08 Glenn Morris <rgm@gnu.org>
8287
8288 * files.el (locate-dominating-file, dir-locals-find-file):
8289 Undo 2012-03-06 change.
8290
7a08ed35
EZ
82912012-03-07 Eli Zaretskii <eliz@gnu.org>
8292
dbbc2e69
SM
8293 * international/quail.el (quail-help):
8294 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8295 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8296 for the reason.
8297
5aca4f71 82982012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8299
8300 Avoid superfluous registering of signals. (Bug#10807)
8301
8302 * notifications.el (notifications-on-action-object)
8303 (notifications-on-close-object): New defvars.
8304 (notifications-on-action-signal, notifications-on-closed-signal):
8305 Unregister the signal if not needed any longer.
8306 (notifications-notify): Register `notifications-action-signal' or
8307 `notifications-closed-signal', if :on-action or :on-close has been
8308 passed as argument.
8309
78e8b10a
CY
83102012-03-07 Chong Yidong <cyd@gnu.org>
8311
8312 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8313 non-X platforms.
8314
69481eb8
GM
83152012-03-06 Glenn Morris <rgm@gnu.org>
8316
8317 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8318 (x-disown-selection-internal, x-get-selection-internal):
8319 Doc fix (add arglist signatures). (Bug#10783)
8320
133b8e11
KS
83212012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8322
8323 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8324 Handle breakpoints with no "type".
8325
99a83064
GM
83262012-03-06 Glenn Morris <rgm@gnu.org>
8327
8328 * files.el (locate-dominating-file): Add optional predicate argument.
8329 (dir-locals-find-file): Make use of above change.
8330
17798e78
TTN
83312012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8332
8333 * info.el (Info-insert-dir): Also try "dir.gz".
8334
eb182446
GM
83352012-03-06 Glenn Morris <rgm@gnu.org>
8336
8f2114ee
GM
8337 * files.el (dir-locals-find-file):
8338 Ignore non-readable or non-regular files. (Bug#10928)
8339
eb182446
GM
8340 * files.el (locate-dominating-file): Doc fix.
8341
24679323
AS
83422012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8343
8344 * calendar/calendar.el (calendar-set-mode-line):
8345 `getenv' returns a string. (Bug#10951)
8346
01d972a9
LL
83472012-03-05 Leo Liu <sdl.web@gmail.com>
8348
109aa8a9
LL
8349 * simple.el (backward-delete-char-untabify): Constrain point to
8350 field (Bug#10939).
8351
01d972a9
LL
8352 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8353
10607bea
CY
83542012-03-05 Chong Yidong <cyd@gnu.org>
8355
8356 * simple.el (count-words): If called from Lisp, return the word
8357 count, for symmetry with `count-lines'. Arglist changed.
8358 (count-words--message): Args changed. Consolidate counting code
8359 from count-words and count-words-region.
8360 (count-words-region): Caller changed.
8361 (count-lines-region): Make it an obsolete alias.
8362
5dd11cfe
TH
83632012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8364
8365 * saveplace.el (save-place-to-alist)
8366 (save-place-ignore-files-regexp): Allow value nil to disable this
8367 feature.
8368
c349f4e6
CY
83692012-03-04 Chong Yidong <cyd@gnu.org>
8370
8371 * faces.el (face-spec-reset-face): For the default face, reset the
8372 attributes to default values (Bug#10748).
8373
e627be4c
LMI
83742012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8375
8376 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8377 previous patch: Check `message-send-mail-function', and not the
8378 default function (bug#10897).
8379
ebeabff4
MA
83802012-03-04 Michael Albinus <michael.albinus@gmx.de>
8381
a41a6cf4
MA
8382 * notifications.el (notifications-on-action-signal)
8383 (notifications-on-closed-signal): Check for unique service name of
8384 incoming event. Fix error in removing entry.
ebeabff4 8385 (top): Register for signals with wildcard service name.
a41a6cf4 8386 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8387
c1ca42b4
CY
83882012-03-04 Chong Yidong <cyd@gnu.org>
8389
dc9924b8 8390 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8391
ea16568d
GM
83922012-03-04 Glenn Morris <rgm@gnu.org>
8393
8394 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8395 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8396 (expand-abbrev, define-abbrev-table): Doc fixes.
8397
fbae4637
LMI
83982012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8399
8400 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8401 `message-default-send-mail-function' and not `send-mail-function'
8402 when doing the prompting for `sendmail-query-once' before sending
8403 in Message buffers (bug#10897).
8404
a1e7225c
LMI
8405 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8406 This is inconsistent with all the other stream functions, which leave
8407 the setting up to the higher levels (if so wanted) (bug#10931).
8408
56d093a9
AM
84092012-03-02 Alan Mackenzie <acm@muc.de>
8410
8411 Depessimize the handling of very large macros.
8412
8413 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8414 (c-macro-cache-syntactic): New variables to implement a one
8415 element macro cache.
8416 (c-invalidate-macro-cache): New function.
8417 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8418 Adapt to use the new cache.
8419 (c-state-safe-place): Use better the cache of safe positions.
8420 (c-state-semi-nonlit-pos-cache)
8421 (c-state-semi-nonlit-pos-cache-limit):
8422 New variables for...
8423 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8424 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8425 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8426 Use c-state-semi-safe-place.
56d093a9 8427
dbbc2e69
SM
8428 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8429 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8430
817e5c3d
MA
84312012-03-02 Michael Albinus <michael.albinus@gmx.de>
8432
dbbc2e69
SM
8433 * jka-compr.el (jka-compr-call-process):
8434 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8435 not remote.
8436
a032a702
MA
84372012-03-01 Michael Albinus <michael.albinus@gmx.de>
8438
8439 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8440 access of FILE2, if FILE1 does not exist.
8441
99a54f21
MA
8442 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8443 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8444
8445 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8446 Add "PAGER=" to `process-environment'.
8447
f6561e1f
MM
84482012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8449
8450 * progmodes/sql.el: Bug fix
8451 (sql-get-login-ext): Save login values in globals.
8452 (sql-get-login): Use new version of `sql-get-login-ext'.
8453 (sql-interactive-mode): Set global `sql-connection' to nil.
8454 (sql-connect): Set global values for connection.
8455 (sql-product-interactive): Save global values as buffer local.
8456
2d44d9cc
LL
84572012-02-29 Leo Liu <sdl.web@gmail.com>
8458
8459 * abbrev.el (define-abbrevs): Reset sys to nil.
8460
96b49301 84612012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8462
bf7f9bc5
JB
8463 * files.el (file-equal-p): Rename from `files-equal-p'.
8464 Return nil when one or both files don't exist.
96b49301 8465 (file-subdir-of-p): Now only top directory must exists,
8466 return nil if it doesn't.
bf7f9bc5
JB
8467 (copy-directory): No need to test with `file-subdir-of-p' after
8468 creating dir.
8469 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8470 to `file-equal-p'.
96b49301 8471
44e97401
GM
84722012-02-28 Glenn Morris <rgm@gnu.org>
8473
8474 * shell.el (shell-mode):
8475 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8476 * play/landmark.el (landmark-font-lock-face-O):
8477 * play/handwrite.el (handwrite):
8478 * play/gomoku.el (gomoku-O):
8479 * net/browse-url.el (browse-url-browser-display):
8480 * international/mule.el (define-charset):
8481 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8482 * filesets.el (filesets-find-file-delay):
8483 * eshell/em-xtra.el (eshell-xtra):
8484 * eshell/em-unix.el (eshell-grep):
8485 * emulation/viper.el (viper-mode):
8486 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8487 * emacs-lisp/easymenu.el (easy-menu-define):
8488 * calendar/timeclock.el (timeclock-use-display-time):
8489 * bs.el (bs-mode):
8490 * bookmark.el (bookmark-save-flag):
8491 Doc fix (standardize possessive apostrophe usage).
8492
c98c6276
CY
84932012-02-27 Chong Yidong <cyd@gnu.org>
8494
bf7f9bc5
JB
8495 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8496 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8497
c98c6276
CY
8498 * font-lock.el (font-lock-specified-p): Rename from
8499 font-lock-spec-present. Callers changed.
8500
9c62cd04 85012012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8502
bf7f9bc5
JB
8503 * emacs-lisp/package.el (package-compute-transaction):
8504 Handle holding a package version to t in package-load-list.
8ac9e529 8505
530739c9
MA
85062012-02-26 Michael Albinus <michael.albinus@gmx.de>
8507
8508 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8509 (tramp-get-inode, tramp-get-device): Use cached values.
8510
487915d7
AM
85112012-02-26 Alan Mackenzie <acm@muc.de>
8512
8513 Check there is a font-lock specification before doing initial
8514 fontification.
8515
8516 * font-core.el (font-lock-mode): Move the conditional from
8517 :after-hook to font-lock-initial-fontify.
8518 (font-lock-default-function): Move the check for a specification
8519 to font-lock-spec-present.
8520
dc9924b8 8521 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8522 (font-lock-spec-present): New function.
8523
4fd96557
JB
85242012-02-26 Jim Blandy <jimb@red-bean.com>
8525
8526 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8527 (gdb-send): Apply it to the operand of the '-interpreter-exec
8528 console' command, so that we can pass arguments with (say) quotes
8529 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8530
9a4888c0
CY
85312012-02-26 Chong Yidong <cyd@gnu.org>
8532
07498861
CY
8533 * help-fns.el (describe-function-1): Clarify description of
8534 remapping (Bug#10844).
8535
9a4888c0
CY
8536 * files.el (files-equal-p): Doc fix.
8537 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8538 and quit the loop once a mismatch is found.
8539
ea8fb88d
JB
85402012-02-25 Juanma Barranquero <lekktu@gmail.com>
8541
8542 * bs.el (bs--show-with-configuration): Don't throw an error
8543 if the window cannot be split; otherwise, subsequent calls to
8544 bs-show fail, restoring a stale window config. (Bug#10882)
8545
525795c1
JD
85462012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8547
8548 * term/ns-win.el (global-map): Bind ns-drag-file to
8549 ns-find-file (Bug#5855, Bug#10050).
8550
f008086f
AS
85512012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8552
8553 * calendar/parse-time.el (parse-time-string): Allow extractor to
8554 return nil.
8555
a3fcfa99
MA
85562012-02-25 Michael Albinus <michael.albinus@gmx.de>
8557
91027d08
JB
8558 * net/tramp.el (tramp-file-name-for-operation):
8559 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8560
8561 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8562 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8563 Add COPY-CONTENTS argument.
a3fcfa99 8564
67b0de11
CY
85652012-02-25 Chong Yidong <cyd@gnu.org>
8566
8567 Add custom groups for VC backends, for consistency with vc-bzr.
8568
8569 * vc/vc-arch.el (vc-arch):
8570 * vc/vc-cvs.el (vc-cvs):
8571 * vc/vc-git.el (vc-git):
8572 * vc/vc-hg.el (vc-hg):
8573 * vc/vc-mtn.el (vc-mtn):
8574 * vc/vc-rcs.el (vc-rcs):
8575 * vc/vc-sccs.el (vc-sccs):
8576 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8577 All relevant defcustoms reassigned.
8578
3c9dfce6
CY
85792012-02-25 Chong Yidong <cyd@gnu.org>
8580
1339bf43
CY
8581 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8582
3c9dfce6
CY
8583 * term/x-win.el (x-initialize-window-system): Reduce default for
8584 x-selection-timeout to 5 seconds (Bug#8869).
8585
25b2e303 85862012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8587
ec70a47d
GM
8588 * files.el (files-equal-p, file-subdir-of-p): New functions.
8589 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8590 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8591 * dired-aux.el (dired-copy-file-recursive): Same.
8592 (dired-create-files): Modify destination when source is equal to
8593 dest when copying files.
53a46cd0 8594 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8595
914260cd
MA
85962012-02-24 Michael Albinus <michael.albinus@gmx.de>
8597
8598 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8599 (Bug#10874)
8600
2cb228f7
AM
86012012-02-23 Alan Mackenzie <acm@muc.de>
8602
8603 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8604 parameter "after-hook:" to allow the expansion to run code after
8605 the execution of the mode hooks.
8606
8607 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8608 from font-lock-mode-internal.
2cb228f7 8609
91027d08 8610 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8611 :after-hook.
8612
8f0fde21
SM
86132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8614
3e88618b
SM
8615 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8616 (completion--cache-all-sorted-completions): New function.
8617 (completion-all-sorted-completions): Use it.
8618 (completion--do-completion, minibuffer-force-complete):
8619 Use it to re-instate the flush hook.
8620
8f0fde21
SM
8621 * icomplete.el (icomplete-completions): Replace last fix with a better
8622 one (bug#10850).
8623
8e911f6f
DG
86242012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8625
8626 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8627 when it might call us back infinitely (bug#10797).
8628
49fe4321
GM
86292012-02-23 Glenn Morris <rgm@gnu.org>
8630
8631 * minibuffer.el (completion-category-overrides): Doc fix.
8632
b291b572
SM
86332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8636 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8637
31a9ef2e
GM
86382012-02-23 Glenn Morris <rgm@gnu.org>
8639
5e6e6794 8640 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8641 (authors-obsolete-files-regexps, authors-ignored-files)
8642 (authors-ambiguous-files, authors-renamed-files-alist):
8643 Add more entries.
8644
0bd1e074
JL
86452012-02-23 Juri Linkov <juri@jurta.org>
8646
8647 * isearch.el (isearch-occur): Sync interactive spec with occur's
8648 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8649
b617673c
JL
8650 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8651
19e9789e
JL
86522012-02-22 Juri Linkov <juri@jurta.org>
8653
8654 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8655 (ucs-insert): Doc fix. Check for hex digits in the string.
8656 Don't display `nil' in the error message. (Bug#10857)
8657
f41ce09d
AM
86582012-02-22 Alan Mackenzie <acm@muc.de>
8659
7a71b18d 8660 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8661
ac2eceee
GM
86622012-02-22 Glenn Morris <rgm@gnu.org>
8663
8664 * ffap.el (ffap-c-path):
8665 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8666
abd1f678
CY
86672012-02-22 Chong Yidong <cyd@gnu.org>
8668
8669 * custom.el (load-theme): Doc fix.
8670
f25aef2e
GM
86712012-02-22 Glenn Morris <rgm@gnu.org>
8672
8673 * dired-x.el (dired-guess-shell-alist-default):
8674 Remove escape sequences from nroff output. (Bug#172)
8675
5f8dc2ca
GM
86762012-02-21 Glenn Morris <rgm@gnu.org>
8677
6ff86ec4
GM
8678 * vc/emerge.el (emerge-defvar-local):
8679 Set `permanent-local' property rather than unused `preserved'.
8680
be3223a3 8681 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8682 (picture-mode-map): Use it. (Bug#10860)
8683 (picture-mode): Doc fix.
8684
3fe58f4f
JB
86852012-02-21 Juanma Barranquero <lekktu@gmail.com>
8686
8687 * newcomment.el (uncomment-region-default): Remove unused binding.
8688
f9a998c3
GM
86892012-02-21 Glenn Morris <rgm@gnu.org>
8690
8691 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8692 (picture-self-insert, picture-tab-chars): Doc fix.
8693 (picture-mode-map): Fix C-a, C-e.
8694
c6029348
GM
86952012-02-20 Glenn Morris <rgm@gnu.org>
8696
8697 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8698
ab1ce9d7
LL
86992012-02-20 Leo Liu <sdl.web@gmail.com>
8700
8701 * icomplete.el (icomplete-completions): Check FROM arg before
8702 passing to substring (Bug#10850).
8703
0fd40f89
CY
87042012-02-19 Chong Yidong <cyd@gnu.org>
8705
8706 * comint.el: Require ansi-color.
8707 (comint-output-filter-functions): Add ansi-color-process-output.
8708
8709 * ansi-color.el: Don't set comint-output-filter-functions; it is
8710 now in the initial value defined in comint.el.
8711 (ansi-color-apply-face-function): New variable.
8712 (ansi-color-apply-on-region): Use it.
8713 (ansi-color-apply-overlay-face): New function.
8714
8715 * shell.el (shell): No need to require ansi-color.
8716 (shell-mode): Use ansi-color-apply-face-function to highlight
8717 color escapes using font-lock-face property (Bug#10835).
8718
20af2394
CY
87192012-02-19 Chong Yidong <cyd@gnu.org>
8720
8721 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8722 mode-line formats (Bug#10839).
8723
e23a3fbe
GM
87242012-02-18 Glenn Morris <rgm@gnu.org>
8725
b474519e
GM
8726 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8727
8728 * mail/undigest.el (unforward-rmail-message): Doc fix.
8729
e23a3fbe
GM
8730 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8731
57939ff4
EZ
87322012-02-18 Eli Zaretskii <eliz@gnu.org>
8733
8734 * international/characters.el (script-list): Sync with the latest
8735 Unicode Character Database.
8736
0c23686e
AS
87372012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8738
8739 * international/titdic-cnv.el: Remove duplicate coding tag.
8740 * language/cham.el: Likewise.
8741 * language/tai-viet.el: Likewise.
8742
6818b449
GM
87432012-02-18 Glenn Morris <rgm@gnu.org>
8744
8745 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8746 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8747 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8748 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8749 * calendar/holidays.el (holiday-bahai-holidays)
8750 (calendar-holidays, list-holidays):
8751 Use utf-8 Bahá'í in doc-strings, menus, etc.
8752
0311a3fc
TH
87532012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8754
8755 * saveplace.el (save-place-ignore-files-regexp): New variable
8756 allowing for excluding files from saving their location of point.
8757 The default value matches the temporary commit message editing
8758 files from Git, SVN, Bazaar, and Mercurial.
8759 (save-place-to-alist): Use it.
8760
d209e2fb 87612012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8762 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8763
8764 * newcomment.el (uncomment-region-default): Don't leave extra space
8765 when an arg is provided (bug#8150).
8766
ee0ce425
TZ
87672012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8768
eb864a71 8769 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8770
95ddf442
GM
87712012-02-17 Glenn Morris <rgm@gnu.org>
8772
8773 * net/socks.el: Require network-stream. (Bug#10599)
8774
48dd1e39 87752012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8776
8777 * international/charprop.el:
8778 * international/uni-name.el:
8779 * international/uni-old-name.el:
8780 * international/uni-comment.el: Regenerate.
8781
d68cd087
GM
87822012-02-16 Glenn Morris <rgm@gnu.org>
8783
8784 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8785 Interactively in calendar buffer, give an error if not on a date.
8786
13932042
GM
87872012-02-15 Glenn Morris <rgm@gnu.org>
8788
8789 * shell.el (shell-delimiter-argument-list):
8790 Revert 2011-02-17 change. (Bug#8027)
8791
c3a70e2b
CY
87922012-02-15 Chong Yidong <cyd@gnu.org>
8793
60236b0d
CY
8794 * minibuffer.el (completion-at-point-functions): Doc fix.
8795
c3a70e2b
CY
8796 * custom.el (defcustom): Doc fix; note use of defvar.
8797
9f26dc24
GM
87982012-02-15 Glenn Morris <rgm@gnu.org>
8799
8800 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8801 Doc fixes.
8802
6546b134
GM
88032012-02-14 Glenn Morris <rgm@gnu.org>
8804
8805 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8806
d29b2b4c
LI
88072012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8808
8809 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8810 way the ports list is computed.
835bdcba
LI
8811 (smtpmail-query-smtp-server): Prompt the user for a port number if
8812 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8813
08dcdbc9
TZ
88142012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8815
8816 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8817
2605051a
GM
88182012-02-13 Glenn Morris <rgm@gnu.org>
8819
8820 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8821
7ee99f32
TZ
88222012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8823
8824 * net/gnutls.el (gnutls-trustfiles): New variable.
8825 (gnutls-negotiate): Use it.
8826
5f0af64f
LI
88272012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8828
8829 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8830 does its stuff if Gnus is running.
8831
c14fcc95
AM
88322012-02-13 Alan Mackenzie <acm@muc.de>
8833
8834 Fix a loop in c-set-fl-decl-start.
8835
7a71b18d 8836 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8837 c-backward-syntactic-ws actually moves backwards.
8838
142b4d90
LL
88392012-02-13 Leo Liu <sdl.web@gmail.com>
8840
8841 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8842 beginning so that all \C-o chars are removed.
8843
fa9958a6
TZ
88442012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8845
dc9924b8 8846 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8847
0bc5886a
AM
88482012-02-12 Alan Mackenzie <acm@muc.de>
8849
8850 Fix infinite loop with long macros.
4d6769e1 8851 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8852
d4bd55e7
CY
88532012-02-12 Chong Yidong <cyd@gnu.org>
8854
8855 * window.el (display-buffer): Doc fix (Bug#10785).
8856
66f3fe22
GM
88572012-02-12 Glenn Morris <rgm@gnu.org>
8858
bd7da63e
GM
8859 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8860 (x-disown-selection-internal, x-get-selection-internal):
8861 Sync docs with the xselect.c versions.
8862
66f3fe22
GM
8863 * allout-widgets.el: Add missing license notice.
8864
3e0d2fa7
GM
88652012-02-11 Glenn Morris <rgm@gnu.org>
8866
cfecdf09
GM
8867 * select.el (x-get-selection-internal, x-own-selection-internal)
8868 (x-disown-selection-internal):
8869 * x-dnd.el (x-get-selection-internal): Update declarations.
8870
6d216d7f
GM
8871 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8872
2bed3f04
GM
8873 * window.el (window-sides-slots):
8874 * tool-bar.el (tool-bar-position):
8875 * term/xterm.el (xterm-extra-capabilities):
8876 * ses.el (ses-self-reference-early-detection):
8877 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8878 (verilog-auto-wire-type)
8879 (verilog-auto-delete-trailing-whitespace)
8880 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8881 (verilog-auto-tieoff-declaration):
8882 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8883 (sql-oracle-statement-starters, sql-oracle-scan-on):
8884 * progmodes/prolog.el (prolog-align-comments-flag)
8885 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8886 (prolog-left-indent-regexp, prolog-paren-indent-p)
8887 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8888 (prolog-types, prolog-mode-specificators)
8889 (prolog-determinism-specificators, prolog-directives)
8890 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8891 (prolog-electric-dot-flag)
8892 (prolog-electric-dot-full-predicate-template)
8893 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8894 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8895 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8896 (prolog-program-switches, prolog-prompt-regexp)
8897 (prolog-debug-on-string, prolog-debug-off-string)
8898 (prolog-trace-on-string, prolog-trace-off-string)
8899 (prolog-zip-on-string, prolog-zip-off-string)
8900 (prolog-use-standard-consult-compile-method-flag)
8901 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8902 (prolog-imenu-max-lines, prolog-info-predicate-index)
8903 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8904 (prolog-char-quote-workaround):
8905 * progmodes/cc-vars.el (c-defun-tactic):
8906 * net/tramp.el (tramp-encoding-command-interactive)
8907 (tramp-local-end-of-line):
8908 * net/soap-client.el (soap-client):
8909 * net/netrc.el (netrc-file):
8910 * net/gnutls.el (gnutls):
8911 * minibuffer.el (completion-category-overrides)
8912 (completion-cycle-threshold)
8913 (completion-pcm-complete-word-inserts-delimiters):
8914 * man.el (Man-name-local-regexp):
8915 * mail/feedmail.el (feedmail-display-full-frame):
8916 * international/characters.el (glyphless-char-display-control):
8917 * eshell/em-ls.el (eshell-ls-date-format):
8918 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8919 (lisp-lambda-list-keyword-parameter-indentation)
8920 (lisp-lambda-list-keyword-parameter-alignment):
8921 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8922 * dired-x.el (dired-omit-verbose):
8923 * cus-theme.el (custom-theme-allow-multiple-selections):
8924 * calc/calc.el (calc-highlight-selections-with-faces)
8925 (calc-lu-field-reference, calc-lu-power-reference)
8926 (calc-note-threshold):
8927 * battery.el (battery-mode-line-limit):
8928 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8929 (archive-7z-update):
8930 * allout.el (allout-prefixed-keybindings)
8931 (allout-unprefixed-keybindings)
8932 (allout-inhibit-auto-fill-on-headline)
8933 (allout-flattened-numbering-abbreviation):
8934 * allout-widgets.el (allout-widgets-auto-activation)
8935 (allout-widgets-icons-dark-subdir)
8936 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8937 (allout-widgets-theme-dark-background)
8938 (allout-widgets-theme-light-background)
8939 (allout-widgets-item-image-properties-emacs)
8940 (allout-widgets-item-image-properties-xemacs)
8941 (allout-widgets-run-unit-tests-on-load)
8942 (allout-widgets-time-decoration-activity)
8943 (allout-widgets-hook-error-post-time)
8944 (allout-widgets-track-decoration):
8945 Add missing :version tags to new defcustoms and defgroups.
8946
5fec1b8e
GM
8947 * progmodes/sql.el (sql-ansi-statement-starters)
8948 (sql-oracle-statement-starters): Add custom type.
8949
3e0d2fa7
GM
8950 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8951 (prolog-system-version): Give it a type.
8952
90b671e2
EZ
89532012-02-11 Eli Zaretskii <eliz@gnu.org>
8954
8955 * term/pc-win.el (x-select-text, x-selection-owner-p)
8956 (x-own-selection-internal, x-disown-selection-internal)
8957 (x-get-selection-internal): Sync doc strings and argument lists
8958 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8959
5eac0c02
LL
89602012-02-11 Leo Liu <sdl.web@gmail.com>
8961
8962 * progmodes/python.el (python-end-of-statement): Fix infinite
8963 loop. (Bug#10788)
8964
f82cb659
GM
89652012-02-10 Glenn Morris <rgm@gnu.org>
8966
8967 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8968 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8969
cc26d239
LI
89702012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8971
8972 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8973 about SMTP before checking the From header.
8974
91027d08 8975 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8976 into own function for reuse by emacsbug.el.
8977
1be3ca5a
LL
89782012-02-10 Leo Liu <sdl.web@gmail.com>
8979
8980 * subr.el (condition-case-unless-debug): Rename from
8981 condition-case-no-debug. All callers changed.
8982 (with-demoted-errors): Fix caller.
8983
8984 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8985 * nxml/rng-valid.el (rng-do-some-validation):
8986 * emacs-lisp/package.el (package-refresh-contents)
8987 (package-menu-execute):
8988 * desktop.el (desktop-create-buffer):
91027d08 8989 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8990
b011fbfe
GM
89912012-02-10 Glenn Morris <rgm@gnu.org>
8992
b2096d72
GM
8993 * textmodes/bibtex.el:
8994 Add missing :version tags for new/changed defcustoms.
8995
b011fbfe
GM
8996 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8997
4c7e65bf
LI
89982012-02-09 Lars Ingebrigtsen <larsi@rusty>
8999
9000 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9001 (smtpmail-via-smtp): Use it, or fall back on the From address.
9002 (smtpmail-send-it): Ditto.
9003
f3934f6f
SM
90042012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9007 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9008 (byte-compile-tmp-var): New const.
9009 (byte-compile-defvar): Use it to minimize .elc size.
9010 Just use `defvar' rather than simulate it (bug#10761).
9011
a075a2c5
GM
90122012-02-09 Glenn Morris <rgm@gnu.org>
9013
cf3aa21b
GM
9014 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9015
354998cd
GM
9016 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9017 Add :version tags.
9018
dc9924b8
SM
9019 * progmodes/compile.el (compilation-error-screen-columns)
9020 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9021
dab3703d
GM
9022 * vc/log-view.el (log-view-toggle-entry-display):
9023 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9024
3f88cd72
GM
9025 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9026 (report-emacs-bug-can-use-xdg-email):
9027 (report-emacs-bug-insert-to-mailer): Doc fixes.
9028 (report-emacs-bug): Message fix.
9029
d95b247d
GM
9030 * net/browse-url.el (browse-url-can-use-xdg-open)
9031 (browse-url-xdg-open): Doc fixes.
9032
a075a2c5
GM
9033 * electric.el (electric-indent-mode, electric-pair-mode)
9034 (electric-layout-rules, electric-layout-mode): Doc fixes.
9035 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9036
ffb6157e
MR
90372012-02-08 Martin Rudalics <rudalics@gmx.at>
9038
9039 * server.el (server-unselect-display): Don't inadvertently kill
9040 the current buffer. (Bug#10729)
9041
e1ac4066
GM
90422012-02-08 Glenn Morris <rgm@gnu.org>
9043
34e8a2da
GM
9044 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9045 (sql-list-table): Doc fixes.
9046
b4ac6e8c
GM
9047 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9048 Comment out (does nothing).
9049
e1ac4066
GM
9050 * completion.el (dynamic-completion-mode):
9051 * dirtrack.el (dirtrack-debug-mode):
9052 * electric.el (electric-layout-mode):
9053 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9054 * face-remap.el (text-scale-mode, buffer-face-mode):
9055 * iimage.el (iimage-mode):
9056 * image-mode.el (image-transform-mode):
9057 * minibuffer.el (completion-in-region-mode):
9058 * scroll-lock.el (scroll-lock-mode):
9059 * simple.el (next-error-follow-minor-mode):
9060 * tar-mode.el (tar-subfile-mode):
9061 * tooltip.el (tooltip-mode):
9062 * vcursor.el (vcursor-use-vcursor-map):
9063 * wid-browse.el (widget-minor-mode):
9064 * emulation/tpu-edt.el (tpu-edt-mode):
9065 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9066 * international/iso-ascii.el (iso-ascii-mode):
9067 * language/thai-util.el (thai-word-mode):
9068 * mail/supercite.el (sc-minor-mode):
9069 * net/goto-addr.el (goto-address-mode):
9070 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9071 * progmodes/cwarn.el (cwarn-mode):
9072 * progmodes/flymake.el (flymake-mode):
9073 * progmodes/glasses.el (glasses-mode):
9074 * progmodes/hideshow.el (hs-minor-mode):
9075 * progmodes/pascal.el (pascal-outline-mode):
9076 * textmodes/enriched.el (enriched-mode):
9077 * vc/smerge-mode.el (smerge-mode):
9078 Doc fixes (minor mode argument).
9079
5e0d957f
EZ
90802012-02-07 Eli Zaretskii <eliz@gnu.org>
9081
9082 * ls-lisp.el (ls-lisp-sanitize): New function.
9083 (ls-lisp-insert-directory): Use it to fix or remove any elements
9084 in file-alist with missing attributes. (Bug#4673)
9085
98d7371e
AM
90862012-02-07 Alan Mackenzie <acm@muc.de>
9087
9088 Fix spurious recognition of c-in-knr-argdecl.
9089
9090 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9091 putative K&R region.
9092
667ced3a
AM
90932012-02-07 Alan Mackenzie <acm@muc.de>
9094
eb864a71
LM
9095 * progmodes/cc-engine.el (c-forward-objc-directive):
9096 Prevent looping in "#pragma mark @implementation".
667ced3a 9097
5b77774d
MA
90982012-02-07 Michael Albinus <michael.albinus@gmx.de>
9099
9100 * notifications.el (notifications-on-closed-signal): Make `reason'
9101 optional. (Bug#10744)
9102
af008560
GM
91032012-02-07 Glenn Morris <rgm@gnu.org>
9104
60d47423
GM
9105 * emacs-lisp/easy-mmode.el (define-minor-mode):
9106 Doc fixes for the macro and the mode it defines.
9107
dd605cc4
GM
9108 * image.el (imagemagick-types-inhibit): Doc fix.
9109
af008560
GM
9110 * cus-start.el (imagemagick-render-type): Add it.
9111
5cc59a37
LI
91122012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9113
4d6769e1
JB
9114 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9115 Set the default at load time, too, so that `font-lock-fontify-buffer'
9116 can be called without setting up the entire mode first. This fixes
9117 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9118
9a6dd747
CY
91192012-02-06 Chong Yidong <cyd@gnu.org>
9120
2d16b285
CY
9121 * simple.el (list-processes--refresh): Delete exited processes
9122 (Bug#8094).
9123
171e9b6e
CY
9124 * comint.el (comint-next-prompt): next-single-char-property-change
9125 and prev-single-char-property-change never return nil (Bug#8657).
9126
9a6dd747
CY
9127 * custom.el (defcustom): Doc fix (Bug#9711).
9128
aa4589a7
CY
91292012-02-05 Chong Yidong <cyd@gnu.org>
9130
5c2a252f
CY
9131 * cus-edit.el (custom-variable-reset-backup): Quote the value
9132 before storing it in the customized-value property (Bug#6712).
4aab9006 9133 (custom-display): Add a customization type tag.
983b9602 9134 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9135
aa4589a7
CY
9136 * wid-edit.el (widget-field-value-get): New optional arg to
9137 suppress trailing whitespace truncation.
9138 (character): Use it (Bug#2689).
9139
1ff980ae
AS
91402012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9141
9142 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9143 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9144
03988c98
CY
91452012-02-05 Chong Yidong <cyd@gnu.org>
9146
eeb6cc88
CY
9147 * cus-edit.el (custom-variable-value-create): For mismatched
9148 types, show the current value (Bug#7600).
9149
03988c98
CY
9150 * custom.el (defcustom): Doc fix.
9151
f8cdeef0
GM
91522012-02-05 Glenn Morris <rgm@gnu.org>
9153
9154 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9155
0696d255
JB
91562012-02-05 Juanma Barranquero <lekktu@gmail.com>
9157
9158 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9159 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9160 (pp-last-sexp): Use `looking-at-p'.
9161
34c99998
GM
91622012-02-04 Glenn Morris <rgm@gnu.org>
9163
8f05da42
GM
9164 * files.el (revert-buffer):
9165 Doc fix (mention revert-buffer-in-progress-p).
9166
f160676e
GM
9167 * emacs-lisp/ert-x.el (ert-simulate-command):
9168 Check deferred-action-list (which is obsolete) is bound.
9169
c7291ad9
GM
9170 * subr.el (with-wrapper-hook): Doc fixes.
9171
34c99998
GM
9172 * simple.el (filter-buffer-substring-functions)
9173 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9174
6283a7d3
LL
91752012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9176
9177 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9178 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9179
e96e3013
LL
91802012-02-04 Leo Liu <sdl.web@gmail.com>
9181
9182 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9183
8ded50f2
GM
91842012-02-04 Glenn Morris <rgm@gnu.org>
9185
82ff1d13
GM
9186 * image.el (image-extension-data): Add obsolete alias.
9187
987a0a16
GM
9188 * isearch.el (isearch-update): Doc fix.
9189
ea32ef46
GM
9190 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9191
8ded50f2
GM
9192 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9193
eea14f31
GM
91942012-02-03 Glenn Morris <rgm@gnu.org>
9195
9196 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9197 (image-animate-timeout): Doc fix.
9198
9199 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9200
12f381b7
GM
92012012-02-02 Glenn Morris <rgm@gnu.org>
9202
953cebf5
GM
9203 * server.el (server-auth-dir): Doc fix.
9204 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9205
12f381b7
GM
9206 * subr.el (run-mode-hooks): Doc fix.
9207
953a8c3b
JL
92082012-02-02 Juri Linkov <juri@jurta.org>
9209
9210 * image-mode.el (image-toggle-display-image): Remove tautological
9211 `major-mode' from the `derived-mode-p' test.
9212
c5d3843c
KH
92132012-02-02 Kenichi Handa <handa@m17n.org>
9214
9f6e692e 9215 * composite.el (compose-region): Cancel previous change.
c5d3843c 9216
159462d4 92172012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9218
9219 * composite.el (compose-region, compose-string): Signal error for
9220 a null string component (Bug#6988).
9221
9f562668
CY
92222012-02-01 Chong Yidong <cyd@gnu.org>
9223
e2cef717
CY
9224 * view.el (view-buffer-other-window, view-buffer-other-frame):
9225 Handle special modes like view-buffer (Bug#10650).
9226 (view-buffer): Simplify.
9227
9f562668
CY
9228 * frame.el (set-frame-font): Tweak meaning of third argument.
9229
9f6e692e
JB
9230 * dynamic-setting.el (font-setting-change-default-font):
9231 Use set-frame-font (Bug#9982).
9f562668 9232
781acb9f
GM
92332012-02-01 Glenn Morris <rgm@gnu.org>
9234
6035be52
GM
9235 * progmodes/compile.el (compilation-internal-error-properties):
9236 Respect compilation-first-column in the "*compilation*" buffer.
9237
781acb9f
GM
9238 * emacs-lisp/easy-mmode.el (define-minor-mode):
9239 Relax :variable's test for a named function.
9240
abbceb00
AM
92412012-01-31 Alan Mackenzie <acm@muc.de>
9242
9243 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9244 off by one error.
9245
fce3fdeb
CY
92462012-01-31 Chong Yidong <cyd@gnu.org>
9247
9248 * frame.el (set-frame-font): New arg ALL-FRAMES.
9249
9250 * menu-bar.el (menu-set-font): Use set-frame-font.
9251
9252 * faces.el (face-spec-reset-face): Don't apply unspecified
9253 attribute values to the default face.
9254
47893581
JB
92552012-01-31 Juanma Barranquero <lekktu@gmail.com>
9256
9257 * progmodes/cwarn.el (cwarn): Remove dead link.
9258 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9259 Remove * from defcustom docstrings.
9260 (turn-on-cwarn-mode): Make obsolete.
9261 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9262 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9263
e58e988a
GM
92642012-01-31 Glenn Morris <rgm@gnu.org>
9265
60dc2671 9266 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9267 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9268 Allow named functions to be used as the cdr of :variable.
e58e988a 9269
7a3f511d
GM
92702012-01-30 Glenn Morris <rgm@gnu.org>
9271
9272 * emacs-lisp/authors.el (authors-fixed-entries):
9273 Remove reference to deleted file rnewspost.el.
9274
cb882333
JB
92752012-01-29 Juanma Barranquero <lekktu@gmail.com>
9276
9277 * window.el (window-with-parameter): Remove unused variable `windows'.
9278 (window--side-check): Remove unused variable `code'.
9279 (window--resize-siblings): Remove unused variable `first'.
9280 (adjust-window-trailing-edge): Remove unused variable `failed'.
9281 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9282 Use `let', not `let*'.
9283 (balance-windows-2): Remove unused variable `found'.
9284 (window--state-put-2): Remove unused variable `splits'.
9285 (window-state-put): Remove unused variable `selected'.
9286 (same-window-p): Use `string-match-p'.
9287 (display-buffer-assq-regexp): Remove unused variable `value'.
9288 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9289 Mark argument ALIST as ignored.
9290 (pop-to-buffer): Remove unused variable `old-window'.
9291
907201af
EZ
92922012-01-29 Eli Zaretskii <eliz@gnu.org>
9293
9294 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9295 and .lzma compressed files.
9296
ea162670
CY
92972012-01-29 Chong Yidong <cyd@gnu.org>
9298
5b95ee8a
CY
9299 * frame.el (window-system-default-frame-alist): Doc fix.
9300
ea162670
CY
9301 * dynamic-setting.el (font-setting-change-default-font): Don't
9302 change the default face if SET-FONT argument is non-nil (Bug#9982).
9303
d6e6f4b1
SB
93042012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9305
9306 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9307
0f29fa41 93082012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9309
9310 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9311 breakpoints in files outside current directory (Bug#6098).
9312
db174434
CY
93132012-01-29 Chong Yidong <cyd@gnu.org>
9314
6b25e4e2
SE
9315 * progmodes/python.el: Require ansi-color at top-level.
9316
6df6ae42
JB
9317 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9318 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9319 (lisp-mode-abbrev-table): Add doc.
9320 (lisp-mode-variables): Don't set local-abbrev-table.
9321 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9322
e70ee681
RW
93232012-01-28 Roland Winkler <winkler@gnu.org>
9324
9325 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9326
ace88aa2
RW
93272012-01-28 Roland Winkler <winkler@gnu.org>
9328
9329 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9330 (bibtex-set-dialect): Use it. Either set global values of
9331 dialect-dependent variables or bind these variables buffer-locally
9332 (Bug#10254).
9333 (bibtex-mode): Call bibtex-set-dialect via
9334 hack-local-variables-hook.
eb864a71
LM
9335 (bibtex-dialect): Update docstring.
9336 Add safe-local-variable predicate.
ace88aa2
RW
9337 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9338 bibtex-set-dialect.
9339 (bibtex-mode-map): Define menu for each dialect.
9340 (bibtex-entry): Fix docstring.
9341
93376c5b
CY
93422012-01-28 Chong Yidong <cyd@gnu.org>
9343
9344 * eshell/esh-arg.el (eshell-quote-argument): New function.
9345
9346 * eshell/esh-ext.el (eshell-invoke-batch-file):
9347 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9348 first arg to eshell-parse-command (Bug#10523).
9349
4372494f
DA
93502012-01-28 Drew Adams <drew.adams@oracle.com>
9351
9352 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9353 `default-directory' is non-nil.
9354
4d4ec1f8
EZ
93552012-01-28 Eli Zaretskii <eliz@gnu.org>
9356
9357 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9358 line that displays system-configuration-options. (Bug#9924)
9359
7c188927
DA
93602012-01-28 Drew Adams <drew.adams@oracle.com>
9361
9362 * descr-text.el (describe-char): Show information about POS, in
9363 addition to information about the character at POS. Improve and
9364 update the doc string. Change "code point" to "code point in
9365 charset", to avoid confusion with the character's Unicode code
9366 point shown above that. (Bug#10129)
9367
e0da685a
EZ
93682012-01-28 Eli Zaretskii <eliz@gnu.org>
9369
9370 * descr-text.el (describe-char): Show the raw character, not only
9371 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9372 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9373 for the reasons.
9374
70550acf
PH
93752012-01-28 Phil Hagelberg <phil@hagelb.org>
9376
eb864a71
LM
9377 * emacs-lisp/package.el (package-install):
9378 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9379
0ce8e868
CY
93802012-01-28 Chong Yidong <cyd@gnu.org>
9381
cb882333
JB
9382 * emacs-lisp/package.el (package-maybe-load-descriptor):
9383 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9384 (package-maybe-load-descriptor): Use it.
9385 (package-download-transaction): Fully load required packages
9386 inside the loop, so that `require' calls work (Bug#10593).
9387 (package-install): No need to call package-initialize now.
9388
2e7f3bea
CY
93892012-01-28 Chong Yidong <cyd@gnu.org>
9390
6e9bad14
CY
9391 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9392
f823b8ca
CY
9393 * tooltip.el (tooltip-mode): Doc fix.
9394 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9395
2680c309
CY
9396 * frame.el (set-cursor-color): Doc fix (Bug#352).
9397
d7a9e63b
CY
9398 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9399 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9400
2e7f3bea
CY
9401 * cus-edit.el (custom-buffer-create-internal): Fix search button
9402 action (Bug#10542).
2ae01800 9403 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9404
fc4f7a23
EW
94052012-01-27 Eduard Wiebe <usenet@pusto.de>
9406
9407 * dired.el (dired-mark-files-regexp):
9408 Include any subdirectory components. (Bug#10445)
9409
7dd37071
ML
94102012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9411
9412 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9413 Handle [host]:port syntax. (Bug#10533)
9414
a268160b
AH
94152012-01-27 Alex Harsanyi <harsanyi@mac.com>
9416
9417 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9418
e43273ef
GM
94192012-01-26 Glenn Morris <rgm@gnu.org>
9420
9421 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9422 * term.el (term-raw-escape-map): Use Control-X-prefix.
9423 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9424
1edf595d
MR
94252012-01-25 Martin Rudalics <rudalics@gmx.at>
9426
9427 * window.el (window-state-get, window--state-get-1): Don't deal
9428 with fixed-sizeness of windows. Simplify code.
9429
fa8eafef
JC
94302012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9431
6df6ae42
JB
9432 * window.el (window--state-get-1, window--state-put-2):
9433 Don't save and restore the mark.
fa8eafef 9434
0b21c100
CY
94352012-01-25 Chong Yidong <cyd@gnu.org>
9436
9437 * custom.el (custom-variable-p): Doc fix.
9438
5ae1a6c8
GM
94392012-01-25 Glenn Morris <rgm@gnu.org>
9440
40047858
GM
9441 * dired.el (dired-goto-file): Handle some of the more common
9442 characters that `ls -b' escapes. (Bug#10596)
9443
5ddce96c
GM
9444 * progmodes/compile.el (compilation-next-error-function):
9445 Respect compilation-first-column in the "*compilation*" buffer.
9446 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9447
5ae1a6c8
GM
9448 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9449
b559f1a9
GM
94502012-01-24 Glenn Morris <rgm@gnu.org>
9451
9452 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9453
6725d21a
JD
94542012-01-24 Julien Danjou <julien@danjou.info>
9455
9456 * color.el (color-rgb-to-hsl): Fix value computing.
9457 (color-hue-to-rgb): New function.
9458 (color-hsl-to-rgb): New function.
9459 (color-clamp, color-saturate-hsl, color-saturate-name)
9460 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9461 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9462
70df4bbe
GM
94632012-01-24 Glenn Morris <rgm@gnu.org>
9464
9465 * vc/vc-rcs.el (vc-rcs-create-tag):
9466 * vc/vc-sccs.el (vc-sccs-create-tag):
9467 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9468
802a2ae2
ML
94692012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9470
9471 * eshell/esh-util.el (eshell-read-hosts-file):
9472 Skip comment lines. (Bug#10549)
9473
d7128bb1
ML
9474 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9475
d1a5c3b4
JB
94762012-01-23 Juanma Barranquero <lekktu@gmail.com>
9477
2724d9c7
JB
9478 * subr.el (display-delayed-warnings): Doc fix.
9479 (collapse-delayed-warnings): New function to collapse identical
9480 adjacent warnings.
9481 (delayed-warnings-hook): Add it.
d1a5c3b4 9482
a5509865
MA
94832012-01-22 Michael Albinus <michael.albinus@gmx.de>
9484
9485 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9486
a5509865
MA
9487 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9488 (tramp-default-user-alist): Don't add "pscp".
9489 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9490 property "login-as", if set. (Bug#10530)
9491
cc6d5805
MA
94922012-01-21 Michael Albinus <michael.albinus@gmx.de>
9493
9494 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9495 "plink1" and "psftp". (Bug#10530)
9496
94972012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9498
9499 * international/mule-cmds.el (prefer-coding-system): Show a
9500 warning message if the default value of file-name-coding-system
9501 was not changed.
9502
f0960428
JC
95032012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9504
cb882333
JB
9505 * windmove.el (windmove-reference-loc):
9506 Fix windmove-reference-loc miscalculation.
f0960428 9507
dd6f2a63
JB
95082012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9509
9510 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9511 default unit.
9512
7b447e9b
GM
95132012-01-21 Glenn Morris <rgm@gnu.org>
9514
117a9ea1
GM
9515 * international/mule.el (auto-coding-alist): Add .tbz.
9516
7b447e9b
GM
9517 * files.el (local-enable-local-variables): Doc fix.
9518 (inhibit-local-variables-regexps): Rename from
9519 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9520 Doc fix. Add some extensions from auto-coding-alist.
9521 (inhibit-local-variables-suffixes):
9522 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9523 (inhibit-local-variables-p):
9524 New function, extracted from set-auto-mode-1.
9525 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9526 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9527 (hack-local-variables): Doc fix. Make the mode-only case
9528 respect enable-local-variables and friends.
9529 Respect inhibit-local-variables-regexps for file-locals, but
9530 not for directory-locals.
9531 (set-visited-file-name):
9532 Take account of inhibit-local-variables-regexps.
9533 Whether it applies may change as the file name is changed.
9534 * jka-cmpr-hook.el (jka-compr-install):
9535 * jka-compr.el (jka-compr-uninstall):
9536 Update for inhibit-first-line-modes-suffixes name change.
9537
dd6e3cdd
MR
95382012-01-20 Martin Rudalics <rudalics@gmx.at>
9539
9540 * help-macro.el (make-help-screen): Temporarily restore original
9541 binding for minor-mode-map-alist (Bug#10454).
9542
0d0deb38
JD
95432012-01-19 Julien Danjou <julien@danjou.info>
9544
9545 * color.el (color-name-to-rgb): Use the white color to find the max
9546 color component value and return correctly computed values.
9547 (color-name-to-rgb): Add missing float conversion for max value.
9548
34a02f46
MR
95492012-01-19 Martin Rudalics <rudalics@gmx.at>
9550
9551 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9552 special state value for window-persistent-parameters.
9553 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9554 (window--state-put-2): Reset all window parameters to nil before
9555 assigning values of persistent parameters.
9556
606c44c4
AM
95572012-01-18 Alan Mackenzie <acm@muc.de>
9558
9559 Eliminate sluggishness and hangs in fontification of "semicolon
9560 deserts".
9561
cb882333
JB
9562 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9563 Change value 10000 -> 3000.
606c44c4
AM
9564 (c-state-safe-place): Reformulate so it doesn't stack up an
9565 infinite number of wrong entries in c-state-nonlit-pos-cache.
9566 (c-determine-limit-get-base, c-determine-limit): New functions to
9567 determine backward search limits disregarding literals.
9568 (c-find-decl-spots): Amend commenting.
9569 (c-cheap-inside-bracelist-p): New function which detects "={".
9570
9571 * progmodes/cc-fonts.el
9572 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9573 backward search.
9574 (c-font-lock-declarations): Fix an occurrence of point being
9575 undefined. Check additionally for point being in a bracelist or
9576 near a macro invocation without a semicolon so as to avoid a
9577 fruitless time consuming search for a declarator. Give a more
9578 precise search limit for declarators using the new
9579 c-determine-limit.
9580
f3860cea
GM
95812012-01-18 Glenn Morris <rgm@gnu.org>
9582
9583 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9584 (set-auto-mode): Doc fixes.
9585
1db03b16
GM
95862012-01-17 Glenn Morris <rgm@gnu.org>
9587
0e6038be
GM
9588 * isearch.el (search-nonincremental-instead): Fix doc typo.
9589
1db03b16
GM
9590 * dired.el (dired-insert-directory): Handle newlines in directory name.
9591 (dired-build-subdir-alist): Unescape newlines in directory name.
9592
4cb0aa75
MA
95932012-01-17 Michael Albinus <michael.albinus@gmx.de>
9594
9595 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9596 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9597 (tramp-action-terminal): Use it. (Bug#10530)
9598
1d00653d
SM
95992012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9602
6a6ee00d
MR
96032012-01-16 Martin Rudalics <rudalics@gmx.at>
9604
9605 * window.el (window-state-ignored-parameters): Remove variable.
9606 (window--state-get-1): Rename argument MARKERS to IGNORE.
9607 Handle persistent window parameters. Make copy of clone-of
9608 parameter only if requested. (Bug#10348)
9609 (window--state-put-2): Install a window parameter only if it has
9610 a non-nil value or an existing parameter shall be overwritten.
9611
97912def
MA
96122012-01-15 Michael Albinus <michael.albinus@gmx.de>
9613
9614 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9615
688070a5
EZ
96162012-01-14 Eli Zaretskii <eliz@gnu.org>
9617
9618 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9619 don't pass the (nil) value of `upnode' to string-match.
9620
301afadc
CY
96212012-01-14 Chong Yidong <cyd@gnu.org>
9622
9623 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9624 Fix values recognized by the cursorBlink resource.
301afadc 9625
9e5788aa
PE
96262012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9627
9628 * epg.el (epg--make-temp-file): Avoid permission race condition
9629 when running on old Emacs versions (bug#10403).
9630
3cdb7f5a
GM
96312012-01-14 Glenn Morris <rgm@gnu.org>
9632
9633 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9634
8c82b1b4
AM
96352012-01-13 Alan Mackenzie <acm@muc.de>
9636
9637 Fix filling for when filladapt mode is enabled.
9638
9639 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9640 c-mask-paragraph, pass in `fill-paragraph' rather than
9641 `fill-region-as-paragraph'. (This is a reversion of a previous
9642 change.)
eb864a71
LM
9643 * progmodes/cc-mode.el (c-basic-common-init):
9644 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9645
e517eda4
GM
96462012-01-13 Glenn Morris <rgm@gnu.org>
9647
1498536e
GM
9648 * dired.el (dired-switches-escape-p): New function.
9649 (dired-insert-directory): Use dired-switches-escape-p.
9650 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9651
e517eda4
GM
9652 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9653
328f984d
GM
96542012-01-12 Glenn Morris <rgm@gnu.org>
9655
9656 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9657 changes in adaptive-fill-regexp. (Bug#10276)
9658
2cc769a8
AM
96592012-01-11 Alan Mackenzie <acm@muc.de>
9660
9661 Fix Emacs bug #10463 - put `widen's around the critical spots.
9662
1d00653d 9663 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9664 widen around each invocation of c-state-pp-to-literal. Remove an
9665 unused let variable.
9666
e52c37fa
GM
96672012-01-11 Glenn Morris <rgm@gnu.org>
9668
9669 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9670 Doc fix.
e52c37fa 9671
96f8741e
CY
96722012-01-10 Chong Yidong <cyd@gnu.org>
9673
1d00653d
SM
9674 * net/network-stream.el (network-stream-open-starttls):
9675 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9676 response to the capability command.
9677
b09a806e
GM
96782012-01-10 Glenn Morris <rgm@gnu.org>
9679
9680 * mail/unrmail.el (unrmail): Tweak previous change.
9681
7655cb66
CY
96822012-01-09 Chong Yidong <cyd@gnu.org>
9683
9684 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9685
9d5a8f0b
AM
96862012-01-08 Alan Mackenzie <acm@muc.de>
9687
9688 Optimise font locking in long enum definitions.
9689
9690 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9691 arm to a cond form to handle enums.
9692 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9693 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9694
9a0115ab 96952012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9696
9697 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9698 (Bug#10401)
6bb72cbd 9699
f186bb95
LMI
97002012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9701
29232a68
LMI
9702 * faces.el (set-face-attribute): Clarify the meaning of the nil
9703 frame (bug#10294).
9704
4e5d086d
LMI
9705 * subr.el (with-selected-frame): Mention that the selected frame
9706 is restored (bug#9980).
9707
8e66aebe
LMI
9708 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9709 (bug#9759).
9710
cd394be1 9711 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9712 (password-read): Don't autoload unused function.
9713
adf4e762
JB
97142012-01-07 Juanma Barranquero <lekktu@gmail.com>
9715
9716 * progmodes/which-func.el (which-func-mode): Turn into a
9717 non-interactive function and mark as obsolete (bug#10428).
9718
89bd9ccd
CY
97192012-01-06 Chong Yidong <cyd@gnu.org>
9720
9721 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9722 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9723 functions, along with 1 and -1.
9724
4afee9d5
EZ
97252012-01-06 Eli Zaretskii <eliz@gnu.org>
9726
9727 * time.el (display-time-load-average)
9728 (display-time-default-load-average): Doc fixes. See the thread
9729 starting at
9730 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9731 for the details.
9732
536aea70
GM
97332012-01-06 Glenn Morris <rgm@gnu.org>
9734
665ae865
GM
9735 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9736 has no messages. (Bug#10377)
9737
c869783d
GM
9738 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9739 than Info-edit. (Bug#10385)
9740
2bb4227e
GM
9741 * time.el (display-time-load-average, display-time-next-load-average):
9742 Doc fixes.
9743
7d5944b9
GM
9744 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9745 local setting of buffer-read-only to the input buffer. (Bug#10419)
9746
536aea70
GM
9747 * calendar/calendar.el (calendar-mode):
9748 Locally set scroll-margin to 0. (Bug#10379)
9749
7dccca16
UM
97502012-01-06 Ulrich Mueller <ulm@gentoo.org>
9751
9752 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9753
afbb7930
GM
97542012-01-05 Glenn Morris <rgm@gnu.org>
9755
9756 * eshell/em-unix.el (diff-no-select): Autoload it.
9757 (eshell/diff): Use diff-no-select. (Bug#10420)
9758
04482335
CY
97592012-01-05 Chong Yidong <cyd@gnu.org>
9760
7baca3bc
CY
9761 * shell.el (shell-dynamic-complete-functions): Revert last change.
9762 (shell-command-completion-function): New function.
9763 (shell-completion-vars): Use it to implement
9764 shell-completion-execonly (Bug#10417).
9765
04482335
CY
9766 * custom.el (enable-theme): Don't set custom-safe-themes.
9767
1d00653d
SM
9768 * cus-theme.el (custom-theme-merge-theme):
9769 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9770
bb5aa5d6
MM
97712012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9772
9773 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9774 first prompt in `sql-interacive-mode'.
9775 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9776 keywords.
6df6ae42 9777 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9778 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9779 context of original buffer. Invoke `sql-login-hook'.
9780
a7183d7c
EZ
97812012-01-04 Eli Zaretskii <eliz@gnu.org>
9782
9783 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9784 letters in cite-prefix.
9785
a1eacd1e
LMI
97862012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9787
9788 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9789
787cdb34
CY
97902012-01-03 Chong Yidong <cyd@gnu.org>
9791
1d00653d
SM
9792 * shell.el (shell-dynamic-complete-functions):
9793 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9794 comint-filename-completion first (Bug#10417).
9795
30710442
RS
97962012-01-02 Richard Stallman <rms@gnu.org>
9797
9798 * battery.el (battery-status-function):
9799 Detect when to use battery-yeeloong-sysfs.
9800 (battery-echo-area-format): Add string for Yeeloong.
9801 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9802 (battery-yeeloong-sysfs): New function.
9803
f75bfc33
CY
98042012-01-02 Chong Yidong <cyd@gnu.org>
9805
9806 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9807 (dirtrack): Merge code for handling relative filenames in prompt
9808 from shell-dir-cookie-watcher.
9809 (dirtrack-debug-message): New arg to avoid excess format calls.
9810
9811 * shell.el (shell-dir-cookie-re): Variable deleted.
9812 (shell-dir-cookie-watcher): Function deleted.
9813 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9814 with dirtrack-mode.
9815
651e947e
EZ
98162012-01-01 Eli Zaretskii <eliz@gnu.org>
9817
1d00653d
SM
9818 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9819 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9820 libgnutls-26.dll.
9821
94d4c7dc
AS
98222011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9823
9824 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9825
8d43f3cd
EZ
98262011-12-31 Eli Zaretskii <eliz@gnu.org>
9827
9828 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9829 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9830
98c8795a
MA
98312011-12-29 Michael Albinus <michael.albinus@gmx.de>
9832
9833 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9834 also for alternative shells.
9835 (tramp-open-connection-setup-interactive-shell): Check, whether
9836 the shell is a busybox.
9837 (tramp-send-command): Don't suppress multiple prompts for
9838 busyboxes, it hurts.
9839
51281b32
CY
98402011-12-28 Chong Yidong <cyd@gnu.org>
9841
9842 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9843 (gdb-get-source-file): Move mode line update to
9844 gdb-get-source-file (Bug#10087).
9845
2170cb53
CY
98462011-12-25 Chong Yidong <cyd@gnu.org>
9847
9848 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9849 gud-gdb-marker-filter without taking it as an argument.
9850 (gud-gdb-run-command-fetch-lines): Caller changed.
9851 (gud-gdb-completion-function): New variable.
9852 (gud-gdb-completion-at-point): Use it.
9853 (gud-gdb-completions-1): Split from gud-gdb-completions.
9854
9855 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9856 function as separate arguments.
9857 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9858 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9859 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9860 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9861 (gdb-stopped, def-gdb-auto-update-trigger)
9862 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9863 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9864 Callers changed.
2170cb53
CY
9865 (gud-gdbmi-completions): New function.
9866 (gdb): Use it for generating the completion table.
9867
be8b11bb
AM
98682011-12-24 Alan Mackenzie <acm@muc.de>
9869
9870 Introduce a mechanism to widen the region used in context font
1d00653d 9871 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9872
1d00653d
SM
9873 * progmodes/cc-langs.el (c-before-font-lock-functions):
9874 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9875 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9876 functions to be run just before context (etc.) font locking.
9877
9878 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9879 New, functionality extracted from
be8b11bb 9880 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9881 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9882 (c-after-change): Set c-in-after-change-fontification.
9883 (c-set-fl-decl-start): Rejig its interface, so it can be called
9884 from both after-change and context fontifying.
b81d40f0
JB
9885 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9886 New functions.
9887 (c-standard-font-lock-fontify-region-function): New variable.
9888 (c-font-lock-fontify-region): New function.
be8b11bb 9889
341cf6ac
JL
98902011-12-24 Juri Linkov <juri@jurta.org>
9891
9892 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9893 (Bug#10348)
9894
bffcee0a
MA
98952011-12-23 Michael Albinus <michael.albinus@gmx.de>
9896
9897 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9898 existence of source file. (Bug#10325)
9899
cb5e207c
AM
99002011-12-23 Alan Mackenzie <acm@muc.de>
9901
9902 Fix unstable fontification inside templates.
9903
b81d40f0
JB
9904 * progmodes/cc-langs.el (c-before-font-lock-functions):
9905 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9906 additionally has c-set-fl-decl-start. The other languages (apart
9907 from AWK) have that as a single entry.
9908
b81d40f0
JB
9909 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9910 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9911 c-set-fl-decl-start.
9912
b81d40f0
JB
9913 * progmodes/cc-mode.el (c-common-init, c-after-change):
9914 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9915 (c-set-fl-decl-start): New function, extracted from
9916 c-font-lock-enclosing-decls and enhanced.
9917
60ff536c
JB
99182011-12-23 Juanma Barranquero <lekktu@gmail.com>
9919
9920 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9921
1c4757d6
JL
99222011-12-22 Juri Linkov <juri@jurta.org>
9923
9924 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9925
d031f2c7
CY
99262011-12-22 Chong Yidong <cyd@gnu.org>
9927
9928 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9929
bace743a
DA
99302011-12-21 Drew Adams <drew.adams@oracle.com>
9931
9932 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9933
728a1f2b
JC
99342011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9935
9936 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9937
0d373f73
TZ
99382011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9939
fec0aaa4
TZ
9940 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9941 highlighting and support. Fix up comments for capitalization.
9942 (cfengine-mode-debug): New var.
9943 (cfengine3-mode): Change the modeline indicator to "CFE3".
9944 (cfengine3-font-lock-keywords): Improve defun highlighting.
9945 (cfengine2-actions): Rename from `cfengine-actions'.
9946 (cfengine2-font-lock-keywords): Rename from
9947 `cfengine-font-lock-keywords'.
9948 (cfengine2-imenu-expression): Rename from
9949 `cfengine-imenu-expression'.
9950 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9951 (cfengine2-beginning-of-defun): Rename from
9952 `cfengine-beginning-of-defun'.
9953 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9954 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9955 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9956 modeline indicator to "CFE2".
9957 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9958 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9959
bc86f573
CY
99602011-12-21 Chong Yidong <cyd@gnu.org>
9961
9962 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9963 filename argument.
9964
d45ba96b
MR
99652011-12-20 Martin Rudalics <rudalics@gmx.at>
9966
9967 * window.el (window-normalize-buffer-to-display): Remove.
9968 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9969
a6198c90
CY
99702011-12-19 Chong Yidong <cyd@gnu.org>
9971
9972 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9973 Don't signal an error in a predicate function; return non-nil.
9974 (vc-dir-mark-file): Move the error here.
9975 (vc-dir-mark-unmark): If acting on the region, keep going if one
9976 of the entries cannot be marked/unmarked.
9977 (vc-dir-mark-all-files): If current entry is a directory, mark
9978 only child files, as documented.
9979
34c5fb55
VB
99802011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9981
9982 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9983 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9984 addition.
9985
c803b2b7
JD
99862011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9987
9988 * term/ns-win.el (ns-get-selection-internal)
9989 (ns-store-selection-internal): Declare.
1154d12e
JB
9990 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9991 Declare as obsolete.
9992 (ns-get-pasteboard, ns-paste-secondary):
9993 Use ns-get-selection-internal.
41e9b956 9994 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 9995 Use ns-store-selection-internal.
c803b2b7 9996
9cff91f8 99972011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9998
9999 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10000 (vc-deduce-fileset): Doc fix.
99a289d9 10001
f16c898a
AS
100022011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10003
10004 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10005
763237c4
SS
100062011-12-13 Sam Steingold <sds@gnu.org>
10007
10008 * man.el (Man-getpage-in-background): When running under a
10009 window-system, ignore $MANWIDTH and $COLUMNS.
10010
5fc1c122
KH
100112011-12-15 Kenichi Handa <handa@m17n.org>
10012
10013 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10014 (setup-ethiopic-environment-internal): Comment out key-binding for
10015 ethio-toggle-punctuation.
10016
13d49cbb
AM
100172011-12-13 Alan Mackenzie <acm@muc.de>
10018
898169a2
AM
10019 Add the switch statement to AWK Mode.
10020
7a71b18d 10021 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10022 "default" to the keywords regexp.
10023
7a71b18d 10024 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10025 expression as the rest.
1d00653d
SM
10026 (c-nonlabel-token-key): Allow string literals for AWK.
10027 Refactor for the other modes.
898169a2 10028
13d49cbb 10029 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10030 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10031 routines. Limit backward searching in c-font-lock-enclosing.decl.
10032
10033 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10034 pp-state and literal type in addition to the limits.
1d00653d 10035 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10036 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10037 (c-slow-in-literal, c-fast-in-literal): Remove.
10038 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10039
10040 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10041 being in a literal. Add a limit for backward searching.
10042
10043 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10044 c-slow-in-literal.
10045
15e0efc7
SM
100462011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10047
10048 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10049
454592a6
MR
100502011-12-13 Martin Rudalics <rudalics@gmx.at>
10051
10052 * window.el (delete-other-windows): Use correct frame in call to
10053 window-with-parameter.
10054
87393f26
DP
100552011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10056
10057 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10058 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10059 (makefile-gmake-statements, makefile-makepp-statements):
10060 Use it and add new makepp keywords.
10061 (makefile-makepp-font-lock-keywords): Add new patterns.
10062 (makefile-match-function-end): Match new [...] and [[...]].
10063
11636b22
JB
100642011-12-11 Juanma Barranquero <lekktu@gmail.com>
10065
10066 * ses.el (ses-call-printer-return, ses-cell-property-get)
10067 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10068 (ses-create-cell-variable, ses-reset-header-string)
10069 (ses-cell-set-formula, ses-repair-cell-reference-all)
10070 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10071 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10072 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10073 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10074 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10075 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10076 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10077 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10078 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10079 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10080 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10081 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10082
cf018193
VB
100832011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10084
10085 * ses.el: The overall change is to add cell renaming, that is
10086 setting fancy names for cell symbols other than name matching
10087 "\\`[A-Z]+[0-9]+\\'" regexp .
10088 (ses-create-cell-variable): New defun.
10089 (ses-relocate-formula): Relocate formulas only for cells the
10090 symbols of which are not renamed, i.e. symbols whose names do not
10091 match regexp "\\`[A-Z]+[0-9]+\\'".
10092 (ses-relocate-all): Relocate values only for cells the symbols of
10093 which are not renamed.
10094 (ses-load): Create cells variables as the (ses-cell ...) are read,
10095 in order to check row col consistency with cell symbol name only
10096 for cells that are not renamed.
10097 (ses-replace-name-in-formula): New defun.
10098 (ses-rename-cell): New defun.
10099
ee957461
CY
101002011-12-11 Chong Yidong <cyd@gnu.org>
10101
10102 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10103 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10104
9a9e9ef0
MR
101052011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10106
10107 * window.el (other-window): Fix docstring.
10108
92a8eba5
EZ
101092011-12-10 Eli Zaretskii <eliz@gnu.org>
10110
10111 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10112 `from' or `to' address before taking its substring.
10113 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10114 encoded name is chopped in the middle of the encoded string, and
10115 thus displayed encoded.
10116
e152e577
JB
101172011-12-10 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10120
e5d84bfe
EZ
101212011-12-10 Eli Zaretskii <eliz@gnu.org>
10122
10123 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10124 to use texinfo-update-node and commands that call it if the
10125 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10126 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10127 (texinfo-all-menus-update, texinfo-master-menu)
10128 (texinfo-update-node, texinfo-every-node-update)
10129 (texinfo-multiple-files-update): Doc fix. Warn against updating
10130 all the @node lines.
10131 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10132 argument is numeric. Explain better in the doc string what the
10133 function really does.
10134 (texinfo-insert-master-menu-list): Improve the error message
10135 displayed if there's no menu in the Top node.
10136 (Bug#2975) See also this thread:
e5d84bfe
EZ
10137 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10138
1d84e9bb
MG
101392011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10140
10141 * speedbar.el (speedbar-supported-extension-expressions):
10142 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10143
382c953b
JB
101442011-12-09 Juanma Barranquero <lekktu@gmail.com>
10145
10146 * printing.el (pr-mode-alist):
10147 * simple.el (filter-buffer-substring-functions)
10148 (completion-list-insert-choice-function):
10149 * window.el (window-with-parameter, window-atom-root)
10150 (window-sides-slots, window-size-fixed, window-min-delta)
10151 (window-max-delta, window--resize-mini-window)
10152 (window--resize-child-windows-normal, window-tree)
10153 (delete-other-windows, quit-window, split-window)
10154 (display-buffer-record-window, special-display-buffer-names)
10155 (special-display-regexps, special-display-popup-frame)
10156 (same-window-p, split-window-sensibly)
10157 (display-buffer-overriding-action, display-buffer-alist)
10158 (display-buffer-base-action, display-buffer, switch-to-buffer)
10159 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10160 (fit-window-to-buffer, recenter-positions)
10161 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10162 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10163 and remove unneeded backslashes in docstrings.
10164
39c9faef
SM
101652011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10166
98449af8
SM
10167 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10168
39c9faef
SM
10169 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10170 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10171 end in ".mk".
10172 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10173 when reading the makefile (bug#10116).
10174
86ed9fdc
SM
101752011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10178 (bug#10116).
10179
5580f89d
GM
101802011-12-06 Glenn Morris <rgm@gnu.org>
10181
10182 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10183
28d3917c
CY
101842011-12-06 Chong Yidong <cyd@gnu.org>
10185
10186 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10187
a98edce9
JB
101882011-12-06 Juanma Barranquero <lekktu@gmail.com>
10189
10190 * textmodes/table.el (table-shorten-cell): Fix typo.
10191
e65adfac
CG
101922011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10193
10194 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10195
71cc0b74
EZ
101962011-12-05 Eli Zaretskii <eliz@gnu.org>
10197
10198 * descr-text.el (describe-char): Fix display of strong
10199 right-to-left characters and directional embeddings and overrides.
10200
10201 * simple.el (what-cursor-position): Fix display of codepoints of
10202 strong right-to-left characters.
10203
315bc30d
CY
102042011-12-05 Chong Yidong <cyd@gnu.org>
10205
10206 * faces.el (read-color): Doc fix.
10207
58a70b94
GM
102082011-12-05 Glenn Morris <rgm@gnu.org>
10209
10210 * align.el (align--set-marker): Add doc-string.
10211 Don't try to move something that is not a marker. (Bug#10216)
10212
5158face
GM
102132011-12-04 Glenn Morris <rgm@gnu.org>
10214
10215 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10216 overly zealous deletion of trailing whitespace.
10217
520fca41
JB
102182011-12-04 Juanma Barranquero <lekktu@gmail.com>
10219
10220 * server.el (server-delete-client): On Windows, do not try to delete
10221 the only terminal.
10222 (server-process-filter): On Windows, treat requests for a tty frame as
10223 if they were for a GUI frame if the running server is in GUI mode.
10224
5e605a2e
GM
102252011-12-03 Glenn Morris <rgm@gnu.org>
10226
10227 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10228
5c3fe83f
SM
102292011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10230
6f5e57e7
SM
10231 * electric.el: Streamline electric-indent's hook.
10232 (electric-indent-chars): Revert to simple list.
10233 (electric-indent-functions): New var.
10234 (electric-indent-post-self-insert-function): Use it.
10235
5c3fe83f
SM
10236 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10237 there's no inferior buffer (bug#10196).
10238 (prolog-consult-compile): Don't use toggle-read-only.
10239
6bdac736
MA
102402011-12-02 Michael Albinus <michael.albinus@gmx.de>
10241
10242 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10243 interrupt. (Bug#10187)
10244
6131ba7f
SM
102452011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10246
99c79fee
SM
10247 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10248 (bug#9160).
10249
6131ba7f
SM
10250 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10251 (bug#10191).
10252
cb0a02ea
JL
102532011-12-02 Juri Linkov <juri@jurta.org>
10254
10255 * info.el (Info-search): Display "end of manual" when Isearch
10256 reaches the end of single-file Info manual. (Bug#9918)
10257
66e0570c
EZ
102582011-12-02 Eli Zaretskii <eliz@gnu.org>
10259
10260 * isearch.el (isearch-message-prefix): Run the input method part
10261 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10262
02b16839
JL
102632011-12-02 Juri Linkov <juri@jurta.org>
10264
10265 * isearch.el (isearch-occur): Use `word-search-regexp' for
10266 `isearch-word'.
10267 (isearch-search-and-update): Add condition for `isearch-word' and
10268 call `word-search-regexp'. (Bug#10145)
10269
0b950688
GM
102702011-12-01 Glenn Morris <rgm@gnu.org>
10271
10272 * eshell/em-hist.el (eshell-hist-initialize):
10273 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10274 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10275
9505c3c7
SM
102762011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10279
1bbe96b2 102802011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10281
a1beca85
SM
10282 * progmodes/verilog-mode.el (verilog-pretty-expr):
10283 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10284 verilog, such as += *= and the like.
10285 (verilog-assignment-operator-re): Regular expression to find the
10286 assigment operator in a verilog assignment.
10287 (verilog-assignment-operation-re): Regular expression to find an
10288 assignment statement for pretty-expr.
10289 (verilog-in-attribute-p): Query returns true if point is in an
10290 attribute context; used to skip these for expression line up from
10291 pretty-expr.
10292 (verilog-in-parameter-p): Query returns true if point is in an
10293 parameter definition context; used to skip these for expression
10294 line up from pretty-expr.
10295 (verilog-in-parenthesis-p): Query returns true if point is in a
10296 parenthetical expression, specifically ( ) but not [ ] or { };
10297 used by pretty-expr.
10298 (verilog-just-one-space): If there is no space, don't add one.
10299 (verilog-get-lineup-indent-2): Specifically skip just attribute
10300 contexts for expression lineup, rather than skipping all
10301 parenthetical expressions.
10302 (verilog-calculate-indent): Fix comment, and fix indent.
10303 (verilog-do-indent): Indent declarations in lists (suggested by
10304 Joachim Lechner).
10305 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10306 skeleton items.
10307 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10308 by Alain Mellan).
10309
1bbe96b2 103102011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10311
10312 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10313 parameters with embedded comments. Reported by Ray Stevens.
10314 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10315 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10316 Reported by Tim Holt.
10317 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10318 instantiated by upper module causing wrong expansion until AUTOed a
10319 second time. Reported by K C Buckenmaier.
10320 (verilog-diff-auto): Fix showing .* as a difference when
10321 `verilog-auto-star-save' off. Reported by Dan Dever.
10322 (verilog-auto-reset, verilog-read-always-signals)
10323 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10324 temporary signals in reset list if
10325 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10326 style to each signal's assignment type, bug381.
10327 Reported by Thomas Esposito.
6288f0ca
WS
10328 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10329 (verilog-uvm-statement-re): Support UVM indentation and
10330 highlighting, with old OVM keywords only.
a1beca85 10331 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10332 Support AUTOTIEOFF creating non-wire data types.
10333 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10334 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10335 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10336 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10337 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10338 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10339 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10340 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10341 non-numeric vector width. Reported by Alex Reed.
10342 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10343 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10344 (verilog-auto-delete-trailing-whitespace):
10345 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10346 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10347 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10348 Fix verilog-scan-cache corruption when running user AUTO expansion
10349 hooks that call indentation routines.
10350 (verilog-simplify-range-expression): Fix typo ignoring lower case
10351 identifiers.
10352 (verilog-delete-auto): Fix delete-autos to also remove user created
10353 automatics, as long as they start with AUTO.
10354 (verilog-batch-diff-auto, verilog-diff-auto)
10355 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10356 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10357 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10358 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10359 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10360 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10361 is disabled and its cache will get corrupt, causing AUTOS not to
10362 expand. Instead use only -quick functions.
10363 (verilog-scan-region): Fix scanning over escaped quotes.
10364 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10365 (verilog-re-search-backward-quick)
10366 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10367 related functions now ignore strings, to fix misparsing of strings
10368 with magic comments embedded in them.
a1beca85
SM
10369 (verilog-read-auto-template):
10370 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10371 Reported by Brad Dobbie.
10372 (verilog-read-auto-template):
10373 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10374 Reported by Brad Dobbie.
6288f0ca
WS
10375 (verilog-auto-inst, verilog-auto-inst-param)
10376 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10377 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10378 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10379 debugging templates without merge conflicts, bug357.
10380 Reported by Brad Dobbie.
10381 (verilog-read-auto-template):
10382 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10383 Reported by Brad Dobbie.
10384 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10385 abbrevs so user won't be asked to save.
10386 (verilog-read-auto-lisp-present): Fix to start at beginning of
10387 buffer in case called outside of verilog-auto.
10388 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10389 to "X-2". Reported by Matthew Myers.
10390 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10391 all inputs from module templates. Reported by Leith Johnson.
10392 (verilog-module-inside-filename-p): Fix locating programs as with
10393 modules.
10394 (verilog-auto-inst-port): Fix vl-width expressions when using
10395 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10396 (verilog-decls-get-regs, verilog-decls-get-signals,
10397 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10398 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10399 verilog-read-decls): Combine reg and wire structures into one var
10400 structure to represent SystemVerilog concepts.
10401 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10402 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10403 (verilog-auto-wire-type, verilog-insert-definition):
10404 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10405 SystemVerilog "logic" keyword instead of "wire"/"reg".
10406 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10407 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10408 ifdef or generate if so there's not a driver conflict).
10409 Reported by Matthew Myers.
10410 (verilog-auto-declare-nettype, verilog-insert-definition):
10411 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10412 `default_nettype none. Reported by Julian Gorfajn.
10413 (verilog-read-always-signals-recurse, verilog-read-decls)
10414 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10415 malformed end statement, bug325. Reported by Joshua Wise and
10416 Andrew Drake.
10417 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10418 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10419 when expanding .* in interfaces, bug320.
10420 Reported by Pierre-David Pfister.
6288f0ca 10421 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10422 name and open parenthesis, bug317.
10423 Reported by Pierre-David Pfister.
6288f0ca
WS
10424 (verilog-simplify-range-expression): Fix simplification of
10425 multiplications inside AUTOWIRE connections, bug303.
10426 (verilog-auto-inst-port): Support parameter expansion in
10427 multidimensional arrays.
10428 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10429 after "assert property". Reported by Julian Gorfajn.
10430 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10431 with multiplication, bug303.
10432 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10433 Reported by Jan Frode Lonnum.
10434
1bbe96b2
GM
104352011-11-30 Juanma Barranquero <lekktu@gmail.com>
10436
10437 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10438 (hfy-shell-file-name, hfy-shell):
10439 * international/fontset.el (x-decompose-font-name): Fix typos.
10440
104412011-11-29 Ken Brown <kbrown@cornell.edu>
10442
10443 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10444 (gdb-version): Remove defvar.
10445 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10446 (gdb-gud-context-command, gdb-non-stop-handler)
10447 (gdb-current-context-command, gdb-stopped): Use it.
10448 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10449 (gdb-non-stop-handler): Don't enable pretty-printing here.
10450 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10451 non-stop mode. Use the following.
10452 (gdb-check-target-async): New defun.
10453 (gud-watch, gdb-stopped): Fix whitespace.
10454 (gdb-get-source-file): Don't try to display the source file if
10455 `gdb-main-file' is nil.
10456
104572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10458
10459 * align.el: Try to generate fewer markers (bug#10047).
10460 (align--set-marker): New macro.
10461 (align-region): Use it.
10462
c935221f
SM
104632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10464
10465 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10466
e70b5064
CY
104672011-11-29 Chong Yidong <cyd@gnu.org>
10468
10469 * indent.el (indent-for-tab-command, indent-according-to-mode):
10470 Doc fix.
10471 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10472
f3af92b7
MA
104732011-11-29 Michael Albinus <michael.albinus@gmx.de>
10474
10475 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10476 aware of remote file names. (Bug#10124)
10477
ed472be9
CY
104782011-11-29 Chong Yidong <cyd@gnu.org>
10479
10480 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10481
24510c22
SM
104822011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * files.el (find-file): Don't use force-same-window (bug#10144).
10485 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10486 use pop-to-buffer if the selected window can't be used.
10487 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10488
c60c3703
EZ
104892011-11-28 Eli Zaretskii <eliz@gnu.org>
10490
10491 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10492 special-mode-map.
10493
e95def75
CY
104942011-11-28 Chong Yidong <cyd@gnu.org>
10495
10496 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10497
c3f1c606
NR
104982011-11-27 Nick Roberts <nickrob@snap.net.nz>
10499
10500 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10501 gdb-get-source-file-list on gdb-create-source-file-list.
10502
00db469c
EZ
105032011-11-26 Eli Zaretskii <eliz@gnu.org>
10504
10505 * whitespace.el (whitespace-newline): Use a different foreground
10506 color for 16-color light-background displays.
10507
4ad3bc2a
CY
105082011-11-24 Chong Yidong <cyd@gnu.org>
10509
10510 * window.el (display-buffer--special-action): Doc fix.
10511
e9fce1ac
JB
105122011-11-25 Juanma Barranquero <lekktu@gmail.com>
10513
10514 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10515 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10516 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10517 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10518 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10519 (avl-tree-stack-first):
10520 * emacs-lisp/cconv.el (cconv--analyse-use):
10521 * net/gnutls.el (gnutls-negotiate): Fix typos.
10522
cb825e5d
GM
105232011-11-24 Glenn Morris <rgm@gnu.org>
10524
3adbe224
GM
10525 * lpr.el (lpr-windows-system, lpr-lp-system):
10526 * mail/binhex.el (binhex-begin-line):
10527 * progmodes/grep.el (grep-history, grep-find-history):
10528 * textmodes/flyspell.el:
10529 * vc/pcvs-defs.el (cvs-global-menu):
10530 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10531 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10532 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10533
321decc8
GM
10534 * net/tls.el: Fix case of "GnuTLS".
10535
420b63ad
GM
10536 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10537
cb825e5d
GM
10538 * version.el (emacs-build-system): Give it a doc-string.
10539
a0649f08
JL
105402011-11-24 Juri Linkov <juri@jurta.org>
10541
10542 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10543
c0bc0fd4
GM
105442011-11-24 Glenn Morris <rgm@gnu.org>
10545
10546 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10547 if called on a non-mime message just toggle the headers. (Bug#8006)
10548
20db1522
JB
105492011-11-24 Juanma Barranquero <lekktu@gmail.com>
10550
10551 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10552 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10553 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10554 (allout-rebullet-heading, allout-open-sibtopic)
10555 (allout-toggle-current-subtree-encryption)
10556 (allout-toggle-subtree-encryption, allout-encrypt-string)
10557 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10558 (allout-distinctive-bullets-string, allout-auto-activation):
10559 * window.el (window-normalize-buffer-to-display):
10560 * progmodes/verilog-mode.el (verilog-batch-indent):
10561 * textmodes/bibtex.el (bibtex-field-braces-opt)
10562 (bibtex-field-strings-opt):
10563 * vc/cvs-status.el (cvs-tree-merge):
10564 Fix typos.
10565
7262a87c
MA
105662011-11-23 Michael Albinus <michael.albinus@gmx.de>
10567
10568 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10569 `non-essential' to t, in order to avoid remote connections.
10570
283430a1
EZ
105712011-11-23 Eli Zaretskii <eliz@gnu.org>
10572
a1beca85
SM
10573 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10574 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10575 case-insensitively.
10576
d2992a38
ML
105772011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10578
10579 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10580
50419064
GM
105812011-11-23 Glenn Morris <rgm@gnu.org>
10582
da94eca1
GM
10583 * paths.el (rmail-file-name): Reformat the doc-string so that it
10584 is picked up.
10585
9aac4de2
GM
10586 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10587 (rmail-auto-file): Ignore case in the "special" field names,
10588 as mail-fetch-field does for all others.
10589
8038d2d2
GM
10590 * mail/rmail.el (rmail-forward):
10591 * mail/rmailkwd.el (rmail-set-label):
10592 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10593 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10594
f3fe222a
GM
10595 * mail/rmail.el (rmail-current-message): Doc fix.
10596
50419064
GM
10597 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10598
28109f49
SM
105992011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10600
10601 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10602
394c65f1
GM
106032011-11-22 Glenn Morris <rgm@gnu.org>
10604
10605 * mail/rmailmm.el (test-rmail-mime-handler)
10606 (test-rmail-mime-bulk-handler)
10607 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10608
f2a0aa3a
JL
106092011-11-21 Juri Linkov <juri@jurta.org>
10610
1154d12e
JB
10611 * calc/calc.el (calc-read-key-sequence):
10612 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10613
9c34a344
LMI
106142011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10615
10616 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10617 Tell the caller that the next line needs recomputation, even
10618 though it doesn't start a sexp (bug#10094).
10619
f04a3be9
SM
106202011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10623
7978747f
SM
106242011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10625
f04a3be9
SM
10626 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10627 Use force-same-window.
7978747f 10628
fe7a3057
JB
106292011-11-20 Juanma Barranquero <lekktu@gmail.com>
10630
10631 * descr-text.el (describe-char-unicode-data):
10632 * json.el (json-string-escape):
10633 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10634 (Footnote-unicode, Footnote-style-p):
10635 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10636
24901d61
CY
106372011-11-20 Chong Yidong <cyd@gnu.org>
10638
10639 * window.el (replace-buffer-in-windows): Restore interactive spec.
10640
bac7ff22
SM
106412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10642
24f3d7b9
SM
10643 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10644
bac7ff22
SM
10645 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10646 (byte-compile-global-not-obsolete-vars): New var.
10647 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10648 Use it.
10649 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10650
cd1181db
JB
106512011-11-20 Juanma Barranquero <lekktu@gmail.com>
10652
10653 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10654 * progmodes/pascal.el (electric-pascal-equal):
10655 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10656 * xml.el (xml-substitute-special): Fix typos.
10657
7fb18e9e
GM
106582011-11-20 Glenn Morris <rgm@gnu.org>
10659
10660 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10661 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10662 Doc fixes.
10663 (rmail-decode-mime-charset): Mark as obsolete.
10664
10665 * mail/rmailsum.el (rmail-message-regexp-p-1):
10666 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10667 Before using mime functions, check they are set. (Bug#10077)
10668
d5a6b3ba
JL
106692011-11-19 Juri Linkov <juri@jurta.org>
10670
10671 * info.el (Info-finder-find-node): Use `package--builtins' instead
10672 of `package-alist'. Use node names formed by the pattern "Keyword "
10673 and the keyword name.
10674
e981b61f
AS
106752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10676
1d00653d 10677 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10678
3ffbc301
JL
106792011-11-19 Juri Linkov <juri@jurta.org>
10680
10681 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10682 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10683 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10684 `old-history', `old-history-forward'. Add let-binding
10685 `window-selected'. Remove calls to `kill-buffer',
10686 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10687 before calling `Info-find-node', so `Info-find-node-2' will reread
10688 the Info file. Restore window positions only when `window-selected'
10689 is non-nil.
10690
30c62133
JL
106912011-11-19 Juri Linkov <juri@jurta.org>
10692
10693 * isearch.el (isearch-lazy-highlight-new-loop):
10694 Remove condition `(not isearch-error)'. (Bug#9918)
10695
10696 * misearch.el (multi-isearch-search-fun): Add condition
10697 `(not bound)' to ignore lazy-highlighting search.
10698 Add the search-failed message "end of multi" when the end of
10699 multi-sequence is reached. Uncapitalize the search-failed
10700 message "Repeat for next buffer".
10701
10702 * info.el (Info-search): Add the search-failed message
10703 "end of the manual" when the end of the manual is reached
10704 in Isearch mode.
10705
645ca9cf
JL
107062011-11-19 Juri Linkov <juri@jurta.org>
10707
10708 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10709 Use non-destructive `remove' instead of `delete' because
10710 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10711 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10712
df754f66
JL
107132011-11-19 Juri Linkov <juri@jurta.org>
10714
10715 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10716 to nil instead of binding `search-ring' and `regexp-search-ring'.
10717 (Bug#9185)
10718
0e23d96a
EZ
107192011-11-19 Eli Zaretskii <eliz@gnu.org>
10720
10721 * simple.el (line-move): Force movement by logical lines for any
10722 hscrolled window, not only when auto-hscroll-mode is on.
10723 (line-move-visual): Update doc string to that effect. (Bug#10076)
10724
8a6ccb66
AS
107252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10726
10727 * language/european.el (macintosh): Define as alias for mac-roman.
10728
49ae5b39
EZ
107292011-11-19 Eli Zaretskii <eliz@gnu.org>
10730
10731 * mail/rmailmm.el (rmail-mime-display-header)
10732 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10733 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10734 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10735 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10736 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10737 of a raw aref.
10738 (rmail-mime-entity-segment): To get past the tagline, move forward
10739 2 more lines, to account for the 2 empty lines that precede and
10740 follow the line with the buttons.
10741 (rmail-mime-update-tagline): Move one more line, to get past the
10742 empty line that follows the buttons in the tagline. (Bug#9520)
10743
c56cad4a
MR
107442011-11-19 Martin Rudalics <rudalics@gmx.at>
10745
10746 * window.el (window-max-delta-1, window-min-delta-1)
10747 (window-min-size-1, window-state-get-1, window-state-put-1)
10748 (window-state-put-2): Use "window--" prefix.
10749
cbe71af3
SM
107502011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10751
2ad52c60
SM
10752 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10753 (smie-warning-count): New var.
10754 (smie-set-prec2tab): Use it.
10755 (smie-bnf->prec2): Improve warnings. Add docstring.
10756 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10757 (smie-bnf--set-class): New function.
10758 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10759 corner case.
10760
6944dbc1
SM
10761 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10762 (compilation-error-properties, compilation-move-to-column):
10763 Handle compilation-first-column while in the target buffer.
10764
c400c4d7
SM
10765 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10766 Don't hardcode point-min==1.
10767
6dbe3e96
SM
10768 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10769 (eshell-rewrite-for-command): Remove workaround.
10770 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10771 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10772 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10773
cbe71af3
SM
10774 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10775
a8e1496d
GM
107762011-11-17 Glenn Morris <rgm@gnu.org>
10777
10778 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10779 Ignore buffer-local generated-autoload-file if it is the same
10780 as the global value. (Bug#10049)
10781
df85d315
JB
107822011-11-17 Juanma Barranquero <lekktu@gmail.com>
10783
10784 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10785 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10786 (reftex-toc-previous-heading, reftex-toc-max-level)
10787 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10788 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10789 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10790 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10791 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10792 (reftex-toc-rename-label, reftex-toc-visit-location)
10793 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10794 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10795 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10796 leaving "*toc*" only for references to the buffer.
10797
a0c2d0ae
MR
107982011-11-17 Martin Rudalics <rudalics@gmx.at>
10799
10800 * window.el (window-resize, delete-window, split-window):
10801 Replace window-splits by window-combination-resize.
1d00653d 10802 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10803
35c0bac8
GM
108042011-11-17 Glenn Morris <rgm@gnu.org>
10805
10806 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10807 Make bash entry derive from sh entry, not shell entry.
10808
d0c8fc8a
MA
108092011-11-16 Michael Albinus <michael.albinus@gmx.de>
10810
7262a87c
MA
10811 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10812 local file name.
10813
7877f373
JB
108142011-11-16 Juanma Barranquero <lekktu@gmail.com>
10815
10816 * menu-bar.el (menu-bar-file-menu):
10817 * printing.el (pr-ps-utility):
10818 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10819 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10820 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10821 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10822 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10823 (icalendar--convert-cyclic-to-ical)
10824 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10825 (icalendar--convert-ical-to-diary)
10826 (icalendar--convert-recurring-to-diary)
10827 (icalendar--convert-non-recurring-all-day-to-diary)
10828 (icalendar-import-format-sample):
10829 * progmodes/idlw-shell.el (idlwave-shell-mode):
10830 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10831 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10832 (vhdl-ps-print-init): Fix typos.
10833
10649b82
KM
108342011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10835
9d0cfcd6
GM
10836 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10837 FSF and collapse date sequence, obscure author/maintainer email address
10838 better, remove extra version line, track relocation of author's webpage.
10649b82 10839
9d0cfcd6
GM
10840 * progmodes/python.el (python-pdbtrack-input-prompt)
10841 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10842 regular python pdb prompts. Adjustments shamelessly taken exactly as
10843 suggested in EmacsWiki page (tiny change):
10844 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10845
58179cce
JB
108462011-11-16 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * expand.el (expand-pos, expand-index, expand-point):
10849 Remove redundant info from docstring.
10850 (expand-add-abbrevs): Doc fix.
10851 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10852 (expand-sample-perl-mode-expand-list): Fix typos.
10853
10854 * net/dbus.el (dbus-event-member-name):
10855 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10856 * term/pc-win.el (msdos-create-frame-with-faces):
10857 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10858
b6f67890
MR
108592011-11-16 Martin Rudalics <rudalics@gmx.at>
10860
10861 * window.el (split-window, window-state-get-1)
10862 (window-state-put-1, window-state-put-2): Rename occurrences of
10863 window-nest to window-combination-limit.
1d00653d 10864 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10865
ce7ddba0
CY
108662011-11-16 Chong Yidong <cyd@gnu.org>
10867
10868 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10869 regexp (Bug#10033).
10870
3ae704f4
SM
108712011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10872
10873 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10874 `completing-read' will remove *Completions* and will preserve
10875 current-buffer for us.
10876 (tmm-add-prompt): Users of *Completions* will always (re)set its
10877 major mode.
10878 (tmm-old-comp-map): Remove.
10879
6ad1cdde
GM
108802011-11-16 Glenn Morris <rgm@gnu.org>
10881
10882 * mail/rmailedit.el: Require rmailmm when compiling.
10883 (rmail-old-mime-state): New declaration.
10884 (rmail-edit-current-message): If editing a mime message,
10885 edit the "raw" message from the mbox buffer.
10886 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10887
d20faa20
GM
108882011-11-15 Glenn Morris <rgm@gnu.org>
10889
10890 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10891 which wasn't being used. Add optional arg to force given state.
10892 (rmail-mime): Add optional arg to force given state.
10893
c7015153
JB
108942011-11-15 Juanma Barranquero <lekktu@gmail.com>
10895
10896 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10897 * frame.el (display-mm-dimensions-alist):
10898 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10899 (outline-move-subtree-down):
10900 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10901 (newsticker--treeview-do-get-node):
10902 * net/quickurl.el (quickurl-list-buffer-name):
10903 * progmodes/dcl-mode.el (dcl-mode):
10904 * progmodes/gdb-mi.el (gdb-mapcar*):
10905 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10906
45261b50
GM
109072011-11-15 Glenn Morris <rgm@gnu.org>
10908
10909 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10910 in a boolean sense, so just make it a boolean, and fix the doc.
10911 (rmail-show-mime-function, rmail-mime-feature)
10912 (rmail-require-mime-maybe): Doc fixes.
10913 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10914
10915 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10916
0d26e0b6
JB
109172011-11-15 Juanma Barranquero <lekktu@gmail.com>
10918
10919 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10920 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10921 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10922 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10923
447f30f6
GM
109242011-11-15 Glenn Morris <rgm@gnu.org>
10925
672b871d
GM
10926 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10927 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10928 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10929 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10930 (rmail-mime, rmail-show-mime): Doc fixes.
10931
f6aa5bb1
GM
10932 * term/ns-win.el (mode-line-frame-identification):
10933 Leave it alone. (Bug#10051)
10934
947cd66b
GM
10935 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10936
447f30f6
GM
10937 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10938 Handle empty buffers. (Bug#9978)
10939
0b381c7e
JB
109402011-11-14 Juanma Barranquero <lekktu@gmail.com>
10941
10942 * international/mule.el (define-charset):
10943 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10944 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10945 * progmodes/verilog-mode.el (verilog-backward-token):
10946 * textmodes/ispell.el (lookup-words):
10947 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10948
71e027ac
GM
109492011-11-14 Glenn Morris <rgm@gnu.org>
10950
56632ce4
GM
10951 * progmodes/executable.el
10952 (executable-make-buffer-file-executable-if-script-p):
10953 Handle file-modes returning nil.
10954
40500957
GM
10955 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10956 message - not necessary, and causes problems. (Bug#9831)
10957
071c2340
GM
10958 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10959
d3cfca60
GM
10960 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10961
71e027ac
GM
10962 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10963 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10964 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10965
89d61221
MR
109662011-11-12 Martin Rudalics <rudalics@gmx.at>
10967
10968 * window.el (window-resize, delete-window): Use window-splits
10969 variable instead of function.
10970 (window-state-get-1, window-state-put-2, window-state-put):
10971 Don't deal with windows' splits status.
10972
98282f6f
GM
109732011-11-12 Glenn Morris <rgm@gnu.org>
10974
10975 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10976 (apropos-documentation): Doc fixes.
10977
40a8bdf6
JB
109782011-11-11 Juanma Barranquero <lekktu@gmail.com>
10979
10980 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10981 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10982
65bd19ff
SM
109832011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10984
10985 * electric.el (electric-indent-post-self-insert-function): Make it
10986 possible for a char to only indent in some circumstances.
10987 (electric-indent-mode): Simplify.
10988
54f9154c
MR
109892011-11-11 Martin Rudalics <rudalics@gmx.at>
10990
10991 * window.el (windows-with-parameter): Remove unused function.
10992 (windows-at-side): Rename to window-at-side-list.
10993 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10994 (window-side-check, window-size-ignore, window-size-fixed-1)
10995 (window-in-direction-2): Prefix with "window--".
10996 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10997
68cbc58b
GM
109982011-11-11 Glenn Morris <rgm@gnu.org>
10999
11000 * subr.el (eval-after-load): If FILE is already loaded,
11001 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11002
b2621720
GM
110032011-11-10 Glenn Morris <rgm@gnu.org>
11004
9a4de110
GM
11005 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11006 Call svn via vc-svn-command rather than vc-do-command.
11007 (vc-svn-command): Add --non-interactive. (Bug#9993)
11008 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11009
b2621720
GM
11010 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11011 Add toggle-read-only. (Bug#7292)
11012 * files.el (toggle-read-only): Mention that it should only
11013 be used interactively. (Bug#10006)
11014
1dce7193
SM
110152011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11016
d9ac1a1e
SM
11017 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11018 Adjust regexp for OCaml warnings.
11019
0c325082
SM
11020 * electric.el (electric-pair-post-self-insert-function): Let user
11021 turn it off buffer-locally (bug#9932).
11022
90132c14
SM
11023 * progmodes/python.el (python-beginning-of-statement):
11024 Rewrite (bug#2703).
11025
1dce7193
SM
11026 * progmodes/compile.el: Better handle TABs (bug#9749).
11027 (compilation-internal-error-properties)
11028 (compilation-next-error-function): Obey the target buffer's
11029 compilation-error-screen-columns.
11030
c4e7c63a
JB
110312011-11-09 Juanma Barranquero <lekktu@gmail.com>
11032
11033 * progmodes/meta-mode.el: Remove obsolete comments.
11034 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11035 Fix typos in docstrings.
11036
2cffd681
MR
110372011-11-09 Martin Rudalics <rudalics@gmx.at>
11038
11039 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11040 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11041 (window--resizable): New function. Make all callers of
11042 window-resizable call window--resizable instead.
11043 (window-resizable): Rewrite in terms of window--resizable.
11044
0edcba87
GM
110452011-11-08 Glenn Morris <rgm@gnu.org>
11046
11047 * progmodes/delphi.el (delphi-mode-syntax-table):
11048 Let define-derived-mode define a proper syntax table. (Bug#9994)
11049
4b0d61e3
SM
110502011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11051
11052 * window.el: Stay away from defsubst.
11053 (window-list-no-nils): Remove.
11054 (window-state-get-1, window-state-get): Use backquote instead.
11055
cd394be1 110562011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11057
4b0d61e3 11058 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11059 Fix incorrect use of default argument in `completing-read'.
11060
e1c2c6f2
MR
110612011-11-08 Martin Rudalics <rudalics@gmx.at>
11062
11063 * window.el (display-buffer-function, special-display-function):
11064 Mention display-buffer-record-window but do not mention
11065 help-setup parameter in doc-strings.
b3f4a882 11066 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11067
105216ed
CY
110682011-11-08 Chong Yidong <cyd@gnu.org>
11069
11070 * window.el (window-total-height, window-total-width): Doc fix.
11071 (window-body-size): Move from C.
11072 (window-body-height, window-body-width): Move to C.
11073
0a9f9ab5
SM
110742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11075
11076 * window.el: Make special-display like display-buffer-alist (bug#9532).
11077 (display-buffer--special-action): New function, morphed
11078 from display-buffer--special.
11079 (display-buffer): Use it to handle special-display-buffers at higher
11080 priority (just after display-buffer-alist).
11081 (display-buffer-fallback-action, display-buffer--other-frame-action)
11082 (pop-to-buffer-same-window): Remove display-buffer--special.
11083
a769dd15
GM
110842011-11-07 Glenn Morris <rgm@gnu.org>
11085
11086 * calendar/cal-menu.el (cal-menu-set-date-title):
11087 Do nothing if not in a calendar. (Bug#9976)
11088
05a61ee3
SM
110892011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * files.el (find-file): Always use selected-window.
11092
be7f5545
MR
110932011-11-07 Martin Rudalics <rudalics@gmx.at>
11094
11095 * window.el (window-combinations): Make WINDOW argument
11096 mandatory. Rewrite doc-string.
11097 (walk-window-subtree, window-atom-check, window-min-delta)
11098 (window-max-delta, window--resize-this-window)
11099 (window--resize-root-window-vertically, window-tree)
11100 (balance-windows, window-state-put): Rewrite doc-strings as to
11101 not mention the term "subwindow".
11102 (window--resize-subwindows-skip-p): Rename to
11103 window--resize-child-windows-skip-p.
11104 (window--resize-subwindows-normal): Rename to
11105 window--resize-child-windows-normal.
11106 (window--resize-subwindows): Rename to
11107 window--resize-child-windows.
11108 (window-or-subwindow-p): Rename to window--in-subtree-p.
11109
3c6702ef
ML
111102011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11111
11112 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11113 Ensure that mbox format messages end in two newlines (Bug#9974).
11114
49745b39
CY
111152011-11-06 Chong Yidong <cyd@gnu.org>
11116
11117 * window.el (window-combination-p): Function deleted; its
11118 side-effect is not used in any existing code.
11119 (window-combinations, window-combined-p): Call window-*-child
11120 directly.
11121
24300f5f
CY
111222011-11-05 Chong Yidong <cyd@gnu.org>
11123
11124 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11125 (window-size-ignore, window-state-get): Callers changed.
11126 (window-normalize-window): Rename from window-normalize-any-window.
11127 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11128 (window-normalize-live-window): Delete.
447f16b8
CY
11129 (window-combination-p, window-combined-p, window-combinations)
11130 (walk-window-subtree, window-atom-root, window-min-size)
11131 (window-sizable, window-sizable-p, window-size-fixed-p)
11132 (window-min-delta, window-max-delta, window-resizable)
11133 (window-resizable-p, window-full-height-p, window-full-width-p)
11134 (window-current-scroll-bars, window-point-1, set-window-point-1)
11135 (window-at-side-p, window-in-direction, window-resize)
11136 (adjust-window-trailing-edge, maximize-window, minimize-window)
11137 (window-deletable-p, delete-window, delete-other-windows)
11138 (record-window-buffer, unrecord-window-buffer)
11139 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11140 (quit-window, split-window, window-state-put)
11141 (set-window-text-height, fit-window-to-buffer)
11142 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11143
89bd5ee1
EZ
111442011-11-04 Eli Zaretskii <eliz@gnu.org>
11145
53479029
EZ
11146 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11147 rfc2047-decode-string.
11148 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11149 warnings.
11150
89bd5ee1
EZ
11151 * window.el (window-body-height, window-body-width): Mention in
11152 the doc string that the return values are in frame's canonical
11153 units. (Bug#9949)
11154
bd17fdee
AM
111552011-11-03 Alan Mackenzie <acm@muc.de>
11156
11157 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11158 change in cc-engine.el.
11159
acc825c5
SM
111602011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11163
1885e5b8
MR
111642011-11-02 Martin Rudalics <rudalics@gmx.at>
11165
11166 * window.el (quit-window): Call unrecord-window-buffer after
11167 showing another buffer in the window. (Bug#9937)
acc825c5 11168 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11169
ebe06da9
JB
111702011-11-02 Juanma Barranquero <lekktu@gmail.com>
11171
11172 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11173 Accept status with more than 9 shelves. (Bug#9935)
11174 Reported by Colin D Bennett <colin@gibibit.com>.
11175
4ee88440
MR
111762011-11-01 Martin Rudalics <rudalics@gmx.at>
11177
11178 * help.el (with-help-window): Don't reference
11179 temp-buffer-show-specifiers in doc-string.
11180
08e1d82c
AS
111812011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11182
11183 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11184 menu-item.
11185
84bd6e9e
VJL
111862011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11187
11188 * whitespace.el: New version 13.2.2.
11189 (whitespace-newline-mode): Disable properly. Reported by Sarah
11190 <EmacsWiki>.
11191
dba0634a
UJ
111922011-10-30 Ulf Jasper <ulf.jasper@web.de>
11193
11194 * net/newst-treeview.el: Remove "Time-stamp".
11195 (newsticker--group-manage-orphan-feeds): Do not call
11196 newsticker--treeview-tree-update.
db22a3c2
JB
11197 (newsticker-treeview-update, newsticker-treeview):
11198 Call newsticker--treeview-tree-update if necessary.
dba0634a 11199
3d8daefe
MR
112002011-10-30 Martin Rudalics <rudalics@gmx.at>
11201
11202 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11203 (window-iso-combinations): Remove "iso-" infix.
11204 Suggested by Chong Yidong.
3d8daefe
MR
11205 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11206 (window-max-delta-1, window-resize, window--resize-siblings)
11207 (window--resize-this-window, adjust-window-trailing-edge)
11208 (split-window, balance-windows-1)
11209 (shrink-window-if-larger-than-buffer):
11210 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11211 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11212
1bc4c3ae
SM
112132011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11216 in place (bug#9907).
11217 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11218 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11219 (eshell-structure-basic-command, eshell-rewrite-while-command)
11220 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11221 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11222 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11223 (eshell-do-pipelines-synchronously, eshell-eval-command):
11224 Use backquotes and prefer setq to set.
11225 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11226 (eshell-macrop): Use functionp.
c1e2f5fa 11227 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11228
30b65d9c
CY
112292011-10-30 Chong Yidong <cyd@gnu.org>
11230
11231 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11232 instead of set-mark (Bug#9810).
11233
2d197ffb
CY
112342011-10-30 Chong Yidong <cyd@gnu.org>
11235
11236 * window.el (split-window-below, split-window-right): Rename from
11237 split-window-above-each-other and split-window-side-by-side
11238 respectively. All callers changed.
11239 (split-window-sensibly, split-window-sensibly): Use them.
11240 (split-window-keep-point): Doc fix.
11241
11242 * isearch.el: Add isearch-scroll property to split-window-below
11243 and split-window-right.
11244
11245 * follow.el (follow-mode):
11246 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11247 * progmodes/ada-xref.el (ada-gdb-application):
11248 * emulation/vip.el (vip-buffer-in-two-windows):
11249 * image-dired.el (image-dired-dired-with-window-configuration):
11250 * dired-x.el (dired-do-find-marked-files):
11251 * dired.el (dired-pop-to-buffer):
11252 * bs.el (bs--show-with-configuration):
11253 * vc/emerge.el (emerge-setup-windows):
11254 * textmodes/two-column.el (2C-two-columns):
11255 * textmodes/reftex-toc.el (reftex-toc):
11256 * progmodes/gdb-mi.el (gdb-setup-windows):
11257 * progmodes/fortran.el (fortran-window-create):
11258 * net/newst-treeview.el (newsticker--treeview-window-init):
11259 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11260 * emulation/tpu-edt.el (tpu-gold-map):
11261 * emulation/crisp.el (crisp-mode-map):
11262 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11263
38bb2ca8
CY
112642011-10-29 Chong Yidong <cyd@gnu.org>
11265
aa4de341
CY
11266 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11267
e1eb5385
CY
11268 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11269
5d2ece3c
CY
11270 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11271 forged Ispell output (Bug#7904).
11272
38bb2ca8
CY
11273 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11274
d0af9f77
SM
112752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * doc-view.el: Avoid ugly errors about not finding nil.
11278 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11279 (doc-view-dvipdf-program, doc-view-unoconv-program)
11280 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11281 Avoid nil or absolute file name as default value.
11282 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11283
52bedd34
AM
112842011-10-28 Alan Mackenzie <acm@muc.de>
11285
db22a3c2 11286 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11287
7e43cfa5
AM
112882011-10-28 Alan Mackenzie <acm@muc.de>
11289
11290 Amend the handling of c-beginning/end-of-defun in nested declaration
11291 scopes.
11292
52bedd34
AM
11293 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11294 cc-langs.el. Change it to a defcustom.
7e43cfa5 11295
52bedd34
AM
11296 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11297 cc-vars.el.
7e43cfa5 11298
d0af9f77
SM
11299 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11300 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11301
52bedd34 11302 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11303 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11304 (c-widen-to-enclosing-decl-scope): New function.
11305 (c-while-widening-to-decl-block): New macro.
11306 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11307 outward for defun boundaries, and correspondingly change symbol
11308 `respect-enclosure' to `go-outward'.
11309 (c-declaration-limits): Change algorithm to report only the "innermost"
11310 defun's boundaries.
11311
1a2ce9ee
DD
113122011-10-28 Deniz Dogan <deniz@dogan.se>
11313
11314 * net/rcirc.el (rcirc-mode): Use hard newlines.
11315
bc97a826
AM
113162011-10-28 Alan Mackenzie <acm@muc.de>
11317
11318 Amend to indent and fontify macros "which include their own semicolon"
11319 correctly, using the "virtual semicolon" mechanism.
11320
52bedd34 11321 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11322
d0af9f77 11323 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11324 Recode to scan one line at a time rather than having \n and \r
58179cce 11325 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11326 (c-forward-label): Amend for virtual semicolons.
58179cce 11327 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11328
52bedd34
AM
11329 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11330 of the new C macros.
bc97a826 11331
52bedd34 11332 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11333 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11334 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11335 (c-opt-cpp-macro-define): Make into a full language variable.
11336 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11337 AWK Mode (including \n, \r) removed, no longer needed.
11338
d0af9f77
SM
11339 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11340 Invoke c-make-macro-with-semi-re.
bc97a826 11341
52bedd34
AM
11342 * progmodes/cc-vars.el (c-macro-with-semi-re):
11343 (c-macro-names-with-semicolon): New variables.
58179cce 11344 (c-make-macro-with-semi-re): New function.
bc97a826 11345
7a6c0941
SM
113462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11347
11348 * vc/log-edit.el: Fill empty field rather than adding new one.
11349 (log-edit-add-field): New function.
11350 (log-edit-insert-changelog): Use it.
11351
b0c4cdcf
ML
113522011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11353
11354 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11355
ee1f1da9
SM
113562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11359 (gdb--check-interpreter): New function.
11360 (gdb): Use it.
11361
51bc5f8b
GM
113622011-10-27 Glenn Morris <rgm@gnu.org>
11363
416a2c45
GM
11364 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11365 (least-positive-float, least-negative-float)
11366 (least-positive-normalized-float, least-negative-normalized-float)
11367 (float-epsilon, float-negative-epsilon):
11368 Remove unnecessary declarations.
11369
11370 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11371 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11372 (least-positive-float, least-negative-float)
11373 (least-positive-normalized-float, least-negative-normalized-float)
11374 (float-epsilon, float-negative-epsilon): Add doc-strings,
11375 based on those in cl.texi.
11376
51bc5f8b
GM
11377 * files.el (set-visited-file-name): If the major-mode changed,
11378 reload the local variables. (Bug#9796)
11379
15de15c6
CY
113802011-10-27 Chong Yidong <cyd@gnu.org>
11381
11382 * subr.el (change-major-mode-after-body-hook): New hook.
11383 (run-mode-hooks): Run it.
11384
ee1f1da9
SM
11385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11386 Use change-major-mode-before-body-hook.
15de15c6
CY
11387
11388 * simple.el (fundamental-mode):
11389 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11390 change introducing fundamental-mode-hook.
11391
5430d399
JB
113922011-10-26 Juanma Barranquero <lekktu@gmail.com>
11393
acc825c5 11394 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11395
ad74a69e
MA
113962011-10-26 Michael Albinus <michael.albinus@gmx.de>
11397
11398 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11399 tramp.el explicitly. (Bug#7583)
ad74a69e 11400
71d4c2a5
SM
114012011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11402
11403 * progmodes/octave-mod.el:
11404 * progmodes/octave-inf.el: Update maintainer.
11405
b1f6fa26
CY
114062011-10-26 Chong Yidong <cyd@gnu.org>
11407
11408 * subr.el (with-wrapper-hook): Rewrite doc.
11409
3f04efd6
MA
114102011-10-25 Michael Albinus <michael.albinus@gmx.de>
11411
11412 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11413 filenames "/method:foo:". (Bug#9793)
3f04efd6 11414
410488d3
SM
114152011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11416
11417 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11418 (bug#9865).
11419
c1ebb47e
GM
114202011-10-24 Glenn Morris <rgm@gnu.org>
11421
11422 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11423
7f5c46c7
MA
114242011-10-24 Michael Albinus <michael.albinus@gmx.de>
11425
11426 * notifications.el: Add the requirement of a running D-Bus session
11427 bus to the Commentary.
11428
db2440b6
JL
114292011-10-24 Juri Linkov <juri@jurta.org>
11430
11431 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11432 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11433 (Bug#9364)
11434
feecf435
JL
114352011-10-24 Juri Linkov <juri@jurta.org>
11436
11437 * info.el (Info-following-node-name-re): Add newline to the list
11438 of allowed characters for leading space. (Bug#9824)
11439
a3839de2
SM
114402011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11441
acc825c5
SM
11442 * progmodes/octave-inf.el (inferior-octave-mode-map):
11443 Fix C-c C-h binding.
a3839de2
SM
11444 * progmodes/octave-mod.el (octave-help): Remove.
11445
09388e76
MA
114462011-10-23 Michael Albinus <michael.albinus@gmx.de>
11447
11448 Sync with Tramp 2.2.3.
11449
11450 * net/tramp-cache.el (top): Pacify byte-compiler using
11451 `init-file-user' and `site-run-file'.
11452
11453 * net/trampver.el: Update release number.
11454
86c60681
CY
114552011-10-23 Chong Yidong <cyd@gnu.org>
11456
11457 * files.el (toggle-read-only): Remove obsolete comment about
11458 version control.
11459
11460 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11461 for toggle-read-only. Note that this hasn't called vc-next-action
11462 since 2008-05-02, though it wasn't documented at the time.
11463
a3839de2
SM
11464 * vc/ediff-init.el (ediff-toggle-read-only-function):
11465 Use toggle-read-only.
86c60681 11466
cd5495ff
AM
114672011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11468
11469 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11470 of c-parse-state.
11471
00b77525 11472 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11473 correct faulty logical expression.
cd5495ff
AM
11474 (c-parse-state-state, c-record-parse-state-state):
11475 (c-replay-parse-state-state): New defvar/defuns.
11476 (c-debug-parse-state): Use new functions.
11477
42ee24ed
MR
114782011-10-22 Martin Rudalics <rudalics@gmx.at>
11479
11480 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11481 last fix. Use window-in-direction correctly.
42ee24ed 11482
a7dee7e7
CY
114832011-10-21 Chong Yidong <cyd@gnu.org>
11484
11485 * progmodes/idlwave.el (idlwave-mode):
11486 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11487 require-final-newline; that's done in prog-mode.
11488 Suggested by Stefan Monnier.
a7dee7e7 11489
e07b9a6d
MR
114902011-10-21 Martin Rudalics <rudalics@gmx.at>
11491
11492 * mouse.el (mouse-drag-window-above)
11493 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11494 (mouse-drag-mode-line-1, mouse-drag-header-line)
11495 (mouse-drag-vertical-line-rightward-window): Remove.
11496 (mouse-drag-line): New function.
11497 (mouse-drag-mode-line, mouse-drag-header-line)
11498 (mouse-drag-vertical-line): Call mouse-drag-line.
11499 * window.el (window-at-side-p, windows-at-side): New functions.
11500
7e1361d9
UM
115012011-10-21 Ulrich Mueller <ulm@gentoo.org>
11502
11503 * tar-mode.el (tar-grind-file-mode):
11504 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11505
30fcaf3a
CY
115062011-10-21 Chong Yidong <cyd@gnu.org>
11507
11508 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11509 * progmodes/vera-mode.el (vera-mode):
11510 Use mode-require-final-newline.
30fcaf3a 11511
516eddb0
GM
115122011-10-20 Glenn Morris <rgm@gnu.org>
11513
db22a3c2 11514 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11515
10d5f513
CS
115162011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11517
11518 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11519
ac6c8639
CY
115202011-10-20 Chong Yidong <cyd@gnu.org>
11521
11522 * emulation/cua-base.el (cua-mode):
11523 * mail/footnote.el (footnote-mode):
11524 * mail/mailabbrev.el (mail-abbrevs-mode):
11525 * net/xesam.el (xesam-minor-mode):
11526 * progmodes/bug-reference.el (bug-reference-mode):
11527 * progmodes/cap-words.el (capitalized-words-mode):
11528 * progmodes/compile.el (compilation-minor-mode)
11529 (compilation-shell-minor-mode):
11530 * progmodes/gud.el (gud-tooltip-mode):
11531 * progmodes/hideif.el (hide-ifdef-mode):
11532 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11533 * progmodes/subword.el (subword-mode):
11534 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11535 * progmodes/which-func.el (which-function-mode):
11536 * term/tvi970.el (tvi970-set-keypad-mode):
11537 * term/vt100.el (vt100-wide-mode):
11538 * textmodes/flyspell.el (flyspell-mode):
11539 * textmodes/ispell.el (ispell-minor-mode):
11540 * textmodes/nroff-mode.el (nroff-electric-mode):
11541 * textmodes/paragraphs.el (use-hard-newlines):
11542 * textmodes/refill.el (refill-mode):
11543 * textmodes/reftex.el (reftex-mode):
11544 * textmodes/rst.el (rst-minor-mode):
11545 * textmodes/sgml-mode.el (html-autoview-mode)
11546 (sgml-electric-tag-pair-mode):
11547 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11548 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11549 * emulation/crisp.el (crisp-mode):
11550 * emacs-lisp/eldoc.el (eldoc-mode):
11551 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11552 minor mode behavior.
11553
aa42ab43
JL
115542011-10-19 Juri Linkov <juri@jurta.org>
11555
11556 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11557 the list of hard-coded chars with escape-glyph face.
11558
89400f1d
SM
115592011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11560
11561 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11562
305c07f6
MA
115632011-10-19 Michael Albinus <michael.albinus@gmx.de>
11564
11565 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11566 running process.
11567
13754b54
GM
115682011-10-19 Glenn Morris <rgm@gnu.org>
11569
11570 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11571 Ignore ignored files. (Bug#9726)
11572
06e21633
CY
115732011-10-19 Chong Yidong <cyd@gnu.org>
11574
11575 Doc fix for minor modes, stating that an omitted argument enables
11576 the mode unconditionally when called from Lisp.
11577
11578 * abbrev.el (abbrev-mode):
11579 * allout.el (allout-mode):
11580 * autoinsert.el (auto-insert-mode):
11581 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11582 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11583 (global-auto-revert-mode):
11584 * battery.el (display-battery-mode):
11585 * composite.el (global-auto-composition-mode)
11586 (auto-composition-mode):
11587 * delsel.el (delete-selection-mode):
11588 * desktop.el (desktop-save-mode):
11589 * dired-x.el (dired-omit-mode):
11590 * dirtrack.el (dirtrack-mode):
11591 * doc-view.el (doc-view-minor-mode):
11592 * double.el (double-mode):
11593 * electric.el (electric-indent-mode, electric-pair-mode):
11594 * emacs-lock.el (emacs-lock-mode):
11595 * epa-hook.el (auto-encryption-mode):
11596 * follow.el (follow-mode):
11597 * font-core.el (font-lock-mode):
11598 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11599 * help.el (temp-buffer-resize-mode):
11600 * hilit-chg.el (highlight-changes-mode)
11601 (highlight-changes-visible-mode):
11602 * hi-lock.el (hi-lock-mode):
11603 * hl-line.el (hl-line-mode, global-hl-line-mode):
11604 * icomplete.el (icomplete-mode):
11605 * ido.el (ido-everywhere):
11606 * image-file.el (auto-image-file-mode):
11607 * image-mode.el (image-minor-mode):
11608 * iswitchb.el (iswitchb-mode):
11609 * jka-cmpr-hook.el (auto-compression-mode):
11610 * linum.el (linum-mode):
11611 * longlines.el (longlines-mode):
11612 * master.el (master-mode):
11613 * mb-depth.el (minibuffer-depth-indicate-mode):
11614 * menu-bar.el (menu-bar-mode):
11615 * minibuf-eldef.el (minibuffer-electric-default-mode):
11616 * mouse-sel.el (mouse-sel-mode):
11617 * msb.el (msb-mode):
11618 * mwheel.el (mouse-wheel-mode):
11619 * outline.el (outline-minor-mode):
11620 * paren.el (show-paren-mode):
11621 * recentf.el (recentf-mode):
11622 * reveal.el (reveal-mode, global-reveal-mode):
11623 * rfn-eshadow.el (file-name-shadow-mode):
11624 * ruler-mode.el (ruler-mode):
11625 * savehist.el (savehist-mode):
11626 * scroll-all.el (scroll-all-mode):
11627 * scroll-bar.el (scroll-bar-mode):
11628 * server.el (server-mode):
11629 * shell.el (shell-dirtrack-mode):
11630 * simple.el (auto-fill-mode, transient-mark-mode)
11631 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11632 (line-number-mode, column-number-mode, size-indication-mode)
11633 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11634 * strokes.el (strokes-mode):
11635 * time.el (display-time-mode):
11636 * t-mouse.el (gpm-mouse-mode):
11637 * tool-bar.el (tool-bar-mode):
11638 * tooltip.el (tooltip-mode):
11639 * type-break.el (type-break-mode-line-message-mode)
11640 (type-break-query-mode):
11641 * view.el (view-mode):
11642 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11643 (global-whitespace-mode, global-whitespace-newline-mode):
11644 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11645
a3839de2
SM
11646 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11647 Fix autogenerated docstring.
06e21633 11648
5214e501
JL
116492011-10-19 Juri Linkov <juri@jurta.org>
11650
11651 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11652 by checking environment variables "DESKTOP_SESSION" and
11653 "XDG_CURRENT_DESKTOP". (Bug#9779)
11654
195f8db9
JL
116552011-10-19 Juri Linkov <juri@jurta.org>
11656
11657 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11658 (browse-url-chromium-program, browse-url-chromium-arguments):
11659 New defcustoms.
11660 (browse-url-default-browser): Check for `browse-url-chromium' and
11661 call `browse-url-chromium-program'.
11662 (browse-url-chromium): New command. (Bug#9779)
11663
343a34ff
JB
116642011-10-18 Juanma Barranquero <lekktu@gmail.com>
11665
11666 * facemenu.el (list-colors-duplicates): On Windows, detect more
11667 duplicates by assuming that only colors matching "^System" are
11668 special "system colors". (Bug#9722)
11669
6978a151
SM
116702011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11671
11672 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11673 to distinguish the author from the committer.
11674
6a80b297
MA
116752011-10-18 Michael Albinus <michael.albinus@gmx.de>
11676
11677 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11678
b31a5677
JK
116792011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11680
11681 * international/mule.el (sgml-html-meta-auto-coding-function):
11682 Add support for detecting encoding in HTML5 specified only as
11683 <meta charset="UTF-8">. Implementation just makes http-equiv and
11684 content-type parts from HTML4 encoding string optional. (Bug#9716)
11685
80c6d77f
GM
116862011-10-18 Glenn Morris <rgm@gnu.org>
11687
11688 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11689
08b0fee8
CY
116902011-10-18 Chong Yidong <cyd@gnu.org>
11691
11692 * faces.el (cursor): Doc fix.
11693
67e729a5
CY
116942011-10-17 Chong Yidong <cyd@gnu.org>
11695
11696 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11697
343a34ff 116982011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11699
11700 * dirtrack.el (dirtrack): Support shell buffers with path
11701 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11702
0bc06380
TZ
117032011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11704
11705 * json.el: Bump version to 1.3 and note change in History.
11706 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11707
8b79f3e0
SM
117082011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11709
5a7c536b
SM
11710 * comint.el (comint-insert-input, comint-send-input)
11711 (comint-get-old-input-default, comint-backward-matching-input)
11712 (comint-next-prompt): Use nil instead of `input' for field property of
11713 past user input (bug#114).
11714
96a8a0df
SM
11715 * minibuffer.el (completion--replace): Inherit surrounding properties
11716 (bug#114).
11717 (minibuffer-complete-and-exit): Use it.
11718
8b79f3e0
SM
11719 * comint.el (comint--table-subvert): Quote the all-completions output
11720 (bug#9160).
11721
b8f7ff0d
MR
117222011-10-17 Martin Rudalics <rudalics@gmx.at>
11723
8b79f3e0 11724 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11725
b8f7ff0d 11726 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11727 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11728 entries and separate them from frame entries.
11729
c235b555
GM
117302011-10-15 Glenn Morris <rgm@gnu.org>
11731
11732 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11733 Doc fixes.
11734
6bbfa6e1
CY
117352011-10-15 Chong Yidong <cyd@stupidchicken.com>
11736
8b79f3e0
SM
11737 * net/network-stream.el (network-stream-open-starttls):
11738 Improve detection of failure due to lack of TLS support.
ec5c990d 11739
6bbfa6e1
CY
11740 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11741 putting the input text in front and in bold.
11742
98488977
SM
117432011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11744
3d1337be
SM
11745 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11746
ee0b45e4
SM
11747 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11748 empty buffer.
11749
98488977
SM
11750 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11751 unread-command-events rather than pushing yet-another event.
11752
186f4720
EZ
117532011-10-14 Eli Zaretskii <eliz@gnu.org>
11754
11755 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11756 the explanation of the possible choices. Make the options passed
11757 to completing-read shorter.
11758
8b7a997c
AM
117592011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11760
11761 * textmodes/flyspell.el (flyspell-large-region): Make sure
11762 extended character mode is used if defined (Bug#1339).
11763
12587bbb
EZ
117642011-10-13 Eli Zaretskii <eliz@gnu.org>
11765
11766 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11767 character info for LRE, LRO, RLE, and RLO characters by appending
11768 an invisible PDF.
12587bbb 11769
bad41229
SM
117702011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11773 even in case of error; add debug spec; simplify data flow.
11774 (with-timeout-handler): Remove.
11775
28dbc92f
MA
117762011-10-12 Michael Albinus <michael.albinus@gmx.de>
11777
11778 Fix Bug#6019, Bug#9315.
11779
11780 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11781 complete `buffer-file-name', the local file name part could look
11782 remotely (for example on VMS).
11783
11784 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11785 `tramp-run-real-handler'.
11786 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11787 already quoted by '"'.
11788
11789 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11790 Let `file-name-handler-alist' be nil, the local file name part
11791 could look remotely (for example on VMS).
11792
e1b0b23a
SM
117932011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11796 from here...
11797 (flyspell-post-command-hook): ...to here.
11798
a120bde9
SM
117992011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11802 if not needed.
11803 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11804 using completion. Protect against "slow" callers.
11805 Remove the "message hack".
11806
7ce7717b
JL
118072011-10-11 Juri Linkov <juri@jurta.org>
11808
11809 * isearch.el (isearch-lazy-highlight-word): New variable.
11810 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11811 Use it. (Bug#9727)
11812
c02ee9d6
GM
118132011-10-11 Glenn Morris <rgm@gnu.org>
11814
11815 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11816 like f90-previous-statement does.
11817
93e616fd 118182011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11819
1f190e73 11820 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11821 only in interactive use, to avoid error.
11822
af7b6078
SM
118232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11824
11825 * minibuffer.el (completion-file-name-table): Fix last change,
11826 i.e. ignore normal errors but not the other ones.
11827
0563dae9
MR
118282011-10-10 Martin Rudalics <rudalics@gmx.at>
11829
11830 * window.el (special-display-buffer-names)
11831 (special-display-regexps): Remove some remnants of earlier
11832 changes from doc-strings.
366ca7f3
MR
11833 (quit-windows-on): New function.
11834
11835 * vc/vc.el (vc-revert, vc-rollback):
11836 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11837 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11838 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11839
49677495
MR
118402011-10-09 Martin Rudalics <rudalics@gmx.at>
11841
11842 * window.el (frame-auto-hide-function): Add version tag.
11843 (Bug#9699)
11844
56f2d1e1
MA
118452011-10-09 Michael Albinus <michael.albinus@gmx.de>
11846
11847 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11848 condition.
11849
112a6592
LL
118502011-10-09 Leo Liu <sdl.web@gmail.com>
11851
11852 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11853 (Bug#9701)
11854
0812589b
GM
118552011-10-08 Glenn Morris <rgm@gnu.org>
11856
11857 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11858 before the first code statement zero indent. (Bug#9690)
11859
b2b0776e
CY
118602011-10-08 Chong Yidong <cyd@stupidchicken.com>
11861
11862 * simple.el (count-words-region): Always count in the region.
11863 Report the number of lines and characters too.
11864 (count-words): New command, which counts in the buffer if the
11865 region is inactive, as count-words-region used to.
11866 (count-words--message): New function. Handle plurals.
11867 (count-lines-region): Make it an alias for count-words-region.
11868
11869 * bindings.el (esc-map): Replace count-lines-region with
11870 count-words-region.
11871
c557cd6b
MR
118722011-10-08 Martin Rudalics <rudalics@gmx.at>
11873
11874 * window.el (window--delete): Delete dedicated frame
11875 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11876 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11877
61a57ef4 118782011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11879
3a7d293b 11880 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11881
c3833279
CY
118822011-10-07 Chong Yidong <cyd@stupidchicken.com>
11883
11884 * bindings.el ([M-left],[M-right]): Bind to left-word and
11885 right-word respectively.
11886
21ce8245
GM
118872011-10-07 Glenn Morris <rgm@gnu.org>
11888
11889 * cus-start.el (debug-on-quit): Fix custom type.
11890
6d823bb2
LMI
118912011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11892
0181e193
LMI
11893 * subr.el (define-key-after): Clarify that the function is not
11894 useful for non-menu keymaps.
11895
6d823bb2
LMI
11896 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11897
8e3459ce 118982011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11899
21ce8245 11900 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11901 in current minibuffer (Fix bug with recursive minibuffers).
11902
a1c2d21e
CY
119032011-10-06 Chong Yidong <cyd@stupidchicken.com>
11904
11905 * progmodes/gdb-mi.el (gdb): Doc fix.
11906
5a4cf282
MR
119072011-10-05 Martin Rudalics <rudalics@gmx.at>
11908
11909 * window.el (frame-auto-hide-function): New option replacing
11910 frame-auto-delete. Suggested by Stefan Monnier.
11911 (window--delete): Call frame-auto-hide-function instead of
11912 investigating frame-auto-delete.
c96111ea
MR
11913 (window-point-1, set-window-point-1): New functions.
11914 (window-in-direction, record-window-buffer, window-state-get-1)
11915 (display-buffer-record-window): Use window-point-1 instead of
11916 window-point.
11917 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11918
9854542e
SM
119192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11922
8943cfb0
GM
119232011-10-05 Glenn Morris <rgm@gnu.org>
11924
11925 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11926 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11927
647ab967
LL
119282011-10-05 Leo Liu <sdl.web@gmail.com>
11929
11930 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11931 works with buffer object.
11932
3ddfbced
SM
119332011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * mpc.el (mpc-tool-bar-map): Add labels.
11936
bdfa5dd2
GM
119372011-10-04 Glenn Morris <rgm@gnu.org>
11938
11939 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11940
0e2070b5
MR
119412011-10-04 Martin Rudalics <rudalics@gmx.at>
11942
11943 * window.el (window--delete): New function.
11944 (frame-auto-delete): Resuscitate option.
11945 (bury-buffer, replace-buffer-in-windows)
11946 (quit-window): Rewrite using window--delete.
11947 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11948 Pass display-buffer-mark-dedicated to window--display-buffer-2
11949 (Bug#9639).
11950
3dc61a09
SM
119512011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11952
915a9b64
SM
11953 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11954 returns a list (bug#9554). Add remote file name completion.
11955 * comint.el (comint--table-subvert): Curry and get quote&unquote
11956 functions as arguments.
11957 (comint--complete-file-name-data): Adjust call accordingly.
11958 * pcomplete.el (pcomplete--table-subvert): Remove.
11959 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11960
3dc61a09
SM
11961 * minibuffer.el (completion-table-case-fold): Use currying.
11962 (completion--styles-type, completion--cycling-threshold-type):
11963 New constants.
11964 (completion-styles, completion-category-overrides)
11965 (completion-cycle-threshold): Use them.
11966 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11967 completion-table-case-fold.
11968
8ea0a993
SB
119692011-10-03 Stephen Berman <stephen.berman@gmx.net>
11970
11971 * minibuffer.el (completion-category-overrides): Fix type of styles
11972 and add more user friendly tags (bug#9660).
11973
8c24b7f6
SM
119742011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11975
11976 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11977 (mule-input-method-string): New widget.
11978 (default-input-method, language-info-custom-alist): Use it.
11979
428fe61a
SM
119802011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11981
32c1fffd
SM
11982 * pcomplete.el: Require comint.
11983 (pcomplete--common-suffix): Remove.
11984 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11985 (pcomplete--table-subvert): Sync with comint--table-subvert.
11986 (pcomplete--entries): Use comint-completion-file-name-table.
11987 * comint.el (comint-unquote-filename): Simplify.
11988 (comint-completion-file-name-table): New function (bug#9616).
11989 (comint--complete-file-name-data): Use it.
11990
428fe61a
SM
11991 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11992 (pcmpl-gnu-tar-buffer): Remove.
11993 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11994 around. Make sure pcomplete-suffix-list is only changed temporarily.
11995 Don't look inside the tar's file if it's too large.
428fe61a 11996
04c52e2f
CY
119972011-10-01 Chong Yidong <cyd@stupidchicken.com>
11998
ce3cefcc
CY
11999 * cus-edit.el (custom-mode-map):
12000 * epa.el (epa-key-list-mode-map):
12001 * man.el (Man-mode-map):
12002 * startup.el (splash-screen-keymap):
12003 * simple.el (special-mode-map): Use scroll-up-command and
12004 scroll-down-command.
12005
12006 * progmodes/idlw-help.el (idlwave-help-mode-map):
12007 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12008 * net/newst-plainview.el (newsticker-mode-map):
12009 * emulation/ws-mode.el (wordstar-mode-map):
12010 * emulation/vi.el (vi-com-map):
12011 * calc/calc-graph.el (calc-graph-show-dumb):
12012 * term/sun.el (terminal-init-sun):
12013 * term/ns-win.el (global-map):
12014 * progmodes/grep.el (grep-mode-map):
12015 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12016 * mail/rmail.el (rmail-mode-map):
12017 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12018
04c52e2f
CY
12019 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12020 custom-safe-themes as special.
12021
79adf8c8
JD
120222011-10-01 Julien Danjou <julien@danjou.info>
12023
12024 * notifications.el (notifications-notify): Fix docstring.
12025
63bd50d3
PS
120262011-10-01 Per Starbäck <per@starback.se>
12027
12028 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12029
199e4c7e
MR
120302011-09-30 Martin Rudalics <rudalics@gmx.at>
12031
12032 * startup.el (command-line-1): Fix last fix by inserting
12033 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12034 (Bug#9605) and (Bug#9636)
199e4c7e 12035
fe5f08dd
EZ
120362011-09-29 Eli Zaretskii <eliz@gnu.org>
12037
12038 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12039 window is hscrolled, move by logical lines. (Bug#9607)
12040 (line-move-visual): Update the doc string to the above effect.
12041
b5516bbd
MR
120422011-09-29 Martin Rudalics <rudalics@gmx.at>
12043
ccee00c0
MR
12044 * window.el (display-buffer-record-window): When WINDOW is the
12045 selected window use `point' instead of `window-point'. (Bug#9626)
12046
b5516bbd
MR
12047 * startup.el (command-line-1): Use insert-before-markers when
12048 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12049
b5516bbd
MR
12050 * help.el (help-window): Remove variable.
12051
52aa0014
GM
120522011-09-29 Glenn Morris <rgm@gnu.org>
12053
12054 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12055
df9a7357
JB
120562011-09-29 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * descr-text.el (describe-char-categories): Accept category
12059 descriptions more than one line long.
12060
a8406c20
SM
120612011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12062
88d9610c
SM
12063 * simple.el (delete-trailing-whitespace): Fix last change.
12064
a5daf810
SM
12065 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12066 Don't confuse "y => 3" as the beginning of a `y' operation.
12067
a8406c20
SM
12068 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12069 object has more than 4 slots (bug#9613).
12070
a239d4e9
JB
120712011-09-28 Juanma Barranquero <lekktu@gmail.com>
12072
12073 * subr.el (with-output-to-temp-buffer):
12074 * net/quickurl.el (quickurl, quickurl-browse-url):
12075 Fix typos in docstrings.
12076
693fbdb6
EZ
120772011-09-27 Eli Zaretskii <eliz@gnu.org>
12078
12079 * minibuffer.el (completion-styles)
12080 (completion-category-overrides): Cross reference each other in doc
12081 strings.
12082
8b457e28
GM
120832011-09-27 Glenn Morris <rgm@gnu.org>
12084
12085 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12086 to split-string. (Bug#9606)
12087
85a16208
LMI
120882011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12089
12090 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12091 (bug#9615).
12092
502f9ebd
CY
120932011-09-27 Chong Yidong <cyd@stupidchicken.com>
12094
12095 * emacs-lisp/package.el (list-packages): Fix echo area message.
12096
7690bdea
LL
120972011-09-27 Leo Liu <sdl.web@gmail.com>
12098
12099 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12100
e2ee6f30
MA
121012011-09-25 Michael Albinus <michael.albinus@gmx.de>
12102
12103 * net/dbus.el (dbus-unregister-object): Don't release services for
12104 registered signals. (Bug#9581)
12105
f3f98342
TZ
121062011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12107
12108 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12109 function that picks between cfengine 2 and 3 support
12110 automatically. Update docs accordingly.
12111
dd7aa8dd
KH
121122011-09-22 Kenichi Handa <handa@m17n.org>
12113
12114 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12115 ZERO.
12116 (indian-itrans-v5-table-for-tamil): New variable.
12117 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12118
3f2b07f8
KM
121192011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12120
12121 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12122 that's true if the current command involved collapsing of text.
12123 It's reset to false at the beginning of the next command.
12124 (allout-post-command-business): Move the cursor to the beginning
12125 of entry if the cursor is hidden and collapsing activity just
12126 happened.
12127
371d6a61
CY
121282011-09-24 Chong Yidong <cyd@stupidchicken.com>
12129
12130 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12131 tracking (Bug#9541).
12132
2ac2721a
UJ
121332011-09-24 Ulf Jasper <ulf.jasper@web.de>
12134
12135 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12136 (newsticker-show-news): Automatically load html rendering package
12137 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12138 because w3m-fill-column is let-bound" and the error "Symbol's value
12139 as variable is void: w3m-fill-column".
2ac2721a 12140
fac7ae53
MA
121412011-09-24 Michael Albinus <michael.albinus@gmx.de>
12142
12143 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12144 Release services only if they are defined. (Bug#9581)
12145
e08b633b
RS
121462011-09-23 Richard Stallman <rms@gnu.org>
12147
e488d29c
RS
12148 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12149 distinguish start of paragraph from start of its text.
12150
19c38752
RS
12151 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12152
e08b633b
RS
12153 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12154 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12155 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12156
0a39f27e
AS
121572011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12158
12159 * international/mule-diag.el (mule-diag): Insert a newline after
12160 each fontset description.
12161
db4e950d
SM
121622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12163
12164 * simple.el (delete-trailing-whitespace):
12165 Document last change; simplify.
12166
eca3f3ea
PW
121672011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12168
d68e189a
PW
12169 * simple.el (delete-trailing-whitespace): Also delete
12170 extra newlines at the end of the buffer.
12171
eca3f3ea
PW
12172 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12173 (picture-newline): Use forward-line so as to ignore fields.
12174
01c157cc
SM
121752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12176
12177 * subr.el (with-wrapper-hook): Fix edebug spec.
12178
022de23e
LMI
121792011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12180
12181 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12182 (bug#4538).
12183
91683089
MA
121842011-09-23 Michael Albinus <michael.albinus@gmx.de>
12185
eca3f3ea
PW
12186 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12187 Fix nasty bug using wrong cached values.
91683089 12188
5bdd6fa4
AM
121892011-09-23 Alan Mackenzie <acm@muc.de>
12190
12191 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12192
97adfb97
CY
121932011-09-23 Chong Yidong <cyd@stupidchicken.com>
12194
12195 * window.el (pop-to-buffer): Ensure right window is selected if we
12196 chose another frame.
12197
d4ef2b50
EZ
121982011-09-22 Eli Zaretskii <eliz@gnu.org>
12199
12200 * simple.el (what-cursor-position): Use get-char-property-change
12201 and next-single-char-property-change, to be able to show display
12202 properties that come from overlays as well as text properties.
12203
72258fe5
CY
122042011-09-22 Chong Yidong <cyd@stupidchicken.com>
12205
12206 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12207
12208 * cmuscheme.el (run-scheme, switch-to-scheme):
12209 * cus-edit.el (customize-group, custom-buffer-create)
12210 (customize-browse):
12211 * info.el (info):
12212 * shell.el (shell):
12213 * mail/sendmail.el (mail):
12214 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12215
8f098516
RS
122162011-09-22 Richard Stallman <rms@gnu.org>
12217
12218 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12219 move back only to line beg, don't move back over blank lines.
12220
e74f1bb6
MA
122212011-09-22 Michael Albinus <michael.albinus@gmx.de>
12222
12223 * files.el (copy-directory): Set directory attributes only in case
12224 they could be retrieved from the source directory. (Bug#9565)
12225
bfeef8b6
DK
122262011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12227
12228 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12229 (hs-find-block-beginning, hs-hide-level-recursive):
12230 Ignore strings as well as comments. (Bug#9502)
12231
7e423bb8
AS
122322011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12233
12234 * progmodes/sql.el (sql-comint-postgres):
12235 Convert port number to a string. (Bug#9566)
12236
b4d72fcf
MR
122372011-09-22 Martin Rudalics <rudalics@gmx.at>
12238
12239 * window.el (quit-window): Undedicate window when switching to
12240 previous buffer. Reported by Thierry Volpiatto
12241 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12242 (special-display-popup-frame): When popping up a new frame reset
12243 its previous buffers to nil. Simplify code.
b4d72fcf 12244
a7b88dc6
MA
122452011-09-21 Michael Albinus <michael.albinus@gmx.de>
12246
12247 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12248 and process filter, as done also in `shell-command'.
12249
cf4eacfd
MR
122502011-09-21 Martin Rudalics <rudalics@gmx.at>
12251
eca3f3ea 12252 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12253 Call set-window-start with NOFORCE argument t.
12254 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12255 (quit-window): Reword doc-string. Handle new format of
12256 quit-restore parameter. Don't delete window if it has a
12257 previous buffer we can show instead of the present one.
12258 (display-buffer-record-window): Rewrite using a new format for
12259 the quit-restore window parameter
12260 (special-display-popup-frame, display-buffer-same-window)
12261 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12262 (display-buffer-pop-up-window, display-buffer-use-some-window):
12263 Adapt symbol passed to display-buffer-record-window.
12264 * help.el (help-window-setup): Handle new format of quit-restore
12265 parameter.
12266
8d28cb95
SM
122672011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12268
94ab793f
SM
12269 * faces.el (face-list): Fix docstring (bug#9564).
12270
8d28cb95
SM
12271 * window.el (display-buffer--action-function-custom-type):
12272 Don't include internal functions in the Custom interface.
12273
3820edeb
JL
122742011-09-20 Juri Linkov <juri@jurta.org>
12275
12276 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12277 (Info-forward-node, Info-backward-node, Info-next-preorder)
12278 (Info-last-preorder): Use it. (Bug#9528)
12279
5147931d
JL
122802011-09-20 Juri Linkov <juri@jurta.org>
12281
12282 * info.el (Info-last-preorder): Visit last menu item only when
12283 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12284
cf499a1a
JD
122852011-09-20 Julien Danjou <julien@danjou.info>
12286
12287 * password-cache.el (password-cache-remove): Remove entries even if the
12288 value is nil, so that password with a nil value (negative caching) is
12289 possible to invalidate.
12290
f84e2fe2
LM
122912011-09-20 Lawrence Mitchell <wence@gmx.li>
12292
12293 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12294 all whitespace around breakpoint. (Bug#9553)
12295 (f90-find-breakpoint): Only break at whitespace inside a comment.
12296
78054a46
SM
122972011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * minibuffer.el (completion-file-name-table): Keep track of errors.
12300 (completion-table-with-predicate): Handle the case where pred1 is nil.
12301 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12302
345083b2
SM
123032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12304
e24e27be
SM
12305 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12306 (debugger-return-value): Signal an error if the debugging context does
12307 not await any return value.
12308
345083b2
SM
12309 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12310 * image-mode.el (image-toggle-display-text)
12311 (image-toggle-display-image): Stay away from evil `intangible'.
12312
08d355e3
LL
123132011-09-19 Leo Liu <sdl.web@gmail.com>
12314
12315 * replace.el (occur-revert-arguments): Make it permanent-local.
12316 (occur-mode): Don't call font-lock-defontify.
12317
f01da43f
CY
123182011-09-19 Chong Yidong <cyd@stupidchicken.com>
12319
12320 * net/ldap.el (ldap-search-internal): Don't push empty search
12321 result (Bug#9508).
12322
b6072fa6
SM
123232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12324
12325 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12326
443d6696
MA
123272011-09-19 Michael Albinus <michael.albinus@gmx.de>
12328
12329 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12330 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12331
7cc6e154
JL
123322011-09-18 Juri Linkov <juri@jurta.org>
12333
12334 * buff-menu.el (Buffer-menu-mode-map):
12335 * dired.el (dired-mode-map):
12336 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12337 (lisp-interaction-mode-map):
12338 * emacs-lisp/package.el (package-menu-mode-map):
12339 * epa.el (epa-key-list-mode-map):
12340 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12341 (menu-bar-options-menu):
12342 * outline.el (outline-mode-menu-bar-map):
12343 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12344 * vc/vc-dir.el (vc-dir-menu-map):
12345 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12346 Capitalize non-function content words in menu item strings.
12347
12348 * dired.el (dired-mode-map): Add menu item for
12349 `image-dired-dired-toggle-marked-thumbs'.
12350
80302a81
JL
123512011-09-18 Juri Linkov <juri@jurta.org>
12352
12353 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12354 to `isearch-case-fold-search' and restore its original value
12355 after the `isearch-mode' call.
12356
46c5cf66
JL
123572011-09-18 Juri Linkov <juri@jurta.org>
12358
12359 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12360 because `zgrep' returns 1 for successful matches (bug#9226).
12361
d18b513b
JL
123622011-09-18 Juri Linkov <juri@jurta.org>
12363
12364 * info.el (Info-extract-menu-node-name): Check the second match
12365 for empty string (second test-case of bug#9528).
12366 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12367 intermediate nodes to the history (first test-case of bug#9528).
12368
72753f87
JL
123692011-09-18 Juri Linkov <juri@jurta.org>
12370
12371 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12372 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12373
c9384295
JL
123742011-09-18 Juri Linkov <juri@jurta.org>
12375
1154d12e
JB
12376 * info.el (Info-file-supports-index-cookies):
12377 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12378 outputs one more line for long file names (bug#4142).
c9384295 12379
d473dce8
CY
123802011-09-18 Chong Yidong <cyd@stupidchicken.com>
12381
12382 * newcomment.el (comment-normalize-vars): If prompting for
12383 comment-start, set comment-start-skip too (Bug#8424).
12384
2176854d
JB
123852011-09-18 Johan Bockgård <bojohan@gnu.org>
12386
12387 * icomplete.el: Fix previous fix of Bug#5849.
12388 (icomplete-mode): Don't set completion-show-inline-help.
12389 (icomplete-minibuffer-setup): Set completion-show-inline-help
12390 locally during icompletion.
12391
3aace4e4
CY
123922011-09-18 Chong Yidong <cyd@stupidchicken.com>
12393
c940224f
CY
12394 * woman.el (woman2-process-escapes): Don't delete unrecognized
12395 escapes (Bug#7843).
12396
3aace4e4
CY
12397 * files.el (inhibit-first-line-modes-regexps): Add image files.
12398 (hack-local-variables-prop-line): Return nil for malformed
12399 prop-lines (Bug#9044).
12400
710dec63
MA
124012011-09-18 Michael Albinus <michael.albinus@gmx.de>
12402
12403 * net/tramp.el (top): Don't require 'shell.
12404 (tramp-methods): Fix docstring.
12405 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12406 Return complete remote file name. Handle "smb" case.
12407 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12408 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12409
12410 * net/tramp-compat.el (top): Require 'shell.
12411
12412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12413 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12414 `tramp-current-host'.
12415 (tramp-get-remote-tmpdir): Remove.
12416
12417 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12418 `tramp-tmpdir' entries.
12419 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12420 (tramp-smb-handle-file-attributes): Ignore errors.
12421 (tramp-smb-wait-for-output): Check also for process end.
12422
5d5ac8ec
LMI
124232011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12424
12425 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12426 when sending QUIT (bug#9312).
12427
8c0f49f0
CY
124282011-09-17 Chong Yidong <cyd@stupidchicken.com>
12429
12430 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12431 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12432 occur-mode-display-occurrence.
12433 (occur-edit-mode): Add usage message.
12434 (occur-cease-edit): New command.
12435 (occur-after-change-function): Use text properties to find the
12436 position of the prefix text.
12437 (occur-engine): Set stickiness of prefix text properties.
12438
8f1383f7
GM
124392011-09-17 Glenn Morris <rgm@gnu.org>
12440
12441 * progmodes/etags.el (complete-tag):
12442 Fix call to completion-in-region. (Bug#9526)
12443
744ba0e3
JL
124442011-09-17 Juri Linkov <juri@jurta.org>
12445
12446 * textmodes/ispell.el (ispell-word): Add to the error message
12447 the word, ispell program name and current dictionary (bug#9121).
12448 (ispell-tex-arg-end): Capitalize "error" in the error message.
12449
d9bbf400
AS
124502011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12451
12452 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12453 check. (Bug#4251)
12454
8da11505
JL
124552011-09-17 Juri Linkov <juri@jurta.org>
12456
12457 * window.el (window-safe-min-height, window-safe-min-width):
12458 Fix typos (followup to bug#9522).
12459
a91adc7e
SJ
124602011-09-17 Sven Joachim <svenjoac@gmx.de>
12461
12462 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12463
064f328a
EZ
124642011-09-16 Eli Zaretskii <eliz@gnu.org>
12465
12466 * simple.el (line-move): If goal-column is set, move by logical
12467 lines, not by display lines. (Bug#971)
12468 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12469 to reflect the above change.
12470
e69df516
SM
124712011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12472
12473 * image.el (imagemagick-register-types): Use regexp-opt.
12474
cbb0f9ab
CY
124752011-09-15 Chong Yidong <cyd@stupidchicken.com>
12476
12477 * window.el (display-buffer-base-action): Rename from
12478 display-buffer-default-action. Make default value empty.
12479 (display-buffer-overriding-action): Convert to defvar.
12480 (display-buffer-fallback-action): New var.
12481
25322144
CY
124822011-09-15 Chong Yidong <cyd@stupidchicken.com>
12483
12484 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12485 declaration.
12486 (package--add-to-archive-contents): If there is a duplicate entry
12487 with an older version, remove it.
12488 (package-menu-mark-delete, package-menu-mark-install)
12489 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12490 (package-menu-mark-obsolete-for-deletion):
12491 Use package-menu-get-status instead of a regexp search.
25322144
CY
12492 (package-menu-get-status): Use tabulated-list-entry.
12493 (package-menu-mark-upgrades): New command.
d770725a 12494 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12495 (package-menu-execute): Do installation before deletion.
12496 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12497 instead of checking major-mode.
12498 (package-menu--find-upgrades): New function.
12499
7520339c
LMI
125002011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12501
12502 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12503 passwords in the log buffer.
65a046c4
LMI
12504 (smtpmail-process-filter): Update the process marker so that the
12505 "broken by peer" status message is inserted in the right place.
7520339c 12506
d3c30954
SM
125072011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12508
3fe48822
SM
12509 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12510 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12511 bibtex-completion-at-point-function.
12512 (bibtex-completion-at-point-function): Use them.
12513
1b8b3954
SM
12514 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12515
d3c30954
SM
12516 * mpc.el (mpc-constraints-tag-lookup): New function.
12517 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12518 also to browser "album|playlist".
12519
72779976
JL
125202011-09-14 Juri Linkov <juri@jurta.org>
12521
12522 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12523 (isearch-edit-string): Use length of `isearch-string' when
12524 `isearch-fail-pos' returns nil.
12525 (isearch-message): Remove duplicate code and call
12526 `isearch-fail-pos' with arg `t'.
12527
a0bf2bcd
CY
125282011-09-14 Chong Yidong <cyd@stupidchicken.com>
12529
17bb0a2d
CY
12530 * replace.el (occur-mode-goto-occurrence): Don't force using other
12531 window (Bug#9499).
12532
a0bf2bcd
CY
12533 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12534
f678e0b6
MR
125352011-09-14 Martin Rudalics <rudalics@gmx.at>
12536
12537 * window.el (display-buffer-window): Remove.
12538 (display-buffer-record-window): Use help-setup window parameter
12539 instead of variable display-buffer-window.
12540 (display-buffer-function, special-display-buffer-names)
12541 (special-display-function): Mention help-setup parameter instead
12542 of display-buffer-window in doc-string.
d3c30954
SM
12543 * help.el (help-window-setup): New argument help-window.
12544 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12545 Reword some messages.
12546 (with-help-window): Pass window used for displaying the buffer
12547 to help-window-setup. Don't set display-buffer-window.
12548
8e39b2e8
GM
125492011-09-13 Glenn Morris <rgm@gnu.org>
12550
12551 * emacs-lisp/debug.el (debugger-make-xrefs):
12552 Preserve point. (Bug#9462)
12553
85e9c04b
CY
125542011-09-13 Chong Yidong <cyd@stupidchicken.com>
12555
12556 * window.el (window-deletable-p): Use next-frame.
12557
1b36ed6a
MR
125582011-09-13 Martin Rudalics <rudalics@gmx.at>
12559
12560 * window.el (window-auto-delete): Remove.
12561 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12562 dedication and previous buffers.
1b36ed6a
MR
12563 (switch-to-prev-buffer): Don't delete window.
12564 (delete-windows-on): Delete a window's frame if and only if the
12565 window is dedicated.
12566 (replace-buffer-in-windows): Delete buffer's window or frame if
12567 and only if window is dedicated.
12568 (quit-window): Handle quit-restore as before last change.
4d61f28d 12569 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12570
ef8ef9fb
CY
125712011-09-13 Chong Yidong <cyd@stupidchicken.com>
12572
12573 * window.el (window-deletable-p): Never delete the last frame on a
12574 given terminal.
12575
b2cba41e
GM
125762011-09-13 Glenn Morris <rgm@gnu.org>
12577
12578 * help.el (describe-key-briefly): Copy previous standard-output change.
12579
51553db6 125802011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12581
12582 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12583
b7556719
GM
125842011-09-13 Glenn Morris <rgm@gnu.org>
12585
12586 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12587 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12588
64b51947
CY
125892011-09-12 Chong Yidong <cyd@stupidchicken.com>
12590
12591 * dired-aux.el (dired-mark-read-string): Don't return default
12592 value on empty input (Bug#9361).
12593 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12594 Omit initial minibuffer contents.
12595 (dired-do-chmod): Signal an error on empty input.
12596 (dired-mark-read-string): Don't return default on empty input.
12597
12598 * files.el (file-modes-symbolic-to-number): Doc fix.
12599
393a301e
SM
126002011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * international/mule-cmds.el (ucs-completions): Remove.
12603 (read-char-by-name): Use complete-with-action instead; add metadata.
12604
fa5660f9
CY
126052011-09-11 Chong Yidong <cyd@stupidchicken.com>
12606
12607 * window.el (display-buffer--action-function-custom-type)
12608 (display-buffer--action-custom-type): New vars.
12609 (display-buffer-alist, display-buffer-default-action)
12610 (display-buffer-overriding-action): Add defcustom types.
12611
4a592f66
CY
12612 * frame.el (delete-other-frames): Doc fix (Bug#276).
12613
73d56dbd
LMI
126142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12615
12616 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12617
37ac18a3
CY
126182011-09-11 Chong Yidong <cyd@stupidchicken.com>
12619
12620 Change modes that used same-window-* vars to use switch-to-buffer.
12621
12622 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12623 Use switch-to-buffer.
12624
12625 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12626 (customize-browse, custom-buffer-create-other-window):
12627 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12628
12629 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12630 (Info-prev, Info-up, Info-speedbar-goto-node)
12631 (info-display-manual): Use switch-to-buffer.
12632 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12633
12634 * mail/sendmail.el (mail): Use switch-to-buffer.
12635 (mail-recover): Use switch-to-buffer-other-window.
12636
12637 * cmuscheme.el (run-scheme, switch-to-scheme):
12638 * ielm.el (ielm):
12639 * shell.el (shell):
12640 * net/rlogin.el (rlogin):
12641 * net/telnet.el (telnet, rsh):
12642 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12643
10195bd6
AS
126442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12645
12646 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12647
b322f63a
LMI
126482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
39d7fed6
LMI
12650 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12651 so don't mention it (bug#9301).
ba5a81f1 12652 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12653
ee0e9f11
LMI
12654 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12655 match `x', `w32' and `ns', like the manual says (bug#9029).
12656
0b1c89c1 12657 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12658 (process-kill-buffer-query-function): Mention the buffer name in
12659 the query.
0b1c89c1 12660
77549ea8
LMI
12661 * image-mode.el (image-next-line): The line parameter is mandatory
12662 (bug#9258).
12663
803ef892
LMI
12664 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12665 which can be useful (bug#9301).
12666
12980837
LMI
12667 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12668
91054f8f
LMI
12669 * subr.el (match-string): Mention that the current buffer should
12670 be the same as the search was done in (bug#9282).
12671
b322f63a
LMI
12672 * facemenu.el: Disable the remove-* commands if the mark isn't
12673 active (bug#9162).
12674
3199b96f
CY
126752011-09-10 Chong Yidong <cyd@stupidchicken.com>
12676
12677 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12678 of display-buffer.
12679 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12680
12681 * replace.el (occur-mode-goto-occurrence)
12682 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12683 and display-buffer.
12684
12685 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12686 display-buffer.
12687
12688 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12689 special-display and same-window variables.
12690 (mail-other-window): Use switch-to-buffer-other-window.
12691 (mail-other-frame): USe switch-to-buffer-other-frame.
12692
393a301e
SM
12693 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12694 Use display-buffer-other-frame.
3199b96f
CY
12695 (gdb-display-gdb-buffer): Use pop-to-buffer.
12696
12697 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12698
12699 * progmodes/python.el: Don't set same-window-buffer-names.
12700
12701 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12702
12703 * window.el (display-buffer-alist): Add *Python*.
12704
8319e0bf
CY
127052011-09-10 Chong Yidong <cyd@stupidchicken.com>
12706
12707 * window.el (display-buffer-alist): Add entry for buffers
12708 previously handled same-window-*.
12709 (display-buffer-alist, display-buffer-default-action)
12710 (display-buffer-overriding-action): Mark as risky.
12711 (display-buffer-alist): Document action function changes.
12712 (display-buffer--same-window-action)
12713 (display-buffer--other-frame-action): New variables.
12714 (switch-to-buffer, display-buffer-other-frame): Use them.
12715 (display-buffer): Rename reuse-frame entry to reusable-frames.
12716 (display-buffer-reuse-selected-window): Function deleted.
12717 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12718 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12719 (display-buffer-special): New function.
12720 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12721 display-buffer-reuse-or-pop-window. Split off special-display
12722 part into display-buffer-special.
12723 (display-buffer-use-some-window): Don't perform any special
12724 pop-up-frames handling.
12725 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12726 (display-buffer--maybe-same-window): Rename from
0d3ff375 12727 display-buffer-maybe-same-window.
8319e0bf 12728
919a69aa
CY
12729 * info.el: Don't set same-window-regexps.
12730 (info-setup): New function.
12731 (info-other-window, info): Call it.
12732
12733 * cus-edit.el: Don't set same-window-regexps.
12734 (customize-group): New argument.
12735 (customize-group-other-window): Use it.
12736 (customize-face, customize-face-other-window): Likewise.
12737 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12738
8319e0bf
CY
12739 * net/rlogin.el:
12740 * net/telnet.el:
12741 * progmodes/gud.el: Don't set same-window-regexps.
12742
12743 * cmuscheme.el:
12744 * ielm.el:
12745 * shell.el:
12746 * mail/sendmail.el:
12747 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12748
25173000
JL
127492011-09-10 Juri Linkov <juri@jurta.org>
12750
12751 * isearch.el (isearch-edit-string): Remove obsolete mention of
12752 `C-w' (`isearch-yank-word-or-char') from docstring.
12753 (isearch-query-replace): Fix typo in docstring (bug#9466).
12754
056e44ef
JL
127552011-09-10 Juri Linkov <juri@jurta.org>
12756
12757 * paren.el (show-paren-function): Don't show escaped parens.
12758 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12759
c3760c17
EZ
127602011-09-10 Eli Zaretskii <eliz@gnu.org>
12761
12762 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12763 (mm-default-file-encoding): Remove autoload forms, they are
12764 replaced with autoload cookies in mml.el and mm-encode.el.
12765 (mail-add-attachment): New command.
12766 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12767 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12768 the doc string.
12769 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12770
fece895e
RT
127712011-09-10 Reuben Thomas <rrt@sc3d.org>
12772
e69df516
SM
12773 * simple.el (count-words-region): Use buffer if there's no region
12774 (bug#9429).
fece895e 12775
5e68ce4a
JL
127762011-09-09 Juri Linkov <juri@jurta.org>
12777
12778 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12779 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12780 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12781
0a6b9622
AM
127822011-09-09 Alan Mackenzie <acm@muc.de>
12783
12784 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12785 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12786
14a29deb
EZ
127872011-09-09 Eli Zaretskii <eliz@gnu.org>
12788
12789 Fix for Savannah bug#9392.
12790 * simple.el (mail-encode-mml): New defvar.
12791
12792 * mail/rmail.el (mail-encode-mml): Add a defvar.
12793 (rmail-enable-mime-composing): Default to t.
12794 (rmail-forward): Use MIME method of forwarding only if both
12795 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12796 Set mail-encode-mml non-nil if the MIME method was used.
12797
12798 * mail/sendmail.el (mml-to-mime): Add autoload form.
12799 (mail-encode-mml): Add a defvar.
12800 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12801 to nil.
12802 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12803 message through mml-to-mime, and reset mail-encode-mml to nil.
12804
28c45130
GM
128052011-09-09 Glenn Morris <rgm@gnu.org>
12806
12807 * woman.el (woman-if-body): When processing an .el block,
12808 do not delete the next .el block as well. (Bug#9447)
69f4b618 12809 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12810
9b1c252e
MR
128112011-09-08 Martin Rudalics <rudalics@gmx.at>
12812
12813 * window.el (window-deletable-p): Make sure window is live before
12814 invoking window-prev-buffers.
12815
567457e3
LL
128162011-09-08 Leo Liu <sdl.web@gmail.com>
12817
12818 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12819
97f05794
JL
128202011-09-08 Juri Linkov <juri@jurta.org>
12821
12822 * progmodes/compile.el (compilation-environment): Make it
12823 a defcustom (bug#8340).
12824
8b0874b5
MR
128252011-09-08 Martin Rudalics <rudalics@gmx.at>
12826
12827 * window.el (frame-auto-delete): Rename to window-auto-delete.
12828 Make it control auto-deletion of windows and/or frames.
12829 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12830 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12831 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12832 Rewrite handling of case when window/frame can be deleted.
12833 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12834 argument t. (Bug#9456)
8b0874b5 12835
4feb6e73
CY
128362011-09-07 Chong Yidong <cyd@stupidchicken.com>
12837
12838 * help-mode.el (help-mode): Restore autoload.
12839
91ab9c13
JL
128402011-09-07 Juri Linkov <juri@jurta.org>
12841
12842 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12843 `compilation-environment'. Set buffer-local
12844 `compilation-environment' to `thisenv' later after (funcall mode).
12845 (Bug#8340)
12846
12847 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12848 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12849 instead of replacing its value. (Bug#8340)
12850
0527e251
JL
128512011-09-07 Juri Linkov <juri@jurta.org>
12852
12853 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12854 based on text properties put by `grep-filter' instead of matching
12855 escape sequences.
12856 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12857 to the value of `grep-error-screen-columns' (bug#9438).
12858
249f792c
JL
128592011-09-07 Juri Linkov <juri@jurta.org>
12860
12861 * simple.el (next-error-highlight, next-error-highlight-no-select):
12862 Doc fix (bug#9432).
12863
ff7271b9
OT
128642011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12865
12866 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12867 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12868
183fc730
LL
128692011-09-07 Leo Liu <sdl.web@gmail.com>
12870
12871 * net/rcirc.el (rcirc-mode): Conditionally initialize
12872 rcirc-input-ring.
12873
77694924
SM
128742011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * emacs-lisp/find-func.el (find-function-C-source): Only set
12877 find-function-C-source-directory after checking that we found a source
12878 file there (bug#9440).
12879
d809b8eb
AM
128802011-09-06 Alan Mackenzie <acm@muc.de>
12881
12882 * isearch.el (isearch-other-meta-char): Wherever a key list is
12883 unread, "unread" the prefix arg, too. This fixes bug #8901.
12884
453de99f
OG
128852011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12886
12887 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12888
90439906
JL
128892011-09-05 Juri Linkov <juri@jurta.org>
12890
12891 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12892
f62bd846
JL
128932011-09-05 Juri Linkov <juri@jurta.org>
12894
12895 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12896 keeping point where processing of grep matches begins, and
12897 continue to delete remaining escape sequences from the same point.
12898 (grep-filter): Make leading zero optional in "0?1;31m" because
12899 git-grep emits "\033[1;31m" escape sequences unlike expected
12900 "\033[01;31m" as GNU Grep does (bug#9408).
12901 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12902
045820ec
JL
129032011-09-05 Juri Linkov <juri@jurta.org>
12904
12905 * subr.el (y-or-n-p): Capitalize "yes".
12906
f5e29b9b
MA
129072011-09-04 Michael Albinus <michael.albinus@gmx.de>
12908
12909 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12910 `tramp-cache-unload-hook' where appropriate.
12911 (tramp-methods): Rename `tramp-remote-sh' to
12912 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12913 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12914
12915 * net/tramp-sh.el (top): Don't require 'shell.
12916 (tramp-methods): Add `tramp-remote-shell' and
12917 `tramp-remote-shell-args' entries.
12918 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12919 (tramp-sh-handle-shell-command): Remove.
12920 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12921 Use `tramp-remote-shell'.
12922
2784c434
CY
129232011-09-03 Chong Yidong <cyd@stupidchicken.com>
12924
393a301e 12925 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12926 (sendmail-query-once): Save directly to send-mail-function.
12927 Update message-send-mail-function too.
12928
12929 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12930
464cdf56
CS
129312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12932
12933 * progmodes/python.el (python-mode-map): Use correct function to
12934 start python interpreter from menu-bar (as reported by Geert
12935 Kloosterman).
12936 (inferior-python-mode-map): Fix typo.
393a301e 12937 (python-shell-map): Remove.
464cdf56 12938
d37e5c87
DD
129392011-09-03 Deniz Dogan <deniz@dogan.se>
12940
12941 * net/rcirc.el (rcirc-print): Simplify code for
12942 rcirc-scroll-show-maximum-output. There is no need to walk
12943 through all windows to find the right one.
12944
f3ada0ee
CS
129452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12946
12947 * help.el (help-return-method): Doc fix.
12948
1f3c99ca
MR
129492011-09-03 Martin Rudalics <rudalics@gmx.at>
12950
12951 * window.el (window-deletable-p): Don't return a non-nil value
12952 when there's a buffer that was shown in the window before.
12953 (Bug#9419)
393a301e
SM
12954 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12955 Set window's previous buffers to nil.
1f3c99ca 12956
a3cf097f
EZ
129572011-09-03 Eli Zaretskii <eliz@gnu.org>
12958
12959 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12960 newline before and after the tag line, so it doesn't interfere
12961 with determining the paragraph direction of bidirectional text.
12962
3d03de90
LL
129632011-09-03 Leo Liu <sdl.web@gmail.com>
12964
12965 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12966
c3313451
CY
129672011-09-02 Chong Yidong <cyd@stupidchicken.com>
12968
393a301e 12969 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12970 (pop-to-buffer): Change interactive spec. Pass second argument
12971 directly to display-buffer.
12972 (display-buffer): Fix interactive spec. Use functionp to
12973 distinguish between a function and a list of functions.
12974
12975 * abbrev.el (edit-abbrevs):
12976 * arc-mode.el (archive-extract):
12977 * autoinsert.el (auto-insert):
12978 * bookmark.el (bookmark-bmenu-list):
12979 * files.el (find-file):
12980 * view.el (view-buffer):
12981 * progmodes/compile.el (compilation-goto-locus):
12982 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12983
89894cd8
CY
129842011-09-02 Chong Yidong <cyd@stupidchicken.com>
12985
12986 * window.el (display-buffer-alist): Doc fix.
12987 (display-buffer): Add docstring. Don't treat
12988 display-buffer-default specially.
12989 (display-buffer-reuse-selected-window)
12990 (display-buffer-same-window, display-buffer-maybe-same-window)
12991 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12992 (display-buffer-pop-up-window)
12993 (display-buffer-reuse-or-pop-window)
12994 (display-buffer-use-some-window): New functions.
12995 (display-buffer-default-action): Use them.
393a301e 12996 (display-buffer-default): Delete.
89894cd8
CY
12997 (pop-to-buffer-1): Fix choice of actions.
12998
ae0bc9fb
SM
129992011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13000
13001 * minibuffer.el (completion--insert-strings): Don't get confused by
13002 completion entries that end with an LF char.
13003
e9d90883
EZ
130042011-09-01 Eli Zaretskii <eliz@gnu.org>
13005
13006 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13007
437014c8
CY
130082011-09-01 Chong Yidong <cyd@stupidchicken.com>
13009
13010 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13011 (display-buffer-same-window, display-buffer-other-window):
13012 New functions.
437014c8
CY
13013 (pop-to-buffer-1): New function. Use the above.
13014 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13015 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13016
13017 * view.el (view-buffer-other-window, view-buffer-other-frame):
13018 Just use pop-to-buffer.
13019
a5e063d5
TV
130202011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13021
13022 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13023
793d32bb
WH
130242011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13025
13026 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13027
d65e4c15
RS
130282011-08-31 Richard Stallman <rms@gnu.org>
13029
13030 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13031 of the separation of rmail-view-buffer from rmail-buffer.
13032 If you say no to "replace original", the decrypt is in the
13033 view buffer. If you say yes, the decrypt goes into the
13034 rmail buffer also.
13035
f818cd2a
MR
130362011-08-31 Martin Rudalics <rudalics@gmx.at>
13037
13038 * window.el (display-buffer-window): Rewrite doc-string.
13039 (display-buffer-record-window): New function.
13040 (display-buffer-macro-specifiers)
13041 (display-buffer-even-window-sizes, display-buffer-set-height)
13042 (display-buffer-set-width, display-buffer-in-window)
13043 (display-buffer-reuse-window, display-buffer-split-specifiers)
13044 (display-buffer-side-specifiers, display-buffer-split-window-1)
13045 (display-buffer-split-window, display-buffer-split-atom-window)
13046 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13047 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13048 (display-buffer-other-window-means-other-frame)
13049 (display-buffer-normalize-special)
13050 (display-buffer-normalize-default)
13051 (display-buffer-normalize-argument)
13052 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13053 (display-buffer-normalize-specifiers, display-buffer-frame)
13054 (display-buffer-same-window, display-buffer-same-frame)
13055 (display-buffer-other-window)
13056 (display-buffer-same-frame-other-window)
13057 (display-buffer-other-frame, pop-to-buffer-same-window)
13058 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13059 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13060 (switch-to-buffer-same-frame)
13061 (switch-to-buffer-other-window-same-frame)
13062 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13063 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13064 (display-buffer-alist-set): Remove.
13065 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13066 (special-display-regexps, special-display-function):
13067 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13068 parameter.
13069 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13070 (special-display-frame-alist, special-display-popup-frame)
13071 (same-window-buffer-names, same-window-regexps, same-window-p)
13072 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13073 (split-window-preferred-function, split-height-threshold)
13074 (split-width-threshold, window-splittable-p)
13075 (split-window-sensibly, window--try-to-split-window)
13076 (window--frame-usable-p, even-window-heights)
13077 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13078 (window--display-buffer-2, display-buffer-other-frame):
13079 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13080 (display-buffer-default, display-buffer-assq-regexp): New functions.
13081 (display-buffer-alist): Rewrite doc-string.
13082 (display-buffer-default-action)
13083 (display-buffer-overriding-action): New variables.
13084 (display-buffer, switch-to-buffer): Rewrite.
13085 (pop-to-buffer): Restore Emacs 23 behavior but use
13086 window-normalize-buffer-to-display.
13087 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13088 Restore Emacs 23 behavior but use
13089 window-normalize-buffer-to-switch-to.
13090 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13091 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13092 Rewrite using Emacs 23 options.
f818cd2a 13093
5bc3b51d
MA
130942011-08-31 Michael Albinus <michael.albinus@gmx.de>
13095
13096 * net/tramp.el (tramp-root-regexp): Remove.
13097 (tramp-completion-file-name-regexp-unified)
13098 (tramp-completion-file-name-regexp-separate)
13099 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13100 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13101 (tramp-drop-volume-letter): Simplify definition.
13102 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13103
b1a4f8e1
SM
131042011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13105
13106 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13107 (bug#9356).
13108
5664fa7b
RT
131092011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13110
b1a4f8e1 13111 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13112
9a45d6c3
JL
131132011-08-29 Juri Linkov <juri@jurta.org>
13114
13115 * isearch.el (isearch-done): Don't display message "Mark saved"
13116 when arg `edit' is non-nil to prevent its flicker in the echo area.
13117
fb87e0fb
CY
131182011-08-28 Chong Yidong <cyd@stupidchicken.com>
13119
13120 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13121 obsolete packages for deletion.
13122
09ac1c2a
CS
131232011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13124
13125 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13126 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13127 view-mode from help-mode.
13128 (help-xref-override-view-map): Remove.
13129 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13130 view-mode is not used anymore.
13131
7a1ff57f
CY
131322011-08-28 Chong Yidong <cyd@stupidchicken.com>
13133
13134 * server.el (server-port): Doc fix.
13135
b9696605
CY
13136 * cus-theme.el (custom-theme-choose-mode): Inherit from
13137 special-mode (Bug#9124).
13138 (custom-theme-choose-mode-map): Add special-mode to parent.
13139
ef8cdf8c
AM
131402011-08-28 Alan Mackenzie <acm@muc.de>
13141
13142 * progmodes/cc-fonts.el
13143 (c-make-font-lock-BO-decl-search-function): New function.
13144 (c-basic-matchers-after - "Fontify the clauses after various
13145 keywords"): Extract the three keyword lists for the 3 erroneous
13146 constructs from the list of four, and use the new function above
13147 in place of an old one.
13148
27de4e20
DD
131492011-08-28 Deniz Dogan <deniz@dogan.se>
13150
13151 * net/rcirc.el (rcirc-insert-prev-input)
13152 (rcirc-insert-next-input): Remove unused argument.
13153
356a3681
SM
131542011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13155
13156 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13157
3fc9b218
AM
131582011-08-27 Alan Mackenzie <acm@muc.de>
13159
13160 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13161 handle function pointer parameters properly.
13162
538a061c
MR
131632011-08-27 Martin Rudalics <rudalics@gmx.at>
13164
13165 * window.el (display-buffer-reuse-window): Fix case where
13166 selected window was reused with non-nil OTHER-WINDOW argument.
13167 (Bug#9381)
13168
35b1c40c
DD
131692011-08-27 Deniz Dogan <deniz@dogan.se>
13170
13171 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13172 oftc's NickServ messages.
13173
2f6a3e79
GM
131742011-08-27 Glenn Morris <rgm@gnu.org>
13175
13176 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13177
7254299e
CY
131782011-08-26 Chong Yidong <cyd@stupidchicken.com>
13179
13180 * emacs-lisp/package.el (package-install): Call package-initialize
13181 if called interactively.
13182
f8ccf167
LL
131832011-08-26 Leo Liu <sdl.web@gmail.com>
13184
13185 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13186
3e8cd5ce
JL
131872011-08-25 Juri Linkov <juri@jurta.org>
13188
13189 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13190 `search-whitespace-regexp' (bug#9364).
13191
93eb7113
JL
131922011-08-25 Juri Linkov <juri@jurta.org>
13193
13194 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13195 `regexp-search-ring' to their global values to protect from
13196 updating by `read-from-minibuffer' (bug#9185).
13197
f65d1611
JL
131982011-08-25 Juri Linkov <juri@jurta.org>
13199
13200 * textmodes/ispell.el (ispell-command-loop): Add newline
13201 at the end of the "Use option `i'..." line.
13202
f1cf7a31
JL
132032011-08-25 Juri Linkov <juri@jurta.org>
13204
13205 * battery.el (display-battery-mode): If `battery-status-function'
13206 or `battery-mode-line-format' is nil, display the message and set
13207 `display-battery-mode' to nil (bug#9363).
13208
0c95fcf7
EZ
132092011-08-25 Eli Zaretskii <eliz@gnu.org>
13210
13211 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13212 bidi-string-mark-left-to-right; they are unnecessary now.
13213
a2ebe600
DD
132142011-08-25 Deniz Dogan <deniz@dogan.se>
13215
13216 * net/quickurl.el: Documentation typo fixes.
13217
e4ed06f1
CY
132182011-08-25 Chong Yidong <cyd@stupidchicken.com>
13219
13220 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13221
e5f1c99e
GM
132222011-08-25 Glenn Morris <rgm@gnu.org>
13223
b2948976
GM
13224 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13225
e5f1c99e
GM
13226 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13227 (smtpmail-via-smtp): Handle nil response from smtp.
13228
f22f4808
JL
132292011-08-24 Juri Linkov <juri@jurta.org>
13230
13231 * proced.el (proced-marked): Inherit from `error' instead of
13232 `font-lock-warning-face'.
13233
13234 * ibuffer.el (ibuffer-marked-face): Change default face from
13235 `font-lock-warning-face' to `warning'.
13236 (ibuffer-deletion-face): Change default face from
13237 `font-lock-type-face' to `error'.
13238
13239 * battery.el (battery-update): Use the face `error' instead of
13240 `font-lock-warning-face' (bug#6117).
13241
6a93965e
JL
132422011-08-24 Juri Linkov <juri@jurta.org>
13243
13244 * faces.el (success): Change face color from "Green3" to
13245 "ForestGreen" on light background (bug#9353).
13246
1ed43b09
CY
132472011-08-24 Chong Yidong <cyd@stupidchicken.com>
13248
5664fa7b
RT
13249 * window.el (quit-window): Rename from quit-restore-window.
13250 Use same arglist as old quit-window.
1ed43b09
CY
13251 (frame-auto-delete): Doc fix.
13252
13253 * view.el (view-mode-exit): Use quit-window.
13254
11dcdbb2
JL
132552011-08-24 Juri Linkov <juri@jurta.org>
13256
13257 * isearch.el (isearch-ring-adjust1): Start visiting previous
13258 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13259 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13260 for empty search string (when the last search string is reused
13261 automatically) to adjust the isearch ring to the last element and
13262 prepare the correct index for further M-p commands (bug#9185).
13263
de62b4df
KH
132642011-08-24 Kenichi Handa <handa@m17n.org>
13265
13266 * international/ucs-normalize.el: If decomposition property of
13267 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13268 nil.
13269 (nfd, nfkd): Likewise.
13270
963b492b
SM
132712011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13272
13273 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13274 from process filters aren't reliably transmitted to the surrounding
13275 accept-process-output.
13276 (mpc-proc-check): New function.
13277 (mpc-proc-sync): Use it (bug#8293)
13278
93b6b5e1
SM
132792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13280
13281 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13282 Add compatibility functions (bug#9313).
13283
bca633fb
EZ
132842011-08-23 Eli Zaretskii <eliz@gnu.org>
13285
b177498a
EZ
13286 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13287
6df6ae42 13288 * international/uni-bidi.el: Regenerate.
bca633fb 13289
0902a04e
KH
132902011-08-23 Kenichi Handa <handa@m17n.org>
13291
13292 * international/charprop.el:
13293 * international/uni-bidi.el:
13294 * international/uni-category.el:
13295 * international/uni-combining.el:
13296 * international/uni-comment.el:
13297 * international/uni-decimal.el:
13298 * international/uni-decomposition.el:
13299 * international/uni-digit.el:
13300 * international/uni-lowercase.el:
13301 * international/uni-mirrored.el:
13302 * international/uni-name.el:
13303 * international/uni-numeric.el:
13304 * international/uni-old-name.el:
13305 * international/uni-titlecase.el:
13306 * international/uni-uppercase.el: Regenerate.
13307
3bbf23bc
MR
133082011-08-23 Martin Rudalics <rudalics@gmx.at>
13309
13310 * help.el (help-window-setup): Fix message displayed when other
13311 window is reused. (Bug#9341)
13312
b3fd59bd
SM
133132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13314
1802e444
SM
13315 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13316 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13317
b3fd59bd
SM
13318 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13319 Mark obsolete.
13320 * shell.el (shell-parse-pcomplete-arguments): New function.
13321 (shell-completion-vars): Use it instead (bug#9160).
13322
4eb61348
SM
133232011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13324
867cab74
SM
13325 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13326 strings and comments (bug#9333).
13327
4eb61348
SM
13328 * emacs-lisp/debug.el (debug-arglist): New function.
13329 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13330 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13331
262a1439
JL
133322011-08-22 Juri Linkov <juri@jurta.org>
13333
56ee679c
JL
13334 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13335 Revert regexp that highlights output switches to its old
13336 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13337
262a1439
JL
13338 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13339 to check for empty output (bug#9226).
13340
f13f86fb
CY
133412011-08-22 Chong Yidong <cyd@stupidchicken.com>
13342
13343 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13344 symbol-constituent as the default, as that stops font-lock from
13345 working properly (Bug#8843).
13346
c65c9622
LMI
133472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13348
13349 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13350 `coding-system-for-*' around the process open call to avoid
13351 auth-source side effects.
e7f2c178 13352 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13353 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13354 probe hangs.
c65c9622 13355
23a8a5ab
CY
133562011-08-21 Chong Yidong <cyd@stupidchicken.com>
13357
ff98b2dd
CY
13358 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13359
23a8a5ab
CY
13360 * emacs-lisp/find-func.el (find-function-noselect): New arg
13361 lisp-only.
13362
13363 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13364 signal an error for built-in functions (Bug#6664).
13365
f5e3c598
LMI
133662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13367
13368 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13369 (smtpmail-try-auth-methods): Use it.
13370
a3f2468a
CY
133712011-08-21 Chong Yidong <cyd@stupidchicken.com>
13372
2c34e8da
CY
13373 * font-lock.el (font-lock-fontify-region)
13374 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13375 (font-lock-default-unfontify-buffer)
13376 (font-lock-default-fontify-region)
13377 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13378
b3fd59bd
SM
13379 * progmodes/compile.el (compilation-error-properties):
13380 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13381 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13382 `ant' regexp.
ee31aabc 13383
a3f2468a
CY
13384 * net/browse-url.el (browse-url-firefox): Don't call
13385 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13386
8e999f70
GM
133872011-08-20 Glenn Morris <rgm@gnu.org>
13388
c21a496a
GM
13389 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13390
59ee0542
GM
13391 * tutorial.el (tutorial--default-keys): Update some default bindings.
13392
8e999f70
GM
13393 * files.el (hack-local-variables): Fully ignore case for "mode:".
13394
e3715033
AM
133952011-08-20 Alan Mackenzie <acm@muc.de>
13396
13397 Resolve invalid use of a regexp in regexp-opt.
13398
4d61f28d
JB
13399 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13400 detection for a java annotation.
e3715033 13401
4d61f28d 13402 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13403 detection for a java annotation.
13404
4d61f28d
JB
13405 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13406 handling for java.
e3715033
AM
13407 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13408
04ed2e9c
CY
134092011-08-20 Chong Yidong <cyd@stupidchicken.com>
13410
13411 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13412 (Bug#9274).
13413
826cee64
AM
134142011-08-20 Alan Mackenzie <acm@muc.de>
13415
58179cce 13416 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13417 such a construct. Mainly for when jit-lock etc. starts a chunk
13418 here.
13419
58179cce 13420 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13421 variable.
58179cce 13422 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13423 c-make-font-lock-search-function.
13424 (c-make-font-lock-search-function): Use the above function.
13425 (c-make-font-lock-context-search-function): New function.
13426 (c-cpp-matchers): Enhance the preprocessor expression case with
13427 the above function
13428 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13429 which takes an expression.
13430
13431 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13432
13009bd8
MR
134332011-08-20 Martin Rudalics <rudalics@gmx.at>
13434
13435 * window.el (display-buffer-reuse-window)
13436 (display-buffer-pop-up-window): Don't reuse or split a side
13437 window.
13438
9234ff7f
GM
134392011-08-19 Glenn Morris <rgm@gnu.org>
13440
13441 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13442 Downcase "Mode:". (Bug#9331)
9234ff7f 13443
f635daa1
CY
134442011-08-18 Chong Yidong <cyd@stupidchicken.com>
13445
13446 * international/characters.el: Add L and R categories.
13447
13448 * subr.el (bidi-string-mark-left-to-right): Rename from
13449 string-mark-left-to-right. Use category search.
13450
13451 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13452
bc987f8b
JL
134532011-08-18 Juri Linkov <juri@jurta.org>
13454
13455 * faces.el (error, warning, success): New faces with definitions
13456 copied from old default values of `font-lock-warning-face',
13457 `compilation-warning', `compilation-info' (bug#6117).
13458
13459 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13460
13461 * progmodes/compile.el (compilation-error): Inherit from `error'.
13462 (compilation-warning): Inherit from `warning'.
13463 (compilation-info): Inherit from `success'.
13464
13465 * dired.el (dired-marked): Inherit from `warning'.
13466 (dired-flagged): Inherit from `error'.
13467
57173b96
LMI
134682011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13469
3e79eb87
LMI
13470 * mail/smtpmail.el (auth-source): Require to avoid problems with
13471 binding variables (bug#9298). Also clean up some unused
13472 autoloads.
13473
b3fd59bd
SM
13474 * net/network-stream.el (network-stream-open-starttls):
13475 Support using starttls.el without using gnutls-cli.
57173b96 13476
02b404de
JL
134772011-08-17 Juri Linkov <juri@jurta.org>
13478
13479 * progmodes/grep.el (rgrep): Handle the case when
13480 `grep-find-command' is a cons cell (bug#9278).
13481
8c9177f2
MR
134822011-08-17 Martin Rudalics <rudalics@gmx.at>
13483
13484 * window.el (display-buffer-pop-up-frame): Run frame creation
13485 function with BUFFER current (as special-display-popup-frame
13486 does). Reported by Drew Adams.
13487
3644a0ab
DU
134882011-08-17 Daiki Ueno <ueno@unixuser.org>
13489
13490 * epa-mail.el: Simplify GnuPG group expansion using
13491 epg-expand-group.
13492 (epa-mail-group-alist, epa-mail-group-modtime)
13493 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13494 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13495 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13496 Remove.
13497
5e617bc2 134982011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13499
13500 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13501
9c4aeabf
AM
135022011-08-16 Alan Mackenzie <acm@muc.de>
13503
13504 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13505 Correct, to avoid the inside of macros.
13506
3a99bf64
RS
135072011-08-16 Richard Stallman <rms@gnu.org>
13508
04963aa8
RS
13509 * epa-mail.el: Handle GnuPG group definitions.
13510 (epa-mail-group-alist, epa-mail-group-modtime)
13511 (epa-mail-gnupg-conf-file): New variables.
13512 (epa-mail-parse-groups, epa-mail-sync-groups)
13513 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13514 (epa-mail-expand-recipients): New functions.
13515 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13516
177549d0
RS
13517 * mail/rmail.el (rmail-epa-decrypt): New command.
13518
fe38beef
RS
13519 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13520 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13521 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13522 (epa-decrypt-armor-in-region): Make error message clearer.
13523
934eacb9
SM
135242011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13525
13526 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13527 and "a2b" to "ab" for `prefix'.
13528
d024fb4e
CY
135292011-08-14 Chong Yidong <cyd@stupidchicken.com>
13530
13531 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13532 filter groups.
de148fee
CY
13533 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13534 Fourquet (Bug#8804).
d024fb4e 13535
62f1ca49
JB
135362011-08-12 Juanma Barranquero <lekktu@gmail.com>
13537
13538 * startup.el (argi): Declare as global variable (bug#9275).
13539
9ccaaa4b
CY
135402011-08-12 Chong Yidong <cyd@stupidchicken.com>
13541
13542 * subr.el (string-mark-left-to-right): Search the entire string
13543 for RTL script, not just the terminating character. Doc fix.
13544
a3dae87a
SM
135452011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13546
6cd18349
SM
13547 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13548 New function.
13549 (js--regexp-literal, js-syntax-propertize-function): Remove.
13550 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13551 (js-mode-map): Don't rebind electric keys.
13552 (js-insert-and-indent): Remove.
13553 (js-mode): Setup electric-layout and electric-indent instead.
13554
a3dae87a
SM
13555 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13556
9d5cb631
DU
135572011-08-12 Daiki Ueno <ueno@unixuser.org>
13558
13559 * epa.el (epa-progress-callback-function): Fix the logic of
13560 displaying progress.
13561 * epa-file.el (epa-file-insert-file-contents): Make progress
13562 display more user-friendly.
13563 (epa-file-write-region): Ditto.
13564
3e26a4a2
CY
135652011-08-10 Chong Yidong <cyd@stupidchicken.com>
13566
13567 * subr.el (string-mark-left-to-right): New function.
13568
13569 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13570 Use string-mark-left-to-right.
13571 (list-buffers-noselect): Caller changed.
13572
a3dae87a
SM
13573 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13574 Use string-mark-left-to-right.
3e26a4a2
CY
13575 (tabulated-list-print): Recenter after moving point.
13576
ac8cf6e6
JL
135772011-08-10 Juri Linkov <juri@jurta.org>
13578
13579 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13580 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13581 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13582
8d96c9a4
CY
135832011-08-09 Chong Yidong <cyd@stupidchicken.com>
13584
13585 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13586 (Bug#7554).
13587
7be1c708 135882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13589
13590 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13591 character. (Bug#6594)
13592
37e11a63
CY
135932011-08-08 Chong Yidong <cyd@stupidchicken.com>
13594
839dde57
CY
13595 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13596 (image-dired--with-db-file): New macro.
13597 (image-dired-write-tags, image-dired-remove-tag)
13598 (image-dired-create-gallery-lists, image-dired-write-comments)
13599 (image-dired-get-comment, image-dired-mark-tagged-files)
13600 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13601 (image-dired-gallery-generate): Use insert-file-contents.
13602
37e11a63
CY
13603 * time.el (display-time-world-list, display-time-world-display):
13604 * time-stamp.el (time-stamp-string):
13605 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13606 set-time-zone-rule (Bug#7337).
13607
0b4946c4
DU
136082011-08-08 Daiki Ueno <ueno@unixuser.org>
13609
13610 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13611 (epg-error-to-string, epg-errors-to-string): New function.
13612 (epg-wait-for-completion): Reverse errors list.
13613 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13614 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13615 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13616 (epg-sign-keys, epg-generate-key-from-file)
13617 (epg-generate-key-from-string): Format errors by using
13618 epg-errors-to-string (bug#9255).
13619 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13620
75bfc667
JL
136212011-08-07 Juri Linkov <juri@jurta.org>
13622
13623 * faces.el (list-faces-display): Remove extra angle bracket
13624 from `help-mode-map'.
13625
13626 * info.el (Info-history-toc-nodes): Doc fix.
13627
13628 * longlines.el (longlines-mode): Doc fix.
13629
673e08bb
SM
136302011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13631
4640dd88
SM
13632 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13633 of statements and in a few more cases (bug#9183).
13634
673e08bb
SM
13635 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13636 New functions.
13637 (cl-transform-lambda): Use them (bug#9239).
13638
89b3f019
MR
136392011-08-05 Martin Rudalics <rudalics@gmx.at>
13640
13641 * window.el (display-buffer-same-window)
13642 (display-buffer-same-frame, display-buffer-other-window)
13643 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13644 (pop-to-buffer-other-window)
13645 (pop-to-buffer-same-frame-other-window)
13646 (pop-to-buffer-other-frame): Make them defuns.
13647 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13648
640c8776
SM
136492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * subr.el (make-composed-keymap): Move from C. Change calling
13652 convention, and improve docstring to bring attention to a subtle point.
13653 * minibuffer.el (completing-read-default): Adjust accordingly.
13654
63648a95
MA
136552011-08-03 Michael Albinus <michael.albinus@gmx.de>
13656
13657 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13658 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13659
13660 * net/trampver.el: Update release number.
13661
b796c9b7
SM
136622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13663
13664 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13665 "in" (bug#9190).
13666
2239d7d5
LMI
136672011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13668
e07dd7c3
LMI
13669 * mail/sendmail.el (sendmail-query-once): Restore the current
13670 buffer after querying (bug#9074).
13671
0e6a2bd7
LMI
13672 * dired.el (dired-flagged): Use different faces for marked and
13673 flagged files (bug#6117).
13674
ce887515
LMI
13675 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13676 (bug#4433).
13677
92f2affc
LMI
13678 * ido.el (ido-mode): Switch off the message if called
13679 non-interactively.
13680
57d5aff0
LMI
13681 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13682 before 587, since it appears that that's more likely to work for
13683 more people.
13684
98cd6c18 13685 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13686 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13687 exist.
13688
b96dec83
LMI
13689 * info.el: Remove the `Info-beginning-of-buffer' function
13690 (bug#8325).
13691
b796c9b7
SM
13692 * net/network-stream.el (network-stream-open-starttls):
13693 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13694
d90e2ea0
MR
136952011-08-01 Martin Rudalics <rudalics@gmx.at>
13696
13697 * window.el (display-buffer-in-window): Don't set dedicated status
13698 of window here (Bug#9215).
13699 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13700 (display-buffer-pop-up-side-window)
b796c9b7 13701 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13702
cca09170
SM
137032011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13704
13705 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13706 before binding generated-autoload-file.
13707
027b979c
DD
137082011-08-01 Deniz Dogan <deniz@dogan.se>
13709
13710 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13711
3c7ee4f3
MA
137122011-07-30 Michael Albinus <michael.albinus@gmx.de>
13713
13714 Sync with Tramp 2.2.2.
13715
13716 * net/trampver.el: Update release number.
13717
2cc8e51a
JL
137182011-07-30 Juri Linkov <juri@jurta.org>
13719
13720 * dired-aux.el (dired-touch-initial): Remove function.
13721 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13722 current time, and `default' to the last modification time of the
13723 current marked file (bug#6887).
13724
a514d856
JM
137252011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13726
13727 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13728 numeric argument to read-number (bug#9163).
a514d856 13729
8a7eddd7
MA
137302011-07-27 Michael Albinus <michael.albinus@gmx.de>
13731
13732 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13733 connection process, it could be nil.
13734
1ddd96f5
LL
137352011-07-27 Leo Liu <sdl.web@gmail.com>
13736
13737 Simplify url handling in rcirc-mode.
13738
13739 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13740 (rcirc-browse-url-at-mouse): Remove.
13741 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13742
b248a85d
AM
137432011-07-26 Alan Mackenzie <acm@muc.de>
13744
13745 Fontify bitfield declarations properly.
13746
13747 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13748 (c-symbol-chars): Now exported as a lang variable.
13749 (c-not-primitive-type-keywords): New lang variable.
13750
13751 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13752 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13753 parsed as a bitfield declaration.
b248a85d 13754
b796c9b7
SM
13755 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13756 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13757 (c-punctuation-in): New function.
13758 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13759 declarations properly.
13760
68575ab0
UJ
137612011-07-26 Ulf Jasper <ulf.jasper@web.de>
13762
13763 * calendar/icalendar.el (icalendar--all-events): Take care of
13764 multiple vcalendars in a single file.
b796c9b7 13765 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13766
0f0a88b9
DD
137672011-07-25 Deniz Dogan <deniz@dogan.se>
13768
13769 * image.el (insert-image): Clarifying docstring.
13770
0b3f36df
MA
137712011-07-24 Michael Albinus <michael.albinus@gmx.de>
13772
13773 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13774 `tramp-send-command-and-check' if there is no error.
13775 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13776
a9901f61
AM
137772011-07-22 Alan Mackenzie <acm@muc.de>
13778
13779 Prevent cc-langs.elc being loaded at run time.
13780
13781 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13782 cc-langs.
13783
4d61f28d 13784 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13785 "(require 'cc-langs)". Quote a form so it will evaluate at
13786 (cc-mode's) compilation time.
13787
11d074b2
MA
137882011-07-22 Michael Albinus <michael.albinus@gmx.de>
13789
13790 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13791 loading. (Bug#9114)
13792
938b94c8
MR
137932011-07-21 Martin Rudalics <rudalics@gmx.at>
13794
13795 * window.el (display-buffer-pop-up-window)
13796 (display-buffer-pop-up-side-window)
13797 (display-buffer-in-side-window): Call display-buffer-set-height
13798 and display-buffer-set-width after setting the new window's
b796c9b7 13799 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13800
bfa4f190
SS
138012011-07-20 Sam Steingold <sds@gnu.org>
13802
13803 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13804 (etags-tags-included-tables): Call `convert-standard-filename' on
13805 the file names contained in TAGS so that windows Emacs can handle
13806 TAGS files created by cygwin ctags.
13807
8ca42262
LMI
138082011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13809
13810 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13811 which apparently didn't work.
13812
5db2afd2 138132011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13814
5db2afd2
RW
13815 * proced.el (proced-send-signal): For *Marked Processes* buffer
13816 put point at beginning of buffer.
13817
92e15d10
SB
138182011-07-19 Stephen Berman <stephen.berman@gmx.net>
13819
13820 * proced.el (proced-format): Make header lines align with the text
13821 (bug#1779).
13822
1bfd59e5
LMI
138232011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13824
13825 * view.el (view-buffer): Allow running in `special' modes if we're
13826 visiting a file (bug#8615).
13827
f5aae37c
MR
138282011-07-19 Martin Rudalics <rudalics@gmx.at>
13829
13830 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13831 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13832 New functions.
f5aae37c
MR
13833 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13834 more accurately.
13835
bf2c1571
AM
138362011-07-18 Alan Mackenzie <acm@muc.de>
13837
13838 Fontify declarators properly when, e.g., a jit-lock chunk begins
13839 inside a declaration.
13840
13841 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13842
b796c9b7
SM
13843 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13844 New function.
bf2c1571
AM
13845 (c-complex-decl-matchers): Insert reference to
13846 c-font-lock-enclosing-decls.
13847
13848 * progmodes/cc-engine.el (c-backward-single-comment):
13849 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13850 to nil around calls to (forward-comment -1).
13851
4e190b80
LMI
138522011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13853
12dc863d
LMI
13854 * image.el (put-image): Doc typo fix.
13855
a762e966
LMI
13856 * progmodes/etags.el (tags-search): Doc typo fix.
13857
4e190b80
LMI
13858 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13859 password if we get errors 550 to 554.
13860
f019fb21
LMI
138612011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13862
b796c9b7 13863 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13864
81746738
LMI
13865 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13866 indentation character (bug#6380).
13867
3ee3a1b5
LMI
13868 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13869
c82f64de
LMI
13870 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13871 to clarify what the problem is (bug#4291).
13872
f019fb21
LMI
13873 * simple.el (current-kill): Clarify what
13874 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13875 (auto-fill-mode): Document `auto-fill-function' in relation to
13876 `auto-fill-mode' (bug#2470).
f019fb21 13877
0794775d
LM
138782011-07-16 Lawrence Mitchell <wence@gmx.li>
13879
13880 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13881 method if slot is read-only (bug#9035).
13882
be39b8cc
MR
138832011-07-16 Martin Rudalics <rudalics@gmx.at>
13884
b796c9b7 13885 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13886 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13887 selected before, see discussion of (Bug#8615), (Bug#6954).
13888 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13889
6ccf7859
GM
138902011-07-15 Glenn Morris <rgm@gnu.org>
13891
13892 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13893 Respect help-form.
6ccf7859 13894
87e86684
LM
138952011-07-09 Lawrence Mitchell <wence@gmx.li>
13896
13897 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13898 (gnutls-negotiate): Use it.
13899
d6066239
LMI
139002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13901
b796c9b7
SM
13902 * net/gnutls.el (gnutls-negotiate):
13903 Upcase `gnutls-algorithm-priority'.
d6066239 13904
bd23ebc0
GM
139052011-07-15 Glenn Morris <rgm@gnu.org>
13906
c65bca65
GM
13907 * jka-compr.el (jka-compr-verbose): Move from here...
13908 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13909 Add missing :version tag.
13910 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13911
478615cc
LMI
139122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13913
7b41decb
LMI
13914 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13915 (gnutls-negotiate): Use it.
13916
dbc44fcd
LMI
13917 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13918
06789f97
LMI
13919 * info.el (Info-beginning-of-buffer): New command.
13920 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13921 announcing `b' as the key (bug#8325).
ab896c37 13922 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13923
c39da690
LMI
13924 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13925
3aa5f34b
LMI
13926 * international/mule-cmds.el
13927 (describe-specified-language-support): Make the error message
13928 clearer (bug#8905).
13929
4bf0979f
LMI
13930 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13931
478615cc
LMI
13932 * isearch.el (isearch-barrier): Add a doc string, since it's
13933 mentioned in a function doc string (bug#8678).
13934
75c68aa1
MR
139352011-07-15 Martin Rudalics <rudalics@gmx.at>
13936
13937 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13938 buffer argument (Bug#9083) and self-identifying label argument.
13939
a7c33da2
GM
139402011-07-15 Glenn Morris <rgm@gnu.org>
13941
13942 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13943
2f5c6024
LMI
139442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13945
13946 * man.el (Man-fontify-manpage): Fix message when formatting the
13947 man page (bug#7929).
13948
0bb23927 139492011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13950
13951 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13952 argument LRM; if non-nil, append an invisible LRM character to the
13953 buffer name.
13954 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13955 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13956 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13957 paragraph direction.
cce4b0a7 13958
621ef9ab
LMI
139592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13960
d1583c48
LMI
13961 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13962 the man page name (bug#7929).
13963
6a57fb5f
LMI
13964 * image.el (put-image): Mention the `put-image' overlay property
13965 (bug#7834).
13966
d7956b14
LMI
13967 * scroll-bar.el (set-scroll-bar-mode): Mention that
13968 `scroll-bar-mode' lists the values (bug#7772).
13969
5b2d4a66
LMI
13970 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13971 command (bug#7729).
13972
7509a874
LMI
13973 * rect.el (apply-on-rectangle): Return the point after the last
13974 operation.
13975 (string-rectangle): Go to the point after the last operation
13976 (bug#7522).
13977
4fe74b19
LMI
13978 * printing.el (pr-toggle-region): Clarify the documentation
13979 slightly (bug#7493).
13980
b796c9b7
SM
13981 * time.el (display-time-update):
13982 Allow `display-time-mail-function' to return nil (bug#7158).
13983 Fix suggested by Detlev Zundel.
ab283561 13984
fc233c9d
LMI
13985 * vc/diff.el (diff): Clarify the order the file names are read
13986 (bug#7111).
13987
43f5740b
LMI
13988 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13989 the doc string (bug#7015).
13990
f2182a76
LMI
13991 * font-lock.el (font-lock-maximum-decoration): Mention what
13992 numeric levels mean (bug#6935).
13993
621ef9ab
LMI
13994 * startup.el (initial-buffer-choice): Don't mention the `none'
13995 selection, which is against policy.
13996
adc47434
MR
139972011-07-14 Martin Rudalics <rudalics@gmx.at>
13998
b796c9b7
SM
13999 * window.el (display-buffer-normalize-special):
14000 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14001
7e5bfb8f
EZ
140022011-07-14 Eli Zaretskii <eliz@gnu.org>
14003
14004 * subr.el (version<, version<=, version=): Mention "-CVS" and
14005 "-12345" alpha version numbers.
14006
27fa387a
CY
140072011-07-14 Chong Yidong <cyd@stupidchicken.com>
14008
14009 * bindings.el: Add advertised binding for set-mark-command
14010 (Bug#5772).
14011
8bdfa064
CY
140122011-07-14 Chong Yidong <cyd@stupidchicken.com>
14013
14014 * bindings.el (mode-line-other-buffer):
14015 * bookmark.el (bookmark-bmenu-2-window):
14016 * bs.el (bs-cycle-next, bs-cycle-previous):
14017 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14018 switch-to-buffer.
14019
14020 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14021 Delete.
8bdfa064 14022
5eba16a3
JB
140232011-07-14 Juanma Barranquero <lekktu@gmail.com>
14024
14025 * follow.el (follow-debug-message, follow-redisplay):
14026 * jka-cmpr-hook.el (with-auto-compression-mode):
14027 Fix typos in docstrings.
14028
15853710
LMI
140292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14030
a28e4607
LMI
14031 * subr.el (with-silent-modifications): Clarify somewhat what the
14032 macro inhibits (bug#6525).
14033
15853710
LMI
14034 * simple.el (eval-expression): Note what it does if called
14035 interactively (bug#6495).
14036
bee0fcef
CY
140372011-07-13 Chong Yidong <cyd@stupidchicken.com>
14038
b796c9b7
SM
14039 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14040 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14041
14042 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14043 Remove switch-to-buffer.
14044
58274504
LMI
140452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14046
bd2fcc8d
LMI
14047 * files.el (make-directory): Clarify that an error will be raised
14048 if there's an error (bug#6397).
14049
0f04b32c
LMI
14050 * startup.el (initial-buffer-choice): Add `none' as a choice
14051 (bug#6234).
14052
465c5fc8
LMI
14053 * subr.el (add-hook): Clarify section about buffer-local hooks
14054 (bug#6218).
14055
58274504
LMI
14056 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14057
bead9a43
JB
140582011-07-13 Juanma Barranquero <lekktu@gmail.com>
14059
14060 * tabify.el (untabify): Preserve the current column so that point
14061 doesn't move (bug#6032).
14062
3af98a7b
LMI
140632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14064
b796c9b7
SM
14065 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14066 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14067
6240145a
GM
140682011-07-13 Glenn Morris <rgm@gnu.org>
14069
14070 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14071 (dired-insert-directory): Give a message the first time
14072 if ls is found not to support --dired.
14073
1d8c2ccc
LMI
140742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14075
14076 * simple.el (toggle-truncate-lines): Clarify what is toggled
14077 (bug#5580). Text by Drew Adams.
14078
5fc4038e
CY
140792011-07-13 Chong Yidong <cyd@stupidchicken.com>
14080
14081 * simple.el (blink-matching-open): Make the error message from the
14082 last change less verbose.
14083
bf6012e5
DN
140842011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14085
14086 * font-lock.el (font-lock-comment-face): Use the high contrast
14087 "yellow" color for font-lock-comment-face on low color terminals
14088 using a dark background color (bug#4221).
14089
343c3b5a
LMI
140902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14091
7e9505c5
LMI
14092 * dired.el (dired-insert-set-properties): Make the doc string
14093 reflect what it does now (bug#5325).
14094
c26fdcf5
LMI
14095 * simple.el (blink-matching-open): Say that we were unable to find
14096 the match within the limit, if we're limited (bug#5122).
14097
bb388cc5
LMI
14098 * international/mule-cmds.el (prefer-coding-system): Add an
14099 example (bug#4869).
14100
343c3b5a
LMI
14101 * progmodes/etags.el (tags-search): Document `file-list-form'
14102 (bug#4731).
14103
2a517d45
LM
141042011-07-13 Lawrence Mitchell <wence@gmx.li>
14105
14106 * net/browse-url.el (browse-url-default-browser)
14107 (browse-url-browser-function): Make the default browser choice a
14108 bit more logical (bug#4300). Also clean up the doc string.
14109
b6c78ef2
JB
141102011-07-13 Juanma Barranquero <lekktu@gmail.com>
14111
14112 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14113 binary endings (bug#4440).
14114
1c4dd947
LMI
141152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14116
a2014063
LMI
14117 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14118 which can be pretty annoying (bug#8971).
14119
9c9c2d88
LMI
14120 * jka-compr.el (jka-compr-verbose): New variable, and use
14121 throughout (bug#8971).
14122
1c4dd947
LMI
14123 * info.el (Info-find-file): Fall back on the installation
14124 directory if we can't find the info node anywhere else.
14125
a1c9f41b
SO
141262011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14127
14128 * vc/vc.el (vc-revert-file):
14129 Don't set file time-stamp in the past. (Bug#5181)
14130
536f3d36
LMI
141312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14132
7152b011
LMI
14133 * files.el (after-find-file): Give a better error message when
14134 trying to find a symlink that points to a file that doesn't exist
14135 (bug#4398).
14136
536f3d36
LMI
14137 * progmodes/cc-vars.el: Remove (probably) misleading comment
14138 (bug#4396).
14139
460c0fba
JB
141402011-07-12 Johan Bockgård <bojohan@gnu.org>
14141
14142 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14143
7a6bda45
CY
141442011-07-12 Chong Yidong <cyd@stupidchicken.com>
14145
14146 * mouse-sel.el: Hack restoring functionality, while keeping
14147 compatibility with 2010-07-03 changes to mouse selection.
14148 (mouse-sel-primary-overlay): New var.
14149 (mouse-sel-selection-alist): Use it.
14150 (mouse-sel-mode): Doc fix; remove points that are default features
14151 of mouse.el.
14152
c79598ef
JB
141532011-07-12 Johan Bockgård <bojohan@gnu.org>
14154
14155 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14156 Fix previous fix (bug#2490).
14157
ff8be6ef
RW
141582011-07-12 Roland Winkler <winkler@gnu.org>
14159
b796c9b7
SM
14160 * textmodes/bibtex.el (bibtex-initialize):
14161 Use pop-to-buffer-same-window.
ff8be6ef
RW
14162 (bibtex-search-entries): Fix interactive call.
14163
296ba3ee
LMI
141642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14165
f5242a02 14166 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14167 Fontise bytecomp Error lines more correctly (bug#2490).
14168 Fix suggested by Johan Bockgård.
f5242a02 14169
296ba3ee
LMI
14170 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14171
14172 * dired-x.el (dired-guess-default): Use `delete-dups'.
14173
f69fd0d2
CY
141742011-07-12 Chong Yidong <cyd@stupidchicken.com>
14175
14176 * dired.el (dired-mark-prompt):
14177 * dired-aux.el (dired-read-shell-command): Doc fix.
14178
eab5dc07
LMI
141792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14180
b796c9b7
SM
14181 * mail/sendmail.el (sendmail-query-once):
14182 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14183 emacs -Q.
14184
14185 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14186
eab5dc07
LMI
14187 * cus-edit.el (custom-file): Take an optional no-error variable.
14188 (customize-save-variable): Set the variable, and give a warning if
14189 running under "emacs -q".
14190
a1e65d42
JB
141912011-07-11 Juanma Barranquero <lekktu@gmail.com>
14192
14193 * loadhist.el (unload-feature-special-hooks):
14194 Add `auto-coding-functions', `fill-nobreak-predicate' and
14195 `find-directory-functions' (bug#5327).
14196
1d52da10
LMI
141972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14198
be958f1d
LMI
14199 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14200
5bedb26c
LMI
14201 * cus-edit.el (custom-guess-name-alist): -alist variables should
14202 use the `alist' type (bug#3120). Suggested by Drew Adams.
14203
1d52da10
LMI
14204 * printing.el: Add documentation to all the `pr-toggle-' commands.
14205
cd394be1 142062011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14207
14208 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14209 backends where it makes sense (bug#2623).
14210
dcc88d8a
LMI
142112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14212
c3de9feb
LMI
14213 * dired-x.el (dired-guess-default): Remove duplicate shell command
14214 entries (bug#2028).
8a93078b 14215 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14216 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14217
dcc88d8a
LMI
14218 * subr.el (remove-duplicates): New conveniency function.
14219
505e3645
LMI
142202011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14221
14222 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14223 (bug#1526).
14224
142252011-07-10 Martin Rudalics <rudalics@gmx.at>
14226
14227 * window.el (display-buffer-normalize-default): Don't invert
14228 meaning of even-window-heights. Reported by Eli Zaretskii
14229 <eliz@gnu.org>.
14230
455e4fa1
BR
142312011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14232
14233 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14234
8e0bc3e9
CY
142352011-07-10 Chong Yidong <cyd@stupidchicken.com>
14236
14237 * window.el (display-buffer): Fix arguments to
14238 display-buffer-reuse-window in last change.
14239
fa7c3228
CY
14240 * faces.el (link): Use a less saturated blue on light backgrounds.
14241
14242 * startup.el (fancy-startup-text, fancy-about-text)
14243 (fancy-startup-tail): Use font-lock faces, for background safety.
14244
c0a7f300
BN
142452011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14246
b796c9b7
SM
14247 * emulation/viper-cmd.el (viper-change-state-to-vi):
14248 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14249
4dc2a129
MR
142502011-07-09 Martin Rudalics <rudalics@gmx.at>
14251
14252 * window.el (display-buffer-default-specifiers): Remove.
14253 (display-buffer-macro-specifiers): Remove default specifiers.
14254 (display-buffer-alist): Default to nil.
b796c9b7 14255 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14256 (display-buffer-pop-up-window): Allow splitting internal
14257 windows. Check whether a live window was created.
14258 (display-buffer-other-window-means-other-frame)
14259 (display-buffer-normalize-arguments): Rename to
14260 display-buffer-normalize-argument and rewrite. Set the
14261 other-window specifier.
14262 (display-buffer-normalize-special): New function.
14263 (display-buffer-normalize-options): Rename to
14264 display-buffer-normalize-default and rewrite.
14265 (display-buffer-normalize-options-inhibit): Remove.
14266 (display-buffer-normalize-specifiers): Rewrite.
14267 (display-buffer): Process other-window specifier and call
14268 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14269 more faithfully.
b796c9b7 14270 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14271 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14272 (display-buffer-in-window, display-buffer-alist-set):
14273 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14274 <tassilo@member.fsf.org>.
14275
2d43b8c9
LL
142762011-07-09 Leo Liu <sdl.web@gmail.com>
14277
14278 * register.el (insert-register): Restore accidental change on
14279 2011-06-26. (Bug#9028)
14280
7f9b7c53
GM
142812011-07-09 Glenn Morris <rgm@gnu.org>
14282
14283 * subr.el (remq): Handle the empty list. (Bug#9024)
14284
f042cfd8
AS
142852011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14286
14287 * mail/sendmail.el (send-mail-function): No longer delay custom
14288 initialization.
14289 * custom.el (custom-initialize-delay): Doc fix.
14290
856b2f11
SM
142912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14292
14293 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14294
afae1d68
MA
142952011-07-08 Michael Albinus <michael.albinus@gmx.de>
14296
14297 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14298 human-friendly prompt.
14299
0757af94
SM
143002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14301
14302 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14303 provided by a particular plugin.
14304
d760b731
LMI
143052011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14306
14307 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14308 save customizations (with "emacs -Q"), just set the variable
14309 instead of erroring out.
14310
14311 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14312
cd79ce90
JL
143132011-07-08 Juri Linkov <juri@jurta.org>
14314
14315 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14316 (archive-zip-update-case): Use 7z if found by `executable-find'.
14317 The order of searching the available programs is the same as in
14318 `archive-zip-extract' (bug#8968).
14319
14cc04aa
CY
143202011-07-07 Chong Yidong <cyd@stupidchicken.com>
14321
14322 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14323 (menu-bar-options-menu): Tweak descriptions.
14324
0a1848ec
LMI
143252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14326
14327 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14328 menu items into verb phrases (bug#1421). Also refill to fit under
14329 80 columns.
14330
f5bd0689
CY
143312011-07-07 Chong Yidong <cyd@stupidchicken.com>
14332
538e85c6
CY
14333 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14334 (Info-read-node-name): Doc fix (Bug#1084).
14335
f5bd0689
CY
14336 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14337 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14338 (end-of-sexp, beginning-of-sexp)
14339 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14340 (forward-symbol, forward-same-syntax, word-at-point)
14341 (sentence-at-point): Doc fix (Bug#1144).
14342
56ec5115
LMI
143432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14344
f3f8e37f
LMI
14345 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14346 should cover it (bug#1281).
14347
0757af94 14348 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14349
e9fce1ac 14350 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14351 negotiation fails, then possibly try again with a non-encrypted
14352 connection (bug#9017).
14353
56ec5115
LMI
14354 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14355 be used.
14356
c2f9aec8
RS
143572011-07-07 Richard Stallman <rms@gnu.org>
14358
14359 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14360 property, and handle its changed format.
14361 Look for the correct line number.
14362 Use file's line contents (but not past first =) to find
14363 correct line in message.
14364
ef7b981d 143652011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14366
14367 * international/characters.el (build-unicode-category-table):
14368 Delete it.
0757af94 14369 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14370
0757af94 14371 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14372 to src/chartab.c.
14373 (get-char-code-property): Call unicode-property-table-internal to
14374 load a file. Call get-unicode-property-internal where necessary.
14375 (put-char-code-property): Call unicode-property-table-internal to
14376 load a file. Call put-unicode-property-internal where necessary.
14377 put-unicode-property-internal where necessary.
0757af94
SM
14378 (char-code-property-description):
14379 Call unicode-property-table-internal to load a file.
c805dec0
KH
14380
14381 * international/charprop.el:
14382 * international/uni-bidi.el:
14383 * international/uni-category.el:
14384 * international/uni-combining.el:
14385 * international/uni-comment.el:
14386 * international/uni-decimal.el:
14387 * international/uni-decomposition.el:
14388 * international/uni-digit.el:
14389 * international/uni-lowercase.el:
14390 * international/uni-mirrored.el:
14391 * international/uni-name.el:
14392 * international/uni-numeric.el:
14393 * international/uni-old-name.el:
14394 * international/uni-titlecase.el:
14395 * international/uni-uppercase.el: Regenerate.
14396
14397 * loadup.el: Load international/charprop.el before
14398 international/characters.
14399
e14b388a
CY
144002011-07-07 Chong Yidong <cyd@stupidchicken.com>
14401
14402 * window.el (next-buffer, previous-buffer): Signal an error if
14403 called from a minibuffer window.
14404
14405 * bindings.el: Revert 2011-07-04 change.
14406
354cf0ba
RS
144072011-07-06 Richard Stallman <rms@gnu.org>
14408
14409 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14410 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14411 Treat markers like ints.
14412 (rmail-mime-entity): Doc fix.
14413
a48868a7
LMI
144142011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14415
4906cd3d
LMI
14416 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14417 defcustom again for backwards compatibility.
14418
e0457abe
LMI
14419 * simple.el (shell-command-on-region): Fill.
14420
d67f7e1f
LMI
14421 * dired-aux.el (dired-kill-line): Add a doc string.
14422
fe204702
LMI
14423 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14424 to "\\sw\\|\\s_" (bug#358).
14425
a48868a7
LMI
14426 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14427 (dired-unmark-backward): Ditto.
14428 (dired-flag-backup-files): Ditto.
14429
14430 * dired-x.el (dired-mark-sexp): Ditto.
14431
aa8a705c
RS
144322011-07-06 Richard Stallman <rms@gnu.org>
14433
14434 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14435 (rmail-mime-entity): New arg TRUNCATED.
14436 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14437 New functions.
14438 (rmail-mime-save): Warn if entity is truncated.
14439 (rmail-mime-toggle-hidden): Likewise, for showing.
14440 (rmail-mime-process-multipart): Record when an entity is truncated.
14441
a9a936b9
RS
14442 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14443 if ENTITY is a string.
14444
1f2b92cb
LMI
144452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14446
f4f73198 14447 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14448 of faces when `M-C-x'-ing their definitions (bug#8378).
14449 Also clean up the code slightly.
f4f73198 14450
12b16734 14451 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14452 because that makes the colors go away.
12b16734 14453
f0691d22
LMI
14454 * mail/sendmail.el (send-mail-function): Change the default to
14455 `sendmail-query-once'.
9e87df06 14456 (sendmail-query-once): Add an autoload cookie.
f0691d22 14457
1f2b92cb
LMI
14458 * net/network-stream.el (network-stream-open-starttls): Try using
14459 a plain connection even if the server offered STARTTLS, and we
14460 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14461 capability. This should make smtpmail.el work in slightly more
14462 configurations.
14463
1cdd2a1b
MA
144642011-07-06 Michael Albinus <michael.albinus@gmx.de>
14465
14466 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14467 New defun.
14468 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14469
fbcc67e2
MM
144702011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14471
14472 * progmodes/sql.el: Version 3.0
0757af94 14473 (sql-product-alist): Add product :completion-object,
fbcc67e2 14474 :completion-column, and :statement attributes.
0757af94 14475 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14476 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14477 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14478 ansi keywords.
14479 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14480 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14481 (sql-oracle-show-reserved-words): New function for development.
14482 (sql-product-font-lock): Simplify for source code buffers.
14483 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14484 New functions.
14485 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14486 (sql-mode-map): Add statement movement functions.
14487 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14488 New variable.
fbcc67e2
MM
14489 (sql-statement-regexp, sql-beginning-of-statement)
14490 (sql-end-of-statement, sql-signum): New functions.
0757af94 14491 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14492 (sql-show-sqli-buffer): Bug fix.
14493 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14494 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14495 with sql-interactive-mode.
14496 (sql-save-connection): Save buffer local settings.
0757af94 14497 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14498 (sql-product-interactive): Bug fix.
14499 (sql-preoutput-hold): New variable.
14500 (sql-interactive-remove-continuation-prompt): Bug fixes.
14501 (sql-debug-redirect): New variable.
14502 (sql-str-literal): New function.
14503 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14504 Redesign.
fbcc67e2
MM
14505 (sql-oracle-save-settings, sql-oracle-restore-settings)
14506 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14507 (sql-completion-object, sql-completion-column)
14508 (sql-completion-sqlbuf): New variables.
14509 (sql-build-completions-1, sql-build-completions)
14510 (sql-try-completion): New functions.
14511 (sql-read-table-name): Use them.
14512 (sql-contains-names): New buffer local variable.
14513 (sql-list-all, sql-list-table): Use it.
14514 (sql-oracle-completion-types): New variable.
14515 (sql-oracle-completion-object, sql-sqlite-completion-object)
14516 (sql-postgres-completion-object): New functions.
14517
d4eaeab1
GM
145182011-07-06 Glenn Morris <rgm@gnu.org>
14519
14520 * window.el (pop-to-buffer): Doc fix.
14521
322b7dab 145222011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14523
14524 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14525
322b7dab 145262011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14527
322b7dab 14528 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14529
322b7dab 14530 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14531
605dd5bf
CY
145322011-07-05 Chong Yidong <cyd@stupidchicken.com>
14533
14534 * button.el (button): Inherit from link face. Suggested by Dan
14535 Nicolaescu.
14536
7dbfa719
SM
145372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14538
3db614b0
SM
14539 * progmodes/gdb-mi.el: Fit in 80 columns.
14540 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14541 switch-to-buffer.
14542
7dbfa719
SM
14543 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14544 if imenu is simply not configured (bug#8941).
14545
919d884a
KM
145462011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14547
14548 * allout.el (allout-post-undo-hook): New allout outline-change
14549 event hook to signal undo activity.
14550 (allout-post-command-business): Run allout-post-undo-hook if an
14551 undo just occurred.
7dbfa719
SM
14552 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14553 * allout-widgets.el (allout-widgets-after-undo-function):
14554 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14555 in the vicinity of an undo.
14556 (allout-widgets-mode): Include allout-widgets-after-undo-function
14557 on the new allout-post-undo-hook.
14558
450a0f09
SM
145592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14560
14561 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14562 Let define-derived-mode define it.
14563 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14564 cycles of abbrev-table inheritance (bug#8998).
14565
2de69e00
RW
145662011-07-05 Roland Winkler <winkler@gnu.org>
14567
14568 * textmodes/bibtex.el: Add support for biblatex.
14569 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14570 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14571 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14572 (bibtex-entry-alist, bibtex-field-alist): New variables.
14573 (bibtex-entry-field-alist): Obsolete alias for
14574 bibtex-BibTeX-entry-alist.
14575 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14576 (bibtex-set-dialect): New command.
14577 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14578 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14579 Bind via bibtex-set-dialect.
2de69e00
RW
14580 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14581 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14582 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14583 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14584 Define via bibtex-set-dialect.
450a0f09
SM
14585 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14586 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14587 (bibtex-vec-push, bibtex-vec-incr): New functions.
14588 (bibtex-format-entry, bibtex-field-list)
14589 (bibtex-print-help-message, bibtex-validate)
14590 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14591
2dcdbdd9
SM
145922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14593
14594 * progmodes/compile.el (compilation-goto-locus):
14595 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14596 * bs.el (bs-cycle-next, bs-cycle-previous):
14597 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14598 * bindings.el (mode-line-other-buffer):
14599 * autoinsert.el (auto-insert):
14600 * arc-mode.el (archive-extract):
14601 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14602
b27640fe
JB
146032011-07-05 Juanma Barranquero <lekktu@gmail.com>
14604
14605 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14606 Fix check of `emacs-lock-unlockable-modes'.
14607 Coerce true values of `emacs-lock--try-unlocking' to t.
14608
53bbe3ad
JB
146092011-07-05 Juanma Barranquero <lekktu@gmail.com>
14610
14611 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14612 * emacs-lock.el: New file.
14613
1d3cdbc7
JD
146142011-07-05 Julien Danjou <julien@danjou.info>
14615
14616 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14617 than `boundp' to check if face is set.
14618
9173deec
JB
146192011-07-05 Juanma Barranquero <lekktu@gmail.com>
14620
14621 * register.el (registerv-make):
14622 * window.el (window-min-height): Fix typos in docstrings.
14623
869795d6
JD
146242011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14625
9173deec 14626 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14627 Update doc string.
14628
b768cdcd
JB
146292011-07-04 Juanma Barranquero <lekktu@gmail.com>
14630
14631 * server.el (server-execute): Catch quit and call
14632 `server-return-error' to pass the error back to emacsclient and
14633 close the connection (bug#8942).
14634
13aa217b
KM
146352011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14636
14637 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14638 insecure exception for current topic. Also note that auto-saves
14639 are handled differently.
14640
5d3385a0 14641 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14642 State variables for tracking auto-save inhibition situation.
14643
14644 (allout-write-contents-hook-handler): Rename from
14645 'allout-write-file-hook-handler', and describe how it depends on
14646 write-contents-functions sensitivity to non-nil value to prevent
14647 file write.
14648
14649 (allout-auto-save-hook-handler): Remove. auto-save does not check
14650 this in individual buffers, only in the starting buffer, so this
14651 is not the right way for us to inhibit auto-save in a buffer
14652 according to its condition.
14653
14654 (allout-mode): Use new allout-write-contents-hook-handler, and
14655 only with write-contents-functions. Remove auto-save provisions -
14656 they're implemented elsewhere.
14657
14658 (allout-before-change-handler): If undo is in progress, note that
14659 for attention of allout-post-command-business.
14660
14661 (allout-post-command-business): If the command we're following was
14662 an undo, check for change in the status of encrypted items and
14663 adjust auto-save inhibitions accordingly.
14664
14665 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14666 according to whether there are or aren't any plain-text topics
14667 pending encryption.
14668
2dcdbdd9 14669 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14670 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14671 if there are plain-text topics pending encryption.
13aa217b
KM
14672
14673 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14674 buffer-saved-size and some allout state to not inhibit auto-saves
14675 if there are no longer any plain-text topics pending encryption.
14676
0757af94
SM
14677 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14678 No longer provide for exemption of the current topic.
13aa217b 14679
ac89b32c
JL
146802011-07-04 Juri Linkov <juri@jurta.org>
14681
14682 Add 7z operations to delete and save changed members (bug#8968).
14683 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14684 New defcustoms.
14685 (archive-7z-write-file-member): New function.
14686 (archive-7z-summarize): Fix the number of dashes in the
14687 listing output.
14688
8fa39615
SM
146892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14690
14691 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14692 (bug#8958).
14693
2f11b3f1
CY
146942011-07-04 Chong Yidong <cyd@stupidchicken.com>
14695
d66fef2b
CY
14696 * bindings.el: Ignore next-buffer and previous-buffer in
14697 minibuffer-local-map.
14698
2f11b3f1
CY
14699 * font-lock.el (font-lock-builtin-face): Change light background
14700 color to dark slate blue (Bug#6693).
14701
f932a347
WD
147022011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14703
14704 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14705
c8af70e1
SM
147062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14707
14708 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14709 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14710 Add switch-to-buffer.
14711
f158badc
LMI
147122011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14713
14714 * isearch.el (isearch-search-fun-function): Clarify further the
14715 meaning of the function returned.
14716
6d95bd46
MA
147172011-07-04 Michael Albinus <michael.albinus@gmx.de>
14718
14719 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14720
14721 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14722 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14723 Use it.
14724 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14725 `tramp-default-remote-path' does not exist.
14726 (tramp-send-command-and-read): New optional argument NOERROR.
14727 (tramp-open-connection-setup-interactive-shell)
14728 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14729 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14730 (tramp-process-sentinel): Flush also process' connection property.
14731 (tramp-sh-handle-start-file-process): Do not set process
14732 sentinel. It is done now ...
14733 (tramp-maybe-open-connection): ... here. (Bug#8929)
14734
909e6b67
MK
147352011-07-04 MON KEY <monkey@sandpframing.com>
14736
14737 * play/animate.el (animate-string): Doc fixes and allow changing
14738 the buffer name (bug#5417).
14739
147402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14741
c8af70e1 14742 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14743
f34755dc
PE
147442011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14745
396cec72
PE
14746 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14747 This is simpler and helps future-proof the code.
14748 (timer-until): Use time-subtract and float-time.
08235028 14749 (timer--time-less-p): Use time-less-p.
f34755dc 14750
56e6cc31
JB
147512011-07-04 Juanma Barranquero <lekktu@gmail.com>
14752
3abb79e5
JB
14753 * type-break.el (timep): Use the value of `float-time' to avoid a
14754 byte-compiler warning.
14755
56e6cc31
JB
14756 * server.el (server-eval-and-print): Return any result, even nil.
14757
7b9430b4
PE
147582011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14759
14760 * type-break.el: Accept time formats that the builtins accept.
14761 (timep, type-break-time-difference): Accept any format that
14762 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14763 This is simpler and helps future-proof the code.
14764 (type-break-time-difference): Round rather than ignoring
14765 subseconds components.
14766
3034e9e7
LMI
147672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14768
14769 * info.el (Info-apropos-matches): Make non-interactive, since it
14770 doesn't seem to do anything useful as a command (bug#8829).
14771
1485f4c0
CY
147722011-07-03 Chong Yidong <cyd@stupidchicken.com>
14773
14774 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14775 Move from faces.el.
1485f4c0
CY
14776 (frame-default-terminal-background): New function.
14777
14778 * custom.el (custom-push-theme): Don't record faces in `changed'
14779 theme; this doesn't work correctly for per-frame face settings.
14780 (disable-theme): Use face-set-after-frame-default to reset faces.
14781 (custom--frame-color-default): New function.
14782
9fa3dd45
LMI
147832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14784
c8af70e1 14785 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14786 (bug#8769).
14787
6cbbc20c
KR
147882011-03-29 Kevin Ryde <user42@zip.com.au>
14789
14790 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14791 `perl-Test2' extend to match possible "fail #N" rep count
14792 (bug#8377).
14793
c7f98048
LMI
147942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14795
65676592
LMI
14796 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14797 `smtpmail-via-smtp' now returns the error instead of nil.
14798
c7f98048
LMI
14799 * isearch.el (isearch-search-fun-function): Clarify the doc string
14800 (bug#8101).
14801
56e6cc31 148022011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14803
14804 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14805 unnecessary spaces (bug#8987).
14806
2b216704
LMI
148072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14808
14809 * net/network-stream.el (open-network-stream): Use the
14810 :end-of-capability command thoughout.
14811
148122011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14813
14814 * net/network-stream.el (open-network-stream): Add the
14815 :end-of-capability command parameter, used by pop3.el.
14816
36adf6ce
LMI
148172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14818
1ca0da0e
LMI
14819 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14820
fc00f69c
LMI
14821 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14822 for list)" (bug#6475).
14823
28fd8759 14824 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14825 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14826 an error (bug#6297).
14827
0dd8b6da
LMI
14828 * man.el (Man-reference-regexp): Allow matching possible
14829 word-wrapped references (bug#6289).
14830
ce1438d6
LMI
14831 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14832 for consistency with the other vc buffers (bug#6197).
14833 (vc-checkin): Ditto.
14834
14835 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14836
36adf6ce
LMI
14837 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14838
e83cc1f7
LMI
148392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14840
8a20ca4c
LMI
14841 * custom.el (defcustom): Clarify that :set is only used in the
14842 Customize user interface (bug#6089).
14843
83319045
LMI
14844 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14845 associated with a file, refuse to run instead of erroring out
14846 (bug#6084).
14847
a8392169
LMI
14848 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14849 the doc string, since it appears that using `fill-column' always
14850 controls the width (bug#7845).
14851
e83cc1f7
LMI
14852 * simple.el (shell-command-on-region): Say where the error output
14853 went if `shell-command-default-error-buffer' is set (bug#6857).
14854
e47ca23b
KM
148552011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14856
14857 * allout.el (allout-yank-processing): Adjust cursor position for
14858 backwards-deleted space.
14859
14860 (allout-rebullet-heading): Register changes with
14861 allout-exposure-changed-hook, so the modified topic is properly
14862 decorated.
14863
5cf56143
LMI
148642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14865
08549772
LMI
14866 * minibuffer.el (completion-in-region): Document PREDICATE
14867 (bug#7136).
14868
48e96771
LMI
14869 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14870 of keyword/argument pairs (bug#6904).
14871
c8af70e1
SM
14872 * replace.el (multi-occur):
14873 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14874
e17d05e2
LMI
148752011-07-02 Drew Adams <drew.adams@oracle.com>
14876
14877 * dired.el (dired-mark-if): Make the message about whether it's
14878 marking or unmarking clearer (bug#8523).
14879
063b0e45
LMI
148802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14881
14882 * disp-table.el (display-table-print-array): New function.
14883 (describe-display-table): Use it to print the vectors more pretty
14884 (Bug#8859).
14885
28545e04
MR
148862011-07-02 Martin Rudalics <rudalics@gmx.at>
14887
14888 * window.el (window-state-get-1): Don't assign clone numbers.
14889 Add clone-of item to list of window parameters.
14890 (window-state-put-2): Don't process clone numbers.
14891 (display-buffer-alist): Fix doc-string.
14892
3349e122
SM
148932011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14894
14895 * subr.el (remq): Don't allocate if it's not needed.
14896 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14897 (keymap--merge-bindings): New functions.
14898 (keymap-canonicalize): Use them to refine the canonicalization.
14899 * minibuffer.el (minibuffer-local-completion-map)
14900 (minibuffer-local-must-match-map): Move initialization from C.
14901 (minibuffer-local-filename-completion-map): Move initialization from C;
14902 don't inherit from anything here.
14903 (minibuffer-local-filename-must-match-map): Make obsolete.
14904 (completing-read-default): Use make-composed-keymap to combine
14905 minibuffer-local-filename-completion-map with either
14906 minibuffer-local-must-match-map or
14907 minibuffer-local-filename-completion-map.
14908
d224ac83
GM
149092011-07-01 Glenn Morris <rgm@gnu.org>
14910
3de63bf8
GM
14911 * type-break.el (type-break-time-sum): Use dolist.
14912
d224ac83
GM
14913 * textmodes/flyspell.el (flyspell-word-search-backward):
14914 Replace CL function.
14915
1a1e3f32
SM
149162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14917
fe3f64d5
SM
14918 * mouse.el (mouse--strip-first-event): New function.
14919 (function-key-map): Use it to map fringe clicks to normal clicks
14920 by default.
14921
eb604e34
SM
14922 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14923 (vc-bzr-revision-completion-table): Add support for annotate and date.
14924
1a1e3f32
SM
14925 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14926 inherit from parent.
14927
5bd35902
LMI
149282011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14929
ace6c69c 14930 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14931 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14932
191e2bed
LMI
14933 * dired.el (dired-mode): Fix up the doc string as suggested by
14934 Drew Adams (bug#8817).
14935
5bd35902
LMI
14936 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14937 cookie, since the manual says that it should be possible to add
14938 this function to `find-file-hook' (bug#8709).
14939
eee8207a
TZ
149402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14941
14942 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14943 here. Noted Ted Zlatanov as the maintainer.
14944 (cfengine-common-settings, cfengine-common-syntax): New functions
14945 to set up common things between `cfengine-mode' and
14946 `cfengine3-mode'.
14947 (cfengine3-mode): New mode.
14948 (cfengine3-defuns cfengine3-defuns-regex
14949 (cfengine3-class-selector-regex cfengine3-category-regex)
14950 (cfengine3-vartypes cfengine3-font-lock-keywords)
14951 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14952 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14953
36b148cf
MA
149542011-07-01 Michael Albinus <michael.albinus@gmx.de>
14955
14956 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14957
14958 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14959
0bf4ba9a
MR
149602011-07-01 Martin Rudalics <rudalics@gmx.at>
14961
14962 * window.el (same-window-buffer-names, same-window-regexps)
14963 (same-window-p, special-display-frame-alist)
14964 (special-display-popup-frame, special-display-function)
14965 (special-display-buffer-names, special-display-regexps)
14966 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14967 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14968 (split-window-preferred-function, split-height-threshold)
14969 (split-width-threshold, even-window-heights)
14970 (display-buffer-mark-dedicated, window-splittable-p)
14971 (split-window-sensibly, window-safely-shrinkable-p):
14972 Un-obsolete.
14973 (display-buffer): Don't spread args with function specifier
14974 because special-display-popup-frame won't like it.
14975
35837f51
PE
149762011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14977
d0672f86
PE
14978 Time-stamp simplifications and fixes.
14979 These improve accuracy slightly, and future-proof the code
14980 against some potential changes to current-time format.
14981
b9444d97
PE
14982 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14983 by using time-since and float-time.
14984
0ef923dc
PE
14985 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14986 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14987 + NNN microseconds".
14988
2f81380d
PE
14989 * type-break.el (type-break-time-sum): Rewrite using time-add.
14990
845b5c3e
PE
14991 * play/hanoi.el (hanoi-current-time-float): Remove.
14992 All uses replaced by float-time.
14993
ee6f1be0
PE
14994 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14995 This yields a more-accurate answer.
14996 (rng-time-to-float): Remove; no longer needed.
14997
fe955043
PE
14998 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14999
5777162a
PE
15000 * calendar/timeclock.el (timeclock-seconds-to-time):
15001 Defalias to seconds-to-time, since they're the same thing.
15002
3103f8b6 15003 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15004 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15005 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15006
0e61a35f
SM
150072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15008
15009 * window.el (bury-buffer): Don't iconify the only frame.
15010 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15011 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15012
ddd63a1e
CY
150132011-07-01 Chong Yidong <cyd@stupidchicken.com>
15014
0e61a35f
SM
15015 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15016 Add mouse-yank-primary.
ddd63a1e 15017
055f4923
TZ
150182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15019
15020 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15021
6a2fb145
SM
150222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15025 (find-library-name): Use it to find relative load names when provided
15026 absolute file name (bug#8803).
15027
fd4983f2
LMI
150282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15029
887d14ad
LMI
15030 * textmodes/flyspell.el (flyspell-word): Consider words that
15031 differ only in case as potential doublons (bug#5687).
15032
c53dc7fc
LMI
15033 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15034 Remove two rather uninteresting debugging-like messages to make
15035 debbugs.el more silent.
15036
fd4983f2
LMI
15037 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15038 a password-like phrase.
15039
7a71b18d 150402011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15041
15042 * progmodes/cc-guess.el: New file.
15043
6a2fb145 15044 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15045
15046 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15047 derived from `c-basic-common-init'.
15048
15049 * progmodes/cc-mode.el (top-level): Require cc-guess.
15050 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15051
1fa280a3
LM
150522011-06-30 Lawrence Mitchell <wence@gmx.li>
15053
15054 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15055
e6597158
AM
150562011-06-30 Alan Mackenzie <acm@muc.de>
15057
1fa280a3
LM
15058 * progmodes/cc-engine.el (c-guess-continued-construct):
15059 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15060 lock is disabled. Name this case as "CASE G".
15061
68ba37fb
KM
150622011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15063
15064 * allout.el (allout-yank-processing): Fix injection of extra space
15065 between bullet and non-whitespace character in first topic when
15066 pasting, ensuring that the actual spacing in the pasted topic
15067 following the bullet char is preserved. This extra space was
15068 causing pasted encrypted topics to get a decrypted status even
15069 when the content was actually still encrypted. Now the decryption
15070 status from before the paste is preserved.
15071
15072 (allout-flag-region): Set all allout overlays so they evaporate
15073 when reduced to zero length (evanescent), to prevent overlay
15074 leakage.
15075
887a0b34
GM
150762011-06-30 Glenn Morris <rgm@gnu.org>
15077
94b9acce
GM
15078 * w32-fns.el (w32-charset-info-alist): Declare.
15079
1d9b46d4
GM
15080 * find-dired.el (find-grep-options): Simplify.
15081
cc232200
GM
15082 * term/ns-win.el (ns-set-resource): Declare.
15083
28e77c46
GM
15084 * ses.el (row, col): Declare dynamic variables honestly.
15085
887a0b34
GM
15086 * textmodes/reftex-parse.el (index-tags): Declare.
15087
658d8eb8
CY
150882011-06-30 Chong Yidong <cyd@stupidchicken.com>
15089
15090 * cus-edit.el (customize-push-and-save): New function.
15091
15092 * files.el (hack-local-variables-confirm): Use it.
15093
1fa280a3
LM
15094 * custom.el (load-theme): New arg NO-CONFIRM.
15095 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15096 (custom-enabled-themes): Doc fix.
15097
15098 * cus-theme.el (customize-create-theme)
15099 (custom-theme-merge-theme): Callers to load-theme changed.
15100
bb617717
LMI
151012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15102
d61bdd5d
LMI
15103 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15104 short URLs have at least one dot in them (bug #7614).
15105
bb617717
LMI
15106 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15107 nil, because using a pty is apparently too slow (bug #895).
15108
2f31f37a
LMI
151092011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15110
15111 * mail/sendmail.el (sendmail-query-once): New function.
15112 (sendmail-query-once-function): New variable.
15113
3076b24e
GM
151142011-06-29 Glenn Morris <rgm@gnu.org>
15115
faf2a174
GM
15116 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15117
3076b24e
GM
15118 * ses.el (top-level): Require cl when compiling.
15119 (ses-set-localvars): Fix error statement.
15120 Call it at compile time to silence a storm of warnings.
15121
5386012d
MR
151222011-06-29 Martin Rudalics <rudalics@gmx.at>
15123
15124 * window.el (normalize-live-buffer): Rename to
15125 window-normalize-buffer.
15126 (normalize-live-frame): Rename to window-normalize-frame.
15127 (normalize-any-window): Rename to window-normalize-any-window.
15128 (normalize-live-window): Rename to window-normalize-live-window.
15129 (make-window-atom): Rename to window-make-atom.
15130 (window-resize-reset): Rename to window--resize-reset.
15131 (window-resize-reset-1): Rename to window--resize-reset-1.
15132 (resize-mini-window): Rename to window--resize-mini-window.
15133 (resize-subwindows-skip-p): Rename to
15134 window--resize-subwindows-skip-p.
15135 (resize-subwindows-normal): Rename to
15136 window--resize-subwindows-normal.
15137 (resize-subwindows): Rename to window--resize-subwindows.
15138 (resize-other-windows): Rename to window--resize-siblings.
15139 (resize-this-window): Rename to window--resize-this-window.
15140 (resize-root-window): Rename to window--resize-root-window.
15141 (resize-root-window-vertically): Rename to
15142 window--resize-root-window-vertically.
15143 (normalize-buffer-to-display): Rename to
15144 window-normalize-buffer-to-display.
15145 (normalize-buffer-to-switch-to): Rename to
15146 window-normalize-buffer-to-switch-to.
15147 Correspondingly update all callers of the functions listed
15148 above.
15149 (display-buffer-alist, display-buffer-normalize-arguments)
15150 (display-buffer-normalize-options, display-buffer)
15151 (display-buffer-alist-set): Use "function" instead of
15152 "fun-with-args".
15153
1176868d
CY
151542011-06-28 Chong Yidong <cyd@stupidchicken.com>
15155
15156 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15157 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15158 debbugs.gnu.org. Mention acknowledgment email.
15159
20a7a65f
LMI
151602011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15161
15162 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15163 buffer multibyteness, since it shouldn't matter.
15164
5f45cca5
MR
151652011-06-28 Martin Rudalics <rudalics@gmx.at>
15166
15167 * window.el (display-buffer-in-side-window): Handle dedicated
15168 windows as in display-buffer-reuse-window.
15169 (display-buffer-normalize-alist): Use value of override
15170 specifier.
15171 (display-buffer-normalize-specifiers): Use value of
15172 other-window-means-other-frame specifier.
15173 (display-buffer-alist): Rewrite some texts in widgets.
15174 (display-buffer): Spread arguments when calling function
15175 specified by fun-with-args.
15176
ad85fe1f
DD
151772011-06-28 Deniz Dogan <deniz@dogan.se>
15178
1fa280a3
LM
15179 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15180 Unnest `let'.
da68c4c8 15181
ad85fe1f
DD
15182 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15183 selectors (Bug#5732).
ec49bd31 15184 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15185
a08cc025
JA
151862011-06-27 Jari Aalto <jari.aalto@cante.net>
15187
15188 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15189 (eshell-ls-date-format): New defcustom.
15190 (eshell-ls-file): Use it.
15191
e2b551c5
SM
151922011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15193
15194 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15195
8982b231
KY
151962011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15197
15198 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15199 (ange-ftp-make-tmp-name): New arg.
15200 (ange-ftp-file-local-copy): Use it.
15201
36c9fa27
J
152022011-06-27 Jambunathan K <kjambunathan@gmail.com>
15203
15204 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15205 no-conversion (Bug#8870).
15206
d68443dc
MR
152072011-06-27 Martin Rudalics <rudalics@gmx.at>
15208
15209 * window.el (window-right, window-left, window-child)
15210 (window-child-count, window-last-child)
15211 (window-iso-combination-p, walk-window-tree-1)
15212 (window-atom-check-1, window-tree-1, delete-window)
15213 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15214 new naming conventions - window-vchild, window-hchild,
15215 window-next and window-prev are now called window-top-child,
15216 window-left-child, window-next-sibling and window-prev-sibling
15217 respectively.
d615d6d2
MR
15218 (resize-window-reset): Rename to window-resize-reset.
15219 (resize-window-reset-1): Rename to window-resize-reset-1.
15220 (resize-window): Rename to window-resize.
15221 (window-min-height, window-min-width)
15222 (resize-mini-window, resize-this-window, resize-root-window)
15223 (resize-root-window-vertically, adjust-window-trailing-edge)
15224 (enlarge-window, shrink-window, maximize-window)
15225 (minimize-window, delete-window, quit-restore-window)
15226 (split-window, balance-windows, balance-windows-area-adjust)
15227 (balance-windows-area, window-state-put-2)
15228 (display-buffer-even-window-sizes, display-buffer-set-height)
15229 (display-buffer-set-width, set-window-text-height)
15230 (fit-window-to-buffer): Rename all "resize-window" prefixed
15231 calls to use the "window-resize" prefix convention.
15232 (display-buffer-alist): Fix symbol for label specifier.
15233 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15234 corresponding specifier.
15235 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15236
b6458526
VB
152372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15238
15239 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15240 convention.
15241 (ses-call-printer): Does not pass an empty string to formatter when the
15242 cell is empty to keep from barking printer Calc math-format-value.
15243
d31fd9ac
RS
152442011-06-27 Richard Stallman <rms@gnu.org>
15245
43d5bf84
RS
15246 * battery.el (battery-mode-line-limit): New variable.
15247 (battery-update): Handle it.
15248
d31fd9ac
RS
15249 * mail/rmailmm.el (rmail-mime-process-multipart):
15250 Handle truncated messages.
15251
819a6054
GM
152522011-06-27 Glenn Morris <rgm@gnu.org>
15253
15254 * progmodes/flymake.el (flymake-err-line-patterns):
15255 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15256
cedc73f2
VB
152572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15258
819a6054 15259 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15260 (ses--clean-!, ses--clean-_): New functions.
15261 (ses-range): Add configurability of readout order, and conversion
15262 to Calc vector.
15263
5e5d49b6
VB
15264 * ses.el (ses-repair-cell-reference-all): New function.
15265 (ses-cell-symbol): Set macro as safe, so that it can be used in
15266 formulas.
15267
56e6cc31 15268 * ses.el: Update cycle detection algorithm.
90ca8b49 15269 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15270 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15271 (ses-set-localvars): New function.
15272 (ses-make-cell): Add property-list as a cell element.
15273 (ses-cell-property-get-fun, ses-cell-property-get)
15274 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15275 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15276 New functions.
90ca8b49
VB
15277 (ses-cell-property-set, ses-cell-property-pop)
15278 (ses-cell-property-get-handle): New macro.
15279 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15280 New aliases, used for code readability.
15281 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15282 cycle detection.
15283 (ses-self-reference-early-detection): New defcustom.
fac916bf 15284 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15285 (ses-mode): Use ses-set-localvars.
15286 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15287 before lauching the update processing.
15288 (ses-initialize-Dijkstra-attempt): New function.
15289 (ses-recalculate-cell): Update for cycle detection based on
15290 Dijkstra algorithm.
15291
2bb63e81
VB
15292 * ses.el: Fix commenting and indenting convention.
15293
c9d29fb8
SM
152942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * bs.el (bs-cycle-next): Complete last change.
15297
d8e4b68b
JB
152982011-06-27 Drew Adams <drew.adams@oracle.com>
15299
15300 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15301
40098786
LMI
153022011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15303
c9d29fb8
SM
15304 * net/network-stream.el (network-stream-open-starttls):
15305 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15306 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15307
40098786
LMI
15308 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15309 to binary to possibly avoid line encoding issues on Windows (among
15310 other things).
15311
468d09d4
LMI
153122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15313
15314 * net/network-stream.el (open-network-stream): Return an :error
15315 saying what the problem was, if possible.
15316
15317 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15318 server.
15319
15320 * net/network-stream.el (network-stream-open-starttls): If we
15321 wanted to use STARTTLS, and the server offered it, but we weren't
15322 able to because we had no STARTTLS support, then close the connection.
15323 (open-network-stream): Return an :error element, if present.
15324
16f07dd7
CY
153252011-06-26 Chong Yidong <cyd@stupidchicken.com>
15326
88821ca0
CY
15327 * hl-line.el (hl-line-sticky-flag): Doc fix.
15328 (global-hl-line-sticky-flag): New option (Bug#8323).
15329 (global-hl-line-highlight): Obey it.
15330
16f07dd7
CY
15331 * vc/vc.el (vc-revert-show-diff): Default to t.
15332
6b5ccddf
KM
153332011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15334
c9d29fb8
SM
15335 * allout-widgets.el (allout-widgets-post-command-business):
15336 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15337 undecorated when an isearch is continued past, and isearch
15338 automatically collapses them. This leads to "widget leaks", where
15339 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15340 hidden widgets can slow down cursor travel, substantially.
15341 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15342 so we're doing without this nicety.
15343
15344 (allout-widgets-tally-string): Don't try to do a hash-table-count
15345 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15346 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15347 *Messages* when allout-widgets-maintain-tally is t.
15348
355f2e07
MR
153492011-06-26 Martin Rudalics <rudalics@gmx.at>
15350
15351 * window.el (display-buffer-normalize-argument): Rename to
15352 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15353 LABEL argument. Respect special-display-function when popping up
15354 a new frame. Fix code searching for a window showing the buffer
15355 on another frame.
c9d29fb8
SM
15356 (display-buffer-normalize-specifiers):
15357 Call display-buffer-normalize-arguments.
355f2e07
MR
15358 (display-buffer-in-window): Don't undedicate the window if its
15359 buffer remains the same.
15360 Reported by Drew Adams <drew.adams@oracle.com>.
15361 (display-buffer-alist): Add choice for same-window macro
15362 specfier.
15363 (display-buffer): Mention special meaning of LABEL argument in
15364 doc-string. Fix quoting. Don't pop up a new frame even as
15365 fallback.
15366
7ca8fc42
JB
153672011-06-26 Juanma Barranquero <lekktu@gmail.com>
15368
15369 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15370 avoid deleting the current window in some cases (bug#8911).
15371
bc312254
AS
153722011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15373
15374 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15375 (Bug#8934)
15376
2db18f3f
LMI
153772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15378
c9d29fb8
SM
15379 * net/network-stream.el (network-stream-open-starttls):
15380 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15381 (network-stream-open-tls): Ditto.
15382
6302e0d3
LL
153832011-06-26 Leo Liu <sdl.web@gmail.com>
15384
15385 * register.el (registerv): New struct.
15386 (registerv-make): New function.
c9d29fb8
SM
15387 (jump-to-register, describe-register-1, insert-register):
15388 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15389 struct. (Bug#8415)
15390
5fdd4046
CY
153912011-06-26 Chong Yidong <cyd@stupidchicken.com>
15392
2afef60a
CY
15393 * vc/vc.el (vc-revert-show-diff): New defcustom.
15394 (vc-diff-internal): New arg specifying diff buffer.
15395 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15396 reuse an existing *vc-diff* buffer (Bug#8927).
15397
5fdd4046
CY
15398 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15399
e93db24a
GM
154002011-06-26 Glenn Morris <rgm@gnu.org>
15401
15402 * progmodes/f90.el (f90-critical-indent): New option.
15403 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15404 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15405 (f90-mode): Doc fix.
15406 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15407 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15408 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15409 (f90-match-end): Handle block, critical.
15410
eefff499
GM
154112011-06-25 Glenn Morris <rgm@gnu.org>
15412
f6ba4cc9
GM
15413 * calendar/diary-lib.el (diary-included-files): Doc fix.
15414 (diary-include-files): New function, extracted from
15415 diary-include-other-diary-files and diary-mark-included-diary-files.
15416 (diary-include-other-diary-files, diary-mark-included-diary-files):
15417 Just call diary-include-files.
15418 (diary-mark-entries): Reset diary-included-files on first call.
15419
16712304
GM
15420 * calendar/diary-lib.el (diary-mark-entries)
15421 (diary-mark-included-diary-files):
15422 Visit included diary-files in temp buffers.
15423
5d8e0d43
GM
15424 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15425 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15426 (f90-start-block-re, f90-imenu-generic-expression)
15427 (f90-looking-at-program-block-start, f90-no-block-limit):
15428 Add support for submodules.
15429
ccf7a5d5
GM
15430 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15431 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15432
11fdef7d 154332011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15434
15435 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15436 buffer-file-type before setting its value, to avoid disastrous
eefff499 15437 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15438
74f53697
JB
154392011-06-25 Juanma Barranquero <lekktu@gmail.com>
15440
15441 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15442
15443 * ses.el (ses-unload-function):
15444 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15445
15446 * proced.el (proced-unload-function):
15447 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15448
18a4ce5e
AR
154492011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15450
15451 * server.el (server-create-window-system-frame): Add parameters arg.
15452 (server-process-filter): Doc fix. Handle frame-parameters.
15453
519d22cc
JB
154542011-06-25 Juanma Barranquero <lekktu@gmail.com>
15455
15456 Fix bug#8730, bug#8781.
15457
15458 * loadhist.el (unload--set-major-mode): New function.
15459 (unload-feature): Use it.
15460
15461 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15462 (python-unload-function): New function.
15463
c206f5b0
SM
154642011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15465
15466 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15467
f9ad64f3
GS
154682011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15469
15470 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15471 the candidates list.
15472
7d0da90e
JB
154732011-06-24 Juanma Barranquero <lekktu@gmail.com>
15474
15475 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15476
14b4e83d
RS
154772011-06-23 Richard Stallman <rms@gnu.org>
15478
15479 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15480 (rmail-variables): Set next-error-move-function.
15481 (rmail-what-message): Take argument POS.
15482 (rmail-next-error-move): New function.
15483
273d2baf
SM
154842011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15485
15486 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15487 messages for adjacent non-terminals.
15488
56c2cc9a
RS
154892011-06-23 Richard Stallman <rms@gnu.org>
15490
15491 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15492 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15493 (rmail-start-mail): Don't specify use of rmail-mail-return;
15494 that's done by mail-bury now.
15495 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15496
d59eb518
MA
154972011-06-23 Michael Albinus <michael.albinus@gmx.de>
15498
15499 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15500 SIZE is a number.
15501
02cfc6d6
MR
155022011-06-23 Martin Rudalics <rudalics@gmx.at>
15503
15504 * window.el (get-lru-window, get-mru-window)
15505 (get-largest-window): Never return a minibuffer window.
15506 (display-buffer-pop-up-window): Fix a bug that could lead to
15507 reusing the minibuffer window.
15508 (display-buffer): Pass original specifier argument to
15509 display-buffer-function instead of the normalized one.
15510 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15511
4e323265
LL
155122011-06-22 Leo Liu <sdl.web@gmail.com>
15513
15514 * minibuffer.el (completing-read-function)
15515 (completing-read-default): Move from minibuf.c
15516
7a70468f
RS
155172011-06-22 Richard Stallman <rms@gnu.org>
15518
50718fc2
RS
15519 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15520 to Rmail even if not started by a special Rmail command.
15521
7a70468f
RS
15522 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15523 Copy the buffer currently showing just one message.
15524
297dde5a
RW
155252011-06-22 Roland Winkler <winkler@gnu.org>
15526
15527 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15528 (bibtex-clean-entry): First delete the old key so that a
15529 customized algorithm for generating the new key does not get
15530 confused by the old key.
15531 (bibtex-url): Obey regexp of first step.
15532 (bibtex-search-entries): Do not use add-to-list with local
15533 list-var.
15534
97bb1093
LMI
155352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15536
15537 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15538 stored a user name, then query for the password first, instead of
15539 waiting for SMTP to give an error message and the trying again.
15540
1c0f1a19
JD
155412011-06-22 Lawrence Mitchell <wence@gmx.li>
15542
15543 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15544 BUFFER in call-process.
15545
396f7c9d
LMI
155462011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15547
15548 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15549 QUIT twice.
ddb7ffee
LMI
15550 (smtpmail-try-auth-methods): Require user name and password from
15551 auth-source.
396f7c9d 15552
8998d1b3
MR
155532011-06-22 Martin Rudalics <rudalics@gmx.at>
15554
15555 * window.el (display-buffer-default-specifiers)
15556 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15557 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15558 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15559
15560 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15561 (special-display-frame-alist, special-display-popup-frame):
15562 Remove duplicate declarations. These are now in window.el.
15563
4ea31e07
LMI
155642011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15565
c9d29fb8
SM
15566 * mail/smtpmail.el (smtpmail-via-smtp):
15567 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15568 server supports it. SMTP servers that support STARTTLS commonly
15569 require it.
15570
15571 * net/network-stream.el (network-stream-open-starttls): Support
15572 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15573 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15574
95f41d9a
LMI
15575 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15576 upgrades with `open-network-stream', and rely solely on
15577 auth-source for all credentials. Big changes throughout the file,
15578 but in particular:
c9d29fb8
SM
15579 (smtpmail-auth-credentials): Remove.
15580 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15581 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15582 MAIL FROM, too.
95f41d9a 15583
c9d29fb8
SM
15584 * net/network-stream.el (network-stream-open-starttls):
15585 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15586 STARTTLS.
15587 (auth-source): Require.
15588 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15589 (network-stream-certificate): Change cert-cert to cert and
15590 cert-key to key.
4ea31e07 15591
065ec2c7
MA
155922011-06-21 Michael Albinus <michael.albinus@gmx.de>
15593
15594 * net/tramp-cache.el (top): Don't load the persistency file when
15595 "emacs -Q" has been called.
15596
cd93b359
DR
155972011-06-21 Tim Harper <timcharper@gmail.com>
15598
d8e4b68b
JB
15599 * term/ns-win.el (ns-initialize-window-system):
15600 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15601 resource to NO as it is not yet supported by the NS port.
15602
ae9c0411
JB
156032011-06-21 Juanma Barranquero <lekktu@gmail.com>
15604
15605 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15606 (list-dynamic-libraries): ...not here.
15607
7f3f739f
LL
156082011-06-21 Leo Liu <sdl.web@gmail.com>
15609
15610 * subr.el (sha1): Implement sha1 using secure-hash.
15611
327c8fb1
MR
156122011-06-21 Martin Rudalics <rudalics@gmx.at>
15613
15614 * window.el (display-buffer-alist): In default value do not
15615 enforce searching a window on any but the selected frame.
15616 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15617 (display-buffer-select-window): Remove function.
15618 (display-buffer-in-window): When a window on another frame gets
15619 reused, do not select it any more but just raise its frame if
15620 necessary (Bug#8851) and (Bug#8856).
15621 (display-buffer-normalize-options): Handle pop-up-frames related
15622 options more faithfully.
15623 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15624 window if it is on another frame.
c9d29fb8
SM
15625 (display-buffer-alist, display-buffer-default-specifiers):
15626 Don't make new frame unsplittable by default.
9e9de014
MR
15627 (display-buffer-normalize-argument): Fix doc-string typo and use
15628 'same-frame-other-window instead of 'other-window when associating
15629 with display-buffer-macro-specifiers.
327c8fb1 15630
7cf3f556
VB
156312011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15632
15633 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15634 New functions.
15635 (5x5-mode-map, 5x5-mode-menu): Bind them.
15636 (5x5-draw-grid): Tweak the solver's rendering.
15637
60a406cf
SM
156382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15641 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15642
d8e4b68b 156432011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15644
15645 * menu-bar.el: Use function variable instead of switch-to-buffer.
15646 (menu-bar-select-buffer-function): New variable.
60a406cf 15647 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15648
478d6f95
SM
156492011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15650
15651 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15652 variable's status.
15653
ca530739
JD
156542011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15655
15656 * x-dnd.el (x-dnd-version-from-flags)
15657 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15658 and long as number (Bug#8899).
15659 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15660
bcd70d97
SM
156612011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15662
60a406cf 15663 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15664 (completion-try-completion, completion-all-completions): Compute the
15665 metadata argument if it's missing; make it optional (bug#8795).
15666
60a406cf 15667 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15668 (widget-complete): Use new :completion-function property.
15669 (widget-completions-at-point): New function.
15670 (default): Use :completion-function instead of :complete.
60a406cf
SM
15671 (widget-default-completions): Rename from widget-default-complete;
15672 Rewrite.
bcd70d97
SM
15673 (widget-string-complete, widget-file-complete, widget-color-complete):
15674 Remove functions.
15675 (file, symbol, function, variable, coding-system, color):
15676 * international/mule-cmds.el (default-input-method, charset)
15677 (language-info-custom-alist):
15678 * cus-edit.el (face): Use new property :completions.
15679
15680 * progmodes/pascal.el (pascal-completions-at-point): New function.
15681 (pascal-mode): Use it.
15682 (pascal-mode-map): Use completion-at-point.
15683 (pascal-toggle-completions): Make obsolete.
15684 (pascal-complete-word, pascal-show-completions):
15685 * progmodes/octave-mod.el (octave-complete-symbol):
15686 Redefine as obsolete alias.
15687 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15688 Signal absence of completion info for old Octave,
15689 (inferior-octave-complete): Redefine as obsolete alias.
15690 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15691 (meta-completions-at-point): Rename from meta-complete-symbol and
15692 adapt it for use on completion-at-point-functions.
15693 (meta-common-mode): Use it.
15694 (meta-looking-at-backward, meta-match-buffer): Remove.
15695 (meta-complete-symbol): Redefine as obsolete alias.
15696 (meta-common-mode-map): Use completion-at-point.
15697 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15698 (makefile-mode-map): Use completion-at-point.
15699 (makefile-completions-at-point): Rename from makefile-complete and
15700 adapt it for use on completion-at-point-functions.
15701 (makefile-mode): Use it.
15702 (makefile-complete): Redefine as obsolete alias.
15703
aebf69c8
DD
157042011-06-20 Deniz Dogan <deniz@dogan.se>
15705
15706 * net/rcirc.el: Delete trailing whitespaces once and for all.
15707
bfbbb27d
DC
157082011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15709
15710 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15711
d264a46b
CY
157122011-06-19 Chong Yidong <cyd@stupidchicken.com>
15713
4ca009e5
CY
15714 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15715
d264a46b
CY
15716 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15717
fbf5b3ce
MR
157182011-06-19 Martin Rudalics <rudalics@gmx.at>
15719
15720 * window.el (display-buffer-other-window-means-other-frame):
15721 Call display-buffer-normalize-alist.
15722 (display-buffer-normalize-specifiers-1): Rename to
15723 display-buffer-normalize-argument. New argument other-frame.
15724 Rewrite.
15725 (display-buffer-normalize-specifiers-2): Rename to
15726 display-buffer-normalize-options.
15727 (display-buffer-normalize-alist-1): New function.
15728 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15729 display-buffer-normalize-alist.
15730 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15731 (display-buffer-normalize-options-inhibit): New variable.
15732 (display-buffer-normalize-specifiers): Rewrite calling
15733 display-buffer-normalize-alist,
15734 display-buffer-normalize-argument, and
15735 display-buffer-normalize-options. Don't call the latter if
15736 display-buffer-normalize-options-inhibit is non-nil.
15737 (frame-auto-delete): New option.
15738 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15739 (window-list-no-nils, window-state-ignored-parameters)
15740 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15741 (window-state-put-1, window-state-put-2, window-state-put):
15742 New functions.
9a028c23
MR
15743 (display-buffer-normalize-options): Move special-display-p group
15744 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15745
6d10d800
CY
157462011-06-18 Chong Yidong <cyd@stupidchicken.com>
15747
6420d28b
CY
15748 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15749 groups (Bug#8776).
15750 (rx-submatch-n): New function.
15751 (rx): Document it.
15752
ddb8b596
CY
15753 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15754 (Bug#8768).
15755
15756 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15757
77080289
CY
15758 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15759
61dfb316
CY
15760 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15761 anytime existing face settings are present (Bug#8889).
15762
6d10d800
CY
15763 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15764 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15765 Remove unused argument.
15766
be3fb2b8
MR
157672011-06-18 Martin Rudalics <rudalics@gmx.at>
15768
bcd70d97
SM
15769 * window.el (display-buffer-default-specifiers):
15770 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15771 pop-up-window-min-width, and another reuse-window specifier
15772 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15773 (display-buffer-normalize-specifiers-2):
15774 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15775 pop-up-windows is unset. Add a reuse-window specifier for the
15776 case popping up a new window fails.
15777 (special-display-popup-frame): Remove double quoting.
28dec25a 15778 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15779
1c6d8c76
SM
157802011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15781
15782 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15783 according to comint-completion-addsuffix.
15784
15785 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15786 (pcomplete-suffix-list): Mark as obsolete.
15787 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15788 pcomplete-seen in the closure.
15789 (pcomplete-comint-setup): Setup completion-at-point as well.
15790 (pcomplete--entries): New function.
15791 (pcomplete--env-regexp): New var.
15792 (pcomplete-entries): Rewrite to work with partial-completion and
15793 without relying on pcomplete-suffix-list.
15794 (pcomplete-pare-list): Remove, unused.
15795
25aef8b8
MR
157962011-06-17 Martin Rudalics <rudalics@gmx.at>
15797
15798 * window.el (display-buffer-alist): Set pop-up-window-min-height
15799 and pop-up-window-min-width in default value. Reported by
15800 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15801 other-window-means-other-frame.
15802 (display-buffer-macro-specifiers): Comment out entry for
15803 other-window specifier.
15804 (display-buffer-other-window-means-other-frame): New function.
15805 (display-buffer-normalize-specifiers-1): New arguments
15806 buffer-name and label. Treat other-window case specially.
15807 (display-buffer-normalize-specifiers-2): Treat other-window case
15808 specially.
15809 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15810 (display-buffer-normalize-specifiers):
15811 Call display-buffer-normalize-specifiers-3.
25aef8b8 15812
dbad4f69
MR
158132011-06-17 Martin Rudalics <rudalics@gmx.at>
15814
15815 * window.el (same-window-p): Fix two typos introduced when
15816 adding with-no-warnings.
d1067961
MR
15817 (display-buffer-normalize-specifiers-1): Don't check
15818 pop-up-frames for 'unset initialization.
15819 (display-buffer-normalize-specifiers-2): Major rewrite using
15820 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15821 (pop-up-frames, display-buffer-reuse-frames)
15822 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15823 Suggested by David Engster <deng@randomsample.de>.
15824 (even-window-heights): Initialize to 'unset.
15825 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15826 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15827 other window case.
dbad4f69 15828
9b9c9e3a
MR
158292011-06-16 Martin Rudalics <rudalics@gmx.at>
15830
bcd70d97
SM
15831 * window.el (display-buffer-normalize-specifiers-1):
15832 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15833 second argument of display-buffer (Bug#8865).
981d5c09
MR
15834 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15835 (switch-to-buffer-other-window-same-frame)
15836 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15837 Adams (Bug#8875).
9c2755e9
MR
15838 (display-buffer): Don't check noninteractive when calling
15839 display-buffer-pop-up-frame.
15840 (display-buffer-pop-up-frame): Never pop up a frame in
15841 noninteractive mode (Bug#8857).
67222e1d
MR
15842 (enlarge-window, shrink-window): Don't report an error when the
15843 window can't be resized as requested (Bug#8862).
9b9c9e3a 15844
2b75be67
SM
158452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15846
9ffdd3ba
SM
15847 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15848
cb581a67
SM
15849 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15850
2b75be67
SM
15851 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15852
8c0e3589
AM
158532011-06-15 Alan Mackenzie <acm@muc.de>
15854
cb581a67
SM
15855 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15856 for declarators, disable knr checking to speed up for normal files.
15857 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15858
b96e6cde
LMI
158592011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15860
4bba86e6
LMI
15861 * net/network-stream.el (open-network-stream): Add the keyword
15862 :always-query-capabilities for the case where you want to force a
15863 `plain' network connection, but the protocol still requires the
15864 capabilitiy command (i.e., SMTP and EHLO).
15865
2b75be67 15866 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15867 consistency with other `-live-p' functions.
15868
efdcdbf8
SM
158692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * window.el (same-window-buffer-names, same-window-regexps)
15872 (special-display-frame-alist, special-display-popup-frame)
15873 (special-display-function, special-display-buffer-names)
15874 (special-display-regexps, pop-up-frame-alist)
15875 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15876 (pop-up-windows, split-window-preferred-function)
15877 (split-height-threshold, split-width-threshold, even-window-heights)
15878 (display-buffer-mark-dedicated): Don't encourage the use of
15879 display-buffer-alist from Elisp code.
15880
c5cde042
DN
158812011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15882
15883 * progmodes/python.el (python-mode): Derive from prog-mode.
15884 * progmodes/ps-mode.el (ps-mode):
15885 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15886 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15887 * progmodes/ld-script.el (ld-script-mode): Likewise.
15888
baa1c9ab
MR
158892011-06-15 Martin Rudalics <rudalics@gmx.at>
15890
15891 * window.el (display-buffer-alist): Trim default value to avoid
15892 popping up a new frame (Bug#8857) or reusing an arbitrary window
15893 on another frame.
15894 (display-buffer): Do not fall back on popping up a new frame in
15895 batch mode (Bug#8857).
15896
c5dd5a51
CY
158972011-06-14 Chong Yidong <cyd@stupidchicken.com>
15898
15899 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15900 (custom-theme-summary): New function.
15901 (customize-themes): Use it.
15902
d647b7c4
GM
159032011-06-13 Glenn Morris <rgm@gnu.org>
15904
15905 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15906
9481c002
MR
159072011-06-13 Martin Rudalics <rudalics@gmx.at>
15908
357f93d2
MR
15909 * help.el (help-window): Remove variable.
15910 (help-window-point-marker, temp-buffer-max-height)
15911 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15912 (help-print-return-message): Don't set help-window.
15913 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15914 (help-window-setup-finish): Remove.
15915 (help-window-display-message, help-window-setup)
15916 (with-help-window): Major rewrite based on new
15917 display-buffer-window variable.
15918
15919 * help-mode.el (help-mode-finish): Remove help-window related
15920 code.
15921
15922 * view.el (view-exits-all-viewing-windows): Remove reference to
15923 view-return-to-alist in doc-string.
15924 (view-return-to-alist): Make obsolete.
15925 (view-buffer): Call pop-to-buffer-same-window and remove
15926 undo-window code.
15927 (view-buffer-other-window): Call pop-to-buffer-other-window and
15928 simplify code. Ignore second argument.
15929 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15930 simplify code. Ignore second argument.
15931 (view-return-to-alist-update): Make obsolete.
15932 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15933 Rewrite using quit-restore window parameters.
2b75be67
SM
15934 (view-mode-exit): Rename second argument to EXIT-ONLY.
15935 Rewrite using quit-restore-window.
357f93d2
MR
15936 (View-exit, View-exit-and-edit, View-leave, View-quit)
15937 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15938 appropriate arguments.
15939 (view-end-message): Use quit-restore window parameter.
15940
9481c002
MR
15941 * window.el (display-buffer-function): Rewrite doc-string.
15942 (display-buffer-window, display-buffer-alist): New variables.
15943 (display-buffer-split-specifiers)
15944 (display-buffer-side-specifiers)
15945 (display-buffer-macro-specifiers): New constants.
15946 (display-buffer-even-window-sizes, display-buffer-set-height)
15947 (display-buffer-set-width, display-buffer-select-window)
15948 (display-buffer-in-window, display-buffer-reuse-window)
15949 (display-buffer-split-window-1, display-buffer-split-window)
15950 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15951 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15952 (display-buffer-in-side-window, normalize-buffer-to-display)
15953 (display-buffer-normalize-specifiers-1)
15954 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15955 (display-buffer-normalize-specifiers, display-buffer-frame):
15956 New functions.
9481c002
MR
15957 (display-buffer): Major rewrite.
15958 (display-buffer-other-window, display-buffer-other-frame)
15959 (pop-to-buffer, switch-to-buffer-other-window)
15960 (switch-to-buffer-other-frame): Rewrite.
15961 (display-buffer-same-window, display-buffer-same-frame)
15962 (display-buffer-same-frame-other-window)
15963 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15964 (pop-to-buffer-other-window)
15965 (pop-to-buffer-same-frame-other-window)
15966 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15967 (switch-to-buffer-other-window-same-frame): New functions.
15968 (same-window-p, special-display-p): Rewrite disabling warnings.
15969 Make obsolete.
15970 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15971 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15972 Make obsolete
15973 (same-window-buffer-names, same-window-regexps)
15974 (special-display-frame-alist, special-display-popup-frame)
15975 (special-display-function, special-display-buffer-names)
15976 (special-display-regexps, pop-up-frame-alist)
15977 (pop-up-frame-function, split-window-preferred-function)
15978 (split-height-threshold, split-width-threshold)
15979 (even-window-heights): Make obsolete.
15980
9db51aca
GM
159812011-06-12 Glenn Morris <rgm@gnu.org>
15982
15983 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15984 Misc simplifications.
9db51aca 15985
39cffb44
MR
159862011-06-12 Martin Rudalics <rudalics@gmx.at>
15987
15988 * window.el (window-safely-shrinkable-p): Restore function which
15989 was inadvertently removed in change from 2011-06-11. Declare as
15990 obsolete.
15991
2b75be67
SM
15992 * calendar/calendar.el (calendar-generate-window):
15993 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15994 window-safely-shrinkable-p.
15995
a8955be7
GM
159962011-06-12 Glenn Morris <rgm@gnu.org>
15997
15998 * progmodes/fortran.el (fortran-mode-syntax-table):
15999 * progmodes/f90.el (f90-mode-syntax-table):
16000 Set % to punctuation. (Bug#8820)
16001 (f90-find-tag-default): Remove, no longer needed.
16002
f0d4059d
DC
160032011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16004
16005 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16006
1100a63c
CY
160072011-06-11 Chong Yidong <cyd@stupidchicken.com>
16008
16009 * image.el (image-animated-p): Return animation delay in seconds.
16010 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16011 (image-animate-timeout): Remove DELAY argument. Don't assume
16012 every subimage has the same delay; get it from image-animated-p.
16013 (image-animate): Caller changed.
16014
def722bf
MA
160152011-06-11 Michael Albinus <michael.albinus@gmx.de>
16016
16017 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16018 to ignored backtrace functions.
16019
0a2bb1a9
GM
160202011-06-11 Glenn Morris <rgm@gnu.org>
16021
16022 * calendar/appt.el (appt-disp-window-function): Doc fix.
16023 (appt-check): Handle overlapping appointments. (Bug#8337)
16024
6198ccd0
MR
160252011-06-11 Martin Rudalics <rudalics@gmx.at>
16026
16027 * window.el (window-tree-1, window-tree): New functions, moving
16028 the latter to window.el.
16029 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16030 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16031 (bw-refresh-edges): Remove.
16032 (balance-windows-1, balance-windows-2): New functions.
16033 (balance-windows): Rewrite in terms of window tree functions,
16034 balance-windows-1 and balance-windows-2.
16035 (bw-adjust-window): Remove.
16036 (balance-windows-area-adjust): New function with functionality of
16037 bw-adjust-window but using resize-window.
2b75be67
SM
16038 (set-window-text-height): Rewrite doc-string.
16039 Use normalize-live-window and resize-window.
16040 (enlarge-window-horizontally, shrink-window-horizontally):
16041 Rename argument to DELTA.
6198ccd0
MR
16042 (window-buffer-height): New function.
16043 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16044 Rewrite using new window resize routines.
2b75be67
SM
16045 (kill-buffer-and-window, mouse-autoselect-window-select):
16046 Use ignore-errors instead of condition-case.
6198ccd0
MR
16047 (quit-window): Call delete-frame instead of delete-windows-on
16048 for the only buffer on frame.
16049
9397e56f
MR
160502011-06-10 Martin Rudalics <rudalics@gmx.at>
16051
16052 * loadup.el (top-level): Load window before files for the sake
16053 of replace-buffer-in-windows.
16054
16055 * files.el (read-buffer-to-switch)
16056 (switch-to-buffer-other-window)
2b75be67
SM
16057 (switch-to-buffer-other-frame, display-buffer-other-frame):
16058 Move to window.el.
9397e56f
MR
16059
16060 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16061 (previous-buffer): Move to window.el.
16062
16063 * bindings.el (unbury-buffer): Move to window.el.
16064
16065 * window.el (delete-other-windows-vertically): Move after
16066 definition of delete-other-windows.
16067 (other-window, delete-windows-on, replace-buffer-in-windows):
16068 Move here from window.c.
16069 (record-window-buffer, unrecord-window-buffer)
16070 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16071 (switch-to-next-buffer): New functions.
16072 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16073 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16074 (previous-buffer): Move here from simple.el.
16075 Call switch-to-prev-buffer.
9397e56f
MR
16076 (bury-buffer): Move here from buffer.c. Switch to previous
16077 buffer when window cannot be deleted.
16078 (unbury-buffer): Move here from bindings.el.
16079 (ctl-x-map): Move binding for other-window from window.c to
16080 here.
16081 (read-buffer-to-switch, switch-to-buffer-other-window)
16082 (switch-to-buffer-other-frame): Move here from files.el.
16083 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16084 (switch-to-buffer): Move here from buffer.c.
16085 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16086
562dd5e9
MR
160872011-06-10 Martin Rudalics <rudalics@gmx.at>
16088
16089 * window.el (window-min-height, window-min-width): Move here
16090 from window.c. Add defcustoms and rewrite doc-strings.
16091 (resize-mini-window, resize-window): New functions.
16092 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16093 Move here from window.c.
16094 (maximize-window, minimize-window): New functions.
16095 (delete-window, delete-other-windows, split-window): Move here
16096 from window.c.
16097 (window-split-min-size): New function.
16098 (split-window-keep-point): Mention split-window-above-each-other
16099 instead of split-window-vertically.
2b75be67 16100 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16101 Rename split-window-vertically to split-window-above-each-other
16102 and provide defalias for old definition.
16103 (split-window-side-by-side, split-window-horizontally):
16104 Rename split-window-horizontally to split-window-side-by-side
16105 and provide defalias for the old definition.
562dd5e9
MR
16106 (ctl-x-map): Move bindings for delete-window,
16107 delete-other-windows and enlarge-window here from window.c.
16108 Replace bindings for split-window-vertically and
16109 split-window-horizontally by bindings for
16110 split-window-above-each-other and split-window-side-by-side.
16111
16112 * cus-start.el (all): Remove entries for window-min-height and
16113 window-min-width. Add entries for window-splits and
16114 window-nest.
16115
f0da764a
GM
161162011-06-09 Glenn Morris <rgm@gnu.org>
16117
80675c21
GM
16118 * calendar/appt.el (appt-mode-line): New function.
16119 (appt-check, appt-disp-window): Use it.
16120
f0da764a
GM
16121 * files.el (hack-one-local-variable-eval-safep):
16122 Allow minor-modes with explicit +/-1 arguments.
16123
59f623b7
TZ
161242011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16125
16126 * term/xterm.el (xterm): Add defgroup.
16127 (xterm-extra-capabilities): Add defcustom to supply known xterm
16128 capabilities, skip querying them, or query them (default).
16129 (terminal-init-xterm): Use it.
16130 (terminal-init-xterm-modify-other-keys): New function to set up
16131 modifyOtherKeys support to simplify `terminal-init-xterm'.
16132
9aab8e0d
MR
161332011-06-09 Martin Rudalics <rudalics@gmx.at>
16134
16135 * window.el (resize-window-reset, resize-window-reset-1)
16136 (resize-subwindows-skip-p, resize-subwindows-normal)
16137 (resize-subwindows, resize-other-windows, resize-this-window)
16138 (resize-root-window, resize-root-window-vertically)
16139 (window-deletable-p, window-or-subwindow-p)
16140 (frame-root-window-p): New functions.
16141
e8b08aee
GM
161422011-06-09 Glenn Morris <rgm@gnu.org>
16143
16144 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16145 (ange-ftp-get-files): Use it.
16146
254c37a5
AK
161472011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16148
16149 * mail/sendmail.el (mail-recover-1, mail-recover):
16150 * files.el (recover-file, recover-session):
16151 Handle dired-listing-switches not being just a single short option.
16152
35d7dbd3
GM
161532011-06-09 Glenn Morris <rgm@gnu.org>
16154
16155 * calendar/appt.el (appt-display-message, appt-disp-window):
16156 Handle lists of appointments.
16157
387522b2
MR
161582011-06-08 Martin Rudalics <rudalics@gmx.at>
16159
2b75be67
SM
16160 * window.el (one-window-p): Move down in code.
16161 Rewrite doc-string.
16162 (window-current-scroll-bars): Rewrite doc-string.
16163 Normalize live window argument.
387522b2
MR
16164 (walk-windows, get-window-with-predicate, count-windows):
16165 Rewrite doc-string. Use window-list-1.
16166 (window-in-direction-2, window-in-direction, get-mru-window):
16167 New functions.
16168
d8e4b68b 161692011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16170
16171 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16172 Doc fix (Bug#8713).
16173
161742011-06-08 Chong Yidong <cyd@stupidchicken.com>
16175
16176 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16177
161782011-06-08 Juanma Barranquero <lekktu@gmail.com>
16179
16180 * loadhist.el (unload-feature-special-hooks):
16181 Add `comint-output-filter-functions'.
16182
0de12c52
IK
161832011-06-08 Ivan Kanis <gnu@kanis.fr>
16184
16185 * calendar/appt.el (appt-check): Move some initializations into the let.
16186
f3d1777e
MR
161872011-06-08 Martin Rudalics <rudalics@gmx.at>
16188
16189 * window.el (window-height): Defalias to window-total-height.
16190 (window-width): Defalias to window-body-width.
16191
18af70d0
CY
161922011-06-07 Chong Yidong <cyd@stupidchicken.com>
16193
16194 * image-mode.el (image-toggle-animation): New command.
16195 (image-mode-map): Bind it to RET.
16196 (image-mode): Update message.
16197 (image-toggle-display-image): Avoid a spurious cache flush.
16198 (image-transform-rotation): Doc fix.
16199 (image-transform-properties): Return quickly in the normal case.
16200 (image-animate-loop): Rename from image-animate-max-time.
16201
2b75be67 16202 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16203 (create-animated-image): Remove unnecessary function.
16204 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16205 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16206 (image-animate-timer): Use car-safe.
16207 (image-animate-timeout): Rename argument.
16208
190b47e6
MR
162092011-06-07 Martin Rudalics <rudalics@gmx.at>
16210
16211 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16212 window.c. Rename first argument to ALL-FRAMES.
16213 Rephrase doc-strings.
16214 (get-buffer-window-list): Rewrite using window-list-1.
16215 Rephrase doc-string.
a1511caf
MR
16216 (window-safe-min-height, window-safe-min-width): New constants.
16217 (window-size-ignore, window-min-size, window-min-size-1)
16218 (window-sizable, window-sizable-p, window-size-fixed-1)
16219 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16220 (window-max-delta-1, window-max-delta, window-resizable)
16221 (window-resizable-p, window-total-height, window-total-width)
16222 (window-body-width): New functions.
16223 (window-full-height-p, window-full-width-p): Rewrite using
16224 window-total-size.
16225 (window-body-height): Rewrite using window-body-size.
190b47e6 16226
85cc1f11
MR
162272011-06-06 Martin Rudalics <rudalics@gmx.at>
16228
16229 * window.el (window-right, window-left, window-child)
16230 (window-child-count, window-last-child, window-any-p)
16231 (normalize-live-buffer, normalize-live-frame)
16232 (normalize-any-window, normalize-live-window)
16233 (window-iso-combination-p, window-iso-combined-p)
16234 (window-iso-combinations)
16235 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16236 (windows-with-parameter, window-with-parameter)
16237 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16238 (window-atom-check, window-side-check, window-check):
16239 New functions.
85cc1f11
MR
16240 (ignore-window-parameters, window-sides, window-sides-vertical)
16241 (window-sides-slots): New variables.
16242 (window-size-fixed): Move down in code. Minor doc-string fix.
16243
e7156492
AS
162442011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16245
16246 * comint.el (comint-dynamic-complete-as-filename)
16247 (comint-dynamic-complete-filename): Correctly call
16248 completion-in-region.
16249
7e821d0d
DD
162502011-06-05 Deniz Dogan <deniz@dogan.se>
16251
16252 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16253 in last change.
16254
ac09b8a1
DD
162552011-06-05 Deniz Dogan <deniz@dogan.se>
16256
16257 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16258 (rcirc): Use it to prompt for encryption.
16259
34699b85
RW
162602011-06-05 Roland Winkler <winkler@gnu.org>
16261
16262 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16263 (bibtex-search-entries): New command bound to C-c C-a.
16264 (bibtex-display-entries): New function.
16265
004dedd3
RW
162662011-06-05 Roland Winkler <winkler@gnu.org>
16267
16268 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16269 (bibtex-insert-kill): After yanking insert newline if necessary.
16270 (bibtex-initialize): Call bibtex-string-files-init only once.
16271 (bibtex-mode): Do not call easy-menu-add.
16272 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16273 (bibtex-yank): Set arg properly if nil.
16274
022fe7ce
RW
162752011-06-05 Roland Winkler <winkler@gnu.org>
16276
2b75be67
SM
16277 * textmodes/bibtex.el (bibtex-search-entry-globally):
16278 New variable.
022fe7ce
RW
16279 (bibtex-search-entry): Use it.
16280
b7c3692a
RW
162812011-06-05 Roland Winkler <winkler@gnu.org>
16282
16283 * textmodes/bibtex.el (bibtex-entry-format): New option
16284 sort-fields.
16285 (bibtex-format-entry, bibtex-reformat): Honor this option.
16286 (bibtex-parse-entry): Return fields in proper order.
16287
8eda563d
JB
162882011-06-05 Juanma Barranquero <lekktu@gmail.com>
16289
16290 * doc-view.el (doc-view-remove-if): Move computation of result out
16291 of `dolist' to silence misleading lexical-binding warning.
16292
7dbe3dbc
CY
162932011-06-04 Chong Yidong <cyd@stupidchicken.com>
16294
16295 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16296 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16297
0c33dd17
MA
162982011-06-04 Michael Albinus <michael.albinus@gmx.de>
16299
16300 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16301 "SunOS 5.10".
16302
f8f91c2b
MA
163032011-06-04 Michael Albinus <michael.albinus@gmx.de>
16304
16305 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16306 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16307 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16308 (tramp-parse-putty):
16309 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16310 (tramp-completion-function-alist-ssh)
16311 (tramp-completion-function-alist-telnet)
16312 (tramp-completion-function-alist-su)
16313 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16314 cookie.
16315
16316 * net/tramp-ftp.el:
16317 * net/tramp-sh.el:
16318 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16319 load "tramp.el" `tramp-set-completion-function'.
16320
e17d9003
SM
163212011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16322
16323 * shell.el: Require and use pcomplete.
16324 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16325 (shell-completion-vars): Set pcomplete-default-completion-function.
16326
6c4cab03
DD
163272011-06-04 Deniz Dogan <deniz@dogan.se>
16328
16329 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16330 `memq' (Bug#8799).
16331
ea9fafe0
SM
163322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16333
16334 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16335
b3e945d3
JB
163362011-06-02 Juanma Barranquero <lekktu@gmail.com>
16337
16338 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16339 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16340 * vc/log-view.el (log-view-beginning-of-defun):
16341 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16342 (smerge-refine-forward, smerge-refine-chopup-region):
16343 Silence warning for unused `dotimes' counter variables.
16344
7d520089
SM
163452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16346
16347 * net/tramp.el (tramp-with-progress-reporter): Rename from
16348 with-progress-reporter. Use `declare'.
16349 * net/tramp-smb.el:
16350 * net/tramp-sh.el:
16351 * net/tramp-gvfs.el: Update all uses.
16352
a1c2400f
JB
163532011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16354
16355 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16356 buffer isn't killed before making it current.
16357
2403c841
SM
163582011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16359
16360 Silence various byte-compiler warnings.
16361 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16362 `access-type' and new obsolescence format.
16363 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16364 new format.
16365 (byte-compile-check-variable): New `access-type' argument.
16366 Only warn if the access-type is obsolete.
16367 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16368 (byte-compile-variable-set): Adjust callers.
16369 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16370 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16371 setting it as obsolete.
16372 * simple.el (minibuffer-completing-symbol):
16373 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16374 access as obsolete.
16375 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16376 obsolete yet.
16377 * international/quail.el (quail-mouse-choose-completion): Remove unused
16378 code referring to obsolete var.
16379 (quail-choose-completion-string): Remove.
16380 * server.el (server-clients-with, server-kill-buffer-query-function)
16381 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16382 * proced.el (proced-send-signal):
16383 * emacs-lisp/lisp.el (lisp-complete-symbol):
16384 Replace completion-annotate-function with completion-extra-properties.
16385
2462470b
SM
163862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16387
fb5b2591
SM
16388 * simple.el (goto-line): Use read-number.
16389 (overriding-map-is-bound): Remove.
16390 (saved-overriding-map): Change default.
16391 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16392 Take the map as argument.
16393 (universal-argument, negative-argument, digit-argument): Use it.
16394 (restore-overriding-map): Adjust.
16395 (do-auto-fill): Use fill-forward-paragraph.
16396 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16397
fd6fa53f
SM
16398 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16399 (minibuffer-inactive-mode): New major mode.
16400 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16401 the *Messages* buffer" hack.
16402 (mouse-popup-menubar): Don't burp if the event is a normal key.
16403
2462470b
SM
16404 Miscellaneous tweaks.
16405 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16406 lexical scoping as in subr.el's dolist and dotimes.
16407 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16408 Silence compiler warning.
16409 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16410 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16411 * international/ccl.el (ccl-compile): Trivial simplification.
16412 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16413 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16414 `printflag' argument.
16415 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16416 Purecopy the whole obsolescence data.
16417
108bf785
LL
164182011-06-01 Leo Liu <sdl.web@gmail.com>
16419
16420 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16421 improve doc-string as suggested by Marco Pessotto
16422 <melmothx@gmail.com>.
16423 (rcirc-print): Fix last change.
16424
30a23501
SM
164252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16426
16427 * minibuffer.el (complete-with-action): Return nil for the metadata and
16428 boundaries of non-functional tables.
16429 (completion-table-dynamic): Return nil for the metadata.
16430 (completion-table-with-terminator): Add default case, using
16431 complete-with-action.
16432 (completion--metadata): New function.
16433 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16434 to try and avoid pathological performance problems.
16435 (completion--embedded-envvar-table): Return `category' metadata.
16436
bcd54f83
LMI
164372011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16438
16439 * subr.el (process-alive-p): New tiny convenience function.
16440
e227544d
SM
164412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16442
16443 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16444 content but also its previous major mode.
16445
e8296fdc
HE
164462011-05-31 Helmut Eller <eller.helmut@gmail.com>
16447
4d61f28d 16448 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16449 *Backtrace* buffer when we exit with C-M-c.
16450
620c53a6
SM
164512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16452
16453 * minibuffer.el: Add metadata method to completion tables.
16454 (completion-category-overrides): New defcustom.
16455 (completion-metadata, completion--field-metadata)
16456 (completion-metadata-get, completion--styles)
16457 (completion--cycle-threshold): New functions.
16458 (completion-try-completion, completion-all-completions):
16459 Add `metadata' argument to choose completion-styles.
16460 (completion--do-completion): Use metadata to choose cycling.
16461 (completion-all-sorted-completions): Use metadata for sorting.
16462 Remove :completion-cycle-penalty which is not needed any more.
16463 (completion--try-word-completion): Add `metadata' argument.
16464 (minibuffer-completion-help): Check metadata for annotation function
16465 and sorting.
16466 (completion-file-name-table): Return `category' metadata.
16467 (minibuffer-completing-file-name): Make obsolete.
16468 * simple.el (minibuffer-completing-symbol): Make obsolete.
16469 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16470 completion-try-completion.
16471
1257e755
SM
164722011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16473
16474 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16475
3767e706
LL
164762011-05-30 Leo Liu <sdl.web@gmail.com>
16477
16478 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16479 (rcirc-print): Decode all incoming messages (bug#8744).
16480 (rcirc-decode-coding-system): Allow value nil for automatic coding
16481 system detection.
3767e706 16482
d1a5d56a
GM
164832011-06-01 Glenn Morris <rgm@gnu.org>
16484
16485 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16486
e8cbec34
CY
164872011-05-29 Chong Yidong <cyd@stupidchicken.com>
16488
16489 * image.el (image-animate-max-time): Allow nil and t values.
16490 Default to nil.
16491 (create-animated-image): Doc fix.
16492 (image-animate-start): Remove second arg; just use
16493 image-animate-max-time.
16494 (image-animate-timeout): Doc fix. Args changed.
16495
16496 * image-mode.el (image-toggle-display-image): Ensure that the
16497 image spec passed to the animate timer is the same object as in
58179cce 16498 the buffer's display property (Bug#6981).
e8cbec34
CY
16499 (image-transform-properties): Doc fix.
16500
16501 * image.el (image-animate-max-time): Default to nil.
16502
159daf87
MR
165032011-05-29 Martin Rudalics <rudalics@gmx.at>
16504
16505 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16506 entire buffer list (Bug#8184).
16507
d66c4c7c
CY
165082011-05-29 Chong Yidong <cyd@stupidchicken.com>
16509
16510 * image.el (imagemagick-types-inhibit)
16511 (imagemagick-register-types): Doc fix.
16512
80aec780
DD
165132011-05-29 Deniz Dogan <deniz@dogan.se>
16514
16515 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16516 default.
16517
1dd3c2d9
CY
165182011-05-29 Chong Yidong <cyd@stupidchicken.com>
16519
16520 * select.el: Don't perform clipboard-manager saving in hooks;
16521 leave the hooks empty.
16522
60e56523
LL
165232011-05-28 Leo Liu <sdl.web@gmail.com>
16524
16525 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16526 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16527 (occur-edit-mode): New major mode (Bug#8463).
16528 (occur-after-change-function): New function.
16529 (occur-engine): Give Occur tags a read-only property.
16530
2b1e1a22
KR
165312011-05-28 Kevin Ryde <user42@zip.com.au>
16532
16533 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16534
5d344e88
CY
165352011-05-28 Chong Yidong <cyd@stupidchicken.com>
16536
8e6ca83d
CY
16537 * bindings.el (help-echo): Make the initial non-indicator dash
16538 empty on graphical terminals (Bug#7295).
16539
5d344e88
CY
16540 * files.el (auto-mode-alist): Move config rule after the
16541 in-stripping one (Bug#8547).
16542
bfbbace7
CY
16543 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16544
fbeba6e2
CY
16545 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16546 setting (Bug#8740).
16547
60ed8c72
AA
165482011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16549
4ac619f0
AA
16550 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16551 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16552 (Bug#8539).
60ed8c72 16553
23db196e
CY
165542011-05-28 Chong Yidong <cyd@stupidchicken.com>
16555
16556 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16557
5012f24c
DK
165582011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16559
16560 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16561 (hs-hide-block-at-point, hs-find-block-beginning)
16562 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16563 (Bug#8279).
16564
6a639b16
GM
165652011-05-28 Glenn Morris <rgm@gnu.org>
16566
16567 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16568
d43eaf2c
CY
165692011-05-28 Chong Yidong <cyd@stupidchicken.com>
16570
5199bde1
CY
16571 * help-fns.el (describe-function-1): If the function is a derived
16572 major mode, print the parent mode.
16573
d43eaf2c
CY
16574 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16575 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16576
423428a8
SM
165772011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16578
0ff8e1ba 16579 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16580 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16581 * progmodes/etags.el (tags-completion-at-point-function):
16582 * info-look.el (info-lookup-completions-at-point): Mark as
16583 non-exclusive.
16584 (info-complete): Adjust accordingly.
16585
423428a8
SM
16586 * info-look.el: Convert to lexical-binding and completion-at-point.
16587 (info-lookup-completions-at-point): New function.
16588 (info-complete): Use it and completion-in-region.
16589
b74aa22b
DA
165902011-05-28 Drew Adams <drew.adams@oracle.com>
16591
16592 * isearch.el: Let M-e start with point at the first mismatched char.
16593 (isearch-fail-pos): New function.
16594 (isearch-edit-string): Use it.
16595
66e2e71d
DK
165962011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16597
16598 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16599
b1890b0f 166002011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16601
16602 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16603 traversal functions for avl-trees.
16604 (avl-tree--stack): New struct.
16605 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16606 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16607 (avl-tree--do-enter): Add optional `updatefun' arg.
16608 Change return value.
eb95d01d 16609 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16610 (avl-tree--do-delete): Add `test' and `nilflag' args.
16611 Change return value.
eb95d01d
TC
16612 (avl-tree-member): Add optional `nilflag'
16613 (avl-tree-member-p): New function.
16614 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16615 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16616 (avl-tree-stack-empty-p): New functions.
16617
3769ddcf
TC
16618 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16619 avl-tree--del-balance1 and make it work both ways.
16620 (avl-tree--del-balance2): Remove.
16621 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16622 make it work both ways.
16623 (avl-tree--enter-balance2): Remove.
16624 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16625 New macros.
16626 (avl-tree--mapc, avl-tree-map): Add direction argument.
16627
eb95d01d 166282011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16629
16630 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16631
a9f737ee
CY
166322011-05-27 Chong Yidong <cyd@stupidchicken.com>
16633
16634 * select.el: Support clipboard managers with built-in function
16635 x-clipboard-manager-save, via delete-frame-functions and
16636 kill-emacs-hook.
16637 (xselect-convert-to-targets): Add MULTIPLE target to list.
16638 (xselect-convert-to-save-targets): New function.
16639
c92a1e54
KH
166402011-05-27 Kenichi Handa <handa@m17n.org>
16641
16642 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16643 let-binding rfc2047-encode-encoded-words to nil.
16644
e145f188
GM
166452011-05-27 Glenn Morris <rgm@gnu.org>
16646
5ec8a862
GM
16647 * mail/emacsbug.el: Don't require url-util.
16648
4b29d9fb
GM
16649 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16650
e145f188
GM
16651 * files.el (set-auto-mode):
16652 Also respect mode: entries at the end of the file. (Bug#8586)
16653
7d15102b
GM
166542011-05-26 Glenn Morris <rgm@gnu.org>
16655
98f593b8
GM
16656 * files.el (hack-local-variables-prop-line, hack-local-variables):
16657 Downcase mode names, as seems to be traditional.
27b48e63 16658 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16659
7d15102b
GM
16660 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16661 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16662
51d5b4ec
JD
166632011-05-25 Julien Danjou <julien@danjou.info>
16664
16665 * textmodes/rst.el (rst-define-level-faces): Do not define face
16666 symbol if it is already defined.
16667
91513f63
VB
166682011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16669
16670 * play/5x5.el (5x5-new-game, 5x5-randomize):
16671 Reset 5x5-solver-output to nil when a new grid is cast.
16672 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16673 these debugging traces, as defmacro breaks the compiled code.
16674
4d90d6d0
DK
166752011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16676
16677 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16678
e1b90ef6
LL
166792011-05-24 Leo Liu <sdl.web@gmail.com>
16680
16681 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16682 (vc-bzr-sha1): Adapt.
16683
d8e4b68b 16684 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16685
16686 * bindings.el: Provide sha1 feature.
16687
db0406bb 166882011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16689
16690 * mail/sendmail.el: Require `rfc2047'.
16691 (mail-insert-from-field): Do not perform RFC2047 encoding.
16692 (mail-encode-header): New function.
16693 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16694 buffer to the return value of select-message-coding-system.
16695 Call mail-encode-header.
b8d747b9
KH
16696
16697 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16698
db0406bb 166992011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16700
4d90d6d0
DK
16701 * mail/supercite.el (sc-default-cite-frame):
16702 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16703
eb8a5e9b
GM
167042011-05-24 Glenn Morris <rgm@gnu.org>
16705
f8630703
GM
16706 * progmodes/python.el (brm-menu): Declare.
16707
8831bbed
GM
16708 * emulation/viper.el (viper-set-hooks): Declare.
16709
eb8a5e9b
GM
16710 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16711 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16712 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16713 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16714 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16715 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16716
a2a25d24
SM
167172011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16718
16719 Add an :exit-function for completion-at-point.
16720
16721 * minibuffer.el (completion--done): New fun.
16722 (completion--do-completion): Use it. New arg `expect-exact'.
16723 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16724 since completion--do-completion does it for us now.
16725 (minibuffer-force-complete): Use completion--done and
16726 completion--replace. Handle sole-completion case with more care.
16727 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16728 (completion-extra-properties): New var.
16729 (completion-annotate-function): Make obsolete.
16730 (minibuffer-completion-help): Adjust accordingly.
16731 Use completion-list-insert-choice-function.
16732 (completion-at-point, completion-help-at-point):
16733 Bind completion-extra-properties.
16734 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16735 * simple.el (completion-list-insert-choice-function): New var.
16736 (completion-setup-function): Preserve it.
16737 (choose-completion): Pay attention to it, shuffle the code a bit.
16738 (choose-completion-string): New arg `insert-function'.
16739
16740 * textmodes/bibtex.el: Convert to lexical binding.
16741 (bibtex-mode-map): Use completion-at-point.
16742 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16743 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16744 (bibtex-complete): Define as obsolete alias.
16745 (bibtex-complete-internal): Remove.
16746 (bibtex-format-entry): Remove unused sub-group in regexp.
16747 * shell.el (shell--command-completion-data)
16748 (shell-environment-variable-completion):
16749 * pcomplete.el (pcomplete-completions-at-point):
16750 * comint.el (comint--complete-file-name-data): Use :exit-function
16751 instead of completion-table-with-terminator so it also works for
16752 choose-completion.
16753
e44e373d
SM
167542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16755
4f91a816
SM
16756 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16757
782fc819
SM
16758 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16759 (bug#8710).
16760
e44e373d
SM
16761 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16762
381987c3
KM
167632011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16764
16765 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16766 customization variable and implement: If non-nil, auto-fill will
16767 be inhibited while on topic's header line.
16768
b776bc70
VB
167692011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16770
16771 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16772 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16773 always have a solution in grid size = 5 cases.
16774 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16775 (5x5-solver-output, 5x5-log-buffer): New vars.
16776 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16777 Make these variables buffer local to achieve 5x5 multi-session-ness.
16778 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16779 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16780 (5x5-solve-suggest): New funs.
16781 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16782 randomize a grid so that we ensure that there is always a solution.
16783 (5x5-make-random-grid): Allow other movement than flipping.
16784
7de88b6e
KR
167852011-05-23 Kevin Ryde <user42@zip.com.au>
16786
16787 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16788 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16789 advice and passes PREDICATE.
16790
b1ef1257
SM
167912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16792
bbca48fe
SM
16793 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16794 byte-compile-lambda if it's actually a lambda.
16795
b1ef1257
SM
16796 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16797 Fix function quoting. Use backquote better.
16798
92a9cc65
YS
167992011-05-22 Yuanle Song <sylecn@gmail.com>
16800
16801 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16802 matching (Bug#8516).
16803
f0fb8059
JA
168042011-01-22 Jari Aalto <jari.aalto@cante.net>
16805
16806 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16807 different face (Bug#8178).
16808
d5b44c93
CY
168092011-05-22 Chong Yidong <cyd@stupidchicken.com>
16810
16811 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16812 defface (Bug#8144).
16813
79106a44
SM
168142011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16815
9c848d8a
SM
16816 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16817 funcall as well (bug#8712). Warn when performing those conversions.
16818 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16819
79106a44
SM
16820 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16821
88dfa756
GM
168222011-05-22 Glenn Morris <rgm@gnu.org>
16823
16824 * files.el (hack-local-variables-prop-line): Small simplifications.
16825 (hack-local-variables, hack-local-variables-prop-line):
16826 If MODE-ONLY, return the mode, rather than just `t'.
16827
b7cf2c79
SM
168282011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16829
16830 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16831
3f1a8558
GM
168322011-05-21 Glenn Morris <rgm@gnu.org>
16833
7e4ccca3
GM
16834 * files.el (hack-local-variables-prop-line, hack-local-variables):
16835 If only interested in the mode, don't bother doing the other stuff.
16836
637d46ca
GM
16837 * image-mode.el (image-after-revert-hook):
16838 Redraw all frames on which the image is visible. (Bug#8567)
16839
973d955b
GM
16840 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16841
3f1a8558
GM
16842 * wid-edit.el (widget-checklist-match-inline):
16843 Fix 2011-04-19 change. (Bug#8649)
16844
96479927
SM
168452011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16846
1dcf791f
SM
16847 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16848 Also allow singlespace after single-letter capitals followed by a dot.
16849
96479927
SM
16850 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16851 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16852
35fd0881
N
168532011-05-20 Nix <nix@esperi.org.uk>
16854
16855 * files.el (basic-save-buffer-2):
16856 Fix handling of break-hardlink-on-save with non-existent files.
16857
82745640
DD
168582011-05-19 Deniz Dogan <deniz@dogan.se>
16859
16860 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16861 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16862
4a720484
GM
168632011-05-19 Glenn Morris <rgm@gnu.org>
16864
d1f21341
GM
16865 * progmodes/f90.el (f90-type-def-re):
16866 Handle "type, bind(c)". (Bug#8691)
16867
4a720484
GM
16868 * emacs-lisp/autoload.el (batch-update-autoloads):
16869 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16870
2fb0a219
MA
168712011-05-18 Michael Albinus <michael.albinus@gmx.de>
16872
16873 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16874 property for the correct connection in case of multihops.
16875
e565dd37
GM
168762011-05-18 Glenn Morris <rgm@gnu.org>
16877
c2571358 16878 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16879 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16880
e565dd37
GM
16881 Rationalize calendar handling of day and month abbrev-arrays.
16882 * calendar/calendar.el (calendar-customized-p): New function.
16883 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16884 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16885 Add :set function.
16886 (calendar-abbrev-length, calendar-day-abbrev-array)
16887 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16888 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16889 Elements may no longer be nil.
16890 (calendar-day-name, calendar-month-name):
16891 Update for changed nature of abbrev arrays.
16892 * calendar/diary-lib.el (diary-name-pattern):
16893 Update for changed nature of abbrev arrays.
16894 (diary-mark-entries-1): Update calendar-make-alist calls.
16895 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16896 * calendar/cal-html.el (cal-html-day-abbrev-array):
16897 Simply inherit from calendar-day-abbrev-array.
16898
1d99a745
SM
168992011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16900
16901 * progmodes/grep.el (grep-mode): Disable default
16902 compilation-directory-matcher setting (bug#8684).
16903
7c1d9aa0
MA
169042011-05-17 Michael Albinus <michael.albinus@gmx.de>
16905
16906 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16907 instead of "head" and "tail". There were problems with SunOS 5.9,
16908 and it performs better.
16909
3952e9d8
GM
169102011-05-17 Glenn Morris <rgm@gnu.org>
16911
2dd12e7f
GM
16912 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16913
e4157b9c
GM
16914 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16915 Replace obsolete function.
16916
8e249bbd
GM
16917 * shell.el (pcomplete-parse-arguments-function): Declare.
16918
3952e9d8
GM
16919 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16920 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16921 (appt-check): Doc fixes.
16922 (appt-disp-window-function, appt-delete-window-function):
16923 Remove needless special case in custom :type.
16924 (appt-display-count): Default to 0, not nil.
16925 (appt-check): Reset appt-display-count to 0, not nil.
16926
c71a0d48 169272011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16928
c71a0d48
GM
16929 * progmodes/python.el (python-font-lock-keywords):
16930 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16931
31d55be9
SM
169322011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16933
16934 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16935
3bfacb2f
KR
169362011-05-16 Kevin Ryde <user42@zip.com.au>
16937
16938 * info-look.el (makefile-automake-mode): New setups, looking in
16939 automake manual, then makefile-mode.
16940 (makefile-mode): Remove automake manual, have it just in
16941 makefile-automake-mode since there's various things different or
16942 not relevant to plain make.
16943 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16944 believe a hypothetical automake-mode would go to makefile-mode,
16945 not the other way around.
16946
c8e83751
CY
169472011-05-15 Chong Yidong <cyd@stupidchicken.com>
16948
5e9e35cd
CY
16949 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16950 hunk-end tags (Bug#8672).
16951
c8e83751
CY
16952 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16953 vc-annotate-show-diff-revision-at-line (Bug#8671).
16954
50b23e5a
GM
169552011-05-14 Glenn Morris <rgm@gnu.org>
16956
7210a739
GM
16957 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16958 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16959 (change-log-font-lock-keywords): Also handle multiple author lines
16960 with leading tabs. (Bug#8644)
7210a739 16961
4691905a
GM
16962 * calendar/appt.el (appt-check): Rename some local variables.
16963 Some simplification/reordering.
16964
50b23e5a
GM
16965 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16966 (feedmail-sendmail-f-doesnt-sell-me-out)
16967 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16968 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16969 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16970 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16971 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16972 (feedmail-binmail-gnulinuxish-template):
16973 Rename from feedmail-binmail-linuxish-template.
16974 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16975 Use insert-buffer-substring.
16976
215cda7c
BC
169772011-05-14 Bill Carpenter <bill@carpenter.org>
16978
16979 * mail/feedmail.el (feedmail-patch-level): Increase.
16980 (feedmail-debug): New custom group.
16981 (feedmail-confirm-outgoing-timeout)
16982 (feedmail-sendmail-f-doesnt-sell-me-out)
16983 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16984 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16985 (feedmail-sender-line, feedmail-from-line)
16986 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16987 (feedmail-spray-this-address)
215cda7c
BC
16988 (feedmail-spray-address-fiddle-plex-list)
16989 (feedmail-queue-use-send-time-for-date)
16990 (feedmail-queue-use-send-time-for-message-id)
16991 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16992 (feedmail-buffer-eating-function):
16993 Doc fixes.
16994 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16995 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16996 (feedmail-message-action-scroll-down): New functions.
16997 (feedmail-queue-directory, feedmail-queue-draft-directory):
16998 Use expand-file-name.
16999 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17000 Remove C-v help entry.
17001 (feedmail-queue-buffer-file-name): New variable.
17002 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17003 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17004 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17005 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17006 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17007 (feedmail-message-action-toggle-spray)
17008 (feedmail-run-the-queue-no-prompts)
17009 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17010 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17011 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17012 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17013 (feedmail-envelope-deducer, feedmail-fiddle-from)
17014 (feedmail-fiddle-sender, feedmail-default-date-generator)
17015 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17016 (feedmail-fiddle-spray-address)
17017 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17018 (feedmail-fiddle-list-of-fiddle-plexes)
17019 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17020 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17021 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17022 Change default. Doc fix.
17023 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17024 (feedmail-binmail-linuxish-template): New constant.
17025 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17026 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17027 (feedmail-send-it): Add debug call.
17028 Use feedmail-queue-buffer-file-name, and
17029 feedmail-send-it-immediately-wrapper.
17030 (feedmail-message-action-send): Add debug call.
17031 Use feedmail-send-it-immediately-wrapper.
17032 (feedmail-queue-express-to-queue): Add debug call.
17033 Run feedmail-queue-express-hook.
17034 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17035 (feedmail-message-action-help-blat):
17036 Rename from feedmail-queue-send-edit-prompt-help-first.
17037 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17038 Check line-endings. Handle errors better.
17039 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17040 Doc fix. Add debug call.
17041 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17042 Use feedmail-queue-send-edit-prompt-inner.
17043 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17044 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17045 from feedmail-queue-send-edit-prompt.
17046 (feedmail-queue-send-edit-prompt-help)
17047 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17048 (feedmail-tidy-up-slug): Add debug call.
17049 Respect feedmail-queue-slug-suspect-regexp.
17050 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17051 (feedmail-dump-message-to-queue): Add debug call.
17052 Expand queue-directory.
17053 (feedmail-dump-message-to-queue): Change message slightly.
17054 Use feedmail-say-chatter.
17055 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17056 (feedmail-send-it-immediately-wrapper): New function.
17057 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17058 Insert empty string rather than newline. Handle full-frame case.
17059 Use catch/throw. Use feedmail-say-chatter.
17060 (feedmail-fiddle-from): Try mail-host-address.
17061 (feedmail-default-message-id-generator): Doc fix.
17062 Bind system-time-locale. Handle missing end.
17063 (feedmail-fiddle-x-mailer): Add debug call.
17064 Handle feedmail-x-mailer-line being nil.
17065 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17066 Add debug call. Use buffer-substring-no-properties.
17067 (feedmail-say-debug, feedmail-say-chatter): New functions.
17068 (feedmail-find-eoh): Give an explicit error.
17069
42c7e61e
UJ
170702011-05-13 Ulf Jasper <ulf.jasper@web.de>
17071
c2571358 17072 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17073 family from helvetica to sans.
c2571358 17074 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17075 etc/images/newsticker.
17076
c2571358 17077 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17078 family from helvetica to sans.
17079
17080 * net/newst-plainview.el (newsticker-new-item-face)
17081 (newsticker-old-item-face, newsticker-immortal-item-face)
17082 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17083 (newsticker-statistics-face): Change default family from
42c7e61e 17084 helvetica to sans.
c2571358 17085 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17086 etc/images/newsticker.
17087
5d3385a0
JB
17088 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17089 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17090 auto-marking.
17091
8497a297
DV
170922011-05-13 Didier Verna <didier@xemacs.org>
17093
17094 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17095 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17096 TODO entries.
8497a297
DV
17097 (lisp-lambda-list-keyword-parameter-indentation)
17098 (lisp-lambda-list-keyword-parameter-alignment)
17099 (lisp-lambda-list-keyword-alignment): New customizable user options.
17100 (lisp-indent-defun-method): Improve docstring.
17101 (extended-loop-p): Fix comment.
17102 (lisp-indent-lambda-list-keywords-regexp): New variable.
17103 (lisp-indent-lambda-list): New function.
17104 (lisp-indent-259): Use it.
17105 (lisp-indent-defmethod): Support for more than one
17106 method qualifier and properly indent methods lambda-lists.
17107 (defgeneric): Provide a missing common-lisp-indent-function property.
17108
f278f87f
SM
171092011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17110
17111 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17112 bounds for the empty string (bug#8667).
17113
5233edd7
GM
171142011-05-13 Glenn Morris <rgm@gnu.org>
17115
5237a44f
GM
17116 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17117
8340026c 17118 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17119 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17120
5233edd7 17121 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17122 (appt-time-msg-list): Doc fix.
a5464014 17123 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17124
92d10796
AS
171252011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17126
17127 * progmodes/ld-script.el (ld-script-keywords)
17128 (ld-script-builtins): Update keywords list.
17129
914a0ae1
SM
171302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17131
c89be45f
SM
17132 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17133
914a0ae1
SM
17134 * shell.el (shell-completion-vars): New function.
17135 (shell-mode):
17136 * simple.el (read-shell-command): Use it.
17137 (blink-matching-open): No need for " [...]" in minibuffer-message.
17138
98dc3df3
GM
171392011-05-12 Glenn Morris <rgm@gnu.org>
17140
17141 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17142 (appt-check): Simplify.
17143
d2fc7e3d 171442011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17145
4d61f28d 17146 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17147 literal "/dev/null".
17148
d2fc7e3d 171492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17150
17151 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17152 Fix typo.
17153
d2fc7e3d 171542011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17155
3f254caa
SM
17156 * progmodes/which-func.el (which-function):
17157 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17158 which might not be defined (Bug#8260).
17159
d45885f7
GM
171602011-05-12 Glenn Morris <rgm@gnu.org>
17161
17162 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17163 Let byte-compile-initial-macro-environment always take precedence.
17164
488086f4
SM
171652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17166
17167 * net/rcirc.el: Add support for SSL/TLS connections.
17168 (rcirc-server-alist): New field `encryption'.
17169 (rcirc): Check `encryption' settings.
17170 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17171 Merge make-local-variable into `set'.
17172 (rcirc--connection-open-p): New function.
17173 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17174 the process is not a network process (e.g. running gnutls-cli).
17175 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17176 Make rcirc-(en|de)code-coding-system local here.
17177 (rcirc-mode): Merge make-local-variable into `set'.
17178 (rcirc-parent-buffer): Make permanent buffer-local.
17179 (rcirc-multiline-minor-mode): Don't do it here.
17180 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17181 there's no server buffer.
17182
7d3b9d44
GM
171832011-05-11 Glenn Morris <rgm@gnu.org>
17184
f64049c6
GM
17185 * newcomment.el (comment-kill): Prefix "unused" local.
17186
93c9df73
GM
17187 * term/w32console.el (get-screen-color): Declare.
17188
7d3b9d44
GM
17189 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17190 Handle symbol elements of byte-compile-initial-macro-environment.
17191
9e2dd53f
LL
171922011-05-10 Leo Liu <sdl.web@gmail.com>
17193
488086f4
SM
17194 * bookmark.el (bookmark-bmenu-mode-map):
17195 Bind bookmark-bmenu-search to `/'.
8b340240 17196
9e2dd53f 17197 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17198 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17199 (Footnote-unicode): New function.
17200 (footnote-style-alist): Add unicode style to the list.
17201 (footnote-style): Doc fix.
9e2dd53f 17202
79b70037
GM
172032011-05-10 Jim Meyering <meyering@redhat.com>
17204
17205 Fix doubled-word typos.
17206 * international/quail.el (quail-insert-kbd-layout): and and -> and
17207 * kermit.el: and and -> and
17208 * net/ldap.el (ldap-search-internal): to to -> to
17209 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17210 * progmodes/js.el (js-mode): and and -> and
17211 * textmodes/artist.el (artist-move-to-xy): at at -> at
17212 (artist-draw-region-trim-line-endings): if if -> if
17213 And Safetyc -> Safety.
17214 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17215
b8f82dc1 172162011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17217 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17218
17219 * files.el (hack-one-local-variable-eval-safep):
17220 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17221
4f99f44b
GM
172222011-05-10 Glenn Morris <rgm@gnu.org>
17223
17224 * calendar/diary-lib.el (diary-list-entries-hook)
17225 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17226 (diary-nongregorian-marking-hook, diary-list-entries)
17227 (diary-include-other-diary-files, diary-mark-entries)
17228 (diary-mark-included-diary-files): Doc fixes.
17229
84f29e6b
JB
172302011-05-09 Juanma Barranquero <lekktu@gmail.com>
17231
17232 * misc.el: Require tabulated-list.el during compilation.
17233
9bedd73a
CY
172342011-05-09 Chong Yidong <cyd@stupidchicken.com>
17235
488086f4
SM
17236 * progmodes/compile.el (compilation-start):
17237 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17238 (compilation-filter-hook): Doc fix.
17239
797c735c
DD
172402011-05-09 Deniz Dogan <deniz@dogan.se>
17241
17242 * wdired.el: Remove outdated installation comment. Fix usage
17243 comment.
17244
5f4b1dfe
JB
172452011-05-09 Juanma Barranquero <lekktu@gmail.com>
17246
17247 * misc.el: Implement new command `list-dynamic-libraries'.
17248 (list-dynamic-libraries--loaded-only-p): New variable.
17249 (list-dynamic-libraries--refresh): New function.
17250 (list-dynamic-libraries): New command.
17251
4c44026c
CY
172522011-05-09 Chong Yidong <cyd@stupidchicken.com>
17253
488086f4
SM
17254 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17255 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17256 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17257 higher priority to avoid clobbering by gnu.
17258
027f966d
CY
172592011-05-08 Chong Yidong <cyd@stupidchicken.com>
17260
17261 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17262 if the face has existing theme settings (Bug#8454).
17263
085f5d7d
CY
172642011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17265
488086f4
SM
17266 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17267 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17268
2a86a00c
RS
17269 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17270 special file names `.' and `..' (Bug#8259).
17271
d9c54a06
CY
172722011-05-08 Chong Yidong <cyd@stupidchicken.com>
17273
488086f4
SM
17274 * progmodes/grep.el (grep-mode-font-lock-keywords):
17275 Remove buffer-changing entries.
d9c54a06
CY
17276 (grep-filter): New function.
17277 (grep-mode): Add it to compilation-filter-hook.
17278
17279 * progmodes/compile.el (compilation-filter-hook)
17280 (compilation-filter-start): New defvars.
17281 (compilation-filter): Call compilation-filter-hook prior to
17282 updating the process mark.
17283
c4662635
SM
172842011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17285
17286 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17287
b0512a1d
EZ
172882011-05-07 Eli Zaretskii <eliz@gnu.org>
17289
605c9376
EZ
17290 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17291 mailclient-send-it even if window-system is nil. (Bug#8595)
17292
c4662635
SM
17293 * term/w32console.el (terminal-init-w32console):
17294 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17295 background-mode. (Bug#8597)
17296
d1dc2cc2
SM
172972011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17298
17299 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17300 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17301 New functions.
17302 (defgeneric, eieio--defmethod): Use them.
17303 (eieio-defgeneric): Remove.
17304 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17305
915d1300
GM
173062011-05-07 Glenn Morris <rgm@gnu.org>
17307
a3961c3e
GM
17308 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17309 Use let rather than let*.
17310 (timeclock-find-discrep): Remove unused local.
17311
314347b9
GM
17312 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17313
915d1300
GM
17314 * calendar/appt.el (appt-time-msg-list): Doc fix.
17315
275b59b0
NF
173162011-05-06 Noah Friedman <friedman@splode.com>
17317
17318 * apropos.el (apropos-print-doc): Only use
17319 emacs-lisp-docstring-fill-column when it is bound to an integer,
17320 per that variable's documentation.
17321
6c19f744
SM
173222011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17323
17324 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17325 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17326
60f884b2
GM
173272011-05-06 Glenn Morris <rgm@gnu.org>
17328
5006e634
GM
17329 * calendar/appt.el (appt-message-warning-time): Doc fix.
17330 (appt-warning-time-regexp): New option.
17331 (appt-make-list): Respect appt-message-warning-time.
17332
548d0a63
GM
17333 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17334 New options.
17335 (diary-add-to-list): Strip comments from the displayed string.
17336 (diary-mode): Set comment-start and comment-end.
17337
60f884b2
GM
17338 * vc/diff-mode.el (smerge-refine-subst): Declare.
17339 (diff-refine-hunk): Don't require smerge-mode when compiling.
17340
989681bb
JB
173412011-05-06 Juanma Barranquero <lekktu@gmail.com>
17342
17343 * simple.el (list-processes): Return nil as the docstring says.
17344
a6bc05e1
MA
173452011-05-05 Michael Albinus <michael.albinus@gmx.de>
17346
17347 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17348 to "".
17349 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17350 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17351 determining of binary transfer. (Bug#7383)
17352
23c22e9a
MA
173532011-05-05 Michael Albinus <michael.albinus@gmx.de>
17354
c4662635
SM
17355 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17356 Fix port computation bug. (Bug#8618)
23c22e9a 17357
0bff894f
GM
173582011-05-05 Glenn Morris <rgm@gnu.org>
17359
b8296902
GM
17360 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17361
1f522ce8
GM
17362 * simple.el (shell-dynamic-complete-functions)
17363 (comint-dynamic-complete-functions): Declare.
17364
cf5bee67
GM
17365 * net/network-stream.el (gnutls-negotiate):
17366 * simple.el (tabulated-list-print): Fix declarations.
17367
17368 * progmodes/gud.el (syntax-symbol, syntax-point):
17369 Remove unnecessary and incorrect declarations.
17370
0bff894f
GM
17371 * emacs-lisp/check-declare.el (check-declare-scan):
17372 Handle byte-compile-initial-macro-environment in bytecomp.el
17373
9869b3ae
SM
173742011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17375
17376 Fix earlier half-done eieio-defmethod change (bug#8338).
17377 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17378 Streamline and change calling convention.
17379 (defmethod): Adjust accordingly and simplify.
17380 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17381 new eieio--defmethod.
17382 (slot-boundp): Minor CSE simplification.
17383
9c1d5ac5
MZ
173842011-05-05 Milan Zamazal <pdm@zamazal.org>
17385
17386 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17387 (glasses-make-readable): Use glasses-separate-capital-groups.
17388
455c834e
JB
173892011-05-05 Juanma Barranquero <lekktu@gmail.com>
17390
17391 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17392 (warning-series): Doc fix.
17393 (display-warning): Don't try to create the buffer if we just found it.
17394
9ed7c8cb
CY
173952011-05-04 Chong Yidong <cyd@stupidchicken.com>
17396
17397 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17398 (autoload-find-generated-file): New function.
17399 (generate-file-autoloads): Bind generated-autoload-file to
17400 buffer-file-name.
9869b3ae
SM
17401 (update-file-autoloads, update-directory-autoloads):
17402 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17403 output file (Bug#7989).
17404 (batch-update-autoloads): Doc fix.
17405
0898ca10
JB
174062011-05-04 Juanma Barranquero <lekktu@gmail.com>
17407
17408 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17409
31dfb76c
GM
174102011-05-04 Glenn Morris <rgm@gnu.org>
17411
f330b642
GM
17412 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17413 function, so it follows changes in calendar-date-style.
17414 (diary-fancy-date-matcher): New function.
17415 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17416 (diary-fancy-font-lock-fontify-region-function):
17417 Use diary-fancy-date-pattern as a function.
17418
31dfb76c
GM
17419 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17420 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17421
48e79d6a
TZ
174222011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17423
17424 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17425 instead of positional arguments. Allow :keylist and :crlfiles
17426 arguments.
17427 (open-gnutls-stream): Call it.
17428
17429 * net/network-stream.el (network-stream-open-starttls): Adjust to
17430 call `gnutls-negotiate' with :process and :hostname arguments.
17431
dd5a5ee0
SM
174322011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17433
ef80fc09
SM
17434 * minibuffer.el (completion--message): New function.
17435 (completion--do-completion, minibuffer-complete)
17436 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17437 (completion--do-completion): Don't ignore completion-auto-help when in
17438 icomplete-mode.
17439
dd5a5ee0
SM
17440 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17441 internal encoding (e.g. tibetan zero is not whitespace).
17442 (global-whitespace-mode): Prefer save-current-buffer.
17443 (whitespace-trailing-regexp): Remove useless save-match-data.
17444 (whitespace-empty-at-bob-regexp): Minor simplification.
17445
b7d22a83
CY
174462011-05-03 Chong Yidong <cyd@stupidchicken.com>
17447
17448 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17449
5192af46
AM
174502011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17451
17452 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17453 Use `concat' to create string for insertion.
5192af46 17454
5767d190
SM
174552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17456
17457 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17458 Avoid open-line which runs post-self-insert-hook.
17459 (bibtex-fill-entry): Remove unused `end' var.
17460
bf242939
AM
174612011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17462
5767d190
SM
17463 * textmodes/ispell.el (ispell-add-per-file-word-list):
17464 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17465
25666126
LL
174662011-05-03 Leo Liu <sdl.web@gmail.com>
17467
17468 * isearch.el (isearch-yank-pop): New command.
5767d190 17469 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17470 (isearch-forward): Mention it.
17471
52d3c2d0
SM
174722011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17473
1bcace58
SM
17474 * simple.el (minibuffer-complete-shell-command): Remove.
17475 (minibuffer-local-shell-command-map): Use completion-at-point.
17476 (read-shell-command): Setup completion vars here instead.
17477 (read-expression-map): Bind TAB to symbol completion.
17478
52d3c2d0
SM
17479 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17480 error directly rather via storing it into `results'.
17481
35813471
LL
174822011-05-02 Leo Liu <sdl.web@gmail.com>
17483
17484 * vc/diff.el: Fix description.
17485
e793a940
LMI
174862011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17487
17488 * server.el (server-eval-at): New function.
17489
8de66e05
LMI
174902011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17491
17492 * net/network-stream.el (open-network-stream): Take a :nowait
17493 parameter and pass it on to `make-network-process'.
17494 (network-stream-open-plain): Ditto.
17495
dcb79f20
AS
174962011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17497
17498 * faces.el (face-spec-set-match-display): Don't match toolkit
17499 options on terminal frames.
17500
14a7fbd8
SM
175012011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17502
7eabc1be
SM
17503 * progmodes/pascal.el: Use lexical binding.
17504 (pascal-mode-map): Remove author preferences.
17505
14a7fbd8
SM
17506 * pcomplete.el (pcomplete-std-complete): Don't abuse
17507 completion-at-point.
17508
50f84510
JB
175092011-04-28 Juanma Barranquero <lekktu@gmail.com>
17510
6e087a44
JB
17511 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17512 removing code that has been dead since 1991 or so.
17513
50f84510
JB
17514 * startup.el (command-line): When warning about "_emacs", use a
17515 delayed warning to allow the user to filter it out.
17516
0ba690bd
DD
175172011-04-28 Deniz Dogan <deniz@dogan.se>
17518
17519 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17520 user has not joined.
17521
08abfaad
SM
175222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17523
17524 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17525 aren't any completions at point.
17526
638f053a
JB
175272011-04-28 Juanma Barranquero <lekktu@gmail.com>
17528
17529 * subr.el (display-delayed-warnings): New function.
17530 (delayed-warnings-hook): New variable.
17531
8fff8daa
SM
175322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17533
08abfaad
SM
17534 * minibuffer.el (completion-at-point, completion-help-at-point):
17535 Don't presume that a given completion-at-point-function will always
17536 use the same calling convention.
17537
8fff8daa
SM
17538 * pcomplete.el (pcomplete-completions-at-point):
17539 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17540 pcomplete-seen is non-nil.
17541 (pcomplete-comint-setup): Also recognize the new comint/shell
17542 completion functions.
17543 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17544 pcomplete-seen is non-nil.
17545
841a1577 175462011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17547
841a1577 17548 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17549 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17550 the first character in the entry. This allows for code to add its
211ec907
UJ
17551 own uid to the entry.
17552 (icalendar--convert-float-to-ical): Add export of
17553 `diary-float'-entries save for those with the optional DAY
17554 argument.
17555
2a782793
DC
175562011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17557
17558 * subr.el (shell-quote-argument): Use alternate escaping strategy
17559 when we spot a variable reference in a string.
17560
0438ce91
DC
175612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17562
17563 * cus-start.el (all): Define customization for debug-on-event.
17564
841a1577 175652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17566
17567 * subr.el (shell-quote-argument): Escape correctly under Windows.
17568
d090ed6c
SM
175692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17570
17571 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17572
bfd31217
MA
175732011-04-25 Michael Albinus <michael.albinus@gmx.de>
17574
d090ed6c
SM
17575 * net/tramp.el (tramp-process-actions): Add POS argument.
17576 Delete region between POS and (pos).
bfd31217 17577
d090ed6c
SM
17578 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17579 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17580 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17581
17582 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17583 position in `tramp-process-actions' call.
17584
17585 * net/trampver.el: Update release number.
17586
e92f3bd3
SM
175872011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17588
850256b5
SM
17589 * custom.el (defcustom): Obey lexical-binding.
17590
e92f3bd3
SM
17591 Fix octave-inf completion problems reported by Alexander Klimov.
17592 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17593 Inherit from octave-mode-syntax-table.
17594 (inferior-octave-mode): Set info-lookup-mode.
17595 (inferior-octave-completion-at-point): New function.
17596 (inferior-octave-complete): Use it and completion-in-region.
17597 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17598 comint-filename-completion.
17599 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17600 symbol elements which shouldn't be word elements.
17601 (octave-font-lock-keywords, octave-beginning-of-defun)
17602 (octave-function-header-regexp): Adjust regexps accordingly.
17603 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17604
cd22b309
JB
176052011-04-25 Juanma Barranquero <lekktu@gmail.com>
17606
17607 * net/gnutls.el (gnutls-errorp): Declare before first use.
17608
8b492194
TZ
176092011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17610
17611 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17612 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17613 default trustfile exists before going to use it. Add missing
5a5fa834 17614 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17615 Reported by Claudio Bley <claudio.bley@gmail.com>.
17616 (open-gnutls-stream): Add usage example.
17617
17618 * net/network-stream.el (network-stream-open-starttls): Give host
17619 parameter to `gnutls-negotiate'.
17620 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17621 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17622
841a1577 176232011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17624
cd22b309
JB
17625 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17626 Use correct match group (bug#8438).
05842630 17627
3ba7869c
CY
176282011-04-24 Chong Yidong <cyd@stupidchicken.com>
17629
512e3ae1
CY
17630 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17631 (package-menu--generate): New arg specifying packages to show.
17632 (package-menu-refresh, package-menu-execute, list-packages):
17633 Callers changed.
17634 (package-show-package-list): New function, replacing deleted
17635 package--list-packages (renamed because it is non-internal).
17636
17637 * finder.el (finder-list-matches): Use package-show-package-list
17638 instead of deleted package--list-packages.
17639
e92f3bd3
SM
17640 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17641 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17642 (vc-annotate-mode-map): Bind it to RET.
17643
7031be6d
UR
176442011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17645
17646 * progmodes/etags.el (next-file): Don't use set-buffer to change
17647 buffers (Bug#8478).
17648
4ef177aa
CY
176492011-04-24 Chong Yidong <cyd@stupidchicken.com>
17650
c8d173eb
CY
17651 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17652
4ef177aa
CY
17653 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17654 (apropos-accumulator): Doc fix.
17655 (apropos-function, apropos-macro, apropos-command)
17656 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17657 (apropos-plist): Add face property.
17658 (apropos-symbols-internal): Fix indentation.
17659 (apropos-print): Simplify help, and recognize apropos-multi-type.
17660 (apropos-print-doc): Use button-type-get to extract the button's
17661 face property. Fill docstring (Bug#8352).
17662
4ffd0d6b 176632011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17664
17665 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17666
c6c32125 17667 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17668 (mpuz-mode-map): Use mapc.
c6c32125
JB
17669 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17670 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17671 Fix typos in docstrings.
17672
58d468b4
JB
17673 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17674 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17675
6470c3c6
JB
17676 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17677
4ffd0d6b 176782011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17679
17680 * minibuffer.el (completion--do-completion): Avoid the "Next char
17681 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17682
3ad8bad0
CY
17683 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17684 mouse-2 into unread-command-events, it is interpreted correctly.
17685
71d73c9c 17686 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17687 (image-toggle-display): Doc fix.
71d73c9c 17688
841a1577 176892011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17690
4ffd0d6b
GM
17691 * textmodes/page.el (what-page): Use line-number-at-pos to
17692 calculate line number (Bug#6825).
6e1dbaa9 17693
c2fb1b60
JB
176942011-04-22 Juanma Barranquero <lekktu@gmail.com>
17695
17696 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17697 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17698 Pass argument NO-DEFAULT to `find-tag-interactive'.
17699
e02f48d7
JB
177002011-04-22 Juanma Barranquero <lekktu@gmail.com>
17701
17702 Lexical-binding cleanup.
17703
17704 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17705 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17706 * progmodes/ada-prj.el (ada-prj-initialize-values)
17707 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17708 (ada-prj-show-value):
17709 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17710 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17711 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17712 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17713 * progmodes/bug-reference.el (bug-reference-push-button):
17714 * progmodes/fortran.el (fortran-line-length):
17715 * progmodes/glasses.el (glasses-change):
17716 * progmodes/octave-mod.el (octave-fill-paragraph):
17717 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17718 (python-pdbtrack-grub-for-buffer, python-sentinel):
17719 * progmodes/sql.el (sql-save-connection):
17720 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17721 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17722 Mark unused parameters.
17723
17724 * progmodes/compile.el (compilation--flush-directory-cache)
17725 (compilation--flush-parse, compile-internal): Mark unused parameters.
17726 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17727 (compilation-next-error-function): Remove unused variable `timestamp'.
17728
17729 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17730 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17731
17732 * progmodes/dcl-mode.el (dcl-end-of-command):
17733 Remove unused variable `start'.
17734 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17735 (dcl-option-value-basic, dcl-option-value-offset)
17736 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17737 Mark unused parameters.
17738 (dcl-save-local-variable): Remove unused variable `val'.
17739 (mode): Declare.
17740
17741 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17742 Mark unused parameters.
17743 (delphi-ignore-changes): Move before first use.
17744 (delphi-charset-token-at): Remove unused variable `start'.
17745 (delphi-else-start): Remove unused variable `if-count'.
17746 (delphi-comment-block-start, delphi-comment-block-end):
17747 Remove unused variable `kind'.
17748 (delphi-indent-line): Remove unused variable `new-point'.
17749
17750 * progmodes/ebrowse.el (ebrowse-files-list)
17751 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17752 Mark unused parameters. Don't quote `lambda'.
17753 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17754 Don't quote `lambda'.
17755 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17756 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17757 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17758 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17759 Use `ignore-errors'.
17760 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17761 (ebrowse-view/find-file-and-search-pattern)
17762 (ebrowse-view/find-member-declaration/definition):
17763 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17764 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17765 Rename parameter PREFIX-ARG to PREFIX.
17766 (ebrowse-tags-read-name): Remove unused variables `start' and
17767 `member-info'.
17768 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17769 to `tags-file'.
17770
17771 * progmodes/etags.el (local-find-tag-hook): Declare.
17772 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17773 Mark unused parameters.
17774
17775 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17776 (executable-interpret): Mark unused parameter.
17777
17778 * progmodes/flymake.el (flymake-process-sentinel)
17779 (flymake-after-change-function)
17780 (flymake-create-temp-with-folder-structure)
17781 (flymake-get-include-dirs-dot): Mark unused parameters.
17782 (flymake-safe-delete-directory): Remove unused variable `err'.
17783
17784 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17785 (speedbar-timer-fn, speedbar-line-text)
17786 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17787 (speedbar-center-buffer-smartly): Declare functions.
17788 (gdb-find-watch-expression): Remove unused variable `array'.
17789 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17790 (gdb-starting): Mark unused parameters.
17791 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17792 (gdb-table-string): Remove unused variable `res'.
17793 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17794 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17795 (gdb-display-buffer): Remove unused variable `cur-size'.
17796
17797 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17798 allow lexical-binding compilation.
17799 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17800 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17801 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17802 Mark unused parameters.
17803 (gud-gdb-marker-filter): Remove unused variable `match'.
17804 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17805 lambda expressions and funcall them, instead of using `fset'.
17806
17807 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17808 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17809
17810 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17811 variable `header-beg'; use `let'.
17812
17813 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17814 `restart', `last-sexp' and `at-do'.
17815
17816 * progmodes/js.el (js--debug): Mark unused parameter.
17817 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17818 (js--splice-into-items): Remove unused variable `item'.
17819 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17820
17821 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17822 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17823 (makefile-complete): Remove unused variable `try'.
17824 (makefile-fill-paragraph, makefile-match-function-end):
17825 Mark unused parameters.
17826
17827 * progmodes/octave-inf.el (inferior-octave-complete):
17828 Remove unused variable `proc'.
17829 (inferior-octave-output-digest): Mark unused parameter.
17830
17831 * progmodes/perl-mode.el (perl-calculate-indent):
17832 Remove unused variable `err'.
17833
17834 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17835 (prolog-indent-line): Mark unused parameters.
17836 (prolog-indent-line): Remove unused variable `beg'.
17837
17838 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17839 (reporter-dont-compact-list): Declare.
17840
17841 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17842 Remove unused variable `char'.
17843 (sh-debug): Mark unused parameter.
17844 (sh-get-indent-info): Remove unused variable `start'.
17845 (sh-calculate-indent): Remove unused variable `var'.
17846
17847 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17848 (simula-electric-keyword): Remove unused variable `null'.
17849 (simula-search-backward, simula-search-forward): Remove unused
17850 variables `begin' and `end'.
17851
17852 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17853 Remove unused variable `pos'.
17854 (vera-electric-tab, vera-comment-uncomment-region):
17855 Mark unused parameters.
17856 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17857
7ede3b65
CY
178582011-04-22 Chong Yidong <cyd@stupidchicken.com>
17859
17860 * emacs-lisp/package.el (package--builtins, package-alist)
17861 (package-load-descriptor, package-built-in-p, package-activate)
17862 (define-package, package-installed-p)
17863 (package-compute-transaction, package-buffer-info)
17864 (package--push): Doc fix. Distinguish more clearly between
17865 version strings and version lists.
17866
121656e9
JB
178672011-04-21 Juanma Barranquero <lekktu@gmail.com>
17868
17869 Lexical-binding cleanup.
17870
17871 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17872 (5x5-make-mutate-best):
17873 * play/fortune.el (fortune-in-buffer):
17874 * play/gomoku.el (gomoku-init-display):
17875 * play/solitaire.el (solitaire, solitaire-do-check):
17876 * play/tetris.el (tetris-default-update-speed-function):
17877 Mark unused parameters.
17878
17879 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17880 (bubbles--shift): Remove unused variable `char-org'.
17881 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17882 (bubbles--show-images): Remove unused variable `char'.
17883
17884 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17885 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17886 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17887 (decipher-analyze-buffer): Use ?\s.
17888 (decipher-make-checkpoint): Remove unused variable `mapping'.
17889
17890 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17891
17892 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17893 Remove unused variable `result'; use `let'.
17894
17895 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17896 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17897 (gametree-children-shown-p, gametree-compute-reduced-score):
17898 Use `ignore-errors'.
17899
17900 * play/handwrite.el (ps-lpr-switches): Declare.
17901 (handwrite): Remove unused variables `pmin' and `lastp'.
17902
17903 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17904
17905 * play/landmark.el (landmark-init-display)
17906 (landmark-update-naught-weights): Mark unused parameters.
17907 (landmark-y): Remove unused variable `noise'. Simplify.
17908 (landmark-human-plays): Remove unused variable `score'.
17909
17910 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17911 (mpuz-try-proposal): Remove unused variable `game'.
17912
17913 * play/zone.el (life-patterns): Declare.
17914
80f499c7
JB
179152011-04-20 Juanma Barranquero <lekktu@gmail.com>
17916
17917 * vc/vc.el (ediff-vc-internal): Declare function.
17918
024ff170
SM
179192011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17920
c0a193ea
SM
17921 * shell.el: Use lexical-binding and std completion UI.
17922 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17923 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17924 comint-preoutput-filter-functions rather than on
17925 comint-output-filter-functions.
17926 (shell-command-completion, shell--command-completion-data)
17927 (shell-filename-completion, shell-environment-variable-completion)
17928 (shell-c-a-p-replace-by-expanded-directory): New functions.
17929 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17930 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17931 (shell-dynamic-complete-environment-variable): Use them.
17932 (shell-dynamic-complete-as-environment-variable)
17933 (shell-dynamic-complete-as-command): Remove.
17934 (shell-match-partial-variable): Match past point.
17935 * comint.el: Clean up use of completion-at-point-functions.
17936 (comint-completion-at-point): New function.
17937 (comint-mode): Use it completion-at-point-functions.
17938 (comint-dynamic-complete): Make it obsolete.
17939 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17940 (comint-c-a-p-replace-by-expanded-history): New function.
17941 (comint-dynamic-complete-functions)
17942 (comint-replace-by-expanded-history): Use it.
17943 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17944 termination strings. Try harder to avoid second try-completion.
17945 (completion-in-region-mode-map): Disable bindings that don't work yet.
17946
2dbaa080
SM
17947 * comint.el: Use lexical-binding. Require CL.
17948 (comint-dynamic-complete-functions): Use comint-filename-completion.
17949 (comint-completion-addsuffix): Tweak custom type.
17950 (comint-filename-completion, comint--common-suffix)
17951 (comint--common-quoted-suffix, comint--table-subvert)
17952 (comint--complete-file-name-data): New functions.
17953 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17954 (comint-dynamic-list-filename-completions): Use them.
17955 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17956
2dbaa080
SM
17957 * minibuffer.el (completion-in-region-mode):
17958 Keep completion-in-region-mode--predicate global.
17959 (completion-in-region--postch):
17960 Assume completion-in-region-mode--predicate is not null.
17961
c79a6f38
SM
17962 * progmodes/flymake.el (flymake-start-syntax-check-process):
17963 Obey `dir'. Simplify.
17964
024ff170
SM
17965 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17966 we're in VC after all.
17967
1c6c854e
CS
179682011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17969
17970 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17971 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17972 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17973
bed7f140
SM
179742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17975
332e62ab
SM
17976 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17977 add sanity check.
17978
bed7f140
SM
17979 * obsolete/erc-hecomplete.el: Make obsolete.
17980 * obsolete/: Standardize obsolescence info in the header.
17981
f195c582
GM
179822011-04-20 Glenn Morris <rgm@gnu.org>
17983
17984 * calendar/solar.el (solar-horizontal-coordinates):
17985 Use the longitude argument rather than `calendar-longitude'.
17986 (solar-date-next-longitude): Remove unused locals.
17987
cb79b8c0
VJL
179882011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17989
17990 * whitespace.el: New version 13.2.1.
17991
179922011-04-20 felix <EmacsWiki> (tiny change)
17993
d8e4b68b 17994 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17995 switching between major modes on a file.
17996
602ea69d
SM
179972011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18000 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18001 multi-line comments as well.
18002
06b60517
JB
180032011-04-19 Juanma Barranquero <lekktu@gmail.com>
18004
18005 Lexical-binding cleanup.
18006
18007 * arc-mode.el (archive-mode-revert):
18008 * cmuscheme.el (scheme-interactively-start-process):
18009 * custom.el (custom-initialize-delay):
18010 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18011 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18012 * emacs-lock.el (emacs-lock-clear-sentinel):
18013 * ezimage.el (defezimage):
18014 * follow.el (follow-avoid-tail-recenter):
18015 * fringe.el (set-fringe-mode-1):
18016 * generic-x.el (bat-generic-mode-compile):
18017 * help-mode.el (help-info-variable, help-do-xref)
18018 (help-mode-revert-buffer):
18019 * help.el (view-emacs-todo):
18020 * iswitchb.el (iswitchb-completion-help):
18021 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18022 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18023 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18024 * locate.el (locate-update):
18025 * longlines.el (longlines-encode-region)
18026 (longlines-after-change-function):
18027 * outline.el (outline-isearch-open-invisible):
18028 * ps-def.el (declare-function, charset-dimension, char-width)
18029 (encode-char):
18030 * ps-mule.el (ps-mule-plot-string):
18031 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18032 (recentf-edit-list-select, recentf-edit-list-validate)
18033 (recentf-open-files-action):
18034 * rect.el (delete-whitespace-rectangle-line)
18035 (rectangle-number-line-callback):
18036 * register.el (window-configuration-to-register)
18037 (frame-configuration-to-register):
18038 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18039 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18040 (xselect-convert-to-targets, xselect-convert-to-delete)
18041 (xselect-convert-to-filename, xselect-convert-to-charpos)
18042 (xselect-convert-to-lineno, xselect-convert-to-colno)
18043 (xselect-convert-to-os, xselect-convert-to-host)
18044 (xselect-convert-to-user, xselect-convert-to-class)
18045 (xselect-convert-to-name, xselect-convert-to-integer)
18046 (xselect-convert-to-atom, xselect-convert-to-identity):
18047 * subr.el (declare, ignore, process-kill-without-query)
18048 (text-clone-maintain):
18049 * terminal.el (te-get-char, te-tic-sentinel):
18050 * tool-bar.el (tool-bar-make-keymap):
18051 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18052 * type-break.el (type-break-mode, type-break-noninteractive-query):
18053 * view.el (View-back-to-mark):
18054 * wid-browse.el (widget-browse-action, widget-browse-widget)
18055 (widget-browse-widgets, widget-browse-sexp):
18056 * widget.el (define-widget-keywords):
18057 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18058 Mark unused parameters.
18059
18060 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18061 (align-areas): Remove unused variable `look'.
18062 (align-region): Remove unused variables `real-end' and `pos-list'.
18063
18064 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18065
18066 * bindings.el (mode-line-modified, mode-line-remote):
18067 Mark unused parameters.
18068 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18069
18070 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18071 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18072
18073 * comint.el (comint-history-isearch-pop-state)
18074 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18075 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18076 (comint-substitute-in-file-name): Doc fix.
18077
18078 * completion.el (cmpl-statistics-block): Mark unused parameter.
18079 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18080 (save-completions-to-file, load-completions-from-file):
18081 Remove unused local variable `e'.
18082
18083 * composite.el (compose-chars): Remove unused variable `len'.
18084 (lgstring-insert-glyph): Remove unused variable `g'.
18085 (compose-glyph-string): Remove unused variables `ascent',
18086 `descent', `lbearing' and `rbearing'.
18087 (compose-glyph-string-relative): Remove unused variables
18088 `lbearing', `rbearing' and `wadjust'.
18089 (compose-gstring-for-graphic): Remove unused variables `header',
18090 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18091 (compose-gstring-for-terminal): Remove unused variables `header'
18092 and `nchars'. Use `let', not `let*'.
18093
18094 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18095 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18096 (Custom-buffer-done, custom-buffer-create-internal)
18097 (custom-browse-visibility-action, custom-browse-group-tag-action)
18098 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18099 (widget-magic-mouse-down-action, custom-toggle-parent)
18100 (custom-add-parent-links, custom-toggle-hide-variable)
18101 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18102 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18103 (custom-face-menu-create, custom-variable-menu-create, get)
18104 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18105 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18106 (customize-apropos): Remove unused variable `tests'.
18107 (custom-group-value-create): Remove unused variable `hidden-p'.
18108 (sort-fold-case): Declare.
18109
18110 * cus-theme.el (custom-reset-standard-faces-list)
18111 (custom-reset-standard-variables-list): Declare.
18112 (customize-create-theme, custom-theme-revert, custom-theme-write)
18113 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18114 Mark unused parameters.
18115
18116 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18117
18118 * delim-col.el (delimit-columns-max): Move defvar before first use.
18119
18120 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18121 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18122
18123 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18124 (auto-insert): Declare.
18125 (desktop-restore-file-buffer): Rename desktop-* parameters;
18126 mark unused ones.
18127 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18128 (desktop-buffer): Rename desktop-* parameters.
18129
18130 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18131 (dframe-reposition-frame-xemacs, dframe-help-echo)
18132 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18133 Mark unused parameters.
18134
18135 * dired-aux.el (backup-extract-version-start, overwrite-query)
18136 (overwrite-backup-query, rename-regexp-query)
18137 (rename-non-directory-query): Declare.
18138 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18139 (dired-add-entry): Remove unused variable `orig-file-name'.
18140 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18141 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18142 `dired-copy-preserve-time' directly.
18143 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18144 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18145
18146 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18147 (dired-virtual-revert, dired-make-relative-symlink):
18148 Mark unused parameters.
18149 (manual-program): Declare.
18150 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18151 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18152 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18153
18154 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18155
18156 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18157
18158 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18159 Declare.
18160
18161 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18162
18163 * electric.el (Electric-command-loop): Rename parameter
18164 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18165
18166 * expand.el (expand-in-literal): Remove unused variable `here'.
18167
18168 * facemenu.el (facemenu-add-new-color):
18169 Remove unused variable `docstring'.
18170
18171 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18172 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18173 (face-attr-construct): Mark unused parameter. Doc fix.
18174 (read-color): Remove unused variable `hex-string'.
18175
18176 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18177 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18178 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18179 (display-buffer-other-frame): Remove unused variable `old-window'.
18180 (kill-buffer-hook): Declare.
18181 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18182 Mark unused parameters.
18183 (after-find-file): Pass 1 to `auto-save-mode', not t.
18184
18185 * files-x.el (auto-insert): Declare.
18186 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18187
18188 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18189 variable `buf'. Mark unused parameter.
06b60517
JB
18190 (find-lisp-insert-directory): Mark unused parameter.
18191
18192 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18193 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18194 (format-common-tail): Remove, unused.
18195 (format-deannotate-region): Remove unused variable `loc'.
18196 (format-annotate-region): Remove unused variable `p'.
18197 (format-annotate-single-property-change): Remove unused variables
18198 `default' and `tail'.
18199
18200 * forms.el (read-file-filter): Declare.
18201 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18202
18203 * frame.el (frame-creation-function-alist): Mark unused parameter.
18204 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18205
18206 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18207 Remove unused parameters.
18208 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18209 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18210
18211 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18212 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18213 (hfy-prepare-tag-map): Mark unused parameters.
18214 (htmlfontify-buffer): Use `called-interactively-p'.
18215
18216 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18217 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18218 (ibuffer-do-occur): Mark unused parameters.
18219 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18220 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18221
18222 * ibuffer.el: Don't quote `lambda'.
18223 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18224 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18225 Mark unused parameters.
18226
18227 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18228 (ido-completing-read): Mark unused parameters.
18229 (ido-copy-current-word): Mark unused parameters;
18230 remove unused variable `name'.
18231 (ido-sort-merged-list): Remove unused parameter `dirs'.
18232
18233 * ielm.el (ielm-input-sender): Mark unused parameter.
18234 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18235 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18236 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18237 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18238 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18239
18240 * image-dired.el (image-dired-display-thumbs): Remove unused
18241 variables `curr-file' and `count'.
18242 (image-dired-remove-tag): Remove unused variable `start'.
18243 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18244 variable `curr-file'
18245 (image-dired-rotate-original): Remove unused variable `temp-file'.
18246 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18247 Remove unused variable `file'.
18248 (image-dired-gallery-generate): Remove unused variable `curr'.
18249 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18250
18251 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18252
18253 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18254
18255 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18256
18257 * isearch.el (minibuffer-history-symbol): Declare.
18258 (isearch-edit-string): Remove unused variable `err'.
18259 (isearch-message-prefix, isearch-message-suffix):
18260 Mark unused parameters.
18261
18262 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18263
18264 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18265
18266 * makesum.el (double-column): Remove unused variable `cnt'.
18267
18268 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18269 (ido-ignore-item-temp-list): Declare.
18270
18271 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18272 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18273 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18274 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18275 `mouse-col-delta'.
18276
18277 * mouse-sel.el (mouse-extend-internal):
18278 Remove unused variable `orig-window-frame'.
18279
18280 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18281 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18282 Move declarations before first use.
18283 (pcomplete-opt): Mark unused parameters; doc fix.
18284
18285 * proced.el (proced-revert): Mark unused parameter.
18286 (proced-send-signal): Remove unused variable `err'.
18287
18288 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18289 Rename parameter PREFIX-ARG to ARG.
18290 (ps-basic-plot-string, ps-basic-plot-whitespace):
18291 Mark unused parameters.
18292
18293 * replace.el (replace-count): Define.
18294 (occur-revert-function): Mark unused parameters.
18295 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18296 (isearch-case-fold-search, isearch-string): Declare.
18297 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18298 bind `case-fold-search'. Remove unused variables `beg' and `end',
18299 and simplify.
18300 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18301 COUNT and bind `replace-count'.
18302 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18303 to COUNT.
18304
18305 * savehist.el (print-readably, print-string-length): Declare.
18306
18307 * shadowfile.el (shadow-expand-cluster-in-file-name):
18308 Remove unused variable `cluster'.
18309 (shadow-copy-file): Remove unused variable `i'.
18310 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18311 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18312 (shadow-define-literal-group, shadow-define-regexp-group)
18313 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18314
18315 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18316 (shell): Use `called-interactively-p'.
18317 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18318
18319 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18320 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18321 (delete-backward-char): Remove unused variable `ocol'.
18322 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18323 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18324 (event-apply-hyper-modifier, event-apply-shift-modifier)
18325 (event-apply-control-modifier, event-apply-meta-modifier):
18326 Mark unused parameters.
18327 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18328 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18329
18330 * speedbar.el (speedbar-ignored-directory-expressions)
18331 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18332 (speedbar-find-file, speedbar-dir-follow)
18333 (speedbar-directory-buttons-follow, speedbar-tag-find)
18334 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18335 (speedbar-buffers-line-directory, speedbar-buffer-click):
18336 Mark unused parameters.
18337 (speedbar-tag-file): Remove unused variable `mode'.
18338 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18339
18340 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18341
18342 * talk.el (talk): Remove unused variable `display'.
18343
18344 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18345 (tar-write-region-annotate): Mark unused parameter.
18346
18347 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18348 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18349 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18350 warning by another.
18351
18352 * time-stamp.el (time-stamp-string-preprocess):
18353 Remove unused variable `require-padding'.
18354
18355 * tree-widget.el (widget-glyph-enable): Declare.
18356 (tree-widget-action): Mark unused parameter.
18357
18358 * w32-fns.el (x-get-selection): Mark unused parameter.
18359 (autoload-make-program, generated-autoload-file): Declare.
18360
18361 * wdired.el (wdired-revert): Mark unused parameters.
18362 (wdired-xcase-word): Remove unused variable `err'.
18363
18364 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18365 (whitespace-help-scroll): Remove unused variable `data-help'.
18366
18367 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18368 (widget-image-insert, widget-after-change, default)
18369 (widget-default-format-handler, widget-default-notify)
18370 (widget-default-prompt-value, widget-info-link-action)
18371 (widget-url-link-action, widget-function-link-action)
18372 (widget-variable-link-action, widget-file-link-action)
18373 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18374 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18375 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18376 (widget-insert-button-action, widget-delete-button-action, visibility)
18377 (widget-documentation-link-action, widget-documentation-string-action)
18378 (widget-const-prompt-value, widget-regexp-match, symbol)
18379 (widget-coding-system-prompt-value)
18380 (widget-key-sequence-value-to-external, sexp)
18381 (widget-sexp-value-to-internal, character, vector, cons)
18382 (widget-choice-prompt-value, widget-boolean-prompt-value)
18383 (widget-color--choose-action): Mark unused parameters.
18384 (widget-item-match-inline, widget-choice-match-inline)
18385 (widget-checklist-match, widget-checklist-match-inline)
18386 (widget-group-match): Rename parameter VALUES to VALS.
18387 (widget-field-value-set): Remove unused variable `size'.
18388 (widget-color-action): Remove unused variables `value' and `start'.
18389
18390 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18391 variable `dir'. Doc fix.
06b60517
JB
18392 (windmove-find-other-window): Don't pass it.
18393
18394 * window.el (count-windows): Mark unused parameter.
18395 (bw-adjust-window): Remove unused variable `err'.
18396
18397 * woman.el (woman-file-name): Remove unused variable `default'.
18398 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18399 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18400 (global-font-lock-mode): Declare.
18401 (woman-decode-region): Mark unused parameter.
18402 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18403
18404 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18405 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18406 (x-dnd-handle-moz-url): Remove unused variable `title'.
18407 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18408
18409 * xml.el (xml-parse-tag, xml-parse-attlist):
18410 Remove unused variable `pos'.
18411
bc4f7f3d
GM
184122011-04-19 Glenn Morris <rgm@gnu.org>
18413
18414 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18415 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18416 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18417 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18418 * calendar/cal-html.el (cal-html-insert-minical):
18419 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18420 (calendar-mark-date-pattern):
18421 Prefix "unused" locals.
18422
18423 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18424 optional argument `style'.
18425
18426 * calendar/appt.el (appt-make-list):
18427 * calendar/cal-china.el (calendar-chinese-date-string):
18428 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18429 (diary-hebrew-yahrzeit):
18430 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18431 * calendar/calendar.el (calendar-generate-window):
18432 * calendar/time-date.el (time-to-days):
18433 Remove unused local variables.
18434
16a43933
CY
184352011-04-18 Chong Yidong <cyd@stupidchicken.com>
18436
18437 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18438 glyphless-char-display table.
18439 (tabulated-list-glyphless-char-display): New var.
18440
7eed1860
SS
184412011-04-18 Sam Steingold <sds@gnu.org>
18442
18443 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18444 to acknowledgments.
18445
4d2d1ccd
GM
184462011-04-17 Glenn Morris <rgm@gnu.org>
18447
18448 * calendar/diary-lib.el (diary-sexp-entry):
18449 * calendar/holidays.el (holiday-sexp):
18450 Set debug-on-error rather than the removed stack-trace-on-error.
18451
239da61d
GM
184522011-04-16 Glenn Morris <rgm@gnu.org>
18453
18454 * progmodes/f90.el: Use lexical-binding.
18455 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18456
8b05752a
SM
184572011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18458
daca8ba5
SM
18459 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18460 (mail-mode): Setup mailalias completion here instead.
18461 * mail/mailalias.el: Use lexical-binding.
18462 (pattern, mailalias-done): Declare dynamic.
18463 (mail-completion-at-point-function): New function, from mail-complete.
18464 (mail-complete): Use it.
18465 (mail-completion-expand): New function.
18466 (mail-get-names): Use it.
18467 (mail-directory, mail-directory-process, mail-directory-stream):
18468 Don't use `pattern' for lexically bound arg.
18469
6f542485
SM
18470 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18471
037e7c3f
SM
18472 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18473 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18474 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18475
8b05752a
SM
18476 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18477 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18478 (byte-interactive-p): Define them again, for use when inlining
18479 old code.
18480
49093f60
JB
184812011-04-15 Juanma Barranquero <lekktu@gmail.com>
18482
18483 * loadup.el: Use `string-to-number', not `string-to-int'.
18484
b5b8e7de
SM
184852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18486
18487 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18488 gud-gdb-complete-command.
18489 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18490 (gud-gdb-completion-at-point): New function.
18491 (gud-gdb-completions): Remove.
18492
f42efeb5
MA
184932011-04-14 Michael Albinus <michael.albinus@gmx.de>
18494
49093f60
JB
18495 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18496 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18497 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18498 whether `executable-find' is bound.
f42efeb5
MA
18499
18500 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18501
e240cc21
SM
185022011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18503
18504 * minibuffer.el (completion-in-region-mode-predicate)
18505 (completion-in-region-mode--predicate): New vars.
18506 (completion-in-region, completion-in-region--postch)
18507 (completion-in-region-mode): Use them.
18508 (completion--capf-wrapper): Also return the hook function.
18509 (completion-at-point, completion-help-at-point):
18510 Adjust and provide a predicate.
c2bd2ab0
SM
18511
18512 Preserve arg names for advice of subr and lexical functions (bug#8457).
18513 * help-fns.el (help-function-arglist): Consolidate the subr and
18514 new-byte-code cases. Add argument `preserve-names' to extract names
18515 from the docstring when needed.
18516 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18517 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18518 (ad-arglist): Use help-function-arglist's new arg.
18519 (ad-definition-type): Use cond.
18520
c183f693
JB
185212011-04-13 Juanma Barranquero <lekktu@gmail.com>
18522
06641a47
JB
18523 * autorevert.el (auto-revert-handler):
18524 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18525 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18526 Don't quote lambda.
18527
c183f693
JB
18528 * image-mode.el (image-transform-set-scale):
18529 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18530
1e3b6001
G
185312011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18532
18533 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18534 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18535 Upgrades via gnutls-cli are too slow to be done opportunistically.
18536
2d6af8dd
JB
185372011-04-12 Juanma Barranquero <lekktu@gmail.com>
18538
18539 * dframe.el (dframe-current-frame): Remove spurious quote.
18540
c0749a51
GM
185412011-04-12 Glenn Morris <rgm@gnu.org>
18542
088d0d61
GM
18543 * calendar/cal-tex.el (cal-tex-end-document):
18544 Try to automatically use latin1 input if needed.
18545
c0749a51
GM
18546 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18547 Don't try to cons a mark onto an empty element.
18548
5c90fde0
LL
185492011-04-11 Leo Liu <sdl.web@gmail.com>
18550
18551 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18552 buffers.
18553 (ido-kill-buffer-at-head): Support killing virtual buffers.
18554
369e974d
CY
185552011-04-10 Chong Yidong <cyd@stupidchicken.com>
18556
18557 * minibuffer.el (completion-show-inline-help): New var.
18558 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18559 (minibuffer-force-complete, minibuffer-complete-word):
18560 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18561
18562 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18563 to avoid interference from inline help (Bug#5849).
18564
37f1c930
LL
185652011-04-10 Leo Liu <sdl.web@gmail.com>
18566
099c39a4
JB
18567 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18568 Fix typo.
37f1c930 18569
a32d4040
CY
185702011-04-09 Chong Yidong <cyd@stupidchicken.com>
18571
18572 * image-mode.el (image-toggle-display-image): Signal an error if
18573 not in Image mode.
18574 (image-transform-mode, image-transform-resize)
18575 (image-transform-set-rotation): Doc fix.
daca8ba5 18576 (image-transform-set-resize): Delete.
a32d4040
CY
18577 (image-transform-set-scale, image-transform-fit-to-height)
18578 (image-transform-fit-to-width): Handle image-toggle-display-image
18579 and image-transform-resize directly.
18580
099c39a4 185812011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18582
18583 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18584 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18585 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18586 (doc-view-mode-map): Add bindings for the new functions.
18587
099c39a4 185882011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18589
4d61f28d 18590 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18591 Fix typo in docstring.
18592
3726838a
EZ
185932011-04-08 Eli Zaretskii <eliz@gnu.org>
18594
04f33f1e
EZ
18595 * files.el (file-size-human-readable): Produce one digit after
18596 decimal, like "ls -lh" does.
18597
18598 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18599 the file size representation.
18600
3726838a
EZ
18601 * simple.el (list-processes): If async subprocesses are not
18602 available, error out with a clear error message.
18603
cbb59342
CY
186042011-04-08 Chong Yidong <cyd@stupidchicken.com>
18605
18606 * help.el (help-form-show): New function, to be called from C.
18607 Put help-form output in a buffer named differently than *Help*.
18608
e3971c44
EZ
186092011-04-08 Eli Zaretskii <eliz@gnu.org>
18610
18611 * files.el (file-size-human-readable): New function.
18612
18613 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18614 computing the representation inline. Don't require `cl'.
18615
12544bbe
GM
186162011-04-08 Glenn Morris <rgm@gnu.org>
18617
a1de6c6a
GM
18618 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18619
3c4671f4
GM
18620 * net/browse-url.el (browse-url-firefox):
18621 Test system-type, not system-configuration.
18622
b605679c
GM
18623 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18624 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18625 Use log-edit-empty-buffer-p. (Bug#7598)
18626
56442f0c
GM
18627 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18628 (rlogin-mode-map): Initialize in the defvar.
18629 (rlogin): Use ignore-errors.
18630
12544bbe
GM
18631 * replace.el (occur-mode-map): Some fixes for menu items.
18632
eb237b0f
AH
186332011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18634
18635 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18636
7d668f2c
CY
186372011-04-06 Chong Yidong <cyd@stupidchicken.com>
18638
e67a13ab
CY
18639 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18640 issuing unused warnings.
18641
18642 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18643 macro directly.
18644
7d668f2c
CY
18645 * simple.el: Lisp reimplement of list-processes. Based on an
18646 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18647 (process-menu-mode): New major mode.
18648 (list-processes--refresh, list-processes):
18649 (process-menu-visit-buffer): New functions.
18650
18651 * files.el (save-buffers-kill-emacs): Don't assume any return
18652 value of list-processes, which is undocumented anyway.
18653
a83ec3c9
CY
186542011-04-06 Chong Yidong <cyd@stupidchicken.com>
18655
18656 * emacs-lisp/tabulated-list.el: New file.
18657
e91a96fe
CY
18658 * emacs-lisp/package.el: Use Tabulated List mode.
18659 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18660 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18661 table format using Tabulated List mode variables.
18662 (package--push): New macro, replacing package-list-maybe-add.
18663 (package-menu--generate): Use package--push. Renamed from
18664 package--generate-package-list.
18665 (package-menu-refresh, list-packages): Use it.
daca8ba5 18666 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18667 Return insertion data instead of inserting it directly.
099c39a4
JB
18668 (package-menu-describe-package, package-menu-execute):
18669 Use tabulated-list-get-id.
e91a96fe
CY
18670 (package-menu-mark-delete, package-menu-mark-install)
18671 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18672 (package-menu-mark-obsolete-for-deletion):
18673 Use tabulated-list-put-tag.
e91a96fe
CY
18674 (package--list-packages, package-menu-revert)
18675 (package-menu-get-package, package-menu-get-version)
18676 (package-menu-sort-by-column): Functions deleted.
18677 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18678 (package-menu--status-predicate, package-menu--version-predicate)
18679 (package-menu--name-predicate)
18680 (package-menu--description-predicate): Handle arguments in the
18681 Tabulated List format.
18682 (package-list-packages-no-fetch): Call list-packages.
18683
3e214b50
JB
186842011-04-06 Juanma Barranquero <lekktu@gmail.com>
18685
18686 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18687 (after-find-file): Don't bind it.
3e214b50
JB
18688 (revert-buffer-in-progress-p): New variable.
18689 (revert-buffer): Bind it.
18690 Pass nil for `after-find-file-from-revert-buffer'.
18691
18692 * saveplace.el (save-place-find-file-hook): Use new variable
18693 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18694
3f0f1700
GM
186952011-04-06 Glenn Morris <rgm@gnu.org>
18696
c0274801
GM
18697 * Makefile.in (AUTOGEN_VCS): New variable.
18698 (autoloads): Use $AUTOGEN_VCS.
18699
3f0f1700
GM
18700 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18701 * calendar/calendar.el (calendar-mode-map):
18702 Check for toolkit scroll bars. (Bug#8305)
18703
41ea9e48
CY
187042011-04-05 Chong Yidong <cyd@stupidchicken.com>
18705
18706 * minibuffer.el (completion-in-region--postch)
18707 (completion-in-region-mode): Remove unnecessary messages.
18708
6194c800
JB
187092011-04-05 Juanma Barranquero <lekktu@gmail.com>
18710
33256f14
JB
18711 * font-lock.el (font-lock-refresh-defaults):
18712 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18713 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18714
6194c800
JB
18715 * info.el (Info-directory-list, Info-read-node-name-2)
18716 (Info-split-parameter-string): Doc fixes.
18717 (Info-virtual-nodes): Reflow docstring.
18718 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18719 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18720 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18721 Fix typos in docstrings.
18722 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18723 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18724 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18725 (Info-restore-desktop-buffer): Mark unused parameters.
18726 (Info-directory-find-file, Info-directory-find-node)
18727 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18728 (Info-virtual-index-find-node, Info-apropos-find-file)
18729 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18730 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18731 (Info-virtual-index): Remove unused local variable `nodename'.
18732
b87a8200 187332011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18734
b87a8200
DD
18735 * net/rcirc.el: Update my e-mail address.
18736 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18737
3b2ff876
CY
187382011-04-05 Chong Yidong <cyd@stupidchicken.com>
18739
18740 * startup.el (command-line): Save the cursor's theme-face
18741 directly, instead of using face-override-spec.
18742
18743 * custom.el (load-theme): Minor optimization in assigning faces.
18744
8d17e7ca
JB
187452011-04-04 Juanma Barranquero <lekktu@gmail.com>
18746
18747 * help-fns.el (describe-variable): Complete all variables having
18748 documentation, including keywords.
18749 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18750
2fbc1934
JB
187512011-04-04 Juanma Barranquero <lekktu@gmail.com>
18752
18753 Convert to lexical-binding.
18754
18755 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18756 (bs--get-marked-string, bs--get-modified-string)
18757 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18758 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18759 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18760
18761 * ehelp.el (electric-help-execute-extended)
18762 (electric-help-ctrl-x-prefix):
18763 * hexl.el (hexl-revert-buffer-function):
18764 * linum.el (linum-after-change, linum-after-scroll):
18765 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18766
18767 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18768
74f50695
DU
187692011-04-04 Daiki Ueno <ueno@unixuser.org>
18770
18771 * epa-dired.el:
18772 * epa-mail.el:
18773 * epa-hook.el:
18774 * epa-file.el:
18775 * epa.el:
18776 * epg.el: Use lexical binding.
18777
c11325f7
CY
187782011-04-03 Chong Yidong <cyd@stupidchicken.com>
18779
0d9e9a12
CY
18780 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18781
c11325f7 18782 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18783 dictionary case for flyspell-mark-duplications-exceptions.
18784 Use regexp matching for languages.
c11325f7
CY
18785 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18786 default dictionary (Bug#7926).
18787
da91b5f2
CY
187882011-04-02 Chong Yidong <cyd@stupidchicken.com>
18789
099c39a4
JB
18790 * emacs-lisp/package.el (package--with-work-buffer):
18791 Recognize https URLs.
da91b5f2 18792
099c39a4
JB
18793 * net/network-stream.el: Move from gnus/proto-stream.el.
18794 Change prefix to network-stream throughout.
da91b5f2
CY
18795 (open-protocol-stream): Merge into open-network-stream, leaving
18796 open-protocol-stream as an alias. Handle nil BUFFER args.
18797
18798 * subr.el (open-network-stream): Move to net/network-stream.el.
18799
afa8e9f6
GM
188002011-04-02 Glenn Morris <rgm@gnu.org>
18801
1d2e369d
GM
18802 * find-dired.el (find-exec-terminator): New option.
18803 (find-ls-option): Test for -ls support.
18804 (find-ls-subdir-switches): Test for -b in find-ls-option.
18805 (find-dired, find-grep-dired): Doc fixes.
18806 (find-dired): Use find-exec-terminator.
18807
8abb7da8 18808 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18809 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18810 (find-name-arg): Remove purecopy.
8abb7da8 18811
f3ca7378
GM
18812 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18813 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18814 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18815 accordingly. Don't add the null-device if not needed.
18816
afa8e9f6
GM
18817 * files.el (save-some-buffers): Doc fix.
18818
35eae264
EZ
188192011-04-02 Eli Zaretskii <eliz@gnu.org>
18820
18821 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18822
26b51db5
JB
188232011-04-01 Juanma Barranquero <lekktu@gmail.com>
18824
18825 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18826 Use `dolist' rather than `mapcar'.
18827
7200d79c
SM
188282011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18829
03408648 18830 Add lexical binding.
7200d79c 18831
03408648
SM
18832 * subr.el (apply-partially): Use new closures rather than CL.
18833 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18834 (dolist, dotimes): Use slightly different expansion for lexical code.
18835 (functionp): Move to C.
18836 (letrec): New macro.
18837 (with-wrapper-hook): Use it and apply-partially instead of CL.
18838 (eval-after-load): Preserve lexical-binding.
18839 (save-window-excursion, with-output-to-temp-buffer): Turn them
18840 into macros.
7200d79c 18841
03408648
SM
18842 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18843
18844 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18845 than the arglist.
18846 (help-add-fundoc-usage): Don't add `Not documented'.
18847 (help-function-arglist): Handle closures, subroutines, and new
18848 byte-code-functions.
18849 (help-make-usage): Remove leading underscores.
18850 (describe-function-1): Handle closures.
18851 (describe-variable): Use special-variable-p for completion.
18852
18853 * files.el (lexical-binding): Declare safe.
f488fb65 18854
03408648
SM
18855 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18856 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18857 (pcase): Add `let' pattern.
18858 Change memoization so it actually works.
18859 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18860 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18861 <let>: New case.
f488fb65 18862
03408648
SM
18863 * emacs-lisp/macroexp.el: Use lexical binding.
18864 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18865 Don't convert ' to #' without checking that it's indeed quoting
18866 a lambda.
18867
18868 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18869 Use eval-sexp-add-defvars.
03408648
SM
18870 (eval-sexp-add-defvars): New fun.
18871
18872 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18873
18874 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18875 Don't autoload.
18876 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18877 than the internal `byte-compile-lambda'.
18878 (defmethod): Don't hide code under quotes.
18879 (eieio-defmethod): New `code' argument.
18880
18881 * emacs-lisp/eieio-comp.el: Remove.
18882
18883 * emacs-lisp/edebug.el (edebug-eval-defun)
18884 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18885 (edebug-toggle): Avoid `eval'.
18886
18887 * emacs-lisp/disass.el (disassemble-internal): Handle new
18888 `closure' objects.
18889 (disassemble-1): Handle new byte codes.
18890
18891 * emacs-lisp/cl.el (pushnew): Silence warning.
18892
18893 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18894 (cl-byte-compile-throw): Remove.
18895 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18896
18897 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18898 closures.
18899
18900 * emacs-lisp/cconv.el: New file.
18901
18902 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18903 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18904 (byte-compile-initial-macro-environment):
18905 Handle declare-function here.
18906 (byte-compile--lexical-environment): New var.
18907 (byte-stack-ref, byte-stack-set, byte-discardN)
18908 (byte-discardN-preserve-tos): New lap codes.
18909 (byte-interactive-p): Don't use any more.
18910 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18911 New macros.
18912 (byte-compile-lapcode): Use them and handle new lap codes.
18913 (byte-compile-obsolete): Remove.
18914 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18915 (byte-compile-arglist-warn): Check late def of inlinable funs.
18916 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18917 since they should have been expanded by now.
18918 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18919 (byte-compile-from-buffer): Remove unused second arg.
18920 (byte-compile-preprocess): New function.
18921 (byte-compile-toplevel-file-form): New function to distinguish
18922 file-form calls from outside from file-form calls from hunk-handlers.
18923 (byte-compile-file-form): Simplify.
18924 (byte-compile-file-form-defsubst): Remove.
18925 (byte-compile-file-form-defmumble): Simplify now that
18926 byte-compile-lambda always returns a byte-code-function.
18927 (byte-compile): Preprocess.
18928 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18929 Remove, not used any more.
18930 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18931 (byte-compile-make-args-desc): New funs.
18932 (byte-compile-lambda): Handle lexical functions. Always return
18933 a byte-code-function.
18934 (byte-compile-reserved-constants): New var, to make up room for
18935 closed-over variables.
18936 (byte-compile-constants-vector): Obey it.
18937 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18938 (byte-compile-macroexpand-declare-function): New function.
18939 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18940 byte-code-functions.
18941 (byte-compile-form): Check obsolescence here.
18942 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18943 (byte-compile-variable-ref): Remove.
18944 (byte-compile-dynamic-variable-op): New fun.
18945 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18946 (byte-compile-variable-set): New funs.
18947 (byte-compile-discard): Add 2 args.
18948 (byte-compile-stack-ref, byte-compile-stack-set)
18949 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18950 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18951 macroexpand-all instead.
18952 (byte-compile-quote-form): Remove.
18953 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18954 (byte-compile-bind, byte-compile-unbind): New funs.
18955 (byte-compile-let): Handle let* and lexical binding.
18956 (byte-compile-let*): Remove.
18957 (byte-compile-catch, byte-compile-unwind-protect)
18958 (byte-compile-track-mouse, byte-compile-condition-case):
18959 Handle a new :fun-body form, used for lexical scoping.
18960 (byte-compile-save-window-excursion)
18961 (byte-compile-with-output-to-temp-buffer): Remove.
18962 (byte-compile-defun): Simplify.
18963 (byte-compile-stack-adjustment): New fun.
18964 (byte-compile-out): Use it.
18965 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18966
18967 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18968 handler any more.
18969
18970 * emacs-lisp/byte-opt.el: Use lexical binding.
18971 (byte-inline-lapcode): Remove (to bytecomp).
18972 (byte-compile-inline-expand): Pay attention to inlining to/from
18973 lexically bound code.
18974 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18975 any more.
18976 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18977 any more and don't call compiler-macros.
18978 (byte-compile-splice-in-already-compiled-code): Remove.
18979 (byte-code): Don't inline any more.
18980 (disassemble-offset): Receive `bytes' as argument rather than via
18981 dynamic scoping.
18982 (byte-compile-tag-number): Declare before first use.
18983 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18984 `return' even if make-spliceable.
18985 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18986 obsolete interactive-p.
18987 (byte-optimize-lapcode): Optimize new lap-codes.
18988 Don't trip up on new form of `byte-constant' lap code.
18989
18990 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18991
18992 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18993
18994 * custom.el (custom-initialize-default, custom-declare-variable):
18995 Use `defvar'.
18996
18997 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18998 New variables.
18999 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19000 (COMPILE_FIRST): Add macroexp and cconv.
19001 * makefile.w32-in: Mirror changes in Makefile.in.
19002
19003 * vc/cvs-status.el:
19004 * vc/diff-mode.el:
19005 * vc/log-edit.el:
19006 * vc/log-view.el:
19007 * vc/smerge-mode.el:
19008 * textmodes/bibtex-style.el:
090bd7cb 19009 * textmodes/css-mode.el:
03408648
SM
19010 * startup.el:
19011 * uniquify.el:
da91b5f2
CY
19012 * minibuffer.el:
19013 * newcomment.el:
19014 * reveal.el:
19015 * server.el:
19016 * mpc.el:
19017 * emacs-lisp/smie.el:
19018 * doc-view.el:
19019 * dired.el:
03408648
SM
19020 * abbrev.el: Use lexical binding.
19021
0f0c1f27
EZ
190222011-04-01 Eli Zaretskii <eliz@gnu.org>
19023
19024 * info.el (info-display-manual): New function.
19025
c82b2579
SM
190262011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19027
19028 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19029
221ddf68
TH
190302011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19031
19032 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19033 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19034
cba6e77e
GM
190352011-03-31 Glenn Morris <rgm@gnu.org>
19036
e040639f
GM
19037 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19038
cba6e77e
GM
19039 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19040
6d0f1c9e
CS
190412011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19042
19043 * progmodes/python.el (python-default-interpreter)
19044 (python-python-command-args, python-jython-command-args)
19045 (python-which-shell, python-which-args, python-which-bufname)
19046 (python-file-queue, python-comint-output-filter-function)
19047 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19048 variables and functions.
19049
3e2d70fd
SM
190502011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19051
19052 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19053 (completion-in-region-mode): New minor mode.
19054 (completion-in-region): Use it.
19055 (completion-in-region--data, completion-in-region-mode-map): New vars.
19056 (completion-in-region--postch): New function.
19057 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19058 New vars.
19059 (completion--capf-wrapper): New function.
19060 (completion-at-point): Use it to track well-behavedness of
19061 hook functions.
19062 (completion-help-at-point): New command.
19063
f3e4086c
JM
190642011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19065
19066 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19067 syntax class to search for whitespace on a single line
19068 (Message-ID: <4D938140.4030905@redhat.com>).
19069
eb7ffc14
LL
190702011-03-30 Leo Liu <sdl.web@gmail.com>
19071
19072 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19073 New commands.
19074 (edit-abbrevs-map): Bind them here.
19075 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19076
d806ab68
KM
190772011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19078
19079 * allout.el (allout-hide-by-annotation, allout-flag-region):
19080 Reduce possibility of overlay leakage by making them volatile.
19081
19082 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19083 hash is not shared between buffers. Mode initialization is
19084 responsible for giving it a useful starting value.
19085 (allout-item-span): Reduce possibility of overlay leakage by
19086 making them volatile.
19087 (allout-widgets-count-buttons-in-region): Add diagnostic function
19088 for tracking down button overlay leaks.
19089
ea622834
LL
190902011-03-29 Leo Liu <sdl.web@gmail.com>
19091
19092 * ido.el (ido-read-internal): Use the default history var
19093 minibuffer-history if no HISTORY is specified.
19094
b62f8267
G
190952011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19096
03408648
SM
19097 * net/imap.el (imap-shell-open, imap-process-connection-type):
19098 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19099 Kerberos, SSL, other subprocesses.
19100
947b6566
LL
191012011-03-28 Leo Liu <sdl.web@gmail.com>
19102
19103 * abbrev.el (abbrev-table-empty-p): New function.
19104 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19105 nonempty ones. (Bug#5937)
19106
5ffb62aa
JD
191072011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19108
19109 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19110
7a097943
LL
191112011-03-27 Leo Liu <sdl.web@gmail.com>
19112
19113 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19114 for foreground and background colors.
19115 (ansi-color-make-color-map): Adapt.
19116
c5b40130
LL
191172011-03-25 Leo Liu <sdl.web@gmail.com>
19118
1f48f7d2
LL
19119 * midnight.el (midnight-time-float): Remove. Note it calculates
19120 the microsecond component incorrectly and seconds-to-time does the
19121 same job.
625897ec 19122 Remove redundant (require 'timer).
1f48f7d2 19123
c5b40130
LL
19124 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19125 (ido-completions): Remove unused arguments. (Bug#8329)
19126
d86d2721
SM
191272011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19128
19129 * minibuffer.el (completion--flush-all-sorted-completions):
19130 Remove itself from hook.
19131 (completion-at-point): Let the functions perform the completion
19132 immediately and return nil or t.
19133 * comint.el (comint-dynamic-complete-functions): Now identical to
19134 completion-at-point-functions.
19135 (comint-dynamic-list-input-ring): Remove unused var `index'.
19136 (comint--match-partial-filename, comint--unquote&expand-filename):
19137 New funs, split from comint-match-partial-filename.
19138 (comint-dynamic-complete): Use completion-at-point.
19139 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19140
e8974c48
DA
191412011-03-24 Drew Adams <drew.adams@oracle.com>
19142
19143 * thingatpt.el: Support `defun'.
19144
def71b5e
LL
191452011-03-23 Leo Liu <sdl.web@gmail.com>
19146
cb5af48e
LL
19147 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19148
def71b5e
LL
19149 * help-mode.el (help-mode-finish): Tweak regexp.
19150
927c53e7
GM
191512011-03-23 Glenn Morris <rgm@gnu.org>
19152
18d05bed
GM
19153 * eshell/esh-opt.el (eshell-eval-using-options):
19154 Do not bind unused local variable `eshell-option-stub'.
19155
927c53e7
GM
19156 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19157
9d0da923
JB
191582011-03-22 Juanma Barranquero <lekktu@gmail.com>
19159
19160 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19161 keymap variable in `with-no-warnings' to avoid a warning when the
19162 keymap has been already `defconst'ed.
19163
4b978a67
LL
191642011-03-22 Leo Liu <sdl.web@gmail.com>
19165
19166 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19167 encode all chars in abbrevs; otherwise use emacs-mule or
19168 utf-8-emacs. (Bug#8308)
19169
5fd62452
JB
191702011-03-22 Juanma Barranquero <lekktu@gmail.com>
19171
0b1596c6
JB
19172 * simple.el (backward-delete-char-untabify):
19173 Avoid warning about using `delete-backward-char'.
19174
5fd62452
JB
19175 * image.el (image-type-file-name-regexps): Make it variable.
19176 `imagemagick-register-types' modifies it, and the user may want
19177 to add new extensions for known image types.
19178 (imagemagick-register-types): Throw error if not using ImageMagick.
19179
0b4e93f1
LL
191802011-03-22 Leo Liu <sdl.web@gmail.com>
19181
19182 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19183 located before rcirc-prompt-end-marker.
19184 (rcirc-complete): Error if point is not after rcirc prompt.
19185 Handle the case when table is nil.
9882e214 19186 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19187
fccee4ab
CY
191882011-03-22 Chong Yidong <cyd@stupidchicken.com>
19189
19190 * custom.el (custom--inhibit-theme-enable): Make it affect only
19191 custom-theme-set-variables and custom-theme-set-faces.
19192 (provide-theme): Ignore custom--inhibit-theme-enable.
19193 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19194 (custom-enabling-themes): Delete variable.
d86d2721
SM
19195 (enable-theme): Accept only loaded themes as arguments.
19196 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19197 (custom-enabled-themes): Forbid themes from setting this.
19198 Eliminate use of custom-enabling-themes.
19199 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19200
af896da6
LL
192012011-03-21 Leo Liu <sdl.web@gmail.com>
19202
19203 * ido.el (ido-read-internal): Add ido-selected to history instead
19204 of user input.
19205
78f64af0
SM
192062011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19207
19208 * subr.el (deferred-action-list, deferred-action-function):
19209 Mark obsolete.
19210
b16ac1ec
LL
192112011-03-21 Leo Liu <sdl.web@gmail.com>
19212
810f7698
LL
19213 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19214 change on 2011-02-13 (bug#8309).
19215
b16ac1ec
LL
19216 * minibuffer.el (read-file-name-function): Change default value.
19217 (read-file-name--defaults): Rename from read-file-name-defaults.
19218 (read-file-name-default): Rename from read-file-name.
19219 (read-file-name): Call read-file-name-function.
19220
4e05e67e
GM
192212011-03-21 Glenn Morris <rgm@gnu.org>
19222
19223 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19224 Doc fixes.
19225
4359915b
CY
192262011-03-21 Chong Yidong <cyd@stupidchicken.com>
19227
19228 * cus-theme.el: Add missing provide statement.
19229 (customize-create-theme): Extract theme value correctly.
19230 (custom-theme-visit-theme): Autoload.
19231 (customize-create-theme): Prompt before inserting default faces.
19232
1fe275ee
JB
192332011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19234
19235 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19236 units and musical notes.
19237
cd394be1 192382011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19239
19240 * ido.el (ido-read-internal): Use completing-read-default.
19241 (ido-completing-read): Fix compatibility with completing-read.
19242
7d476bde
CO
192432011-03-20 Christian Ohler <ohler@gnu.org>
19244
19245 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19246 (ert-delete-all-tests): Use `called-interactively-p' rather than
19247 `interactive-p'.
19248 (ert--make-xrefs-region): Respect END.
19249
fe0fb33e
CY
192502011-03-19 Chong Yidong <cyd@stupidchicken.com>
19251
ff854b0b
CY
19252 * dired-aux.el (dired-create-directory): Signal an error if the
19253 directory already exists (Bug#8246).
19254
fe0fb33e
CY
19255 * facemenu.el (list-colors-display): Call list-faces-display
19256 inside with-help-window.
19257 (list-colors-print): Use display property to align the final
19258 column, instead of checking window-width.
19259
576bce32
EZ
192602011-03-19 Eli Zaretskii <eliz@gnu.org>
19261
4d61f28d 19262 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19263 windows-nt systems.
19264 (emerge-protect-metachars): Quote correctly for ms-dos and
19265 windows-nt systems.
19266
89c41d68 192672011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19268
19269 * info.el (info-initialize): Replace all uses of `:' with
19270 path-separator for compatibility with non-Unix systems.
19271 Cache quoting of path-separator. (Bug#8258)
19272
b14e3e21 192732011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19274
19275 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19276 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19277 (mouse-avoidance-mode): Fix typos in docstrings.
19278
4525ce3e
CY
192792011-03-19 Chong Yidong <cyd@stupidchicken.com>
19280
19281 * startup.el (package-subdirectory-regexp): Move from package.el.
19282 Omit \\` and \\', and let callers add them.
19283
19284 * emacs-lisp/package.el (package-strip-version)
19285 (package-load-all-descriptors): Add \\` and \\' to
19286 package-subdirectory-regexp before using it.
19287 (package-untar-buffer): New arg DIR; ensure that file untars only
19288 into this expected directory. Remove superfluous delete-region.
19289 (package-unpack): Caller changed.
19290 (package-tar-file-info): Use package-subdirectory-regexp.
19291
a904a09a 192922011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19293
a904a09a
SM
19294 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19295 diff-mode-shared-map (bug#8284).
19296 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19297
192982011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19299
19300 * calendar/time-date.el (format-seconds): Use assoc instead of
19301 assoc-string, since assoc-string doesn't exist in XEmacs.
19302
171fc304
JB
193032011-03-17 Juanma Barranquero <lekktu@gmail.com>
19304
19305 * custom.el (custom-known-themes): Reflow docstring.
19306 (custom-theme-load-path): Fix typo in docstring.
19307 (load-theme): Fix typo in error message.
19308 (custom-available-themes, custom-variable-theme-value):
19309 Use `let', not `let*'.
19310
d71990a1
JB
193112011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19312
19313 * calc/README: Mention inclusion of musical notes.
19314
19315 * calc/calc-units.el (calc-lu-quant): Rename from
19316 `calc-logunits-quantity'.
19317 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19318 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19319 (calc-db): Rename from `calc-dblevel'.
19320 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19321 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19322 (calc-np): Rename from `calc-nplevel'.
19323 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19324 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19325 (calc-lu-plus): Rename from `calc-logunits-add'.
19326 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19327 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19328 (calc-lu-minus): Rename from `calc-logunits-sub'.
19329 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19330 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19331 (calc-lu-times): Rename from `calc-logunits-mul'.
19332 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19333 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19334 (calc-lu-divide): Rename from `calc-logunits-div'.
19335 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19336 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19337
19338 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19339 functions being autoloaded.
19340
19341 * calc/calc.el (calc-lu-power-reference): Rename from
19342 `calc-logunits-power-reference'.
19343 (calc-lu-field-reference): Rename from
19344 `calc-logunits-field-reference'.
19345
7a71b18d
GM
19346 * calc/calc-help.el (calc-l-prefix-help):
19347 Mention musical note functions.
d71990a1 19348
40c2934b
SM
193492011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19350
19351 * minibuffer.el (completion-all-sorted-completions):
19352 Use :completion-cycle-penalty text property if present.
19353
b0911414
KM
193542011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19355
19356 * allout.el (allout-yank-processing): Adjust for new rebulleting
19357 regime so bullet being yanked is used without prompting the user
19358 for a choice.
19359
8a05b668
JB
193602011-03-16 Juanma Barranquero <lekktu@gmail.com>
19361
19362 * startup.el (command-line): Warn the user that _emacs is deprecated.
19363
5ba5fb81
JB
193642011-03-16 Juanma Barranquero <lekktu@gmail.com>
19365
19366 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19367 (delphi-verbose, delphi-comment-face, delphi-string-face)
19368 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19369 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19370 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19371 (delphi-new-comment-line, delphi-font-lock-defaults)
19372 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19373 Fix typos in docstrings.
19374
2dab465b
KM
193752011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19376
5ba5fb81 19377 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19378 Invert the roles of character and string values for INSTEAD, so a
19379 string is used for the more common case of a defaulting prompt.
19380
0adf5618
SM
193812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19382
19383 * progmodes/ruby-mode.el (ruby-backward-sexp):
19384 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19385 * play/gamegrid.el (gamegrid-make-face):
19386 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19387 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19388 * notifications.el (notifications-notify):
19389 * net/xesam.el (xesam-search-engines):
19390 * net/quickurl.el (quickurl-list-insert):
19391 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19392
d72700e5
CY
193932011-03-15 Chong Yidong <cyd@stupidchicken.com>
19394
19395 * startup.el (command-line): Update package subdirectory regexp.
19396
49c5410a
SM
193972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19398
c6eee9aa
SM
19399 * allout.el (allout-abbreviate-flattened-numbering)
19400 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19401
49c5410a
SM
19402 * subr.el (read-char-choice): Only show the cursor after the prompt,
19403 not after the answer.
19404
047b2bb9
KR
194052011-03-15 Kevin Ryde <user42@zip.com.au>
19406
19407 * help-fns.el (variable-at-point): Skip leading quotes, if any
19408 (bug#8253).
19409
0a57d256
SM
194102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19411
19412 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19413 warning message.
19414
77c992bc
MA
194152011-03-14 Michael Albinus <michael.albinus@gmx.de>
19416
19417 * shell.el (shell): When called interactively, offer to change the
19418 shell file name on remote hosts.
19419
eebc475d
TZ
194202011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19421
19422 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19423 integration for LDAP parameters. The host, base, user or binddn,
19424 and secret tokens can be specified in a netrc file, for instance.
19425 This is optional because an `auth-source' parameter must be
19426 specified in the search attributes.
19427
9d05d1ba
JB
194282011-03-13 Juanma Barranquero <lekktu@gmail.com>
19429
19430 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19431
09d9db2c
GM
194322011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19433
19434 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19435 into declaration. Remove redundant and harmful binding.
19436
194372011-03-12 Eli Zaretskii <eliz@gnu.org>
19438
19439 * files.el (file-ownership-preserved-p): Pass `integer' as an
19440 explicit 2nd argument to `file-attributes'. If the file's owner
19441 is the Administrators group on Windows, and the current user is
19442 Administrator, consider that a match.
19443
19444 * server.el (server-ensure-safe-dir): Consider server directory
19445 safe on MS-Windows if its owner is the Administrators group while
19446 the current Emacs user is Administrator. Use `=' to compare
19447 numerical UIDs, since they could be integers or floats.
19448
219bd536
JB
194492011-03-12 Juanma Barranquero <lekktu@gmail.com>
19450
19451 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19452
f3afd36b
MA
194532011-03-12 Michael Albinus <michael.albinus@gmx.de>
19454
19455 Sync with Tramp 2.2.1.
19456
19457 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19458
19459 * net/trampver.el: Update release number.
19460
3aaaa6f1
SM
194612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19462
94642599
SM
19463 * progmodes/compile.el (compilation--previous-directory): Fix up
19464 various nil/dead-marker mismatches (bug#8014).
19465 (compilation-directory-properties, compilation-error-properties):
19466 Don't call it at a position past the one we're about to change.
19467
3aaaa6f1
SM
19468 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19469 Disable obsolescence warnings in the file that declares it.
19470
14239447
KM
194712011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19472
099c39a4
JB
19473 * allout-widgets.el (allout-widgets-tally):
19474 Initialize allout-widgets-tally as a hash table rather than nil to
19475 prevent mode-line redisplay warnings. Also, clarify the module
19476 description and fix a comment typo.
14239447 19477
135e287c
JB
194782011-03-11 Juanma Barranquero <lekktu@gmail.com>
19479
19480 * help-fns.el (describe-variable): Don't complete keywords.
19481 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19482
ffbf300e
CY
194832011-03-10 Chong Yidong <cyd@stupidchicken.com>
19484
ba08b241
CY
19485 * emacs-lisp/package.el (package-version-join): Impose a standard
19486 string representation for pre/alpha/beta version lists.
19487 (package-unpack-single): Standardize the directory name by passing
19488 it through package-version-join.
19489 (package-strip-rcs-id): Accept any version string that does not
19490 signal an error in version-to-list.
ffbf300e 19491
f346fd6b
MA
194922011-03-10 Michael Albinus <michael.albinus@gmx.de>
19493
19494 * simple.el (delete-trailing-whitespace): Return nil for the
19495 benefit of `write-file-functions'.
19496
ccb55d27
GM
194972011-03-10 Glenn Morris <rgm@gnu.org>
19498
5ceaac0c
GM
19499 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19500
02da65ff
GM
19501 * vc/vc-git.el (vc-git-program): New option.
19502 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19503 (vc-git--call): Use it.
19504
b2f603cc
GM
19505 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19506
5772caab
GM
19507 * cus-edit.el (Custom-newline): If no button at point, look
19508 for a subgroup button at start-of-line. (Bug#2298)
19509
ccb55d27
GM
19510 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19511
ec6ecaed
JD
195122011-03-10 Julien Danjou <julien@danjou.info>
19513
19514 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19515 `cursor-type' is nil.
19516
9d5aa01d
JB
195172011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19518
19519 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19520
b6a5875b
KM
195212011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19522
7a71b18d 19523 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19524 preserves the existing header prefix, rebulleting it if necessary,
19525 rather than replacing it. This is necessary for proper operation
19526 of cooperative addons like allout-widgets.
1154d12e
JB
19527 (allout-make-topic-prefix, allout-rebullet-heading):
19528 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19529 value as alternate bullet to be used, instead of prompting the user
19530 for a bullet character.
b6a5875b 19531
ee545c35
MA
195322011-03-09 Michael Albinus <michael.albinus@gmx.de>
19533
d86d2721
SM
19534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19535 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19536 `tramp-default-port'.
19537
c47971d7
DD
195382011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19539
19540 * net/rcirc.el (rcirc-handler-001): Remove useless
19541 with-rcirc-process-buffer.
19542 (rcirc-check-auth-status): Swap arguments to string-match.
19543
13522cb4
GM
195442011-03-09 Glenn Morris <rgm@gnu.org>
19545
0be6f4f1
GM
19546 * shell.el (shell-mode):
19547 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19548
13522cb4
GM
19549 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19550 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19551
515de2e3
CY
195522011-03-08 Chong Yidong <cyd@stupidchicken.com>
19553
19554 * emacs-lisp/package.el (package-refresh-contents)
19555 (package-menu-execute): Use condition-case-no-debug.
19556
b511b994
MA
195572011-03-08 Michael Albinus <michael.albinus@gmx.de>
19558
19559 * simple.el (shell-command-to-string): Use `process-file'.
19560
19561 * emacs-lisp/package.el (package-tar-file-info): Handle also
19562 remote files.
19563
d86d2721
SM
19564 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19565 Use `equal' for upload base check.
b511b994 19566
25bbfb31
AM
195672011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19568
19569 * textmodes/texinfo.el (texinfo-environments):
19570 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19571
be996521
GM
195722011-03-08 Glenn Morris <rgm@gnu.org>
19573
e9c8529f
GM
19574 * cus-start.el (cursor-in-non-selected-windows):
19575 Fix :set quoting oddness. (Bug#8192)
19576
be996521
GM
19577 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19578 in some setf expressions. (Bug#2159)
19579
2bb5649e
CY
195802011-03-08 Chong Yidong <cyd@stupidchicken.com>
19581
19582 * custom.el (custom-available-themes): Return themes in
19583 alphabetical order.
19584
33383987 19585See ChangeLog.15 for earlier changes.
e3d51b27
MR
19586
19587;; Local Variables:
19588;; coding: utf-8
e3d51b27
MR
19589;; End:
19590
acaf905b 19591 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19592
19593 This file is part of GNU Emacs.
19594
19595 GNU Emacs is free software: you can redistribute it and/or modify
19596 it under the terms of the GNU General Public License as published by
19597 the Free Software Foundation, either version 3 of the License, or
19598 (at your option) any later version.
19599
19600 GNU Emacs is distributed in the hope that it will be useful,
19601 but WITHOUT ANY WARRANTY; without even the implied warranty of
19602 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19603 GNU General Public License for more details.
19604
19605 You should have received a copy of the GNU General Public License
19606 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.