Added missing ChangeLog entry for previous commit.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
440ba395
FEG
12012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2
3 Enhancements for triple-quote string syntax.
4 * progmodes/python.el (python-syntax-propertize-function): Match
5 both quote cases in one regexp.
6 (python-syntax-stringify): Handle matches properly.
7
4c478e6b
JL
82012-09-30 Juri Linkov <juri@jurta.org>
9
10 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
11 to nil around the call to `add-text-properties' to prevent
12 directory time modification by lock_file. (Bug#2295)
13 * tar-mode.el (tar-summarize-buffer): Idem.
14
d80d54b2
JL
152012-09-30 Juri Linkov <juri@jurta.org>
16
17 * facemenu.el (list-colors-sort): Add option "Luminance".
18 (list-colors-sort-key): Implement it.
19
20 * vc/diff-mode.el (diff-refine-removed):
21 * vc/ediff-init.el (ediff-fine-diff-A):
22 * vc/smerge-mode.el (smerge-refined-removed):
23 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
24
d7e642cc
JD
252012-09-30 Jan Djärv <jan.h.d@swipnet.se>
26
27 * term/ns-win.el (x-file-dialog): New function.
28
ee41332b
JB
292012-09-30 Juanma Barranquero <lekktu@gmail.com>
30
31 * ido.el (ido-max-directory-size): Default to nil; the current
32 default is small for POSIX systems, and impractical on Windows 7
33 now that lstat returns directory sizes for NTFS.
34
5938d519
MR
352012-09-30 Martin Rudalics <rudalics@gmx.at>
36
37 In buffer display functions handle window-height/window-width
38 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
39 * window.el (window--display-buffer): New argument ALIST. Obey
40 window-height and window-width alist entries.
41 (window--try-to-split-window): New argument ALIST. Bind
42 window-combination-limit to t when the window's size shall be
43 changed and window-combination-limit equals `window-size'.
44 (display-buffer-in-atom-window)
45 (display-buffer-in-major-side-window)
46 (display-buffer-in-side-window, display-buffer-same-window)
47 (display-buffer-reuse-window, display-buffer-pop-up-frame)
48 (display-buffer-pop-up-window, display-buffer-below-selected)
49 (display-buffer-at-bottom, display-buffer-in-previous-window)
50 (display-buffer-use-some-window): Adjust all callers of
51 window--display-buffer and window--try-to-split-window.
52 (fit-frame-to-buffer): New option.
53 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
54 is non-nil.
55 (display-buffer-in-major-side-window): Evaluate window-height /
56 window-width alist entries.
57
58 * help.el (temp-buffer-resize-frames)
59 (temp-buffer-resize-regexps): Remove options.
60 (temp-buffer-resize-mode): Adjust doc-string.
61 (resize-temp-buffer-window): Don't consult
62 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
63 temp-buffer-resize-frames.
64
65 * dired.el (dired-mark-pop-up): Call
66 display-buffer-below-selected with a fit-window-to-buffer alist
67 entry.
68
c4c0c2df
CY
692012-09-30 Chong Yidong <cyd@gnu.org>
70
48de8b12
CY
71 * server.el (server-host): Document the security implications.
72 (server-auth-key): Doc fix.
73
74 * startup.el (initial-buffer-choice): Doc fix.
75
76 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
77
a97dc380
CY
78 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
79 restriction change.
80
d39d3c8e
CY
81 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
82
c4c0c2df
CY
83 * help-fns.el (help-fns--obsolete): Fix last change.
84
98a5e33b
SM
852012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
86
34cf6f39
SM
87 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
88 (minor-mode-map-alist): Remove redundant code.
89
e01c13fe
SM
90 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
91 visited in a buffer.
92 (cvs-insert-visited-file): New function.
93 (find-file-hook): Use it.
94
95 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
96
02661b3a
SM
97 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
98 chose face.
99 (log-edit-empty-buffer-p): Don't require a space after a header.
100
43711d4b
SM
101 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
102
38a30d64
SM
103 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
104
4ffb41a9
SM
105 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
106 a proper minor-mode.
107
98a5e33b
SM
108 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
109
de82e29b
GM
1102012-09-29 Glenn Morris <rgm@gnu.org>
111
5cc2e639
GM
112 * winner.el (winner-mode): Remove variable (let define-minor-mode
113 handle it).
114 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
115 Doc fixes.
116 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
117 (winner-mode): Use define-minor-mode.
118
7bd302eb
GM
119 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
120 the full definition in loaddefs, rather than duplicating it.
121
2923922f 122 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 123
0e3e4156
GM
124 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
125 (inferior-lisp-program, inferior-lisp-load-command)
126 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 127 No need to autoload defcustoms.
0e3e4156 128
de82e29b
GM
129 * hippie-exp.el (hippie-expand-try-functions-list)
130 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
131 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
132 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 133 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
134 * progmodes/vhdl-mode.el (vhdl-line-expand):
135 Explicitly load hippie-exp, so it does not get autoloaded
136 while hippie-expand-try-functions-list is let-bound.
137
e60b51ab
GM
1382012-09-28 Glenn Morris <rgm@gnu.org>
139
277f0cfa
GM
140 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
141
e60b51ab
GM
142 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
143 Only "cl.el" counts as cl these days.
144
53baf48a
JL
1452012-09-28 Juri Linkov <juri@jurta.org>
146
147 Display archive errors in the echo area instead of inserting
148 to the file buffer.
149
150 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
151 to STDERR-TEST that can be a regexp matching a successful output.
152 Create a temporary file and redirect stderr to it. Search for
153 STDERR-TEST in the stderr output and display it in the echo area
154 if no match is found.
155 (archive-extract-by-file): New function like
156 `archive-extract-by-stdout' but extracting archives to files
157 and looking for successful matches in stdout. Function body is
158 mostly copied from `archive-rar-extract'.
159 (archive-rar-extract): Use `archive-extract-by-file'.
160 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
161
9c1228c3
LL
1622012-09-28 Leo Liu <sdl.web@gmail.com>
163
147c0425
LL
164 * pcomplete.el (pcomplete-show-completions): Use
165 minibuffer-message to make pcomplete usable in minibuffer.
166
9c1228c3
LL
167 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
168
7f457c06
SM
1692012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
170
3df749b0
SM
171 * type-break.el: Use lexical-binding.
172 (type-break-mode): Use define-minor-mode.
173
7f457c06
SM
174 * emacs-lisp/pcase.el (pcase--mark-used): New.
175 (pcase--u1): Use it (bug#12512).
176
177 * custom.el (load-theme): Set buffer-file-name so the load is recorded
178 in load-history with the right file name.
179
c00ebc98
TH
1802012-09-28 Tassilo Horn <tsdh@gnu.org>
181
182 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
183 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
184 (doc-view-get-bounding-box): Make bounding box slicing work for
185 ODF and DVI documents.
186
96fb7170
GM
1872012-09-28 Glenn Morris <rgm@gnu.org>
188
189 * type-break.el (type-break-mode, type-break-interval)
190 (type-break-good-rest-interval, type-break-keystroke-threshold):
191 No need to autoload.
192 (type-break-good-rest-interval, type-break-keystroke-threshold):
193 Add :set-after.
194
5bc93c67
CY
1952012-09-28 Chong Yidong <cyd@gnu.org>
196
197 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
198 Add :version tag.
199
9cad61d6
SM
2002012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
201
e28e67b3 202 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 203
daee954c
GM
2042012-09-27 Glenn Morris <rgm@gnu.org>
205
a88324d4
GM
206 * faces.el (x-display-name): Declare (for without-x builds).
207
8e5064e5
GM
208 * linum.el (linum-format): Don't autoload it. Improve :type.
209
cc1783c2
GM
210 * progmodes/tcl.el: Don't require outline when compiling.
211 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
212 * textmodes/sgml-mode.el: Don't require outline when compiling.
213 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
214
48c339f2
GM
215 * term.el (term-ansi-reset):
216 Try setting term-ansi-face-already-done to nil. (Bug#11785)
217
daee954c
GM
218 * vc/vc.el (vc-next-action): Only gripe about committing read-only
219 files for RCS and SCCS. (Bug#9781)
220
b7f42161
CY
2212012-09-27 Chong Yidong <cyd@gnu.org>
222
223 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
224 change; value should be t.
225
a2e770db
SM
2262012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
227
83600dc8
SM
228 * image-mode.el: Use lexical-binding.
229 (image-mode-winprops): Use t to stand for the window of
230 a buffer that's not displayed.
231 * doc-view.el (doc-view-new-window-function): Handle the new
232 t in winprops.
233 (doc-view-enlarge): Make it a real nop if the size is not changed.
234 (doc-view-display): Handle the case where the buffer is not (yet?)
235 displayed in any window.
236 (doc-view-saved-settings): New var.
237 (doc-view-mode): Use it.
238 (doc-view-fallback-mode): Set it.
239
a2e770db
SM
240 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
241 Set lexical-binding.
242 (minibuffer-eldef-shorten-default): New var.
243 (minibuffer-default-in-prompt-regexps): Use it for new default.
244 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
245
e3b60857
JB
2462012-09-26 Juanma Barranquero <lekktu@gmail.com>
247
248 * international/uni-bidi.el:
249 * international/uni-category.el:
250 * international/uni-name.el:
251 * international/uni-numeric.el: Regenerate.
252
3a880af4
SM
2532012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
254 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * profiler.el: New file.
257
07b1a5fb
SM
2582012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
259
260 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
261 (testcover-reinstrument): Simplify with CSE.
262
42019c2e
JB
2632012-09-26 Juanma Barranquero <lekktu@gmail.com>
264
265 * window.el (temp-buffer-window-setup): Fix typo in docstring.
266
179f044b
WS
2672012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
268
269 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
270 (verilog-auto-input, verilog-auto-insert-lisp)
271 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
272 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
273 (verilog-auto-unused, verilog-auto-wire)
274 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
275 newline. Reported by Andrew Jones.
276 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
277 Reported by Brad Dobbie.
07b1a5fb
SM
278 (verilog-batch-delete-trailing-whitespace):
279 Create verilog-batch-delete-trailing-whitespace.
280 Reported by Brad Dobbie.
179f044b
WS
281 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
282 parameters from another module. Reported by Dan Katz.
283 (verilog-auto, verilog-auto-assign-modport)
284 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
285 AUTOINOUTMODPORT for UVM interface module shell generation.
286 Reported by Brad Dobbie.
287 (verilog-auto-inst-interfaced-ports): Make default nil, as more
288 standard behavior.
289 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
290 Reported by Matt Martin.
291
9c52dd5a
MR
2922012-09-25 Martin Rudalics <rudalics@gmx.at>
293
294 * window.el (window--resize-child-windows): When resizing child
295 windows proportionally, process them in reverse order to
296 preserve the "when splitting a window the new one gets the odd
297 line" behavior.
298 (window--resize-root-window-vertically): When resizing the
299 minibuffer window try to affect only windows at the bottom of the
300 frame. (Bug#12419)
301
863666eb
CY
3022012-09-25 Chong Yidong <cyd@gnu.org>
303
304 * subr.el (declare): Doc fix.
305
306 * help-fns.el (help-fns--obsolete): Handle macros properly.
307
59f7af81
CY
3082012-09-25 Chong Yidong <cyd@gnu.org>
309
310 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
311 this function obsolete.
312
313 * calendar/cal-x.el (calendar-two-frame-setup)
314 (calendar-only-one-frame-setup, calendar-one-frame-setup):
315 * calendar/calendar.el (american-calendar, european-calendar)
316 (calendar-for-loop):
317 * comint.el (comint-dynamic-simple-complete)
318 (comint-dynamic-complete-as-filename, comint-unquote-filename):
319 * desktop.el (desktop-load-default):
320 * dired-x.el (dired-omit-here-always)
321 (dired-hack-local-variables, dired-default-directory):
322 * emacs-lisp/derived.el (derived-mode-class):
323 * emacs-lisp/timer.el (timer-set-time-with-usecs):
324 * emacs-lock.el (toggle-emacs-lock):
325 * epa.el (epa-display-verify-result):
326 * epg.el (epg-sign-keys, epg-start-sign-keys)
327 (epg-passphrase-callback-function):
328 * eshell/esh-util.el (eshell-for):
329 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
330 (eshell-add-to-window-buffer-names):
331 * files.el (locate-file-completion):
332 * imenu.el (imenu-example--create-c-index)
333 (imenu-example--create-lisp-index)
334 (imenu-example--lisp-extract-index-name)
335 (imenu-example--name-and-position):
336 * international/mule-cmds.el (princ-list):
337 * international/mule-diag.el (decode-codepage-char):
338 * international/mule-util.el (detect-coding-with-priority):
339 * iswitchb.el (iswitchb-read-buffer):
340 * mail/mailalias.el (mail-complete):
341 * mail/sendmail.el (mail-sent-via):
342 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
343 (mouse-major-mode-menu):
344 * password-cache.el (password-read-and-add):
345 * pcomplete.el (pcomplete-parse-comint-arguments):
346 * progmodes/sh-script.el (sh-maybe-here-document):
347 * replace.el (query-replace-regexp-eval):
348 * savehist.el (savehist-load):
349 * simple.el (choose-completion-delete-max-match):
350 * term.el (term-dynamic-simple-complete):
351 * vc/ediff-init.el (ediff-check-version):
352 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
353 * vc/vc.el (vc-diff-switches-list):
354 * view.el (view-return-to-alist-update): Likewise.
355
356 * subr.el (eval-next-after-load, makehash, insert-string)
357 (assoc-ignore-representation, assoc-ignore-case): Use declare to
358 mark obsolete.
359 (mode-line-inverse-video): Variable deleted.
360
361 * international/mule-util.el (string-to-sequence): Remove.
362
363 * calendar/calendar.el (calendar-version):
364 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
365 (icalendar-convert-diary-to-ical):
366 * cus-edit.el (custom-mode):
367 * ansi-color.el (ansi-color-unfontify-region):
368 * international/latin1-disp.el (latin1-char-displayable-p):
369 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
370 * progmodes/which-func.el (which-func-update-1):
371 Use define-obsolete-function-alias.
59f7af81
CY
372
373 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
374 * net/newst-treeview.el (newsticker-groups-filename):
375 Fix incorrect obsolescence declaration.
59f7af81
CY
376
377 * allout.el (allout-passphrase-hint-string): Likewise.
378 (allout-init): Use a declare form to mark obsolete.
379
380 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
381 this applies to functions.
382
383 * iswitchb.el (iswitchb-read-buffer): Move code of
384 iswitchb-define-mode-map here, and delete that obsolete function.
385
386 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
387 font-lock-reference-face.
388
cca96c97
GM
3892012-09-25 Glenn Morris <rgm@gnu.org>
390
b06eeda8
GM
391 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
392 Doc fixes.
393
cca96c97
GM
394 * eshell/em-term.el (eshell-term-name):
395 Default to term-term-name. (Bug#12485)
396
dc4f818b
FEG
3972012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
398
cca96c97
GM
399 * progmodes/python.el (python-shell-send-buffer): Better handling
400 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 401
289c24bd
GM
4022012-09-24 Glenn Morris <rgm@gnu.org>
403
404 * eshell/esh-cmd.el (eshell-find-alias-function):
405 Tighten up file-name regexp. (Bug#12499)
406
8fb8b88f
FEG
4072012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
408
409 Enhancements for triple-quote string syntax.
410 * progmodes/python.el (python-quote-syntax): Remove.
411 (python-syntax-propertize-function): New value.
07b1a5fb
SM
412 (python-syntax-count-quotes, python-syntax-stringify):
413 New functions.
8fb8b88f 414
6c27f0f8
CY
4152012-09-24 Chong Yidong <cyd@gnu.org>
416
a5f2b6ec
CY
417 * mail/supercite.el (sc-version): Remove obsolete function.
418 (sc-describe): Don't mark as obsolete, since it is bound.
419 (sc-submit-bug-report): Remove.
420
421 * vc/log-edit.el (cvs-changelog-full-paragraphs)
422 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
423 (log-edit-require-final-newline)
424 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
425
426 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
427 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
428 * vc/vc.el (vc-checkout-carefully): Likewise.
429
430 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
431 (emerge-version): Remove.
432
433 * progmodes/compile.el (compile-internal): Remove.
434 (compilation-parse-errors-function): Fix typo.
435
436 * international/mule.el (set-char-table-default): Remove.
437 (set-coding-priority, make-coding-system, generic-char-p)
438 (charset-list, charset-bytes, charset-id): Use declare to mark
439 functions as obsolete.
440
441 * vc/pcvs-defs.el (cvs-buffer-name-alist)
442 (cvs-invert-ignore-marks): Remove references to obsolete vars.
443 * vc/vc-hooks.el (vc-default-registered): Don't use
444 vc-master-templates.
445
07b1a5fb
SM
446 * font-lock.el (font-lock-reference-face):
447 Use define-obsolete-variable-alias.
6c27f0f8
CY
448
449 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
450 * calendar/calendar.el (calendar-font-lock-keywords):
451 * calendar/diary-lib.el (diary-font-lock-keywords)
452 (diary-fancy-font-lock-keywords):
453 * textmodes/reftex-sel.el (reftex-insert-docstruct):
454 * textmodes/reftex-index.el (reftex-insert-index):
455 * textmodes/reftex-cite.el (reftex-format-bib-entry):
456 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
457 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
458 * progmodes/prolog.el (prolog-font-lock-keywords):
459 * progmodes/idlwave.el (idlwave-idl-keywords):
460 * progmodes/ada-mode.el (ada-font-lock-keywords):
461 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
462
bcc0adbf
GM
4632012-09-24 Glenn Morris <rgm@gnu.org>
464
465 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
466
095bb823
FEG
4672012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
468
469 * progmodes/python.el (python-indent-line): More consistent cursor
470 movement behavior.
471
70efc5c9
SM
4722012-09-23 Stefan Merten <smerten@oekonux.de>
473
474 * textmodes/rst.el: Fix compiler warning.
475
2f438239
RW
4762012-09-23 Roland Winkler <winkler@gnu.org>
477
07b1a5fb
SM
478 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
479 Transcribe also LaTeX hyphenation.
2f438239
RW
480 (bibtex-reformat): Bug fix. Do not quote twice the elements of
481 bibtex-reformat-previous-options.
482
936ad041
RW
4832012-09-23 Roland Winkler <winkler@gnu.org>
484
485 * proced.el (proced-renice-command): New variable.
486 (proced-marked-processes): New function.
487 (proced-with-processes-buffer): New macro.
488 (proced-send-signal): Use them.
489 (proced-renice): New command bound to r.
490
6fab0274
RW
4912012-09-23 Roland Winkler <winkler@gnu.org>
492
493 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
494 ibuffer-saved-filter-groups has one element, shortcut the call of
495 completing-read. (Bug#12331)
496
9a930676
CY
4972012-09-23 Chong Yidong <cyd@gnu.org>
498
499 * bindings.el (mode-line-toggle-read-only):
500 * bs.el (bs-toggle-readonly):
501 * buff-menu.el (Buffer-menu-toggle-read-only):
502 * dired.el (dired-toggle-read-only):
503 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
504
d07ff9db
CY
5052012-09-23 Chong Yidong <cyd@gnu.org>
506
507 * image.el (image-type-available-p): Adapt to init-image-library
508 argument changes.
509
51c4474e
JL
5102012-09-22 Juri Linkov <juri@jurta.org>
511
512 * dired.el (dired-mode-map): Add [remap read-only-mode] for
513 `dired-toggle-read-only'. (Bug#12462)
514
43bf5e8e
MR
5152012-09-22 Martin Rudalics <rudalics@gmx.at>
516
517 * subr.el (temp-output-buffer-show): New function.
518 (with-output-to-temp-buffer): Call temp-output-buffer-show
519 instead of internal-temp-output-buffer-show.
520
c88b867f
CY
5212012-09-22 Chong Yidong <cyd@gnu.org>
522
3df47cd5
CY
523 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
524 (Bug#12462).
525
c88b867f
CY
526 * repeat.el (repeat): Doc fix (Bug#12348).
527
528 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
529 (Bug#10909).
530
531 * simple.el (shell-command-on-region): Doc fix.
3171e303 532 (read-only-mode): Doc fix.
c88b867f 533
df9685f3
EZ
5342012-09-22 Eli Zaretskii <eliz@gnu.org>
535
536 * emacs-lisp/timer.el (run-with-idle-timer)
537 (timer-activate-when-idle): Warn against reinvoking an idle timer
538 from within its own timer action. (Bug#12447)
539
8e17c9ba
MR
5402012-09-22 Martin Rudalics <rudalics@gmx.at>
541
542 * cus-start.el (window-combination-limit): Add new optional
543 values.
544 * window.el (temp-buffer-window-show)
545 (window--try-to-split-window): Handle new values of
546 window-combination-limit (Bug#1806).
547 (split-window): Test window-combination-limit for t instead of
548 non-nil.
549 (display-buffer-at-bottom): New buffer display action function.
550 * help.el (temp-buffer-resize-regexps): New option.
551 (temp-buffer-resize-mode): Rewrite doc-string.
552 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 553 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 554
48a24920
SM
5552012-09-22 Stefan Merten <smerten@oekonux.de>
556
70efc5c9 557 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
558 (rst-official-version)
559 (rst-package-emacs-version-alist): Sync with official version
560 V1.4.0.
561 (rst-faces-defaults, rst-set-level-default)
562 (rst-level-face-max, rst-level-face-base-color)
563 (rst-level-face-base-light, rst-level-face-format-light)
564 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
565 (rst-adornment-faces-alist): Match new setup.
566 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
567 (rst-level-5, rst-level-6): New faces.
568
82f8cd94
CY
5692012-09-22 Chong Yidong <cyd@gnu.org>
570
571 * simple.el (undo): Handle indirect buffers (Bug#8207).
572
acfa068f 5732012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
574
575 IDO: Disable match re-ordering for buffer switching.
2bc9406c 576 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
577 (ido-set-matches-1): Use it. (Bug#2042)
578
acfa068f 5792012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
580
581 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
582 Fix 2011-05-17 change. (Bug#12418)
583
acfa068f 5842012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
585
586 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
587
acfa068f 5882012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
589
590 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
591 Be more robust about locating simple.el.
592
acfa068f 5932012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
594
595 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
596
acfa068f
CY
5972012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
598
599 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
600
41a97e6f
JL
6012012-09-20 Juri Linkov <juri@jurta.org>
602
eb2deaff
JL
603 * replace.el (query-replace-read-from): Use `read-regexp' instead
604 of `read-from-minibuffer' when `regexp-flag' is non-nil.
605 (occur-read-primary-args): Use `read-regexp' instead of
606 `read-string'.
607 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
608 `read-from-minibuffer'.
609 * isearch.el (isearch-occur): Use `read-regexp' instead of
610 `read-string'.
611 * dired.el (dired-read-regexp): Use `read-regexp' instead of
612 `read-from-minibuffer'.
613 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
614 of `read-string'. (Bug#7567)
615
5825610b
JL
616 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
617 and allow accepting a list of strings prepended to a list of
618 standard default values. Doc fix. (Bug#12321)
619
eebbf404
JL
620 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
621
41a97e6f
JL
622 * replace.el (read-regexp): Don't add ": " when PROMPT already
623 ends with a colon and space. (Bug#12321)
624
c9e452d3
TH
6252012-09-20 Tassilo Horn <tsdh@gnu.org>
626
627 * doc-view.el (doc-view-display): Better fix for the cl-assertion
628 error.
629
ee97deee
SM
6302012-09-20 Stefan Merten <smerten@oekonux.de>
631
70efc5c9 632 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
633 Fixes feature request bug#11711.
634 (rst-mode): Create `imenu-create-index-function'.
635 (rst-get-stripped-line): Delete after refactoring.
636 (rst-section-tree, rst-section-tree-rec)
637 (rst-section-tree-point): Refactor and document properly.
638 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
639 (rst-imenu-convert-cell, rst-imenu-create-index):
640 New function.
ee97deee 641
f490dab9
SM
6422012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
643
95b9712e
SM
644 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
645 (macroexp--expand-all): Use it.
646 (macroexp--funcall-and-return): Remove by folding it into its sole
647 caller (macroexp--warn-and-return).
648 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
649 Use macroexp--obsolete-warning.
650
f490dab9
SM
651 * calc/calc.el: Fix last change by removing the whole chunk, since it
652 was only needed back when Calc was not bundled.
653
96e8d411
MR
6542012-09-20 Martin Rudalics <rudalics@gmx.at>
655
656 * emacs-lisp/debug.el (debug): Restore assignment to
657 debugger-old-buffer removed on 2012-09-08.
658
0876a82d
JL
6592012-09-20 Juri Linkov <juri@jurta.org>
660
661 * dired-aux.el (dired-diff): Remove (require 'diff) since
662 `diff-latest-backup-file' is now autoloaded.
663
9f7c28f0
CY
6642012-09-20 Chong Yidong <cyd@gnu.org>
665
666 * vc/diff.el (diff-latest-backup-file): Autoload.
667
7a04bee9
SM
6682012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
669
e6f0a80d
SM
670 * calc/calc.el: Remove redundant autoload shape check.
671 (sel-mode): Don't defvar.
672 (calc-get-stack-element): Add `sel-mode' arg instead.
673 (calc-top, calc-top-list): Pass it this additional argument.
674 * calc/calc-store.el (calc-store-map):
675 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
676 (calc-map-equation, calc-outer-product, calc-inner-product):
677 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
678
7a04bee9
SM
679 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
680
12734222
JL
6812012-09-19 Juri Linkov <juri@jurta.org>
682
683 * dired-aux.el (dired-diff): Add (require 'diff) because
684 `diff-latest-backup-file' is not autoloaded.
685 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
686 of `dired-get-filename' to t to not report error when there is
687 no default file on the current line.
688
46624b4f
SM
6892012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
690
ce97595b
SM
691 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
692 macroexp--eval-if-compile.
693 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
694 (macroexp--expand-all): Use them (bug#12371).
695
46624b4f
SM
696 * doc-view.el (doc-view-guess-paper-size)
697 (doc-view-scale-bounding-box): Fix unbound `caddr'.
698
db8a5a18
TH
6992012-09-19 Tassilo Horn <tsdh@gnu.org>
700
701 New feature: set optimal slice from BoundingBox information.
702 * doc-view.el (doc-view-mode-map): Add keybinding.
703 (doc-view-menu): Add menu entry.
704 (doc-view-set-slice): Adapt docstring.
705 (doc-view-get-bounding-box, doc-view-guess-paper-size)
706 (doc-view-scale-bounding-box)
707 (doc-view-set-slice-from-bounding-box): New functions.
708 (doc-view-paper-sizes): New defvar.
709
69f6644c
GM
7102012-09-19 Glenn Morris <rgm@gnu.org>
711
35f5b19d
GM
712 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
713 (byte-compile-log-warning): Autoload. (Bug#12371)
714
69f6644c
GM
715 * calendar/calendar.el (calendar-american-month-header)
716 (calendar-european-month-header, calendar-iso-month-header)
717 (calendar-month-header): New options.
718 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
719 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
720
e543ae91
JD
7212012-09-19 Jan Djärv <jan.h.d@swipnet.se>
722
723 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
724
2fd5e67d
JL
7252012-09-18 Juri Linkov <juri@jurta.org>
726
727 * dired-aux.el (dired-diff): Restore original functionality of
728 getting the default value, but keep new feature of using the
729 latest existing backup file (`diff-latest-backup-file').
730
42917e79
JL
7312012-09-18 Juri Linkov <juri@jurta.org>
732
733 * dired.el (dired-mark): If the region is active in Transient Mark
734 mode, mark all files in the active region. Doc fix.
735 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
736 Doc fix. (Bug#10624)
737
20f70ede
JL
7382012-09-18 Juri Linkov <juri@jurta.org>
739
740 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
741 attributes for M-n are pulled from the file at point.
742 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
743 Suggested by Drew Adams. (Bug#10624)
744
32fb8162
DG
7452012-09-18 Dmitry Gutov <dgutov@yandex.ru>
746
747 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
748 whitespace after "end".
749 (ruby-do-end-to-brace): Collapse block to one line if it fits
750 within fill-column.
751
37ab5092
MR
7522012-09-18 Martin Rudalics <rudalics@gmx.at>
753
754 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
755 value.
756 (debug): Don't remove debugger window when debugger is expected
757 to be back.
758
ed1f0bd3
CY
7592012-09-18 Chong Yidong <cyd@gnu.org>
760
761 * custom.el (defface): Doc fix.
762
763 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
764
a11035b8
MB
7652012-09-18 Martin Blais <blais@furius.ca> (tiny change)
766
767 * progmodes/compile.el (compilation-start): Use compilation-always-kill
768 to initialize query-on-exit; then test that instead (bug#12288).
769
64f6a736
SM
7702012-09-17 Stefan Merten <smerten@oekonux.de>
771
70efc5c9 772 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
773 (rst-defcustom-testcover, rst-testcover-add-compose)
774 (rst-testcover-add-1value): New functions.
775 (rst-portable-mark-active-p): Replace by `use-region-p'.
776 (rst-update-section, rst-classify-adornment)
777 (rst-find-title-line): Mark `1value' forms.
778 (rst-classify-adornment): Remove superfluous form.
779 (rst-update-section, rst-get-adornments-around)
780 (rst-adornment-complete-p, rst-get-next-adornment)
781 (rst-adjust, rst-promote-region)
782 (rst-display-adornments-hierarchy, rst-straighten-adornments)
783 (rst-find-pfx-in-region, rst-section-tree-rec)
784 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
785 (rst-toc-node, rst-toc, rst-forward-section)
786 (rst-iterate-leftmost-paragraphs)
787 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
788 (rst-bullet-list-region)
789 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
790 (rst-compile-find-conf, rst-compile)
791 (rst-repeat-last-character): Fix style.
792
580bd868
CY
7932012-09-17 Chong Yidong <cyd@gnu.org>
794
795 * comint.el (comint--complete-file-name-data): Don't add a space
796 if the status is `sole'; that adds a gratuitous space in the
797 completion-cycling case (Bug#12092).
798
799 * pcomplete.el (pcomplete-completions-at-point): Likewise.
800
69de3ec6
RS
8012012-09-17 Richard Stallman <rms@gnu.org>
802
0dee970c
RS
803 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
804 only in the mime-shown mode, not in raw mode.
805 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 806 mime processing. (Bug#12305)
0dee970c 807
6b250df6
GM
808 * mail/rmail.el (rmail-retry-failure):
809 Turn off mime processing first. (Bug#12037)
acb1c47b 810
69de3ec6
RS
811 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
812
d079ee5f
CY
8132012-09-17 Chong Yidong <cyd@gnu.org>
814
815 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
816 (shell-dynamic-complete-functions): Convert to defcustom.
817 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
818
865fe16f
CY
819 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
820 * comint.el (comint-prompt-read-only):
821 * custom.el (defcustom):
822 * hi-lock.el (hi-lock-mode):
823 * ibuffer.el (ibuffer-formats):
824 * ielm.el (ielm-prompt-read-only):
825 * novice.el (disable-command):
826 * saveplace.el (toggle-save-place):
827 * speedbar.el (speedbar-supported-extension-expressions):
828 * startup.el (auto-save-list-file-prefix, init-file-user)
829 (after-init-hook, inhibit-startup-echo-area-message):
830 * strokes.el (strokes-help):
831 * time-stamp.el (time-stamp):
832 * calendar/calendar.el (calendar, diary-file):
833 * calendar/diary-lib.el (diary-mail-entries, diary)
834 (diary-list-entries-hook):
835 * calendar/holidays.el (holidays, calendar-holidays):
836 * calendar/lunar.el (lunar-phases):
837 * calendar/solar.el (sunrise-sunset):
838 * emulation/edt.el (edt-load-keys):
839 * emulation/viper.el (viper-mode):
840 * eshell/em-alias.el (eshell-command-aliases-list):
841 * eshell/esh-util.el (eshell-convert-numeric-arguments):
842 * international/ogonek.el (ogonek-information):
843 * net/tramp-cmds.el (tramp-bug):
844 * net/quickurl.el (quickurl-reread-hook-postfix):
845 * play/decipher.el (decipher-font-lock-keywords):
846 * progmodes/cc-styles.el (c-set-style):
847 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
848 * progmodes/inf-lisp.el (inferior-lisp-prompt):
849 * progmodes/octave-mod.el (octave-mode):
850 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
851 * progmodes/verilog-mode.el (verilog-read-defines):
852 * textmodes/two-column.el (2C-mode): Likewise.
853
48093eb9
KY
8542012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
855
856 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
857 that holds many addresses.
858
c584eaf9
CY
8592012-09-16 Chong Yidong <cyd@gnu.org>
860
40d70ecb
CY
861 * align.el (align-areas): Call the indication function with
862 positions instead of markers for arguments (Bug#12343).
863
1667e065
CY
864 * files.el (parse-colon-path): Use split-string (Bug#12351).
865
fdc2806d 866 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 867 (display-buffer-function): Mark as obsolete.
fdc2806d 868
f1be615c 869 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
870 values similar to font-lock-keywords (Bug#12136).
871 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
872 (compilation-error-regexp-alist): Doc fix.
873
f40a9709
GM
8742012-09-15 Glenn Morris <rgm@gnu.org>
875
72aa16e1
GM
876 * version.el (emacs-bzr-version-bzr): New function.
877 (emacs-bzr-get-version): Add optional EXTERNAL argument.
878
82375160
GM
879 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
880 checkouts, check the parent dirstate matches the branch.
881 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
882 empty string.
883
f40a9709
GM
884 * version.el (emacs-bzr-version): Doc fix.
885 (emacs-bzr-version-dirstate): New function.
886 (emacs-bzr-get-version): For lightweight checkouts, if the parent
887 is local try and check that it matches the branch. If not, just
888 use dirstate information. (Bug#12441)
889
cb26b7f5
JL
8902012-09-14 Juri Linkov <juri@jurta.org>
891
892 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
893 (Bug#12399)
894
2de39f08
SM
8952012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
896
0fb3cb7c
SM
897 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
898
2de39f08
SM
899 * emacs-lisp/edebug.el: Miscellaneous cleanup.
900 Remove obsolete byte-compiler hack that tried to silence some warnings.
901 (edebug-submit-bug-report): Remove.
902 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
903 Remove aliases, use the un-prefixed name instead.
904 (edebug-pop-to-buffer): Consider other frames.
905 (edebug-original-read):: Make it more obvious that it's always defined.
906 (edebug--make-form-data-entry, edebug--form-data-name)
907 (edebug--form-data-begin, edebug--form-data-end): Rename from the
908 single-dashed name, and implement with cl-defstruct.
909 (edebug-set-form-data-entry): Use the standard accessors.
910 (edebug-make-top-form-data-entry): Use push.
911 (edebug-no-match): Drop useless `funcall'.
912 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
913 to functions.
914 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
915 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
916 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
917 (easy-menu-define, with-custom-print): Remove redundant specs.
918 (edebug-outside-overriding-local-map)
919 (edebug-outside-overriding-terminal-local-map): Remove, unused.
920 (edebug--display): Bind unread-command-events directly to nil rather
921 than binding it to unread-command-events and later setting it to nil.
922 (edebug--display): Kill edebug-eval-buffer here...
923 (edebug--recursive-edit): ...rather than here.
924 Bind standard-output and standard-input.
925 (edebug-eval): Check cl-macroexpand-all is fboundp.
926 (edebug-temp-display-freq-count): Fix last change.
927
928 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
929 * subr.el (noreturn, 1value): Add `debug' spec.
930 * emacs-lisp/advice.el: Require cl-lib.
931 (ad-copy-tree): Remove, use copy-tree instead.
932 (ad-dolist): Remove use dolist or cl-dolist instead.
933 (ad-do-return): Remove, use cl-return instead.
934 (defadvice): Add `debug' spec.
935
5b68b333
JL
9362012-09-13 Juri Linkov <juri@jurta.org>
937
938 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
939 (Bug#12399)
940
b9800ec4
GM
9412012-09-13 Glenn Morris <rgm@gnu.org>
942
6a2e6868
GM
943 * calc/calc.el (math-compose-expr):
944 * calc/calc-ext.el (math-compose-expr):
945 * progmodes/cc-defs.el (cl-macroexpand-all):
946 * progmodes/cc-langs.el (delete-duplicates, mapcan)
947 (cl-macroexpand-all): Update declarations.
948
b9800ec4
GM
949 * vc/vc.el: No need to require ediff.
950 (ediff-load-version-control): Declare.
951 (ediff-vc-internal): Fix declaration.
952 (vc-version-ediff): Require ediff.
953
c18e885b
PE
9542012-09-13 Paul Eggert <eggert@cs.ucla.edu>
955
956 Use a more backwards-compatible timer format (Bug#12430).
957 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
958 being right after USECS, as that better supports old code that
959 inadvisedly looked directly at the timer vector.
960
d607d303
KH
9612012-09-13 Kenichi Handa <handa@gnu.org>
962
963 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
964 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
965 `coding-priority' property of these language environment.
966
72eac303
PE
9672012-09-13 Paul Eggert <eggert@cs.ucla.edu>
968
969 Fix glitches caused by addition of psec to timers (Bug#12430).
970 * image.el (image-animate-timer):
971 * time.el (display-time-world-timer):
972 Use timer--function and timer--args rather than raw access to
973 timer vector.
974
2168fe4f
GM
9752012-09-13 Glenn Morris <rgm@gnu.org>
976
977 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
978 If not compiling a file, try using load-file-name.
979
bd8d6108
SM
9802012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
981
c0c54fbd
SM
982 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
983 Fix last change.
984 (edebug-update-eval-list): Use `push'.
985
bd8d6108
SM
986 * emacs-lisp/edebug.el: Use lexical-binding.
987 Remove the "edebug-" prefix from non-dynamically-scoped variables.
988 Mark unused args with underscore.
989 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
990 (edebug-form-data): Use defvar-local.
991 (edebug-make-before-and-after-form, edebug-make-after-form):
992 Use backquote.
993 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
994 Not dynamically scoped any more.
995 (edebug--enter-trace): Add arguments `function' and `args'.
996 Rename from edebug-enter-trace.
997 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
998 (edebug--update-coverage): Add `after-index' and `value' args.
999 Rename from edebug-update-coverage.
1000 (edebug-slow-after): Call it accordingly.
1001 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1002 edebug-recursive-edit.
1003 (edebug--display): Call it accordingly. Add args `value',
1004 `offset-index', and `arg-mode'. Rename from edebug-display.
1005 (edebug-debugger, edebug): Call it accordingly.
1006 (edebug-eval-display-list): Use dolist.
1007
a9f9d9de
JL
10082012-09-12 Juri Linkov <juri@jurta.org>
1009
1010 * info.el (Info-search): Don't check for isearch-mode and
1011 isearch-regexp before let-binding search-spaces-regexp to
1012 Info-search-whitespace-regexp.
1013 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1014 search-whitespace-regexp if isearch-lax-whitespace or
1015 isearch-regexp-lax-whitespace is non-nil.
1016 (Info-mode): Don't set local variable search-whitespace-regexp.
1017 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1018
bfeae2cf
SM
10192012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1022 (debugger-env-macro): Remove support for unread-command-char.
1023
1024 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1025 the temporary map re-appearing on emulation-mode-map-alists.
1026
1027 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1028 since 22.1.
1029
1030 * ehelp.el (with-electric-help): Accept functions in
1031 electric-help-form-to-execute.
1032 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1033 And replace unread-command-char -> unread-command-events.
1034
fbbcaf1b
MA
10352012-09-12 Michael Albinus <michael.albinus@gmx.de>
1036
1037 Sync with Tramp 2.2.6.
1038
1039 * net/tramp.el (tramp-accept-process-output): Don't use
1040 JUST-THIS-ONE in the XEmacs case.
1041
1042 * net/trampver.el: Update release number.
1043
4dece104
MR
10442012-09-12 Martin Rudalics <rudalics@gmx.at>
1045
bfeae2cf
SM
1046 * emacs-lisp/debug.el (debugger-previous-window-height):
1047 New variable.
4dece104
MR
1048 (debug): When debugger-jumping-flag is non-nil try to restore
1049 height of debugger window. (Bug#8789)
1050
45b82ad0
SM
10512012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1052
60c49c0f
SM
1053 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1054 overriding-local-map and pre/post-command-hook here.
1055 (edebug-recursive-edit): Do it here instead (bug#12345).
1056 (edebug-outside-unread-command-char): Remove all uses of
1057 unread-command-char.
1058
45b82ad0
SM
1059 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1060 inhibit-debugger is bound instead.
1061
baa26ea0
BG
10622012-09-11 Bastien Guerry <bzg@gnu.org>
1063
1064 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1065 (Bug#12346)
baa26ea0 1066
04e8abfa
BG
10672012-09-11 Bastien Guerry <bzg@gnu.org>
1068
96d03571 1069 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1070 (Bug#12347)
96d03571
BG
1071
10722012-09-11 Bastien Guerry <bzg@gnu.org>
1073
fc0c31f8 1074 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1075
04e082b0
MM
10762012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1077
1078 * progmodes/sql.el: Version 3.1
1079 (sql-db2-escape-newlines): New variable.
1080 (sql-escape-newlines-filter): Use it.
1081
399a361b
JB
10822012-09-10 Juanma Barranquero <lekktu@gmail.com>
1083
1084 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1085
0780c517
DN
10862012-09-10 Dan Nicolaescu <dann@gnu.org>
1087
45b82ad0
SM
1088 * vc/diff-mode.el (diff-mode-menu):
1089 Bind diff-remove-trailing-whitespace.
0780c517 1090
9b851e25
SM
10912012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1092
1093 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1094 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1095 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1096 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1097 (eval-defun-2): Remove bogus interactive spec.
1098 (lisp-indent-line): Remove redundant whole-exp code, now done in
1099 indent-according-to-mode.
1100 (save-match-data): Remove redundant indent data.
1101
1102 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1103 Use `declare'.
1104
3231d532
JL
11052012-09-09 Juri Linkov <juri@jurta.org>
1106
1107 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1108 (replace-lax-whitespace, query-replace-regexp)
1109 (query-replace-regexp-eval, replace-regexp): Doc fix.
1110 (perform-replace, replace-highlight): Let-bind
1111 isearch-lax-whitespace to replace-lax-whitespace and
1112 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1113
1114 * isearch.el (isearch-query-replace): Let-bind
1115 replace-lax-whitespace to isearch-lax-whitespace and
1116 replace-regexp-lax-whitespace to
1117 isearch-regexp-lax-whitespace. (Bug#10885)
1118
70fe8236
SM
11192012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1122
8ed43f15
AM
11232012-09-09 Alan Mackenzie <acm@muc.de>
1124
70fe8236
SM
1125 * progmodes/cc-engine.el (c-state-cache-init):
1126 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1127 (c-record-parse-state-state):
1128 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1129
bfabf70a
AS
11302012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1131
1132 * register.el (register-separator): Rename from
1133 separator-register. All uses changed. Doc fix.
1134 (register): Fix version.
1135
011474aa
CY
11362012-09-09 Chong Yidong <cyd@gnu.org>
1137
1138 * replace.el (query-replace-map): Bind four new symbols for
1139 requesting window scrolling.
1140
1141 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1142 query-replace-map (Bug#8948).
1143
1144 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1145
1146 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1147 since they are now in query-replace-map.
1148
1149 * window.el (scroll-other-window-down): Make the arg optional.
1150
a8b7cd8d
CY
11512012-09-09 Chong Yidong <cyd@gnu.org>
1152
1153 * files.el (hack-local-variables-confirm): Use quit-window to kill
1154 the *Local Variables* buffer.
1155
c3268831
DG
11562012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1157
1158 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1159 not just expect to be at its beginning. Adjust callees.
1160 Succeed when do-end block has no space before the pipe character.
1161 (ruby-brace-to-do-end): When the original block is one-liner,
1162 convert to multiline. Reindent the result.
1163
0979429b
J
11642012-09-08 Jambunathan K <kjambunathan@gmail.com>
1165
1166 * register.el (register): New group.
1167 (register-separator): New user option.
1168 (increment-register): Route it to `append-to-register', if
1169 register contains text. Implication is that `C-x r +' can now be
1170 used for appending to a text register (bug#12217).
1171 (append-to-register, prepend-to-register): Add separator based on
1172 `register-separator.
1173
ace2989a
AM
11742012-09-08 Alan Mackenzie <acm@muc.de>
1175
1176 AWK Mode: make auto-newline work when there's "==" in the pattern.
1177 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1178 correctly.
0979429b
J
1179 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1180 Test more rigorously for "=" token.
ace2989a 1181
616c6c36
DG
11822012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1183
0979429b
J
1184 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1185 Only fail when reached LIMIT.
616c6c36 1186
35d98877
CY
11872012-09-08 Chong Yidong <cyd@gnu.org>
1188
1189 * dired.el (dired-mode-map): Don't bind M-=.
1190
1191 * dired-aux.el (dired-diff): Use backup file as default.
1192
1715f2db
DA
11932012-09-08 Drew Adams <drew.adams@oracle.com>
1194
1195 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1196
6dcef6ec
CY
11972012-09-08 Chong Yidong <cyd@gnu.org>
1198
1199 * subr.el (syntax-after, syntax-class): Doc fix.
1200
fa2bcf43
MR
12012012-09-08 Martin Rudalics <rudalics@gmx.at>
1202
1203 * window.el (display-buffer-in-previous-window): New buffer
1204 display action function.
1205
1206 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1207 (debugger-previous-window): New variable.
1208 (debug): Rewrite using display-buffer-in-previous-window,
1209 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1210
daac280a
SM
12112012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1214
9dd40b00
MM
12152012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1216
daac280a
SM
1217 * progmodes/python.el (python-shell-send-string):
1218 When default-directory is remote, create temp file on remote
9dd40b00
MM
1219 filesystem.
1220 (python-shell-send-file): When file is remote, pass local view of
1221 file paths to remote Python interpreter. (Bug#12340)
1222
145823ec
CY
12232012-09-07 Chong Yidong <cyd@gnu.org>
1224
cee2e90d
CY
1225 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1226
0d7eb2ea
CY
1227 * files.el (after-find-file): Don't fail on a read-only buffer if
1228 require-final-newline is `visit' or `visit-save' (Bug#11156).
1229
145823ec
CY
1230 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1231
daac280a
SM
1232 * userlock.el (ask-user-about-supersession-threat):
1233 Use read-char-choice (Bug#12093).
145823ec 1234
74c582e6
CY
12352012-09-07 Chong Yidong <cyd@gnu.org>
1236
e5c2edf7
CY
1237 * subr.el (buffer-narrowed-p): New function.
1238
1239 * ses.el (ses-widen):
1240 * simple.el (count-words--buffer-message):
1241 * net/browse-url.el (browse-url-of-buffer): Use it
1242
1243 * simple.el (count-words-region): Don't signal an error if there
1244 is a non-nil prefix arg and the mark is not set.
c640e87d 1245
74c582e6
CY
1246 * help.el (describe-key-briefly): Allow the message to be seen
1247 when invoked from the minibuffer (Bug#7014).
1248
d81ceaaf
DG
12492012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1250
1251 * progmodes/ruby-mode.el (ruby-end-of-defun)
1252 (ruby-beginning-of-defun): Simplify, allow indentation before
1253 block beginning and end keywords.
8f06acce
DG
1254 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1255 (ruby-end-of-defun): Expect that the point is at the beginning of
1256 the defun.
d81ceaaf 1257
d458ef98
SM
12582012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1261 (bug#12367).
1262 (cl--make-usage-args): Strip _ from argument names.
1263
20367d28
RS
12642012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1265
1266 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1267 obsolete alias speedbar-key-map.
1268 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1269 (vhdl-index-menu-init): Don't use obsolete variable
1270 font-lock-maximum-size.
1271
3424a4f6
CY
12722012-09-06 Chong Yidong <cyd@gnu.org>
1273
1274 * frame.el (window-system-version): Mark as obsolete.
1275
fcbfbdea
CY
1276 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1277 of obsolete variable speedbar-key-map.
1278
826b3235
JL
12792012-09-06 Juri Linkov <juri@jurta.org>
1280
1281 * replace.el (replace-lax-whitespace): New defcustom.
1282 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1283 (replace-string, replace-regexp): Mention it in docstrings.
1284 (perform-replace, replace-highlight): Let-bind
1285 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1286 to the values of replace-lax-whitespace and regexp-flag.
1287 Don't let-bind search-whitespace-regexp. (Bug#10885)
1288
1289 * isearch.el (isearch-query-replace): Let-bind
1290 replace-lax-whitespace instead of let-binding
1291 replace-search-function and replace-re-search-function.
1292 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1293 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1294 (isearch-toggle-symbol): Set isearch-regexp to nil
1295 in isearch-word mode (like in isearch-toggle-word).
1296
1ec5e41d
JL
12972012-09-06 Juri Linkov <juri@jurta.org>
1298
1299 * replace.el (replace-search-function)
1300 (replace-re-search-function): Set default values to nil.
1301 (perform-replace): Let-bind isearch-related variables based on
1302 replace-related values, call `isearch-search-fun' and let-bind
1303 the result to `search-function'. Remove code that sets
1304 `search-function' and `search-string' separately for
1305 `delimited-flag'.
1306 (replace-highlight): Add new argument `delimited-flag' and
1307 rename other arguments to the names used in `perform-replace'.
1308 Let-bind `isearch-word' to the argument `delimited-flag'.
1309 (Bug#10885, bug#10887)
1310
0ba2d4b6
DG
13112012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1312
1313 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1314 ruby-beginning-of-indent, simplify, allow all keywords to have
1315 indentation before them.
1316 (ruby-beginning-of-indent): Adjust for above. Search until the
1317 found point is not inside a string or comment.
1318 (ruby-font-lock-keywords): Allow symbols to start with "@"
1319 character, give them higher priority than variables.
1320 (ruby-syntax-propertize-function)
1321 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1322 matchers. Expression expansions are not comments when inside a
1323 string, and there comment syntax status is irrelevant.
1324 (ruby-match-expression-expansion): New function. Check that
1325 expression expansion is inside a string, and it's not escaped.
1326 (ruby-font-lock-keywords): Use it.
1327
ef654460
MR
13282012-09-05 Martin Rudalics <rudalics@gmx.at>
1329
1330 * help.el (temp-buffer-max-height): New default value.
1331 (temp-buffer-resize-frames): New option.
1332 (resize-temp-buffer-window): Optionally resize frame.
1333
1334 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1335 (fit-frame-to-buffer): New function.
1336
7e570fbf 13372012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1338
1339 * emulation/cua-rect.el (cua--init-rectangles):
1340 * textmodes/picture.el (picture-mode-map):
1341 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1342 like forward-char and backward-char. (Bug#12317)
1343
7e570fbf 13442012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1345
1346 * progmodes/flymake.el (flymake-warning-re): New variable.
1347 (flymake-parse-line): Use it.
1348
7e570fbf 13492012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1350
1351 * calendar/holidays.el (holiday-christian-holidays):
1352 Rename an entry. (Bug#12289)
1353
7e570fbf 13542012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1355
1356 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1357 (bug#12222).
1358
972debf2
SM
13592012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * loadup.el: Load macroexp. Remove hack.
1362 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1363 (macroexp--expand-all): Use it to get better warnings.
1364 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1365 (internal-macroexpand-for-load): New functions.
1366 (macroexp--pending-eager-loads): New var.
1367 (emacs-startup-hook): New hack to replace one in loadup.el.
1368 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1369 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1370 (cl-psetf): Simplify.
1371 (cl-defstruct): Add indent rule.
1372
8ce192e3
LI
13732012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1374
1375 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1376 over `user-mail-address' for the SMTP MAIL FROM envelope.
1377 (smtpmail-via-smtp): Ditto.
1378
6578b4d8
DG
13792012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1380
1381 * progmodes/ruby-mode.el: Clean up keybindings.
1382 (ruby-mode-map): Don't bind ruby-electric-brace,
1383 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1384 backward-kill-word, reindent-then-newline-and-indent.
1385 (ruby-mark-defun): Remove.
1386 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1387 (ruby-mode): Set local beginning-of-defun-function and
1388 end-of-defun-function values.
1389
c5e28e39
MR
13902012-09-03 Martin Rudalics <rudalics@gmx.at>
1391
1392 * window.el (temp-buffer-window-setup-hook)
1393 (temp-buffer-window-show-hook): New hooks.
1394 (temp-buffer-window-setup, temp-buffer-window-show)
1395 (with-temp-buffer-window): New functions.
972debf2
SM
1396 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1397 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1398
1399 * help.el (temp-buffer-resize-mode): Fix doc-string.
1400 (resize-temp-buffer-window): New optional argument WINDOW.
1401
1402 * files.el (recover-file, save-buffers-kill-emacs):
1403 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1404
73406194
MA
14052012-09-02 Michael Albinus <michael.albinus@gmx.de>
1406
1407 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1408 remote definition of `default-directory', ensure we can connect.
1409
63dd1c6f
JL
14102012-09-02 Juri Linkov <juri@jurta.org>
1411
1412 Toggle whitespace matching mode with M-s SPC.
1413 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1414
1415 * isearch.el (search-whitespace-regexp): Doc fix.
1416 Remove cons cell customization.
1417 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1418 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1419 New variables.
1420 (isearch-forward, isearch-forward-regexp): Doc fix.
1421 (isearch-toggle-lax-whitespace): New command.
1422 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1423 (re-search-forward-lax-whitespace)
1424 (re-search-backward-lax-whitespace): New functions.
1425 (isearch-whitespace-regexp): Remove function.
1426 (isearch-query-replace): Let-bind replace-search-function and
1427 replace-re-search-function.
1428 (isearch-occur): Let-bind search-spaces-regexp according to the
1429 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1430 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1431 condition for C-q SPC.
1432 (isearch-search-fun-default): Use new functions mentioned above.
1433 (isearch-search-forward, isearch-search-backward): Remove functions.
1434 (isearch-search): Don't let-bind search-spaces-regexp.
1435 (isearch-lazy-highlight-space-regexp): Remove variable.
1436 (isearch-lazy-highlight-lax-whitespace)
1437 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1438 (isearch-lazy-highlight-new-loop): Use them.
1439 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1440
af7dda05
CY
14412012-09-02 Chong Yidong <cyd@gnu.org>
1442
1443 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1444
d67d3afd
GM
14452012-09-02 Glenn Morris <rgm@gnu.org>
1446
1447 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1448
69678719
GM
14492012-09-01 Glenn Morris <rgm@gnu.org>
1450
1451 * term.el: Tidy up menu definitions.
1452 (term-mode-map): Use easymenu for In/Out, Complete menus.
1453 (term-pager-break-map): Initialize in the defvar.
1454 (term-terminal-menu, term-signals-menu): Define with easymenu.
1455 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1456 (term-pager-menu): New, extracted from term-process-pager.
1457 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1458 (term-update-mode-line): Propertize line/char and page items.
1459 (term-process-pager): Move keymap initialization elsewhere.
1460
78dd6ab1
MR
14612012-09-01 Martin Rudalics <rudalics@gmx.at>
1462
1463 * window.el (switch-to-prev-buffer): Handle additional values of
1464 BURY-OR-KILL argument. Don't switch in minibuffer window.
1465 (switch-to-next-buffer): Don't switch in minibuffer window.
1466 (quit-restore-window): New function based on quit-window.
1467 Handle additional values of former KILL argument.
1468 (quit-window): Call quit-restore-window with appropriate
1469 interpretation of KILL argument.
1470 (display-buffer-below-selected): New buffer display action
1471 function.
1472
3d10e134
SM
14732012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * minibuffer.el (completion-at-point-functions): Complete docstring
1476 (bug#12254).
1477
0e23ef9d
PE
14782012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1479
1480 Better seed support for (random).
1481 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1482 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1483 * play/mpuz.el, play/tetris.el, play/zone.el:
1484 * calc/calc-comb.el (math-init-random-base):
1485 * play/blackbox.el (bb-init-board):
1486 * play/life.el (life):
1487 * server.el (server-use-tcp):
1488 * type-break.el (type-break):
1489 Remove unnecessary call to (random t).
1490 * net/sasl.el (sasl-unique-id-function):
1491 Change (random t) to (random), now that the latter is more random.
1492 * play/life.el (life-initialized): Remove no-longer-needed var.
1493
862382df
MR
14942012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1495
1496 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1497 Consider frame's buffer predicate when choosing the buffer.
1498 (Bug#12081)
1499
262a66e1
RS
15002012-08-30 Richard Stallman <rms@gnu.org>
1501
1502 * simple.el (special-mode-map): Delete binding for `z'.
1503
f17e1d00
AS
15042012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1505
1506 * progmodes/compile.el (compilation-always-kill): Doc fix.
1507
24777832
CY
15082012-08-30 Chong Yidong <cyd@gnu.org>
1509
1510 * window.el (display-buffer-reuse-frames): Make the obsolescence
1511 message more informative.
1512
69ba1f04
GM
15132012-08-30 Glenn Morris <rgm@gnu.org>
1514
1515 * paren.el (show-paren-delay):
1516 Add a :set function. Doc fix. (Bug#12297)
1517
f0019ede
MB
15182012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1519
1520 * progmodes/compile.el (compilation-always-kill): New var.
1521 (compilation-start): Use it.
1522
35e62fc9
SM
15232012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1524
af070a1c
SM
1525 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1526 * files.el (read-only-mode): Move to simple.el.
1527
35e62fc9
SM
1528 * files.el (read-only-mode): New minor mode.
1529 (toggle-read-only): Use it and mark obsolete.
1530 (find-file--read-only):
1531 * vc/vc.el (vc-next-action, vc-checkout):
1532 * vc/vc-cvs.el (vc-cvs-checkout):
1533 * obsolete/vc-mcvs.el (vc-mcvs-update):
1534 * ffap.el (ffap--toggle-read-only): Update callers.
1535
c2c43c23
MA
15362012-08-29 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1539 remote shell scripts.
1540 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1541
1542 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1543 "/usr/local/sbin".
1544
9fba804b
SM
15452012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1548
eada0861 15492012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1550
806f0cc7
LL
1551 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1552 completion-at-point. (Bug#12220)
1553
3bb213b9
LL
1554 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1555
22ab32ef
LL
1556 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1557
eada0861 15582012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1559
19c17fc1
CY
1560 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1561 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1562
eada0861 15632012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1564
1565 * progmodes/hideif.el (hif-compress-define-list):
1566 Fix typo. (Bug#11951)
1567
eada0861 15682012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1569
1570 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1571 buffer local setting.
1572
27d6c5a8
LL
1573 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1574 rcirc-encode-coding-system.
1575
eada0861 15762012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1577
1578 * net/rcirc.el (rcirc-split-message): New function.
1579 (rcirc-send-message): Use it. (Bug#12051)
1580
d44688e4
JL
15812012-08-28 Juri Linkov <juri@jurta.org>
1582
1583 * info.el (Info-fontify-node): Hide empty lines at the end of
1584 the node. (Bug#12272)
1585
34f10d41
MR
15862012-08-27 Drew Adams <drew.adams@oracle.com>
1587
1588 * dired.el (dired-pop-to-buffer): Make window start at beginning
1589 of buffer (Bug#12281).
1590
77f1f99c
CY
15912012-08-26 Chong Yidong <cyd@gnu.org>
1592
1593 * window.el (special-display-regexps, special-display-frame-alist)
1594 (special-display-buffer-names, special-display-function)
1595 (display-buffer-reuse-frames): Mark as obsolete.
1596
1597 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1598
1599 * help.el (help-print-return-message): Don't treat
1600 display-buffer-reuse-frames specially.
1601
d97af5a0
CY
16022012-08-26 Chong Yidong <cyd@gnu.org>
1603
9fba804b
SM
1604 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1605 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1606 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1607 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1608 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1609 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1610 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1611 the functions directly with gdb-display-buffer-other-frame-action.
1612 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1613 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1614 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1615 (gdb-display-registers-buffer): Define directly.
1616 (def-gdb-display-buffer): Macro deleted.
1617 (gdb-display-buffer): Remove second and third args, callers don't
1618 use them. Defer to the default display-buffer behavior, apart
1619 from making windows dedicated.
1620 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1621
1622 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1623
1624 * window.el (display-buffer-pop-up-frame): Handle a
1625 pop-up-frame-parameters alist entry.
1626 (display-buffer): Document it.
1627
dd7ffad6
CY
16282012-08-26 Chong Yidong <cyd@gnu.org>
1629
1630 * isearch.el (search-whitespace-regexp): Make string and nil
1631 values apply to both ordinary and regexp search. Allow a cons
1632 cell value to distinguish between the two.
1633 (isearch-whitespace-regexp, isearch-search-forward)
1634 (isearch-search-backward): New functions.
1635 (isearch-occur, isearch-search-fun-default, isearch-search)
1636 (isearch-lazy-highlight-new-loop): Use them.
1637 (isearch-forward, isearch-forward-regexp): Doc fix.
1638
4c47bd1e
CY
16392012-08-26 Chong Yidong <cyd@gnu.org>
1640
1641 * faces.el (help-argument-name): Always inherit from italic
1642 (Bug#12213).
1643
9aba119d
MR
16442012-08-25 Martin Rudalics <rudalics@gmx.at>
1645
1646 * window.el (window--even-window-heights): Even heights when
1647 WINDOW and the selected window form a vertical combination.
1648 (display-buffer-use-some-window): Provide that window used gets
1649 sized back by quit-window. (Bug#11880) and (Bug#12091)
1650
ca5256ad
PE
16512012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1652
1653 Fix file time stamp problem with bzr and CVS (Bug#12001).
1654 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1655 in the file's time stamp, since the version control system loses
1656 that information.
1657
d1c0d176
JL
16582012-08-22 Juri Linkov <juri@jurta.org>
1659
1660 * info.el (Info-fontify-node): Hide the suffix of the
1661 Info file name in the header line. (Bug#12187)
1662
141562ff
GM
16632012-08-22 Glenn Morris <rgm@gnu.org>
1664
1665 * calendar/cal-tex.el (cal-tex-weekly-common):
1666 Restore leading blank page.
1667
61a48e19 16682012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1669
1670 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1671 the region under `shift-select-mode'. (Bug#12231)
1672
16732012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1674
1675 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1676 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1677 gives details on why the space is never needed.
1678
ea95074e
MR
16792012-08-22 Martin Rudalics <rudalics@gmx.at>
1680
9fba804b
SM
1681 * window.el (walk-window-tree, window-with-parameter):
1682 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1683 should run on the minibuffer window.
1684 (window-at-side-list): Don't operate on minibuffer window.
1685 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1686 (window--size-ignore): Rename to window--size-ignore-p.
1687 Update callers.
caceae25
MR
1688 (display-buffer-in-atom-window, window--major-non-side-window)
1689 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1690 (delete-side-window, display-buffer-in-side-window):
1691 New functions.
caceae25
MR
1692 (window--side-check, window-deletable-p, delete-window)
1693 (delete-other-windows, split-window): Handle side windows and
1694 atomic windows appropriately.
1695 (window--display-buffer): Call display-buffer-record-window also
1696 when the window buffer did not change.
ea95074e 1697
80a51fa0
CS
16982012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1699
1700 * help-fns.el (help-fns--key-bindings):
1701 Abbreviate non-symbol remap targets. (Bug#12174)
1702
fbb6300b
MR
17032012-08-22 Martin Rudalics <rudalics@gmx.at>
1704
1705 * dired.el (dired-mark-remembered): Don't clobber point.
1706 (Bug#11795)
1707
2b2c0794
GM
17082012-08-22 Glenn Morris <rgm@gnu.org>
1709
1710 * progmodes/bug-reference.el (bug-reference): New custom group.
1711 (bug-reference-bug-regexp): Make it a defcustom.
1712
37219830
DU
17132012-08-22 Daiki Ueno <ueno@unixuser.org>
1714
1715 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1716 (js-paren-indent-offset, js-square-indent-offset)
1717 (js-curly-indent-offset): Add :safe (Bug#12257).
1718
94e0e559
EC
17192012-08-22 Edward O'Connor <hober0@gmail.com>
1720
1721 * json.el (json-key-format): Add error properties.
1722 (json-encode-key): New function.
1723 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1724 Use json-encode-key.
1725
da485f5e
GM
17262012-08-22 Glenn Morris <rgm@gnu.org>
1727
1728 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1729 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1730 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1731 Update for above change.
1732
c6cc78b8
AS
17332012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1734
1735 * cus-face.el (custom-face-attributes): Fix customize type for the
1736 :underline attribute. (Bug#11805)
1737
5481664a
MR
17382012-08-21 Martin Rudalics <rudalics@gmx.at>
1739
1740 * window.el (window-point-1, set-window-point-1): Remove.
1741 (window-in-direction, record-window-buffer)
1742 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1743 (window--state-get-1, display-buffer-record-window):
1744 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1745 window-point and set-window-point respectively.
1746
6d74698e
GM
17472012-08-21 Glenn Morris <rgm@gnu.org>
1748
b7fa2691
GM
1749 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1750 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1751 Use it.
1752
52f56d5a
GM
1753 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1754 (cal-tex-shortday): New function.
1755 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1756 (cal-tex-cursor-filofax-daily): Use the above.
1757
9f1ee09e
GM
1758 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1759 New functions.
1760 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1761 (cal-tex-cursor-filofax-week): Use them.
1762
79858159
GM
1763 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1764 New constants.
1765 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1766 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1767
d346b2b4
GM
1768 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1769 (cal-tex-end-document): Don't rely on buffer name.
1770
b2403709
GM
1771 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1772 Use cal-tex-vspace.
1773 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1774 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1775 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1776 Use cal-tex-arg.
b2403709 1777
1cebb5c0
GM
1778 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1779 (cal-tex-cursor-week, cal-tex-cursor-week2)
1780 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1781 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1782 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1783 (cal-tex-insert-preamble, cal-tex-b-document)
1784 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1785 Improve cal-tex-cmd usage.
1786
c68cd5d4
GM
1787 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1788 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1789 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1790 (cal-tex-weekly-paper): New function.
1791 (cal-tex-cursor-week, cal-tex-cursor-week2)
1792 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1793 (cal-tex-cursor-day): Use it.
1794
9dca4801
GM
1795 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1796 (cal-tex-cursor-filofax-week): Remove leading blank page.
1797
1941e134
GM
1798 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1799 Add autoload cookie. For now at least, don't use color, since
1800 no other cal-tex function does.
1801
6d74698e
GM
1802 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1803 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1804 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1805
64cde199
JL
18062012-08-21 Juri Linkov <juri@jurta.org>
1807
1808 * info.el (Info-file-attributes): New variable.
1809 (info-insert-file-contents): Add file attributes to
1810 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1811 `Info-toc-nodes' when previous modtime of the Info file is less
1812 than new modtime.
1813 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1814 of info.el. (Bug#12230)
1815
32757648
GM
18162012-08-20 Glenn Morris <rgm@gnu.org>
1817
1818 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1819 * calendar/holidays.el (calendar-holiday-list):
1820 Report errors with display-warning rather than beep'n'sleep.
1821
a32fbbcf
MA
18222012-08-20 Michael Albinus <michael.albinus@gmx.de>
1823
1824 * net/tramp.el (tramp-accept-process-output): Accept only output
1825 from PROC. Otherwise, process filters and sentinels might be
1826 confused. (Bug#12145)
1827
a05731a0
CY
18282012-08-20 Chong Yidong <cyd@gnu.org>
1829
1830 * descr-text.el (describe-text-properties-1): Use overlays-in to
1831 report on empty overlays (Bug#3322).
1832
36e8d1eb
GM
18332012-08-20 Glenn Morris <rgm@gnu.org>
1834
3d300447
GM
1835 * mail/rmailout.el (rmail-output-read-file-name):
1836 Trap and report errors in rmail-output-file-alist elements.
1837
36e8d1eb
GM
1838 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1839 since most non-font-lock faces are not also variables).
1840
b96e5814
ER
18412012-08-20 Edward Reingold <reingold@iit.edu>
1842
1843 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1844 New function. (Bug12160)
1845
7cef3569
GM
18462012-08-19 Glenn Morris <rgm@gnu.org>
1847
1848 * mail/rmailout.el (rmail-output-read-file-name):
1849 Fix previous change (when the alist is nil or does not match).
1850
17975d7f
CY
18512012-08-19 Chong Yidong <cyd@gnu.org>
1852
1853 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1854 (Bug#12228).
1855
2170b1bd
CY
18562012-08-18 Chong Yidong <cyd@gnu.org>
1857
1858 * simple.el (yank-handled-properties): New defcustom.
1859 (yank-excluded-properties): Add font-lock-face and category.
1860 (yank): Doc fix.
1861
9fba804b
SM
1862 * subr.el (remove-yank-excluded-properties):
1863 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1864 and category is now done this way, instead of being hard-coded.
1865 (insert-for-yank-1): Remove font-lock-face handling.
1866 (yank-handle-font-lock-face-property)
1867 (yank-handle-category-property): New function.
1868
ee218151
GM
18692012-08-17 Glenn Morris <rgm@gnu.org>
1870
1871 * mail/rmailout.el (rmail-output-read-file-name):
1872 Check rmail-output-file-alist against the full message body
1873 in the correct rmail buffer. (Bug#12214)
1874
4a6bc3fd
MA
18752012-08-17 Michael Albinus <michael.albinus@gmx.de>
1876
9fba804b
SM
1877 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1878 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1879
383dcbf9
CY
18802012-08-17 Chong Yidong <cyd@gnu.org>
1881
1882 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1883 font spec, set the font directly (Bug#3228).
1884
998c4a6a
MR
18852012-08-17 Martin Rudalics <rudalics@gmx.at>
1886
1887 * window.el (delete-window): Fix last fix.
1888
52162052
MR
18892012-08-16 Martin Rudalics <rudalics@gmx.at>
1890
1891 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1892 (window-child, window-child-count, window-last-child)
1893 (window-normalize-window, window-combined-p)
1894 (window-combinations, window-atom-root, window-min-size)
1895 (window-sizable, window-sizable-p, window-size-fixed-p)
1896 (window-min-delta, window-max-delta, window--resizable)
1897 (window--resizable-p, window-resizable, window-total-size)
1898 (window-full-height-p, window-full-width-p, window-body-size)
1899 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1900 (minimize-window, window-deletable-p, delete-window)
1901 (delete-other-windows, set-window-buffer-start-and-point)
1902 (next-buffer, previous-buffer, split-window, balance-windows-2)
1903 (set-window-text-height, window-buffer-height)
1904 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1905 (truncated-partial-width-window-p): Minor code adjustments.
1906 In doc-strings state whether the argument window has to denote a
85c2386b 1907 live, valid or any window.
52162052 1908
1c308380
PS
19092012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1910
1911 * progmodes/subword.el (subword-forward-function)
1912 (subword-backward-function, subword-forward-regexp)
1913 (subword-backward-regexp): New variables.
1914 (subword-forward, subword-forward-internal, subword-backward-internal):
1915 Use new variables, eg so that different "word" definitions
1916 can be easily used. (Bug#11411)
1917
94c9ece1
SM
19182012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1921 for composite selectors.
1922 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1923 operation just because we can't find a previous revision.
1924
f2045622
CY
19252012-08-15 Chong Yidong <cyd@gnu.org>
1926
1927 * frame.el (set-frame-font): Accept font objects.
1928
582db660
SM
19292012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1932
2f29c200
WJ
19332012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1934
456e62c2
WJ
1935 * man.el (Man-overstrike-face, Man-underline-face)
1936 (Man-reverse-face): Remove variables.
1937 (Man-overstrike, Man-underline, Man-reverse): New faces.
1938 (Man-fontify-manpage): Use them instead of the variables.
1939 (Man-cleanup-manpage): Comment change.
1940 (Man-ansi-color-map): New variable.
1941 (Man-fontify-manpage): Use it.
1942 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1943
2f29c200
WJ
1944 Implement ANSI SGR parameters 22-27 (bug#12146).
1945 * ansi-color.el (ansi-colors): Doc fix.
1946 (ansi-color-context, ansi-color-context-region): Doc fix.
1947 (ansi-color--find-face): New function.
1948 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1949 Rename the local variable `face' to `codes' since it is now a list of
1950 ansi codes. Doc fix.
1951 (ansi-color-get-face): Remove.
1952 (ansi-color-parse-sequence): New function, derived from
1953 ansi-color-get-face.
1954 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1955 codes 22-27.
1956
b4f5e9df
SM
19572012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * subr.el (read-passwd): Allow use from a minibuffer.
1960
ba025fbd
EZ
19612012-08-14 Eli Zaretskii <eliz@gnu.org>
1962
1963 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1964 inside comments and strings as identifiers.
1965
1966 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1967 expression to evaluate. This allows to evaluate expressions with
1968 embedded whitespace.
1969 (gud-tooltip-tips): Add a blank before the newline in the
1970 message-box text, for the benefit of message-box emulation on
1971 MS-Windows.
1972
1973 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1974 messages from GDB, pop them up in a tooltip to give feedback to
1975 user.
b4f5e9df
SM
1976 (gdb-tooltip-print-1): Quote the expression to evaluate.
1977 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1978 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1979 if the TTY name is nil or empty (which happens when communicating
1980 with the inferior via pipes, e.g. on MS-Windows).
1981 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1982 don't send that to the GUD buffer.
1983
c548f821
GM
19842012-08-14 Glenn Morris <rgm@gnu.org>
1985
1986 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1987 Optimize away setq-default with no args, as for setq. (Bug#12195)
1988
55802e4a
CY
19892012-08-14 Chong Yidong <cyd@gnu.org>
1990
4abcdac8
CY
1991 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1992
55802e4a
CY
1993 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1994 (Bug#12085).
1995
3c3cda1a
GM
19962012-08-14 Glenn Morris <rgm@gnu.org>
1997
1998 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1999
e1873bd0
MA
20002012-08-14 Michael Albinus <michael.albinus@gmx.de>
2001
2002 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2003 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2004 Use cached shell name.
2005
925411b4
FEG
20062012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2007
2008 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2009 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2010
e636fafe
DG
20112012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2012
2013 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2014 (ruby-percent-literal-beg-re): New constant.
2015 (ruby-syntax-general-delimiters-goto-beg): Rename to
2016 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2017 (ruby-syntax-propertize-general-delimiters): Rename to
2018 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2019 popular term. Adjust comments everywhere.
2020 (ruby-syntax-propertize-percent-literal): Only propertize when not
2021 inside a simple string or comment. When the literal is unclosed,
2022 leave the text after it unpropertized.
f063063a
DG
2023 (ruby-syntax-methods-before-regexp): New constant.
2024 (ruby-syntax-propertize-function): Use it to recognize regexps.
2025 Don't look at the text after regexp, just use the whitelist.
e636fafe 2026
e5b19827
AS
20272012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2028
2029 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2030 non-nil always load the compiled file if it exists. (Bug#12197)
2031
a9f6f311
CY
20322012-08-14 Chong Yidong <cyd@gnu.org>
2033
2034 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2035 (hi-lock-set-pattern): When deciding whether to use font lock or
2036 overlays, look at font-lock-mode instead of font-lock-fontified
2037 (Bug#12168).
2038 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2039 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2040
7d806b1e
DU
20412012-08-14 Daiki Ueno <ueno@unixuser.org>
2042
2043 * subr.el (internal--after-with-selected-window): Fix typo
2044 (Bug#12193).
2045
5beed586
FEG
20462012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2047
2048 Use `completion-table-dynamic' for completion functions.
2049 * progmodes/python.el
2050 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2051 (python-shell-completion--get-completions):
2052 Remove functions.
5beed586
FEG
2053 (python-shell-completion-complete-at-point): New function.
2054 (python-completion-complete-at-point): Use it.
2055
92cb3b04
J
20562012-08-13 Jambunathan K <kjambunathan@gmail.com>
2057
2058 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2059 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2060
89660017
SM
20612012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2062
3c98c962
SM
2063 * subr.el (function-get): Refine `autoload' arg so it can also
2064 autoload functions for gv.el (bug#12191).
2065 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2066 autoloads macros.
2067
aa7c6dbe
SM
2068 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2069 Prefer pcase-let over destructuring-bind.
2070 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2071 Also, remove whitespace as we go, rather than after accumulating the
2072 various places.
2073
89660017
SM
2074 * subr.el (internal--before-with-selected-window)
2075 (internal--after-with-selected-window): Fix typo seleted->selected.
2076 (with-selected-window): Adjust callers.
2077 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2078
31cd32c9
BG
20792012-08-13 Bastien Guerry <bzg@gnu.org>
2080
0fcd3d9f 2081 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2082 enhancement. (Bug#12172)
2083
1b15d8ad
AS
20842012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2085
31e54db0
AS
2086 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2087 type 1-6.
2088 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2089 extended headers.
2090
1b15d8ad
AS
2091 * files.el (hack-local-variables-filter): Remove useless eval.
2092
35cb9c06
MR
20932012-08-13 Martin Rudalics <rudalics@gmx.at>
2094
2095 * subr.el (with-selected-window): Fix last change.
2096
1439443b
SM
20972012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * subr.el (internal--before-with-seleted-window)
2100 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2101 (with-selected-window): Use them, to replace dependency on
2102 tty-top-frame.
1439443b 2103
0d9e2599
NN
21042012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2105
2106 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2107 binding for `newline'.
2108 (ruby-move-to-block): When moving backward, stop at block opening,
2109 not indentation.
2110 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2111 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2112 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2113 `ruby-toggle-block'.
2114
ba10c48c
SM
21152012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * ibuffer.el (ibuffer-do-toggle-read-only):
2118 * dired.el (dired-toggle-read-only):
2119 * buff-menu.el (Buffer-menu-toggle-read-only):
2120 * bindings.el (mode-line-toggle-read-only):
2121 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2122
9229c658
AS
21232012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2124
2125 * descr-text.el (describe-char): Put the overlays over the
2126 "displayed as" character.
2127
0fd09128
JB
21282012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2129
2130 * calc/calc-units.el (math-default-units-table): Give an
2131 initial value.
2132 (math-put-default-units): Add options to put composite units and
2133 unit systems in the default units table.
2134 (calc-convert-units): Send composite units to
2135 `math-put-default-units' when appropriate.
2136
9ff9402d 21372012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2138
fbb5e336
GM
2139 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2140
7aacaf15
GM
2141 * tutorial.el (help-with-tutorial):
2142 * emacs-lisp/copyright.el (copyright-update-directory):
2143 * emacs-lisp/autoload.el (autoload-find-generated-file)
2144 (autoload-find-file): Disable local eval: (for insurance).
2145
f40b9f10
GM
2146 * files.el (hack-local-variables-filter): If an eval: form is not
2147 known to be safe, and enable-local-variables is :safe, then ignore
2148 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2149 This is CVE-2012-3479.
f40b9f10 2150
daa9f1a6
SM
21512012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2154 (rx-form): Simplify.
2155
9cd80478
DG
21562012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2157
0d9e2599
NN
2158 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2159 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2160 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2161 (ruby-syntax-propertize-function): Adjust for changes in
2162 `ruby-syntax-propertize-heredoc'.
2163
21642012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2165
9cd80478
DG
2166 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2167 binding (use `M-;' instead).
9cd80478 2168 (ruby-singleton-class-p): New function.
0d9e2599 2169 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2170
d301b413
SM
21712012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2174
1530c98e
CY
21752012-08-10 Chong Yidong <cyd@gnu.org>
2176
2177 * progmodes/python.el (python-shell-get-process-name): Don't mess
2178 with same-window-buffer-names.
2179
2180 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2181 (eshell-remove-from-window-buffer-names): Make obsolete.
2182 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2183 (eshell): Just use pop-to-buffer-same-window instead.
2184
e1293765
CY
21852012-08-10 Chong Yidong <cyd@gnu.org>
2186
2187 * bindings.el: Bind M-= back to count-words-region.
2188
2189 * simple.el (count-words-region): Accept a prefix arg for acting
2190 on the entire buffer.
2191 (count-words--buffer-message): New helper function.
2192
e1894109
SM
21932012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2196 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2197 (event-start, event-end): Use posn-at-point to return a more
2198 informative posn.
2199 (posnp): New function.
2200 * mouse.el (popup-menu-normalize-position): Use it.
2201
c69f56a2
MY
22022012-08-10 Masatake YAMATO <yamato@redhat.com>
2203
2204 * mouse.el (popup-menu-normalize-position): New function.
2205 (popup-menu): Use `popup-menu-normalize-position' to normalize
2206 the form for POSITION argument.
2207
2208 * term/x-win.el (x-menu-bar-open):
2209 Use the value returend from (posn-at-point) as position
2210 passed to `popup-menu'.
2211
31673780
JB
22122012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2213
2214 * calc/calccomp.el (math-compose-expr): Add extra argument
2215 indicating that parentheses should be put around products in
2216 denominators. Give multiplication precedence over division during
2217 composition.
2218
dab7711b
CY
22192012-08-09 Chong Yidong <cyd@gnu.org>
2220
dee4ef93
CY
2221 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2222 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2223 (Man-untabify-command, manual-program): Convert to defcustom
2224 (Bug#10429).
2225
73e2bbc5
CY
2226 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2227
3e861c8a
CY
2228 * descr-text.el (describe-char): Don't insert extra newlines
2229 (Bug#10127).
2230
a9f5a649
CY
2231 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2232 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2233
dab7711b
CY
2234 * align.el (align-region): Delete temporary markers (Bug#10047).
2235 Plus some code cleanups.
2236
e0cc4efa
FEG
22372012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2238
2239 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2240 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2241 (python-shell-internal-last-output): Use make-local-variable
2242 instead of make-variable-buffer-local.
2243
489af14f
FEG
22442012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2245
2246 * progmodes/python.el: Enhancements to forward-sexp.
2247 (python-nav-forward-sexp): Rename from
2248 python-nav-forward-sexp-function.
c69f56a2
MY
2249 (python-nav--forward-sexp, python-nav--backward-sexp):
2250 New functions.
489af14f 2251
0fc50303
JB
22522012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2253
2254 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2255 modes and simplification modes.
2256
5d65606a
SM
22572012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2258
2259 * delsel.el (delete-selection-pre-hook): Don't propagate the
2260 file-supersession signals (bug#12161).
2261
4250fdf5
SM
22622012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2265 (cl-map-extents): Add compatibility aliases (bug#12135).
2266
d9f9b465
MA
22672012-08-08 Michael Albinus <michael.albinus@gmx.de>
2268
2269 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2270 tests by `ignore-error'.
2271 (tramp-find-shell): Open also a new shell, when cache is already
2272 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2273
ce0fcefa
JL
22742012-08-08 Juri Linkov <juri@jurta.org>
2275
2276 * bookmark.el: Add `defaults' property to the bookmark record.
2277 (bookmark-current-buffer): Doc fix.
2278 (bookmark-make-record): Add `defaults' property with default values
2279 to the bookmark record.
2280 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2281 with `bookmark-insert-current-bookmark'.
2282 (bookmark-set): Get `defaults' property from the bookmark record
2283 and use it in `read-from-minibuffer'.
2284 (bookmark-insert-current-bookmark): Remove function.
2285
2286 * info.el (Info-bookmark-make-record): Add `defaults' property
2287 with values of canonical Info node name, the current Info file
2288 name and the current Info node name. (Bug#12107)
2289
53fa8652
JL
22902012-08-08 Juri Linkov <juri@jurta.org>
2291
2292 * files.el (basic-save-buffer): Use `buffer-name' as the default
2293 of `read-file-name' when buffer is not visiting a file (bug#12128).
2294
242c0a95
JL
22952012-08-08 Juri Linkov <juri@jurta.org>
2296
2297 * info.el (Info-isearch-search): Doc fix.
2298 (Info-search): Change search-failed message from "initial node" to
2299 "end of node" (bug#12078).
2300 (Info-isearch-search): Change `isearch-string-state' to
2301 `isearch--state-string'.
2302
32ac3a6b
GM
23032012-08-08 Glenn Morris <rgm@gnu.org>
2304
2305 * language/persian.el: Remove file.
f8c1afd5 2306 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2307 * loadup.el: Remove language/persian.
2308
2c2d9c9c
OF
23092012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2310
2311 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2312
2d79ec42
FEG
23132012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2314
2315 * progmodes/python.el Fixed defsubst warning.
2316 (python-syntax-context) Rename from python-info-ppss-context.
2317 (python-syntax-context-type): Rename from
2318 python-info-ppss-context-type.
2319 (python-syntax-comment-or-string-p): Rename from
2320 python-info-ppss-comment-or-string-p.
2321
2bd255dd
JB
23222012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2323
2324 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2325
c395097f
AS
23262012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2327
6125983e
AS
2328 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2329 a defcustom that is quoted with backquote.
2330
4250fdf5
SM
2331 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2332 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2333 (math-do-arg-check, math-define-function-body): Use backquote forms.
2334 * calc/calc-ext.el (math-defcache): Likewise.
2335 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2336 * allout.el (allout-new-exposure): Likewise.
2337 * calc/calcalg2.el (math-tracing-integral): Likewise.
2338 * info.el (Info-last-menu-item): Likewise.
2339 * emulation/vip.el (vip-loop): Likewise.
2340 * textmodes/artist.el (artist-funcall): Likewise.
2341 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2342 Construct menu-item directly.
2343
4250fdf5
SM
2344 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2345 Don't declare.
c395097f 2346
5fb50dd3
CY
23472012-08-07 Chong Yidong <cyd@gnu.org>
2348
2349 * simple.el (deactivate-mark): Preserve text properties when
2350 saving the primary selection (Bug#8384).
2351
54eea618
KR
23522012-08-07 Kevin Ryde <user42@zip.com.au>
2353
2354 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2355 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2356 and continue processing (Bug#12110).
2357
638eaeb9
SM
23582012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2361 syntax-propertize-function (bug#10095).
2362
ea376861
SM
23632012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2364
f91b35be
SM
2365 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2366 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2367 describe-function-1.
2368 (describe-function-1): Use them. Move compiler macro after sig.
2369 (help-fns--compiler-macro): Use function-get. Assume we're already in
2370 standard-output. Adjust layout to new call order.
2371
ea376861
SM
2372 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2373 re-binding a symbol that has a symbol-macro (bug#12119).
2374
d5be7bd0
MB
23752012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2376
2377 * language/persian.el: New file. (Bug#11812)
2378 * loadup.el: Add language/persian.el.
2379
90749b53
CY
23802012-08-06 Chong Yidong <cyd@gnu.org>
2381
2382 * window.el (window--maybe-raise-frame): New function.
2383 (window--display-buffer): Split off from here.
2384 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2385 (display-buffer-pop-up-window, display-buffer-use-some-window):
2386 Obey an inhibit-switch-frame action alist entry.
2387 (display-buffer): Update doc.
2388
2389 * replace.el (occur-after-change-function): Avoid losing focus by
2390 using the inhibit-switch-frame display parameter (Bug#12139).
2391
ba7b0154
FEG
23922012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2393
2394 Make internal shell process buffer names start with space.
2395 * progmodes/python.el (python-shell-make-comint): Add optional
2396 argument INTERNAL.
2397 (run-python-internal): Use it.
2398 (python-shell-internal-get-or-create-process): Check for new
2399 internal buffer names.
2400
5eaeacb5
GM
24012012-08-06 Glenn Morris <rgm@gnu.org>
2402
e296d94b 2403 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2404 Do less getting and setting of environment variables.
2405
b7ccbdc2
CY
24062012-08-05 Chong Yidong <cyd@gnu.org>
2407
777fe95e
CY
2408 * proced.el (proced): Add substitution string to docstring to
2409 trigger autoloading of the proced library on C-h f (Bug#1768).
2410
4250fdf5
SM
2411 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2412 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2413
2414 * imenu.el (imenu-generic-expression): Move documentation here
2415 from imenu--generic-function.
2416 (imenu--generic-function): Refer to imenu-generic-expression.
2417
9e3b7800 24182012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2419
2420 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2421 indentation declaration.
2422 (viper-loop): Add indentation declaration (Bug#7025).
2423
e5d9c0d1
CY
24242012-08-05 Chong Yidong <cyd@gnu.org>
2425
f0422feb
CY
2426 * help-fns.el (describe-variable): Add hyperlink for
2427 directory-local variables files. Improve buffer-local and
2428 permanent-local reporting; suggested by MON KEY (Bug#6644).
2429
2430 * help-mode.el (help-dir-local-var-def): New button type.
2431
e5d9c0d1
CY
2432 * files.el (kill-buffer-hook): Provide a defvar.
2433
a4f2deaa
GM
24342012-08-05 Glenn Morris <rgm@gnu.org>
2435
2436 * eshell/esh-ext.el (eshell/addpath):
2437 Also update eshell-path-env. (Bug#12013)
2438
a9dd5754
CY
24392012-08-05 Chong Yidong <cyd@gnu.org>
2440
a4f2deaa 2441 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2442
d014c740
CY
2443 * fringe.el (fringe-styles): Add docstring.
2444 (fringe--check-mode): New function.
2445 (set-fringe-mode, set-fringe-style): Use it.
2446 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2447
a9dd5754
CY
2448 * files.el (set-auto-mode): Fix invalid setq call.
2449
7c2dc8bd
SM
24502012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * isearch.el: Misc simplification; use defstruct.
2453 (isearch-mode-map): Dense maps now work like sparse ones.
2454 (isearch--state): New defstruct.
2455 (isearch-string-state, isearch-message-state, isearch-point-state)
2456 (isearch-success-state, isearch-forward-state)
2457 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2458 (isearch-wrapped-state, isearch-barrier-state)
2459 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2460 replaced by defstruct's accessors.
2461 (isearch--set-state): Rename from isearch-top-state and change
2462 calling convention.
2463 (isearch-push-state): Use new isearch--get-state.
2464 (isearch-toggle-word): Disable regexp when enabling word.
2465 (isearch-message-prefix): Remove unused arg _c-q-hack.
2466 (isearch-message-suffix): Remove unused arg _ellipsis.
2467
7fcc0070
AS
24682012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2469
2470 * simple.el (list-processes--refresh): For a server use :host or
2471 :local as the address.
97ad0769 2472 (list-processes): Doc fix.
7fcc0070 2473
a11035b8 24742012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2475
2476 * lisp/mpc.el: Support password in host argument.
2477 (mpc--proc-connect): Parse and use new password element.
2478 Set mpc-proc variable instead of returning process.
2479 (mpc-proc): Adjust accordingly.
2480
6dad7178
EZ
24812012-08-03 Eli Zaretskii <eliz@gnu.org>
2482
18949c2f
EZ
2483 * whitespace.el (whitespace-display-mappings): Use Unicode
2484 codepoints, instead of emacs-mule codepoints. See
2485 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2486 for the details.
2487
6dad7178
EZ
2488 * files.el (file-truename): Don't skip symlink-chasing part on
2489 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2490 Windows into the loop that recursively chases symlinks.
2491 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2492 MS-DOS.
2493
385b0198
CY
24942012-08-03 Chong Yidong <cyd@gnu.org>
2495
6200f3c4
CY
2496 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2497
385b0198
CY
2498 * sort.el (sort-regexp-fields): Doc fix.
2499
b9e74744
TH
25002012-08-03 Tassilo Horn <tsdh@gnu.org>
2501
2502 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2503 labels regex position point at the expected place.
2504
41013cb4
MK
25052012-08-03 MON KEY <monkey@sandpframing.com>
2506
2507 * net/imap.el (imap-interactive-login, imap-authenticate)
2508 (imap-mailbox-lsub, imap-mailbox-list)
2509 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2510 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2511 (imap-parse-response): Doc fix.
2512
0ffee616
JT
25132012-08-03 João Távora <joaotavora@gmail.com>
2514
2515 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2516 if sexp scanning does not move point (Bug#5734).
2517
cfcc9cc8
TH
25182012-08-02 Tassilo Horn <tsdh@gnu.org>
2519
2520 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2521 Add listings, minted, and ctable packages.
2522 (reftex-label-alist-builtin): Move listings, minted, and ctable
2523 entries before LaTeX.
a01bbb84 2524 (reftex-label-alist): Docfix.
cfcc9cc8 2525
66ec2442
BG
25262012-08-02 Bastien Guerry <bzg@gnu.org>
2527
2528 * replace.el (occur): Fix docstring (bug#12122).
2529
837b365b
GM
25302012-08-02 Glenn Morris <rgm@gnu.org>
2531
2532 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2533
e098de97
PE
25342012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2535
2536 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2537 * international/mule-cmds.el: Create
2538 inactivate-current-input-method-function as an obsolete alias for
2539 deactivate-current-input-method-function. See Katsumi Yamaoka in
2540 <http://bugs.gnu.org/10150#46>.
2541
a0f95636
JB
25422012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2543
2544 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2545 of nested `if's.
2546
0d26d7c4
GM
25472012-08-01 Glenn Morris <rgm@gnu.org>
2548
2549 * progmodes/autoconf.el (autoconf-definition-regexp):
2550 Add AH_TEMPLATE, adjust submatch numbering.
2551 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2552 (autoconf-current-defun-function): Update for above change.
2553 (autoconf-current-defun-function): First skip to end of current word.
2554
b686ba06
RS
25552012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2556
2557 * calendar/cal-html.el (cal-html-insert-agenda-days):
2558 Fix typo. (Bug#12018)
2559
0d49da68
FEG
25602012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2561
2562 Shell processes: enhancements to startup and CEDET compatibility.
2563 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2564 (python-shell-make-comint): accept-process-output at startup.
2565 (run-python-internal): Set inferior-python-mode-hook to nil.
2566 (python-shell-internal-get-or-create-process): call sit-for.
2567 (python-preoutput-result): Add obsolete alias.
2568 (python-shell-internal-send-string): Use it.
2569 (python-shell-send-setup-code): Remove call to
2570 accept-process-output.
2571
f1a71c6e
AS
25722012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2573
2574 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2575 (Bug#12108)
2576
d2605269
JB
25772012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2578
2579 * calc-mode.el (calc-basic-simplification-mode): Rename from
2580 `calc-limited-simplification-mode'.
2581 (calc-alg-simplification-mode): New function.
fc0c31f8 2582 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2583
d2605269
JB
2584 * calc.el (calc-set-mode-line): Adjust mode line display for
2585 basic simplification mode.
2586
2587 * calc-help.el (calc-m-prefix-help): Update help message.
2588
2589 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2590 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2591
a3827a43
BG
25922012-07-31 Bastien Guerry <bzg@gnu.org>
2593
2594 * man.el (man): Fix comment. (bug#12101)
2595
502e3f89
MR
25962012-07-31 Martin Rudalics <rudalics@gmx.at>
2597
2598 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2599 Don't return a non-nil value when no suitable buffer was found.
2600
d7714961
FEG
26012012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2602
2603 * progmodes/python.el (run-python-internal): Disable font lock for
2604 internal shells.
2605
1f45e27e
SM
26062012-07-30 Stefan Merten <smerten@oekonux.de>
2607
70efc5c9 2608 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2609 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2610 (rst-official-version, rst-official-cvs-rev)
2611 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2612 (rst-mode-map): New key binding.
2613
0aee6912
PE
26142012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2615
2616 Update .PHONY listings in makefiles.
2617 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2618 autoloads, update-subdirs, updates, bzr-update, update-authors,
2619 compile-onefile, compile-calc, backup-compiled-files,
2620 compile-after-backup, compile-one-process, mh-autoloads,
2621 bootstrap-clean, distclean, maintainer-clean.
2622
9052f9f0
JB
26232012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2624
1823ac5a
JB
2625 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2626 (calc-set-mode-line): Don't display "AlgSimp ".
2627
2628 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2629 (calc-lim-simplify-mode): New function.
2630 (calc-set-simplify-mode): Default to 'alg.
2631 (calc-default-simplify-mode): Make algebraic simplifications
2632 the default.
2633
2634 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2635 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2636
8d7c7eed 2637 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2638 indicate new simplification modes.
2639
1823ac5a
JB
2640 * calc/README: Mention new default simplification mode.
2641
9052f9f0
JB
2642 * calc/calc.el (math-normalize-error): New variable.
2643 (math-normalize): Set `math-normalize-error' to t
2644 when there's an error.
2645
2646 * calc/calc-alg.el (math-simplify): Don't simplify when
2647 `math-normalize' returns an error.
2648
20ba0cb4
EZ
26492012-07-29 Eli Zaretskii <eliz@gnu.org>
2650
2651 * international/mule-cmds.el (set-locale-environment): Revert last
2652 change, since display-graphic-p returns nil when this function is
2653 called during startup. Instead...
2654
2655 * term/w32console.el (terminal-init-w32console): ...setup the
2656 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2657
a5dcc929
JL
26582012-07-29 Juri Linkov <juri@jurta.org>
2659
2660 * simple.el (goto-line): Don't display default line number in the
2661 prompt because it should be displayed by `read-number' (bug#9952).
2662 Add the current line number to the defaults of `goto-line' to
2663 allow its easier modification by users with `M-n' (bug#9201).
2664
2665 * subr.el (read-number): Support multiple default values like in
2666 other minibuffer reading functions. Replace `read' with
2667 `string-to-number' for consistency with `number-to-string'.
2668
72b255c7
PE
26692012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2670
2671 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2672 * emulation/viper-init.el (viper-deactivate-input-method-action):
2673 Rename from viper-inactivate-input-method-action.
2674 (viper-deactivate-input-method):
2675 Rename from viper-inactivate-input-method.
2676 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2677 * international/mule-cmds.el (deactivate-input-method):
2678 Rename from inactivate-input-method.
2679 Also run input-method-deactivate-hook.
2680 (deactivate-current-input-method-function):
2681 Rename from inactivate-current-input-method-function.
2682 (input-method-deactivate-hook): New hook.
2683 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2684 (inactivate-input-method): Mark obsolete.
2685
72b255c7
PE
2686 * international/quail.el (quail-activate):
2687 Also run quail-deactivate-hook.
2688 (quail-deactivate): Rename from quail-inactivate.
2689 * international/robin.el (robin-activate):
2690 Also run robin-deactivate-hook.
2691 (robin-deactivate): Rename from robin-inactivate.
2692
2549c068
CY
26932012-07-29 Chong Yidong <cyd@gnu.org>
2694
2695 * simple.el (indicate-copied-region): New function.
2696 (kill-ring-save): Split off from here.
2697
2698 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2699 (kill-rectangle): Set deactivate-mark to t on read-only error.
2700
2701 * register.el (copy-to-register, copy-rectangle-to-register):
2702 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
2703 (append-to-register, prepend-to-register): Call indicate-copied-region.
2704
27052012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2706
2707 * simple.el (async-shell-command-buffer): New defcustom.
2708 (shell-command): Use it. (Bug#4719)
2709
01bd1b0d
EZ
27102012-07-28 Eli Zaretskii <eliz@gnu.org>
2711
2712 * international/mule-cmds.el (set-locale-environment): In a
2713 console session on MS-Windows, set up keyboard and terminal
2714 encoding from the OEM codepage, not the ANSI codepage.
2715 (Bug#12055)
2716
a55739d3
CY
27172012-07-28 Chong Yidong <cyd@gnu.org>
2718
2719 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2720 gdb-get-location.
2721
0e1a094f 27222012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2723
2724 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2725 the alist (bug#12029).
2726
20329d73
EZ
27272012-07-28 Eli Zaretskii <eliz@gnu.org>
2728
2729 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2730 (compile-always, compile-first)
2731 ($(lisp)/calendar/cal-loaddefs.el)
2732 ($(lisp)/calendar/diary-loaddefs.el)
2733 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2734 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2735 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2736 instead of on update-subdirs.
2737 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2738
345a2258
CY
27392012-07-28 Chong Yidong <cyd@gnu.org>
2740
1eee6341
CY
2741 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2742 directory if vc-deduce-backend returns nil (Bug#7350).
2743
345a2258
CY
2744 * simple.el (delete-trailing-lines): New option.
2745 (delete-trailing-whitespace): Obey it (Bug#11879).
2746
049a0936
DE
27472012-07-28 David Engster <deng@randomsample.de>
2748
2749 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2750 Explanation of new 'symbol-qnames feature in doc-strings.
2751 (xml-maybe-do-ns): Return expanded names as plain symbols if
2752 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2753 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2754
aa81af71
FEG
27552012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2756
2757 Consistent completion in inferior python with emacs -nw.
2758 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2759 binding in inferior-python-mode-map with "\t".
2760 (python-shell-completion-complete-at-point)
2761 (python-completion-complete-at-point): Remove interactive spec.
2762
e827b1eb
JB
27632012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2764
2765 * calc/calccomp.el (math-compose-expr): Undo previous change.
2766
a90dfb95
FEG
27672012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2768
4250fdf5 2769 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2770 run-python.
2771 (python-shell-make-comint): Fix pop-to-buffer call.
2772 (run-python): Autoload. New arg SHOW.
2773 (python-shell-get-or-create-process): Do not pop python process
2774 buffer.
2775
32770973 27762012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2777
2778 * notifications.el (notifications-on-action-signal)
2779 (notifications-on-closed-signal): Use also the bus address for the map.
2780 (notifications-notify, notifications-close-notification)
fc0c31f8 2781 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2782
86332df2
TH
27832012-07-27 Tassilo Horn <tsdh@gnu.org>
2784
4250fdf5
SM
2785 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2786 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2787 ctable macro.
2788 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2789 labels written in keyvals syntax.
2790
ca1302a4
JB
27912012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2792
2793 * calc/calccomp.el (math-compose-expr): Use parentheses when
2794 there is a product in the denominator of a fraction.
2795
f8b91036
EZ
27962012-07-26 Eli Zaretskii <eliz@gnu.org>
2797
2798 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2799 ($(lisp)/calendar/diary-loaddefs.el)
2800 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2801 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2802 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2803 rewritten while the autoload files are built at the same time,
2804 which needs to load subdirs.el.
2805
c8e5a42c
MR
28062012-07-26 Martin Rudalics <rudalics@gmx.at>
2807
2808 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2809 (mouse-drag-line): Don't exit tracking when a switch-frame or
2810 switch-window event occurs (Bug#12006).
2811
670d85ea
SM
28122012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * mouse.el (popup-menu): Fix last change.
2815
7abaf5cc
SM
28162012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 Autoload from Lisp with more care. Follow aliases when looking for
2819 function properties.
2820 * subr.el (autoloadp): New function.
2821 (symbol-file): Use it.
2822 (function-get): New function.
2823 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2824 autoload-do-load.
2825 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2826 (lisp-indent-function):
2827 * emacs-lisp/gv.el (gv-get):
2828 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2829 * emacs-lisp/byte-opt.el (byte-optimize-form):
2830 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2831 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2832 Use function-get.
2833 * emacs-lisp/cl.el: Don't propagate function properties any more.
2834
2835 * speedbar.el (speedbar-add-localized-speedbar-support):
2836 * emacs-lisp/disass.el (disassemble-internal):
2837 * desktop.el (desktop-load-file):
2838 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2839 (describe-function-1):
2840 * emacs-lisp/find-func.el (find-function-noselect):
2841 * emacs-lisp/elp.el (elp-instrument-function):
2842 * emacs-lisp/advice.el (ad-has-proper-definition):
2843 * apropos.el (apropos-safe-documentation, apropos-macrop):
2844 * emacs-lisp/debug.el (debug-on-entry):
2845 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2846 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2847 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2848
b1364986
AA
28492012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2850
2851 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2852 function, not an obsolete variable (Bug#12046).
2853
67ada220
AS
28542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2855
2856 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2857
f08088e3
CS
28582012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2859
2860 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2861 window only if it is still live (Bug#12034).
2862
8137e7b3
MR
28632012-07-25 Martin Rudalics <rudalics@gmx.at>
2864
2865 * subr.el (redirect-frame-focus): Add advertised calling
2866 convention (Bug#12030).
2867
09ae5da1
PE
28682012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2869
2870 Prefer typical American spelling for "acknowledgment".
2871 * vc/add-log.el (change-log-acknowledgment): Rename from
2872 change-log-acknowledgement, with an alias for the old name.
2873
3cc5a3a8
JB
28742012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2875
2876 * calc-alg.el (math-simplify-divide): Don't cross multiply
2877 in an equation when the lhs is a variable.
2878
b7af7f62
JD
28792012-07-24 Julien Danjou <julien@danjou.info>
2880
2881 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2882 Remove, unused.
2883
ec1b09b1
EZ
28842012-07-23 Eli Zaretskii <eliz@gnu.org>
2885
2886 * startup.el (command-line): Don't display an empty user name in
2887 the error message about non-existent home directory, when
2888 init-file-user was set to an empty string. See
2889 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2890 for the details and context.
2891
b525fd8a
VB
28922012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2893
2894 * ses.el (ses-cell-formula-aset): New macro.
2895 (ses-cell-references-aset): New macro.
2896 (ses-cell-p): New function.
2897 (ses-rename-cell): Do no longer rely on complex operations like
2898 ses-cell-set-formula or ses-set-cell to change the cell and handle
2899 the undo at the same time, but rather use lower level new macros
2900 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2901 the undo directly. Refresh the mode line.
b525fd8a 2902
2c73e345
LL
29032012-07-21 Leo Liu <sdl.web@gmail.com>
2904
670d85ea
SM
2905 * progmodes/cc-cmds.el (c-defun-name):
2906 Use match-string-no-properties instead for consistency.
2c73e345 2907
542dfbde
LL
29082012-07-20 Leo Liu <sdl.web@gmail.com>
2909
3646bcd6
LL
2910 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2911 (Bug#7879)
2912
542dfbde
LL
2913 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2914
25721031
CY
29152012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2918 * progmodes/bug-reference.el, misearch.el: Provide themselves
2919 (bug#11915).
2920
2921 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2922 of narrowed buffer (bug#11966).
2923
316e68a7
VB
29242012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2925
2926 * ses.el (ses-rename-cell): Set new name also in reference list of
2927 cells of which the renamed cell depends.
2928
bbf0e7d9
MY
29292012-07-20 Masatake YAMATO <yamato@redhat.com>
2930
2931 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2932 to check whether menu-bar is shown or not. If not shown,
2933 show the menu-bar as a popup menu instead of using tmm.
2934 * mouse.el (popup-menu): Accept `point' as `position' argument.
2935
c28662a8
DG
29362012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2937
2938 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2939 up inside string symbol literal (bug#11923).
2940
87ab808f
EZ
29412012-07-20 Eli Zaretskii <eliz@gnu.org>
2942
2943 * startup.el (fancy-startup-text): Read the whole tutorial, not
2944 just its first 256 bytes. Prevents gibberish in display of the
2945 tutorial title.
2946
89dea803
DA
29472012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2948
2949 Drop idle buffer compaction due to an absence of the
2950 proved efficiency.
2951 * compact.el: Remove.
2952
8a4e6db8
SS
29532012-07-19 Sam Steingold <sds@gnu.org>
2954
2955 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2956 vc-bzr-pull & vc-bzr-merge-branch.
2957 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2958 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2959 for consistency with compilation-error-regexp-alist.
2960 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2961 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2962 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2963 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2964
5db81e33
SM
29652012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * emacs-lisp/chart.el: Use lexical-binding.
2968 (chart-emacs-storage): Don't hardcode the list of entries.
2969
5b835e1d
DA
29702012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2971
2972 Next round of tweaks caused by Fgarbage_collect changes.
2973 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2974
9cd47b72
DA
29752012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2976
2977 Compact buffers when idle.
2978 * compact.el: New file.
2979
1d6fc0df
SM
29802012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * subr.el (eventp): Presume that if it looks vaguely like an event,
2983 it's an event (bug#10190).
2984
1d29cc7d
FEG
29852012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2986
2987 Enhancements to ppss related code (thanks Stefan).
2988 * progmodes/python.el (python-indent-context)
2989 (python-indent-calculate-indentation, python-indent-dedent-line)
2990 (python-indent-electric-colon, python-nav-forward-block)
2991 (python-mode-abbrev-table)
1d6fc0df 2992 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2993 for ppss context.
2994 (python-info-continuation-line-p): Cleanup.
2995 (python-info-ppss-context): Do not catch 'quote.
2996 (python-info-ppss-context-type)
2997 (python-info-ppss-comment-or-string-p): Simplify.
2998
d583cbe6
FEG
29992012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3000
3001 * progmodes/python.el: Enhancements to eldoc support.
3002 (python-info-current-symbol): New function.
3003 (python-eldoc-at-point): Use python-info-current-symbol.
3004 (python-info-current-defun): Fix cornercase on first defun scan.
3005 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3006 and signal error when no inferior python process is available.
3007
eceb6feb
DG
30082012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3009
3010 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3011 assume it's always t.
3012 (vc-git-registered): Remove caching, the function is only called
3013 once.
3014 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3015
4c8ff0fe
CY
30162012-07-18 Chong Yidong <cyd@gnu.org>
3017
19fb7186
CY
3018 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3019
9587c688
CY
3020 * simple.el (count-words): Report on narrowing (Bug#9959).
3021
0fe776a1
CY
3022 * bindings.el: Bind M-= to count-words.
3023
4c8ff0fe
CY
3024 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3025
7f5331cc
MY
30262012-07-18 Masatake YAMATO <yamato@redhat.com>
3027
3028 * progmodes/sh-script.el (sh-imenu-generic-expression):
3029 Capture a function with `function' keyword and without parentheses
3030 like "function FOO" (bug#11856).
3031
2dc2a609
TH
30322012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3033
3034 * window.el (split-window-sensibly): Make WINDOW argument
3035 optional.
3036
439f7677
CY
30372012-07-18 Chong Yidong <cyd@gnu.org>
3038
9aeb25a6
CY
3039 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3040
439f7677
CY
3041 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3042 and make C-x 8 RET exit isearch (Bug#11439).
3043
3044 * international/iso-transl.el: Move isearch-mode-map key
3045 definitions to isearch.el.
3046
12999ea8
SM
30472012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3048
3049 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3050 (eieio-defclass): Use gv-define-setter when possible.
3051
3ab6e069
DA
30522012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3053
3054 Reflect recent changes in Fgarbage_collect.
3055 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3056 reflect new format of data returned by Fgarbage_collect.
3057
0a60bc10
FEG
30582012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3059
3060 New utility functions + python-info-ppss-context fix (Bug#11910).
3061 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3062 (python-info-ppss-comment-or-string-p): New functions.
3063 (python-info-ppss-context): Small fix for string check.
3064
6dafa0d5
JL
30652012-07-17 Juri Linkov <juri@jurta.org>
3066
3067 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3068 (dired-do-async-shell-command): Don't add `*' at the end of the
3069 command (Bug#11815).
3070 (dired-do-shell-command): Doc fix.
3071 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3072 Join the individual commands using either "&" or ";" as the
3073 separator depending on the values of these trailing characters.
3074 At the end re-add the trailing "&". (Bug#10598)
3075
3076 * simple.el (async-shell-command): Sync the interactive spec with
3077 `shell-command'. Doc fix.
3078 (shell-command): Doc fix.
3079
b19dd9d1
JL
30802012-07-17 Juri Linkov <juri@jurta.org>
3081
3082 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3083
bcdc27d7 30842012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3085
bcdc27d7 3086 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3087 * progmodes/python.el (python-nav-beginning-of-statement):
3088 Rename from python-nav-statement-start.
bcdc27d7
FEG
3089 (python-nav-end-of-statement): Rename from
3090 python-nav-statement-end.
3091 (python-nav-beginning-of-block): Rename from
3092 python-nav-block-start.
3093 (python-nav-end-of-block): Rename from python-nav-block-end.
3094
191da00e
FEG
30952012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3096
7f5331cc
MY
3097 * progmodes/python.el (python-shell-send-string-no-output):
3098 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3099 future interactions (Bug#11868).
3100
4dc7c8d5 31012012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3102
88ecaf8f
SM
3103 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3104
ef501ef0
SM
3105 * emacs-lisp/elint.el (elint-find-args-in-code):
3106 Use help-function-arglist, so as to handle lexical byte-code.
3107
aa7aaf8f
SM
3108 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3109 change (bug#11826).
3110
45fd731c
SM
31112012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3112
2143fa32
SM
3113 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3114 Avoid spuriously marking the buffer as modified because of c-is-sws.
3115
efc26dbe
SM
3116 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3117 as not-a-comment (bug#11946).
3118
f5695c9a
SM
3119 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3120 for uninterned vars.
3121
3122 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3123 Use read-event since we don't really want to read chars but bytes.
3124
45fd731c
SM
3125 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3126 $$..$$ but also $..$ using regexps (bug#11953).
3127 Use tex-verbatim for \url and \path.
3128 (tex-font-lock-keywords): Define as defconst like the others.
3129 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3130
ddfc8813
RK
31312012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3132
3133 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3134 alias for insert-char.
3135
758e556a
FEG
31362012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3137
3138 * progmodes/python.el: Simplified imenu implementation.
3139 (python-nav-jump-to-defun): Remove command.
3140 (python-mode-map): Use `imenu' instead.
3141 (python-nav-list-defun-positions-cache)
3142 (python-imenu-include-defun-type, python-imenu-make-tree)
3143 (python-imenu-subtree-root-label, python-imenu-index-alist):
3144 Remove vars.
3145 (python-nav-list-defun-positions, python-nav-read-defun)
3146 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3147 (python-imenu-make-tree, python-imenu-create-index):
3148 Remove functions.
758e556a
FEG
3149 (python-mode): Update to interact with imenu by setting
3150 `imenu-extract-index-name-function' only.
3151
032d23ab
FEG
31522012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3153
3154 * progmodes/python.el: Enhancements to navigation commands.
3155 (python-nav-backward-sentence)
3156 (python-nav-forward-sentence): Remove.
3157 (python-nav-backward-statement, python-nav-forward-statement)
3158 (python-nav-statement-start, python-nav-statement-end)
3159 (python-nav-backward-block, python-nav-forward-block)
3160 (python-nav-block-start, python-nav-block-end)
3161 (python-nav-forward-sexp-function)
3162 (python-info-current-line-comment-p)
3163 (python-info-current-line-empty-p): New functions.
3164 (python-indent-context): Use `python-nav-statement-start'.
3165
01795a1b
MA
31662012-07-16 Michael Albinus <michael.albinus@gmx.de>
3167
9328d9aa
MA
3168 * eshell/em-ls.el (eshell/ls): Use `apply'.
3169
3170 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3171 multi-hops, instead of Tramp internals.
3172
01795a1b
MA
3173 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3174
3175 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3176 when F1 and F2 are located on different hosts.
3177
63408057
CY
31782012-07-14 Chong Yidong <cyd@gnu.org>
3179
3180 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3181 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3182 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3183 (xterm-mouse--read-event-sequence-1000)
3184 (xterm-mouse--read-event-sequence-1006): New functions. For old
3185 mouse protocol, handle M-mouse-X events correctly.
3186 (xterm-mouse-event): New arg specifying mouse protocol.
3187 (turn-on-xterm-mouse-tracking-on-terminal)
3188 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3189 sequence to toggle extended coordinates on newer XTerms.
3190 This appears to be harmless on terminals which do not support this.
63408057 3191
cd276f6e
LL
31922012-07-14 Leo Liu <sdl.web@gmail.com>
3193
28ca98ac
LL
3194 Add fringe bitmap indicators for flymake. (Bug#11253)
3195 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3196 (flymake-make-overlay): New arg BITMAP.
3197 (flymake-error-bitmap, flymake-warning-bitmap)
3198 (flymake-fringe-indicator-position): New user variables.
3199
cd276f6e
LL
3200 * fringe.el: New bitmap exclamation-mark.
3201
04408072
JD
32022012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3203
3204 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3205 also (Bug#7879).
3206
b5cf7fc4
CY
32072012-07-14 Chong Yidong <cyd@gnu.org>
3208
3209 * electric.el (electric-pair-post-self-insert-function): Fix pair
3210 insertion in empty-region case (Bug#11520).
3211
be755c79
RT
32122012-07-14 Chong Yidong <cyd@gnu.org>
3213
45fd731c
SM
3214 * bindings.el: Consolidate ctl-x-r-map bindings.
3215 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3216
3217 * rect.el, register.el: Move bindings to bindings.el.
3218
32192012-07-14 Reuben Thomas <rrt@sc3d.org>
3220
3221 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3222
7f5b3198
AS
32232012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3224
3225 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3226
97662200
JB
32272012-07-13 Juanma Barranquero <lekktu@gmail.com>
3228
80185fed
JB
3229 * bindings.el (top): Use `mapc' instead of `mapcar'.
3230
97662200
JB
3231 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3232
2bb1ae55
MA
32332012-07-13 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * progmodes/sql.el (sql-comint): Suppress the check for program on
3236 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3237 (Bug#11908)
3238
dea31bd3
CY
32392012-07-13 Chong Yidong <cyd@gnu.org>
3240
3241 * bindings.el: Assign a non-nil permanent-local property to
3242 per-buffer variables which lack a default value (Bug#11930).
3243
3244 * help-fns.el (describe-variable): In the "automatically becomes
3245 local" notice, take note of permanent-local variables.
3246
b68b3337
CY
32472012-07-13 Chong Yidong <cyd@gnu.org>
3248
3249 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3250 to allow printing the message when called from Lisp.
3251
3252 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3253 Remove toggle-read-only.
3254
3255 * bs.el (bs-toggle-readonly):
45fd731c
SM
3256 * buff-menu.el (Buffer-menu-toggle-read-only):
3257 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3258
3259 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3260 Remove with-no-warnings around toggle-read-only.
3261 (ffap-read-only, ffap-read-only-other-window)
3262 (ffap-read-only-other-frame): Callers changed.
3263
3264 * help-mode.el: Don't require view package.
3265 (help-mode-finish): Set buffer-read-only instead of calling
3266 toggle-read-only.
3267
3268 * bindings.el (mode-line-toggle-read-only):
3269 * dired.el (dired-toggle-read-only):
3270 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3271 with non-nil second arg.
3272
3273 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3274 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3275 directly.
3276
56bc1586
EZ
32772012-07-12 Eli Zaretskii <eliz@gnu.org>
3278
3279 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3280 not incf.
3281
a464a6c7
SM
32822012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 More CL cleanups and reduction of use of cl.el.
3285 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3286 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3287 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3288 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3289 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3290 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3291 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3292 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3293 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3294 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3295 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3296 * eshell/em-cmpl.el, eshell/em-banner.el:
3297 * calendar/parse-time.el: Use cl-lib.
3298 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3299 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3300 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3301 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3302 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3303 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3304 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3305 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3306 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3307 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3308 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3309 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3310 `lambda' rather than with `quote'.
3311 (eshell-do-opt): Adjust accordingly.
3312 (eshell-process-option): Simplify.
3313 * eshell/esh-var.el:
3314 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3315 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3316 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3317 to `pcase--dontcare'.
3318 * emacs-lisp/cl.el (labels): Mark obsolete.
3319 (cl--letf, letf): Move to cl-lib.
3320 (cl--letf*, letf*): Remove.
3321 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3322 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3323 (cl-progv): Rewrite.
3324 (cl--letf, cl-letf): Move from cl.el.
3325 (cl-letf*): New macro.
3326 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3327
7ad4afe1
MA
33282012-07-11 Michael Albinus <michael.albinus@gmx.de>
3329
3330 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3331
9af57756
CY
33322012-07-11 Chong Yidong <cyd@gnu.org>
3333
3334 * vc/log-edit.el (log-edit-vc-backend): New variable.
3335 (log-edit): Doc fix.
3336
3337 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3338 argument of log-edit to set up all local variables.
3339 (vc-start-logentry): New optional arg specifying VC backend.
3340
3341 * vc/vc.el (vc-checkin): Use it.
3342 (vc-deduce-fileset): Handle Log Edit buffers.
3343 (vc-diff): Make first argument optional too.
3344
3345 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3346
8477cc7a
MA
33472012-07-10 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3350 command, just in case. The function is not needed anymore.
3351 (eshell-external-command): Do not call `eshell-remote-command'.
3352
19faa8e8
SM
33532012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3354
f58e0fd5
SM
3355 Reduce use of (require 'cl).
3356 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3357 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3358 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3359 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3360 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3361 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3362 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3363 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3364 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3365 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3366 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3367 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3368 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3369 (byte-compile-unfold-bcf, byte-compile-check-variable):
3370 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3371 (byte-compile-nilconstp):
3372 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3373 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3374
2519d43a
SM
3375 * emacs-lisp/gv.el (cond): Make it a valid place.
3376 (if): Simplify slightly.
3377
19faa8e8
SM
3378 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3379 (pcase--self-quoting-p): New function.
3380 (pcase--u1): Use it.
3381
c4907a5e
GM
33822012-07-10 Glenn Morris <rgm@gnu.org>
3383
3384 * emacs-lisp/authors.el (authors-fixed-entries):
3385 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3386
c4444d16
PE
33872012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3388
3389 Rename configure.in to configure.ac (Bug#11603).
3390 * emacs-lisp/authors.el (authors-canonical-file-name):
3391 * progmodes/autoconf.el (autoconf-mode):
3392 Prefer configure.ac to configure.in.
3393
d75be97d
CY
33942012-07-08 Chong Yidong <cyd@gnu.org>
3395
01ac65bd
CY
3396 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3397 Implement the mouse-1-click-follows-link handling properly.
3398
3399 * info.el (Info-link-keymap): Use follow-link mechanism for
3400 header-line links (Bug#374).
3401
d75be97d
CY
3402 * simple.el (deactivate-mark): Do not set the primary selection
3403 if another program has acquired it (Bug#11772).
3404
87a92845 34052012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3406
3407 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3408 (woman-decode-region): Replace escaped-escapes without destroying
3409 bold or underline (Bug#11552).
87a92845 3410 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3411
621b9d6c
CY
34122012-07-07 Chong Yidong <cyd@gnu.org>
3413
3414 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3415 (interprogram-cut-function, interprogram-paste-function):
3416 Mention that we typically mean the clipboard.
621b9d6c 3417
133a11fc
GM
34182012-07-06 Glenn Morris <rgm@gnu.org>
3419
0d27a45e
GM
3420 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3421
133a11fc
GM
3422 * files.el (toggle-read-only): Restrict message to interactive use.
3423
07b151f1
MA
34242012-07-06 Michael Albinus <michael.albinus@gmx.de>
3425
3426 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3427
3428 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3429
211b896b
GM
34302012-07-06 Glenn Morris <rgm@gnu.org>
3431
50394322
GM
3432 * Makefile.in (compile-one-process): Rename from "recompile".
3433
211b896b
GM
3434 * Makefile.in (bzr-update): "compile" is the same as "recompile
3435 autoloads", but parallelizable, so use that instead.
3436
4737eec9
DG
34372012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * window.el (quit-window): Always restore window height when
8137e7b3 3440 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3441
226c3633 34422012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3443
3444 * simple.el (kill-whole-line): Doc tweak.
3445
226c3633 34462012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3447
3448 * files.el (file-relative-name): Compare file names
3449 case-insensitively if on MS-Windows or MS-DOS, or if
3450 read-file-name-completion-ignore-case is non-nil. Don't use
3451 case-fold-search for this purpose. (Bug#11827)
3452
4dc7c8d5
SM
34532012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3454
3455 * calendar/cal-dst.el (calendar-current-time-zone):
3456 Return calendar-current-time-zone-cache if non-nil.
3457
34582012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 34592012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3460
19faa8e8
SM
3461 * calendar/cal-dst.el (calendar-current-time-zone):
3462 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3463
60198fc9
GM
34642012-07-06 Glenn Morris <rgm@gnu.org>
3465
3466 * Makefile.in (cvs-update): Remove old alias.
3467
957b3189
MA
34682012-07-05 Michael Albinus <michael.albinus@gmx.de>
3469
3470 Sync with Tramp 2.2.6-pre.
3471
3472 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3473 compatible declaration.
3474
19faa8e8
SM
3475 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3476 Protect `list-load-path-shadows' call.
957b3189
MA
3477
3478 * net/tramp-compat.el (top): Require packages, which aren't
3479 autoloaded anymore for XEmacs. Protect call of
3480 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3481 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3482 it hurts at least for SXEmacs.
3483 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3484 standard-value for `temporary-file-directory'.
3485
3486 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3487 Redirect stderr to /dev/null.
3488 (tramp-sh-handle-write-region): uid and gid can be floats.
3489 Reported by Russell Sim <russell.sim@gmail.com>.
3490 (tramp-sh-handle-vc-registered): Hide errors.
3491 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3492 and `start-file-process'.
3493 (tramp-maybe-open-connection): Check also whether `non-essential'
3494 is bound.
3495
566df3fc
CY
34962012-07-04 Chong Yidong <cyd@gnu.org>
3497
3498 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3499 (xml-parse-tag): Likewise, and avoid changing entity tables.
3500 (xml-syntax-table): Define from scratch, making sure not to give
3501 x2000 and other Unicode spaces whitespace syntax, since those are
3502 not spaces in XML.
3503 (xml-parse-fragment): Delete unused function.
3504 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3505 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3506 (xml-entity-ref, xml-pe-reference-re)
3507 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3508 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3509 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3510 (xml-entity-value-re): Use syntax references in regexps where
3511 possible; no need to define inside a let-binding.
3512 (xml-parse-dtd): Use xml-pe-reference-re.
3513 (xml-entity-or-char-ref-re): New defconst.
3514 (xml-parse-string, xml-substitute-special): Use it.
3515
30eabd7a
SM
35162012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3517
0781098a
SM
3518 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3519 (find-file--read-only): New function.
3520 (find-file-read-only, find-file-read-only-other-window)
3521 (find-file-read-only-other-frame): Use it.
3522 (insert-file-contents-literally): Don't `fset'.
3523 (get-free-disk-space): Use locate-dominating-file.
3524
b5771c0d
SM
3525 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3526 function is already compiled.
3527
30eabd7a
SM
3528 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3529
b4886f6e
MA
35302012-07-03 Michael Albinus <michael.albinus@gmx.de>
3531
3532 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3533 files on the same host.
3534
b9d82339
AS
35352012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3536
3537 * help-fns.el (describe-function-1): Only call
3538 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3539
a76e6535
CY
35402012-07-03 Chong Yidong <cyd@gnu.org>
3541
3542 * xml.el: Protect parser against XML bombs.
3543 (xml-entity-expansion-limit): New variable.
3544 (xml-parse-string, xml-substitute-special): Use it.
3545 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3546
b544fef2
GM
35472012-07-03 Glenn Morris <rgm@gnu.org>
3548
3549 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3550 Allow linking to specific messages in debbugs reports (eg 123#5).
3551
a7aef6f5
CY
35522012-07-02 Chong Yidong <cyd@gnu.org>
3553
3554 * xml.el: Fix entity and character reference expansion, allowing
3555 them to expand into markup as per XML spec.
3556 (xml-default-ns): New variable.
3557 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3558 (xml-parse-region): Make first two arguments optional.
3559 Discard text properties.
3560 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3561 All callers changed.
a7aef6f5
CY
3562 (xml-parse-tag): Call xml-parse-tag-1. For backward
3563 compatibility, this function should not modify buffer contents.
3564 (xml-parse-tag-1): Fix opening-tag regexp.
3565 (xml-parse-string): Rewrite, handling entity and character
3566 references properly.
3567 (xml--entity-replacement-text): Signal an error if a parameter
3568 entity is undefined.
3569
3df31c9f
SM
35702012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3571
2b5208f1
SM
3572 * comint.el (comint-output-filter): Filter out repeated prompts.
3573
3df31c9f
SM
3574 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3575 and file-name-absolute-p.
3576 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3577 internal calls.
3578
e3ac1281
PE
35792012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3580
3581 Spelling fixes.
3582 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3583 Rename from byte-compile--refiy-function. All uses changed.
3584
fbf2e7ad
CY
35852012-07-01 Chong Yidong <cyd@gnu.org>
3586
3587 * xml.el (xml--parse-buffer): New function. Move most of
3588 xml-parse-region here.
3589 (xml-parse-region): Copy region into a temporary buffer, since
3590 parameter entity substitution requires changing buffer contents.
3591 Use xml--parse-buffer.
3592 (xml-parse-file): Use xml--parse-buffer.
3593 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3594 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3595
9bf0aa15
GM
35962012-06-30 Glenn Morris <rgm@gnu.org>
3597
bbce2853
GM
3598 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3599
9bf0aa15
GM
3600 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3601 Remove outdated and unnecessary dbus declarations.
3602
0d23c240
EZ
36032012-06-30 Eli Zaretskii <eliz@gnu.org>
3604
3605 * emacs-lisp/timer.el (timer-until): Subtract results of
3606 float-time, instead of taking float-time of the result of
3607 time-subtract, since float-time signals an error for negative time
3608 arguments.
3609
b3218de1
CY
36102012-06-30 Chong Yidong <cyd@gnu.org>
3611
3612 * xml.el (xml-*-re): Convert defvars into defconsts, and
3613 eval-and-compile them so eval-and-compile works on derivatives.
3614 (xml--entity-replacement-text): Use eval-and-comple.
3615
a40c87a0
MA
36162012-06-30 Michael Albinus <michael.albinus@gmx.de>
3617
3618 * vc/vc-git.el (vc-git-registered): Use cache property
3619 `git-registered'.
3620 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3621 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3622 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3623
ac87de97
DG
36242012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3625
3626 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3627 removed (likely outside Emacs). (Bug#11757)
ac87de97 3628
ac10fe06
SM
36292012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3df31c9f 3631 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3632
7f3fbd5d
CY
36332012-06-30 Chong Yidong <cyd@gnu.org>
3634
3635 * xml.el: Implement XML parameter entities.
3636 (xml-parameter-entity-alist): New variable.
3637 (xml-parse-region, xml-parse-fragment): Preserve previous values
3638 of xml-entity-alist and xml-parameter-entity-alist, so that
3639 repeated calls on different documents do not change them.
3640 (xml-parse-tag): Fix doctype regexp.
3641 (xml--entity-replacement-text): New function.
3642 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3643 properly requires url retrieval which is unimplemented.
3644 (xml-escape-string): Doc fix.
3645
3cfbebba
SM
36462012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3649
2af3565e
DA
36502012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3651
3652 * fringe.el (fringe-mode): Doc fix.
3653
929df0e7
MA
36542012-06-29 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3657 is non-nil.
3658 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3659 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3660
c8d3a25c 36612012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3662
c8d3a25c
GM
3663 * calendar/cal-dst.el (calendar-current-time-zone):
3664 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3665
c8d3a25c 36662012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3667
3668 * progmodes/which-func.el (which-func-format):
3669 Add mouse-face. (Bug#11698)
3670
c8d3a25c
GM
36712012-06-29 Leo Liu <sdl.web@gmail.com>
3672
3673 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3674
36752012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * minibuffer.el (minibuffer-confirm-exit-commands):
3678 Add completion-at-point (bug#11725).
3679
36802012-06-29 Glenn Morris <rgm@gnu.org>
3681
3682 * progmodes/f90.el (f90-font-lock-keywords-2):
3683 Add some preprocessor elements. (Bug#10499)
3684
36852012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3688 Use syntax-propertize (bug#11739).
3689
2badeec4
JB
36902012-06-28 Juanma Barranquero <lekktu@gmail.com>
3691
3692 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3693
ae4969c2
JD
36942012-06-28 Julien Danjou <julien@danjou.info>
3695
3696 * term.el (term-handle-colors-array): Use a set of new faces to
3697 color the terminal. Also uses :inverse-video property.
3698 (term-default-fg-color): Set to nil by default, deprecate in favor
3699 of `term-face'.
3700 (term-default-bg-color): Set to nil by default, deprecate in favor
3701 of `term-face'.
3702 (term-current-face): Use `term-face' by default.
3703 (term-bold-attribute): Variable deleted.
3704
1c9bd870
GM
37052012-06-28 Glenn Morris <rgm@gnu.org>
3706
3707 * simple.el (completion-list-mode-finish):
3708 Don't use toggle-read-only. (Since completion-list-mode has
3709 a special mode-class, it wasn't doing anything extra anyway.)
3710
c207708c
SM
37112012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 Make inlining of other-mode interpreted functions work (bug#11799).
3714 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3715 (byte-compile): Use it to fix compilation of lexical-binding closures.
3716 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3717 function, if needed.
3718
3fd56834
SM
37192012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3720
04901786
SM
3721 * help-mode.el (help-make-xrefs): Don't just withstand
3722 cyclic-variable-indirection but any error in documentation-property.
3723
1ec4b7b2
SM
3724 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3725 memory use.
3726 * bindings.el (bindings--define-key): New function.
3727 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3728 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3729 * bindings.el: Use it to purecopy define-key bindings.
3730
e309e2a5
SM
3731 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3732
d5c6faf9
SM
3733 * emacs-lisp/cl.el (flet): Mark obsolete.
3734 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3735 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3736 * progmodes/js.el (js-c-fill-paragraph):
3737 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3738 (ebrowse-switch-member-buffer-to-derived-class):
3739 * play/5x5.el (5x5-solver): Use cl-flet.
3740
6e9590e2
SM
3741 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3742 (cl--symbol-function): New macro.
3743 (cl--letf, cl--letf*): Use it.
3744
3fd56834
SM
3745 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3746 Strip "toggle-" if any.
3747
35ff222c
GM
37482012-06-27 Glenn Morris <rgm@gnu.org>
3749
1ba6038a
GM
3750 * info.el (Info-default-directory-list): Move here from paths.el.
3751 * paths.el: Remove file, which is now empty.
3752 * loadup.el: No longer load "paths".
3753
0ea0e51b
GM
3754 * custom.el (custom-initialize-delay): Doc fix.
3755
35ff222c
GM
3756 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3757 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3758 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3759 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3760 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3761 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3762 * eshell/eshell.el (eshell-defgroup): Remove alias.
3763
c89926a5
CY
37642012-06-27 Chong Yidong <cyd@gnu.org>
3765
3766 * help.el (help-enable-auto-load): New variable.
3767
3768 * help-fns.el (help-fns--autoloaded-p): New function.
3769 (describe-function-1): Refer to a function as "autoloaded" if it
3770 was autoloaded at any time in the past. Perform autoloading if
3771 help-enable-auto-load is non-nil.
3772
cc06e7e7
EZ
37732012-06-26 Eli Zaretskii <eliz@gnu.org>
3774
3775 * makefile.w32-in (compile, compile-always): Depend on
3776 update-subdirs, not on subdirs.el. Otherwise, several different
3777 sub-targets of 'bootstrap' running in parallel could
3778 simultaneously write to subdirs.el, producing a garbled file.
3779
d2c32364
SS
37802012-06-26 Sam Steingold <sds@gnu.org>
3781
3782 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3783 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3784 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3785 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3786 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3787 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3788 * textmodes/tex-mode.el: Use it.
3789 Did not touch cedet and org because they are maintained elsewhere.
3790
5cf983b2
MR
37912012-06-26 Martin Rudalics <rudalics@gmx.at>
3792
3793 * calendar/calendar.el (calendar-exit): Don't try to delete or
3794 iconify last frame. See:
3795 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3796
8c4f2952
JD
37972012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3798
3799 * server.el (server-process-filter): Remember dir in the
3800 process's `server-client-directory' properties.
3801
772b2e2c
CY
38022012-06-24 Chong Yidong <cyd@gnu.org>
3803
3804 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3805 non-tag text.
3806
711b11e1
JB
38072012-06-23 Juanma Barranquero <lekktu@gmail.com>
3808
3809 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3810
dc5d230c
SM
38112012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * help-fns.el (describe-variable): Don't croak when doc is not found.
3814 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3815 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3816 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3817 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3818 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3819 ((lambda ..) ..).
3820 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3821
136e1c1d
CY
38222012-06-23 Chong Yidong <cyd@gnu.org>
3823
e8c1cabf
CY
3824 * info.el (Info-mouse-follow-link): Accept symbol values of
3825 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3826 (Info-fontify-node): Use Info-link-keymap for all navigation
3827 buttons, with link-args property to perform the desired action.
3828 (Info-link-keymap): Doc fix.
3829 (Info-next-link-keymap, Info-prev-link-keymap)
3830 (Info-up-link-keymap): Delete now-unused keymaps.
3831
0e9e6c6a
CY
38322012-06-23 Chong Yidong <cyd@gnu.org>
3833
05e89fea
CY
3834 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3835
0e9e6c6a
CY
3836 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3837 system abbrevs.
3838
3839 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3840
e33c6771
SM
38412012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3842
b68581e2
SM
3843 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3844 (bug#11719).
3845
e33c6771
SM
3846 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3847 the requote function doesn't work properly (bug#11714).
3848
7117e105
GM
38492012-06-23 Glenn Morris <rgm@gnu.org>
3850
3851 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3852
36cec983
SM
38532012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 Further GV/CL cleanups.
3856 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3857 gv-expander.
3858 (gv--defun-declaration): New function.
3859 (defun-declarations-alist): Use it.
3860 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3861 (gv-place): Autoload.
3862 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3863 original definition of dotimes and dolist.
3864 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3865 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3866 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3867 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3868 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3869 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3870 to the function's definition.
3871 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3872 * window.el:
3873 * files.el:
3874 * faces.el:
3875 * env.el: Don't use CL.
3876
d35af63c
PE
38772012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3878
3879 Support higher-resolution time stamps (Bug#9000).
3880
3881 * calendar/time-date.el (with-decoded-time-value): New arg
3882 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3883 (encode-time-value): New optional arg PICO. New type 3.
3884 (time-to-seconds) [!float-time]: Support the new picoseconds
3885 component if it's used.
3886 (seconds-to-time, time-subtract, time-add):
3887 Support ps-resolution time stamps as well.
3888
3889 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3890 (timerp): Timer vectors now have length 9, not 8.
3891 (timer--time): Support new-style (4-part) time stamps.
3892 (timer-next-integral-multiple-of-time): Time stamps now have
3893 picosecond resolution, so take a bit more care about rounding.
3894 (timer-relative-time, timer-inc-time): New optional arg psecs.
3895 (timer-set-time-with-usecs): Set psecs to 0.
3896 (timer--activate): Check psecs component, too.
3897
3898 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3899
ac77b21a
SM
39002012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3901
f143bfe3
SM
3902 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3903 Move the non-essential binding to the post/pre-command-hook where it is
3904 more obviously correct.
3905
ac77b21a
SM
3906 * subr.el (read-passwd): Don't use a history at all.
3907 * savehist.el (savehist-save): Remove password saved accidentally
3908 because of the above bug.
3909
76386c5a
BG
39102012-06-22 Bastien Guerry <bzg@gnu.org>
3911
3912 * files.el (toggle-read-only): Display a message telling whether
3913 the buffer is read-only or not (bug#11726).
3914
2ee3d7f0
SM
39152012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 * emacs-lisp/gv.el: New file.
3918 * subr.el (push, pop): Extend to generalized variables.
3919 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3920 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3921 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3922 gv-define-simple-setter, and gv-define-expander.
3923 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3924 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3925 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3926 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3927 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3928 gv-letplace.
3929 (cl-defstruct): Don't define setf-method any more.
3930 * emacs-lisp/cl.el (flet): Don't autoload.
3931 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3932 (define-setf-expander, defsetf, define-modify-macro)
3933 (cl-struct-setf-expander): Move from cl-lib.el.
3934 * emacs-lisp/syntax.el:
3935 * emacs-lisp/ewoc.el:
3936 * emacs-lisp/smie.el:
3937 * emacs-lisp/cconv.el:
3938 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3939 (timer--time): Use gv-define-simple-setter.
3940 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3941 to avoid coding-system problems in subr.el. Adjust all users.
3942 (macroexp--maxsize, macroexp-small-p): New functions.
3943 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3944 * scroll-bar.el (scroll-bar-mode):
3945 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3946 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3947 * winner.el (winner-configuration, winner-make-point-alist)
3948 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3949 * files.el (locate-file-completion-table): Avoid list*.
3950
c5695d1d
CY
39512012-06-22 Chong Yidong <cyd@gnu.org>
3952
3953 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3954 (dired-create-files): Doc fix (Bug#11329).
3955 (dired-do-copy): Doc fix (Bug#11334).
3956 (dired-mark-read-string): Doc fix (Bug#11553).
3957
2ee3d7f0
SM
3958 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3959 Doc fix (Bug#11326).
c5695d1d
CY
3960 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3961 (dired-dwim-target): Doc fix.
3962
3963 * wdired.el (wdired-mode): Doc fix.
3964
89b5595a
GM
39652012-06-22 Glenn Morris <rgm@gnu.org>
3966
575db3f1
GM
3967 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3968 (pcmpl-rpm-cache-stamp-file): New constant.
3969 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3970 (pcmpl-rpm-packages): Optionally cache list of packages.
3971
a4c8dd51
GM
3972 * pcmpl-rpm.el (pcmpl-rpm): New group.
3973 (pcmpl-rpm-query-options): New option.
3974 (pcmpl-rpm-packages): No need to inline it.
3975 Use pcmpl-rpm-query-options.
3976
89b5595a
GM
3977 * calendar/calendar.el (calendar-in-read-only-buffer):
3978 Avoid some needless mode changes.
3979
e76f0800
CY
39802012-06-21 Chong Yidong <cyd@gnu.org>
3981
3982 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3983 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3984 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3985
297a8f1d
CY
39862012-06-20 Chong Yidong <cyd@gnu.org>
3987
3988 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3989
d34c18b1
DR
39902012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3991
3992 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3993 (bug#11201).
3994
32f7f28e
CY
39952012-06-20 Chong Yidong <cyd@gnu.org>
3996
3997 * term.el (term-window-width): Handle the case of a missing right
3998 fringe (Bug#8837).
3999 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4000 (term-mode): Use define-derived-mode. Minor cleanups.
4001 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4002 (term-move-columns, term-insert-char, term-emulate-terminal)
4003 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4004
493c6688
MA
40052012-06-20 Michael Albinus <michael.albinus@gmx.de>
4006
d34c18b1
DR
4007 * net/ange-ftp.el (ange-ftp-get-passwd):
4008 Bind `enable-recursive-minibuffers'.
493c6688
MA
4009 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4010
3f06ecf4
DR
40112012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4012
4013 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4014
68f12411
GM
40152012-06-19 Glenn Morris <rgm@gnu.org>
4016
4017 * progmodes/python.el (python-mode): Derive from prog-mode.
4018
b3820318
KG
40192012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4020
4021 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4022 (edt-user-menu-bar-update-buffers): New functions.
4023 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4024
c6bf3022
CY
40252012-06-19 Chong Yidong <cyd@gnu.org>
4026
4027 * subr.el (with-selected-window): Preserve the selected window's
4028 terminal's top-frame (Bug#4702).
4029
4030 * window.el (save-selected-window): Likewise.
4031
25f09295
SM
40322012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4033
4034 * progmodes/python.el (python-rx-constituents): Move backquote.
4035 (python-skeleton-define, python-define-auxiliary-skeleton):
4036 Use `declare'.
4037
6b11952a
MA
40382012-06-18 Michael Albinus <michael.albinus@gmx.de>
4039
4040 * minibuffer.el (read-file-name-default): Revert the patch from
4041 2012-06-17.
4042
ee4b1330
SM
40432012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4046 (pcase--u1, pcase--q1): Don't use apply-partially.
4047
35647f79
GM
40482012-06-18 Glenn Morris <rgm@gnu.org>
4049
4050 * progmodes/python.el (python-proc, python-buffer)
4051 (python-send-receive, python-send-string): Fix obsolete versions.
4052
24b0cff0
MR
40532012-06-18 Martin Rudalics <rudalics@gmx.at>
4054
4055 * window.el (special-display-p): Completely remove stringp
4056 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4057
29855149
MA
40582012-06-17 Michael Albinus <michael.albinus@gmx.de>
4059
4060 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4061
4062 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4063
4064 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4065 * net/tramp-sh.el (tramp-maybe-open-connection):
4066 Throw if `non-essential' is non-nil.
4067
07463363
MR
40682012-06-17 Martin Rudalics <rudalics@gmx.at>
4069
4070 * window.el (special-display-p): Signal an error if BUFFER-NAME
4071 is not a string (Bug#11713).
4072
48d1354e
PE
40732012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4074
4075 * progmodes/python.el (python-info-beginning-of-backslash):
4076 Rename from python-info-beginning-of-backlash, as a spelling fix.
4077
eb4a8a9a
CY
40782012-06-17 Chong Yidong <cyd@gnu.org>
4079
4080 * term.el (term-emulate-terminal): If term-check-size is called,
4081 move point to the process mark without resetting point (Bug#4635).
4082
ddfbf826 40832012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4084
4085 * international/mule-cmds.el (mule-menu-keymap)
4086 (set-language-environment, set-locale-environment): Doc tweaks.
4087
9b0e3eba
AA
40882012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4089
4090 * cus-face.el (custom-face-attributes): Add wave-style underline
4091 attribute.
4092 * faces.el (set-face-attribute): Update docstring to describe
4093 wave-style underline attribute.
4094
771e3eae
CY
40952012-06-16 Chong Yidong <cyd@gnu.org>
4096
4097 * term/xterm.el (terminal-init-xterm): Discard input before
4098 querying background mode (Bug#10959).
4099
7ae2ea10
SM
41002012-06-16 Stefan Merten <smerten@oekonux.de>
4101
4102 * textmodes/rst.el: Added and corrected some comments.
4103 (rst-re-alist-def): Improve symbol syntax.
4104 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4105 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4106 (rst-official-version, rst-official-cvs-rev): Update version
4107 information.
7ae2ea10 4108
b6974efa
JB
41092012-06-15 Juanma Barranquero <lekktu@gmail.com>
4110
4111 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4112 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4113
8826d473
GM
41142012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4115
4116 * progmodes/python.el: New python.el merge.
4117 (python-guess-indent): Obsolete var.
4118 (python-indent-guess-indent-offset): New defcustom.
4119 (python-indent): Obsolete var.
4120 (python-indent-offset): New defcustom.
4121 (python-python-command, python-jython-command): Delete var.
4122 (python-shell-interpreter): New defcustom.
4123 (python-pdbtrack-do-tracking-p): Delete var.
4124 (python-pdbtrack-activate): New defcustom.
4125 (python-use-skeletons): Obsolete var.
4126 (python-skeleton-autoinsert): New defcustom.
4127 (inferior-python-filter-regexp, python-continuation-offset)
4128 (python-honour-comment-indentation, python-indent-string-contents)
4129 (python-jython-packages, python-mode-hook)
4130 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4131 (python-shell-prompt-alist)
4132 (python-source-modes): Delete defcustoms.
4133 (python-check-buffer-name, python-eldoc-setup-code)
4134 (python-eldoc-string-code, python-ffap-setup-code)
4135 (python-ffap-string-code, python-fill-comment-function)
4136 (python-fill-decorator-function, python-fill-paren-function)
4137 (python-fill-string-function, python-imenu-include-defun-type)
4138 (python-imenu-make-tree, python-imenu-subtree-root-label)
4139 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4140 (python-shell-compilation-regexp-alist)
4141 (python-shell-completion-module-string-code)
4142 (python-shell-completion-pdb-string-code)
4143 (python-shell-completion-setup-code)
4144 (python-shell-completion-string-code)
4145 (python-shell-enable-font-lock, python-shell-exec-path)
4146 (python-shell-extra-pythonpaths)
4147 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4148 (python-shell-process-environment)
4149 (python-shell-prompt-block-regexp)
4150 (python-shell-prompt-output-regexp)
4151 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4152 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4153 (python-shell-virtualenv-path): New defcustoms.
4154 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4155 (inferior-python-mode-syntax-table, python--prompt-regexp)
4156 (python-buffer, python-command python-python-command)
4157 (python-default-template, python-imports, python-indent-index)
4158 (python-indent-list, python-indent-list-length)
4159 (python-mode-running, python-pdbtrack-is-tracking-p)
4160 (python-preoutput-continuation, python-preoutput-leftover)
4161 (python-preoutput-result, python-preoutput-skip-next-prompt)
4162 (python-prev-dir/file, python-recursing)
4163 (python-saved-check-command, python-version-checked)
4164 (python-which-func-length-limit)
4165 (view-return-to-alist): Delete vars.
4166 (python-check-custom-command, python-dotty-syntax-table)
4167 (python-imenu-index-alist, python-indent-current-level)
4168 (python-indent-dedenters, python-indent-levels)
4169 (python-nav-beginning-of-defun-regexp)
4170 (python-nav-list-defun-positions-cache)
4171 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4172 (python-shell-internal-buffer)
4173 (python-skeleton-available): New vars.
4174 (def-python-skeleton): Delete macro.
4175 (python-skeleton-define): New macro.
4176 (python-define-auxiliary-skeleton, python-rx): New macros.
4177 (python-insert-class): Delete command.
4178 (python-skeleton-class): New command.
4179 (python-insert-def): Delete command.
4180 (python-skeleton-def): New command.
4181 (python-insert-for): Delete command.
4182 (python-skeleton-for): New command.
4183 (python-insert-if): Delete command.
4184 (python-skeleton-if): New command.
4185 (python-insert-try/except, python-insert-try/finally): Delete commands.
4186 (python-skeleton-try): New command.
4187 (python-insert-while): Delete command.
4188 (python-skeleton-while): New command.
4189 (python-backspace): Delete command.
4190 (python-indent-dedent-line-backspace): New command.
4191 (python-electric-colon): Delete command.
4192 (python-indent-electric-colon): New command.
4193 (python-guess-indent): Delete command.
4194 (python-indent-guess-indent-offset): New command.
4195 (python-shift-left): Delete command.
4196 (python-indent-shift-left): New command.
4197 (python-shift-right): Delete command.
4198 (python-indent-shift-right): New command.
4199 (python-find-function): Delete command.
4200 (python-nav-jump-to-defun): New command.
4201 (python-next-statement): Delete command.
4202 (python-nav-forward-sentence): New command.
4203 (python-previous-statement): Delete command.
4204 (python-nav-backward-sentence): New command.
4205 (python-fill-paragraph): Delete command.
4206 (python-fill-paragraph-function): New command.
4207 (python-send-buffer): Delete command.
4208 (python-shell-send-buffer): New command.
4209 (python-send-defun): Delete command.
4210 (python-shell-send-defun): New command.
4211 (python-send-region, python-send-region-and-go): Delete commands.
4212 (python-shell-send-region)
4213 (python-shell-switch-to-shell): New commands.
4214 (python-send-string): Delete command.
4215 (python-shell-send-string): New command.
4216 (python-switch-to-python): Delete command.
4217 (python-shell-switch-to-shell): New command.
4218 (python-describe-symbol): Delete command.
4219 (python-eldoc-at-point): New command.
4220 (python--set-prompt-regexp, python-args-to-list)
4221 (python-after-info-look, python-check-version)
4222 (python-check-comint-prompt, python-find-imports)
4223 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4224 (python-unload-function, python-expand-template)
4225 (python-maybe-jython, python-preoutput-filter)
4226 (python-pdbtrack-get-source-buffer)
4227 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4228 (python-pdbtrack-toggle-stack-tracking)
4229 (python-pdbtrack-track-stack-file, python-initial-text)
4230 (python-first-word, python-comment-line-p, python-send-command)
4231 (python-setup-brm, python-sentinel, python-set-proc)
4232 (python-skip-out, python-input-filter, python-outdent-p)
4233 (python-outline-level, python-backslash-continuation-line-p)
4234 (python-end-of-block, python-end-of-statement, python-mark-block)
4235 (python-beginning-of-block, python-beginning-of-statement)
4236 (python-blank-line-p, python-beginning-of-string)
4237 (python-open-block-statement-p): Delete functions.
4238 (python-indent-line, python-indent-line-1): Delete functions.
4239 (python-indent-line): New function.
4240 (python-indentation-levels): Delete function.
4241 (python-indent-calculate-levels): New function.
4242 (python-proc): Delete function.
4243 (python-shell-get-process): New function.
4244 (python-send-receive): Delete function.
4245 (python-shell-send-string-no-output): New function.
4246 (python-module-path): Delete function.
4247 (python-ffap-module-path): New function.
4248 (python-completion-at-point)
4249 (python-symbol-completions): Delete functions.
4250 (python-completion-complete-at-point): New function.
4251 (python-load-file): Delete function.
4252 (python-shell-send-file): New function.
4253 (python-calculate-indentation): Delete function.
4254 (python-indent-calculate-indentation): New function.
4255 (python-skip-comments/blanks): Delete function.
4256 (python-util-forward-comment): New function.
4257 (python-continuation-line-p): Delete function.
4258 (python-info-continuation-line-p): New function.
4259 (python-which-func, python-current-defun): Delete function.
4260 (python-info-current-defun): New function.
4261 (python-beginning-of-defun): Delete function.
4262 (python-nav-beginning-of-defun): New function.
4263 (python-close-block-statement-p)
4264 (python-block-end-p): Delete function.
4265 (python-info-closing-block): New function.
4266 (python-comint-output-filter-function)
4267 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4268 (python-fill-comment, python-fill-decorator, python-fill-paren)
4269 (python-fill-string, python-imenu-make-element-tree)
4270 (python-imenu-make-tree, python-imenu-tree-assoc)
4271 (python-indent-context, python-indent-dedent-line)
4272 (python-indent-line-function)
4273 (python-indent-post-self-insert-function)
4274 (python-indent-toggle-levels)
4275 (python-info-assignment-continuation-line-p)
4276 (python-info-beginning-of-backlash)
4277 (python-info-block-continuation-line-p)
4278 (python-info-closing-block-message)
4279 (python-info-line-ends-backslash-p)
4280 (python-info-looking-at-beginning-of-defun)
4281 (python-info-ppss-context, python-info-ppss-context-type)
4282 (python-nav-list-defun-positions, python-nav-read-defun)
4283 (python-nav-sentence-end, python-nav-sentence-start)
4284 (python-pdbtrack-comint-output-filter-function)
4285 (python-pdbtrack-set-tracked-buffer)
4286 (python-shell-calculate-exec-path)
4287 (python-shell-calculate-process-environment)
4288 (python-shell-completion--do-completion-at-point)
4289 (python-shell-completion--get-completions)
4290 (python-shell-completion-complete-at-point)
4291 (python-shell-completion-complete-or-indent)
4292 (python-shell-get-or-create-process)
4293 (python-shell-get-process-name)
4294 (python-shell-internal-get-or-create-process)
4295 (python-shell-internal-get-process-name)
4296 (python-shell-internal-send-string, python-shell-make-comint)
4297 (python-shell-parse-command, python-shell-send-setup-code)
4298 (python-skeleton-add-menu-items)
4299 (python-util-clone-local-variables, python-util-position)
4300 (run-python-internal, python-indentation-levels)
4301 (python-nav-beginning-of-defun)
4302 (python-completion-complete-at-point): New functions.
4303 (run-python): Change arguments. New API requirements.
4304
4302f5ba
SM
43052012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4306
f38ea36d
SM
4307 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4308 (bug#11649).
4309
4310 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4311 (macroexp--expand-all): Use it.
4312
4302f5ba
SM
4313 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4314 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4315 Use `cl-function' instead.
4316
33377562
JB
43172012-06-14 Juanma Barranquero <lekktu@gmail.com>
4318
4319 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4320 Suggested by Stefan Monnier while discussing bug#11657.
4321
54c5ba1a
SS
43222012-06-14 Sam Steingold <sds@gnu.org>
4323
4324 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4325
f9f1b1fe
AS
43262012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4327
4328 * play/doctor.el (doctor-doc): Remove parameter and use
4329 doctor-sent instead of sent.
4330 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4331
a81068ba
SM
43322012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4333
5a315f9c
SM
4334 * files.el: Require cl-lib.
4335 (file-name-non-special): Replace case -> cl-case.
4336
4337 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4338
a81068ba
SM
4339 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4340 mapping from #' to function*.
4341
8cca9703
CY
43422012-06-13 Chong Yidong <cyd@gnu.org>
4343
4344 * mouse.el (mouse-drag-track): Do not set the mark if the user
4345 releases the mouse without selecting anything (Bug#11588).
4346
a12ac9d7
SM
43472012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4348
ccf1dc18
SM
4349 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4350 as well (bug#11646).
4351
ef62b23d
SM
4352 * loadup.el: Count byte-code functions as well.
4353
c4c8444a
SM
4354 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4355 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4356
a12ac9d7
SM
4357 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4358 (bug#11649). Add cl-defun and cl-defmacro.
4359
87e6e64f
DA
43602012-06-13 Drew Adams <drew.adams@oracle.com>
4361
4362 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4363 Fix last change.
4364
682cefaf
MA
43652012-06-13 Michael Albinus <michael.albinus@gmx.de>
4366
4367 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4368 Otherwise, it blocks in batch mode.
4369
773e1f08
JB
43702012-06-13 Juanma Barranquero <lekktu@gmail.com>
4371
4372 * help-mode.el (bookmark-make-record-default): Declare.
4373
60057926
CY
43742012-06-13 Chong Yidong <cyd@gnu.org>
4375
4376 * emacs-lisp/package.el (list-packages): Compute a list of
4377 packages that are newly-available since the last list-packages
4378 invocation.
4379 (package-menu--new-package-list): New var.
4380 (package-menu--generate, package-menu--print-info)
4381 (package-menu--status-predicate, package-menu-mark-install):
4382 Handle new status label "new".
4383
ad4d226c
SM
43842012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4387 conversion to backquotes.
4388
f1a4e679
CY
43892012-06-12 Chong Yidong <cyd@gnu.org>
4390
4391 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4392 Rename from gud-inhibit-global-bindings.
4393
4394 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4395
4396 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4397 hook from nxml-glyph-set-hook.
4398
4399 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4400 declaration.
4401
4402 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4403
4404 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4405 Convert to defcustom.
4406
0c9e42b5
DA
44072012-06-12 Drew Adams <drew.adams@oracle.com>
4408
4409 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4410 New functions.
4411 (help-mode): Use them.
4412
09e06855
GM
44132012-06-11 Glenn Morris <rgm@gnu.org>
4414
4415 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4416 Use preprocessor face for directives.
4417 (fortran-directive-re): Doc fix.
4418
71adb94b
SM
44192012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4420
2eb87922
SM
4421 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4422 conversion to backquotes (bug#11652).
4423
71adb94b
SM
4424 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4425 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4426 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4427 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4428 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4429 (cl-ninth, cl-tenth): Mark them as inlinable.
4430 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4431 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4432 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4433 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4434 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4435 (cl-list*, cl-adjoin): Don't put an autoload manually.
4436 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4437 (cl--compiler-macro-list*): Add autoload cookie.
4438 (cl--compiler-macro-cXXr): New function.
2eb87922 4439
71adb94b
SM
4440 * help-fns.el (help-fns--compiler-macro): New function extracted from
4441 describe-function-1; follow aliases and use `compiler-macro' property.
4442 (describe-function-1): Use it.
4443
a6674402
CY
44442012-06-11 Chong Yidong <cyd@gnu.org>
4445
4446 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4447 is uninstalled, if imagemagick is installed.
4448
bb3faf5b
SM
44492012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * emacs-lisp/cl-lib.el: Use lexical-binding.
4452 (cl-map-extents, cl-maclisp-member): Remove.
4453 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4454 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4455 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4456 * emacs-lisp/cl-extra.el: Use lexical-binding.
4457 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4458 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4459 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4460 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4461 * emacs-lisp/cl-seq.el: Use lexical-binding.
4462 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4463 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4464 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4465 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4466 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4467 CL's internals.
4468
2fe4b125
MA
44692012-06-11 Michael Albinus <michael.albinus@gmx.de>
4470
4471 Sync with Tramp 2.2.6-pre.
4472
4473 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4474 `print-length' and `print-level' to nil, in order to avoid
4475 truncation. Reported by Christopher Schmidt
4476 <christopher@ristopher.com>.
4477
4478 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4479
4480 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4481 New defmacro.
4482 (tramp-compat-copy-directory): Add optional argument
4483 COPY-CONTENTS. It is not handled yet.
4484
4485 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4486 (tramp-ftp-file-name-p): Simplify.
4487
4488 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4489 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4490 connection vector.
4491
4492 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4493 (tramp-methods): Do not use `tramp-password-end-of-line'.
4494 (tramp-completion-function-alist-putty): Handle UNIX case.
4495 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4496 (tramp-do-file-attributes-with-stat)
4497 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4498 gid as real numbers. They could run out of integer range on cygwin.
4499 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4500 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4501 (tramp-open-connection-setup-interactive-shell):
4502 Use `tramp-cleanup'. Move check for busyboxes ...
4503 (tramp-find-shell): ... here. Simplify implementation.
4504 Set "remote-shell" property also for alternative shells.
4505 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4506 If failing, a regular file would be written otherwise.
4507 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4508 (tramp-find-inline-encoding): Cache the coding commands in the
4509 process cache. Apply test command on the remote side, if defined.
4510 (tramp-find-inline-compress): Cache the compress commands in the
4511 process cache.
4512 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4513 when requested. Handle hops.
4514 (tramp-current-connection): New defvar.
87e6e64f
DA
4515 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4516 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4517 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4518 (tramp-get-inline-compress, tramp-get-inline-coding):
4519 Read connection properties from the process cache.
2fe4b125
MA
4520
4521 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4522 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4523 New defconsts.
2fe4b125
MA
4524 (tramp-smb-prompt): Extend for powershell prompt.
4525 (tramp-smb-file-name-handler-alist): Add handlers for
4526 `process-file', `shell-command' and `start-file-process'.
4527 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4528 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4529 (tramp-smb-file-name-p): Simplify.
4530 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4531 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4532 (tramp-smb-shell-quote-argument): New defuns.
4533 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4534 Implement using "tar". By this, time-stamps are preserved.
4535 (tramp-smb-handle-copy-file): Handle also the case of directories.
4536 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4537 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4538 Use `tramp-get-connection-buffer').
2fe4b125
MA
4539 (tramp-smb-handle-rename-file): Use "rename", when source and
4540 target are on the same share.
87e6e64f
DA
4541 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4542 Use `tramp-smb-server-version'.
2fe4b125
MA
4543 (tramp-smb-wait-for-output): Remove prompt.
4544
4545 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4546 (tramp-methods, tramp-rsh-end-of-line):
4547 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4548 (tramp-save-ad-hoc-proxies): New defcustom.
4549 (tramp-completion-function-alist): Adapt docstring.
4550 (tramp-default-password-end-of-line): Remove defcustom.
4551 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4552 (tramp-user-regexp, tramp-file-name-regexp-unified)
4553 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4554 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4555 (tramp-remote-file-name-spec-regexp): New defconst.
4556 (tramp-file-name-structure): Extend structure for hops.
4557 (tramp-get-method-parameter): Move up.
4558 (tramp-file-name-p, tramp-dissect-file-name)
4559 (with-parsed-tramp-file-name): Handle hops.
4560 (tramp-file-name-hop): New defun.
4561 (tramp-make-tramp-file-name): New optional arg HOP.
4562 (tramp-message-show-progress-reporter-message): New defvar.
4563 (tramp-with-progress-reporter): Use it. We cannot use
4564 `tramp-message-show-message' here, because this suppresses also
4565 error buffers.
4566 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4567 `tramp-message-show-message' is nil.
4568 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4569 (tramp-cleanup): New defun.
4570 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4571 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4572 an error unchanged.
4573 (tramp-completion-handle-file-name-all-completions): Handle hops.
4574 Fix an error when called from ido.
4575 (tramp-completion-dissect-file-name): Use better local variable
4576 name. Add hop to the vector.
4577 (tramp-handle-insert-file-contents): Use progress-reporter for the
4578 whole scenario.
4579 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4580 to `t'.
4581 (tramp-check-for-regexp): Simplify search.
4582 (tramp-enter-password): Remove it. Move implementation ...
4583 (tramp-action-password): ... here.
4584 (tramp-mode-string-to-int, tramp-local-host-p)
4585 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4586 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4587 Set tramp-autoload cookie.
2fe4b125
MA
4588
4589 * net/trampver.el: Update release number.
4590
45912012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4592 Michael Albinus <michael.albinus@gmx.de>
4593
4594 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4595 (tramp-parse-group, tramp-parse-file)
4596 (tramp-parse-shostkeys-sknownhosts): New defuns.
4597 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4598 (tramp-parse-shosts-group, tramp-parse-sconfig)
4599 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4600 (tramp-parse-sknownhosts, tramp-parse-hosts)
4601 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4602 Use them.
4603 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4604 (tramp-parse-putty-group): Don't narrow.
4605 (tramp-parse-putty): Make a loop.
4606 (tramp-file-name-handler): Catch the `suppress' signal.
4607
72834e10
CY
46082012-06-11 Chong Yidong <cyd@gnu.org>
4609
4610 * image.el (imagemagick-register-types): Put the ImageMagick entry
4611 at the end of image-type-file-name-regexps.
4612
a4712e11
JB
46132012-06-11 Johan Bockgård <bojohan@gnu.org>
4614
4615 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4616 (pcase, pcase-let*, pcase-dolist): Use them.
4617
82ad98e3
SM
46182012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * emacs-lisp/pcase.el (pcase--let*): New function.
4621 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4622 (pcase--expand): Use macroexp-let².
4623
f80efb86
SM
46242012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4627 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4628 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4629 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4630 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4631 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4632
31ca4639 46332012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4634
31ca4639
CY
4635 * mail/rmail.el (rmail-yank-current-message): Leave point at
4636 correct position. (Bug#11660)
94f0aa34 4637
31ca4639 46382012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4639
31ca4639 4640 * allout-widgets.el: Fix code header.
9e1b8ec4 4641
31ca4639 46422012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4643
f80efb86
SM
4644 * cus-edit.el (customize-changed-options-previous-release):
4645 Bump to 24.1.
31ca4639 4646
642b6d30
AS
46472012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4648
4649 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4650
4f5d2ba1
CY
46512012-06-09 Chong Yidong <cyd@gnu.org>
4652
4653 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4654
e75852fd
MR
46552012-06-09 Martin Rudalics <rudalics@gmx.at>
4656
4657 * window.el (special-display-popup-frame): Don't use
4658 window--display-buffer (Bug#11651).
4659
1e48e282
EZ
46602012-06-09 Eli Zaretskii <eliz@gnu.org>
4661
8a26b487
EZ
4662 Fix parallel builds: make sure loaddefs.el is not being written
4663 while Lisp files are compiled.
4664 (compile): Don't depend on 'mh-autoloads'.
4665 (compile-CMD, compile-SH): Depend on 'autoloads'.
4666 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4667
1e48e282
EZ
4668 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4669
6175e34b
CY
46702012-06-09 Chong Yidong <cyd@gnu.org>
4671
4672 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4673 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4674 Doc fixes (Bug#11225).
4675
d9857e53
SM
46762012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4677
4678 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4679 a function if there's a clear indication that it has a compiler-macro.
4680 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4681 (macro-declarations-alist): Add arglist to declaration functions.
4682 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4683 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4684 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4685 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4686 Also add autoload to find the compiler macro.
4687 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4688 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4689 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4690 (cl--compiler-macro-get): New functions, replacing calls to
4691 cl-define-compiler-macro.
4692 (cl-typep) [compiler-macro]: Use macroexp-let².
4693
f81298f8 46942012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4695
4696 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4697 string properly, fixes Bug#11473.
4698
4b56d0fe
CY
46992012-06-08 Chong Yidong <cyd@gnu.org>
4700
4701 * faces.el (set-face-attribute): Doc fix.
4702 (modify-face): Don't use :bold and :italic.
4703 (error, warning, success): Tweak definitions.
4704
4705 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4706 (custom-modified, custom-set, custom-changed, custom-themed)
4707 (custom-saved, custom-button, custom-button-mouse)
4708 (custom-button-pressed, custom-state, custom-comment-tag)
4709 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4710 (custom-group-subtitle): Use new-style face specs.
4711 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4712 (custom-set-face, custom-changed-face, custom-saved-face)
4713 (custom-button-face, custom-button-pressed-face)
4714 (custom-documentation-face, custom-state-face)
4715 (custom-comment-face, custom-comment-tag-face)
4716 (custom-variable-tag-face, custom-variable-button-face)
4717 (custom-face-tag-face, custom-group-tag-face-1)
4718 (custom-group-tag-face): Remove obsolete face alias.
4719
4720 * epa.el (epa-validity-high, epa-validity-medium)
4721 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4722 (epa-field-name, epa-field-body):
4723 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4724 (font-lock-keyword-face, font-lock-builtin-face)
4725 (font-lock-function-name-face, font-lock-variable-name-face)
4726 (font-lock-type-face, font-lock-constant-face):
4727 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4728 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4729 * speedbar.el (speedbar-button-face, speedbar-file-face)
4730 (speedbar-directory-face, speedbar-tag-face)
4731 (speedbar-selected-face, speedbar-highlight-face)
4732 (speedbar-separator-face):
4733 * whitespace.el (whitespace-newline, whitespace-space)
4734 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4735 (whitespace-line, whitespace-space-before-tab)
4736 (whitespace-space-after-tab, whitespace-indentation)
4737 (whitespace-empty):
4738 * emulation/cua-base.el (cua-global-mark):
4739 * eshell/em-prompt.el (eshell-prompt):
4740 * net/newst-plainview.el (newsticker-new-item-face)
4741 (newsticker-old-item-face, newsticker-immortal-item-face)
4742 (newsticker-obsolete-item-face, newsticker-date-face)
4743 (newsticker-statistics-face, newsticker-default-face):
4744 * net/newst-reader.el (newsticker-feed-face)
4745 (newsticker-extra-face, newsticker-enclosure-face):
4746 * net/newst-treeview.el (newsticker-treeview-face)
4747 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4748 (newsticker-treeview-immortal-face)
4749 (newsticker-treeview-obsolete-face)
4750 (newsticker-treeview-selection-face):
4751 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4752 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4753 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4754 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4755 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4756 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4757 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4758 (mpuz-text):
4759 * progmodes/vera-mode.el (vera-font-lock-number)
4760 (vera-font-lock-function, vera-font-lock-interface):
4761 * textmodes/table.el (table-cell): Use new-style face specs, and
4762 don't use the old :bold and :italic attributes.
4763
4764 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4765 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4766 (ebrowse-member-class, ebrowse-progress): Likewise.
4767 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4768 (ebrowse-file-name-face, ebrowse-default-face)
4769 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4770 (ebrowse-progress-face): Remove obsolete faces.
4771
4772 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4773 Inherit from error and warning faces respectively.
4774
4775 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4776 Likewise.
f80efb86
SM
4777 (flyspell-incorrect-face, flyspell-duplicate-face):
4778 Remove obsolete aliases.
4b56d0fe 4779
03310646
MA
47802012-06-08 Michael Albinus <michael.albinus@gmx.de>
4781
4782 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4783 Avoid infloop.
4784
513749ee
SM
47852012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * startup.el (argv, argi): Make lexically scoped.
4788 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4789 * emacs-lisp/cl-macs.el: Use lexical-binding.
4790 Rename cl-bind-* to cl--bind-*.
4791 * files.el: Don't require `cl' since it doesn't use it.
4792 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4793
595ef4ad
JB
47942012-06-08 Juanma Barranquero <lekktu@gmail.com>
4795
4796 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4797 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4798 instead of calling external sort utility.
4799 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4800
e9f66fcb
EZ
48012012-06-08 Eli Zaretskii <eliz@gnu.org>
4802
4803 * descr-text.el (describe-char): Mention how to insert the
4804 character, if the current input method doesn't support it.
4805 See the discussion in this thread for the details:
4806 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4807
3d10db47
SS
48082012-06-08 Sam Steingold <sds@gnu.org>
4809
4810 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4811 XF86Back to previous-buffer.
4812 (minibuffer-local-map): Bind them to next-history-element and
4813 previous-history-element respectively.
4814 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4815 help-go-back respectively.
4816 * info.el (Info-mode-map): Bind them to Info-history-forward and
4817 Info-history-back respectively.
4818 These are the keys next to Up on the ThinkPad keyboard.
4819
de7e2b36
SM
48202012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4823 * emacs-lisp/cl-macs.el: Provide itself.
4824 (cl--labels-convert-cache): New var.
4825 (cl--labels-convert): New function.
4826 (cl-flet, cl-labels): New implementation with new semantics, relying on
4827 lexical-binding.
4828 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4829 (cl-closure-vars, cl--function-convert-cache)
4830 (cl--function-convert): Move from cl-macs.el.
4831 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4832 rename by removing the "cl-" prefix.
4833 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4834
6fa6c4ae
SM
48352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4838 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4839 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4840 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4841 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4842 (cl-hash-table-count): Add old compatibility aliases.
4843
4844 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4845 Use macroexpand-all-environment instead.
4846 (cl--old-macroexpand): New var.
4847 (cl--sm-macroexpand): New function.
4848 (cl-symbol-macrolet): Use it during macro expansion.
4849 (cl--function-convert-cache): New var.
4850 (cl--function-convert): New function, extracted from
4851 cl-macroexpand-all.
4852 (cl-lexical-let): Use it.
4853
4854 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4855 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4856 (cl-member): Remove old alias.
4857
4858 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4859 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4860 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4861 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4862 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4863 (cl-macroexpand-cmacs): Remove var.
4864 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4865 Use macroexpand-all instead.
4866
4dd1c416
SM
48672012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4870 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4871 (macroexp-copyable-p): New functions and macros.
4872 * emacs-lisp/edebug.el (edebug-unwrap):
4873 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4874 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4875 (pcase--let*): Remove.
4876 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4877 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4878 macroexp-const-p instead.
4879 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4880
4881 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4882 instead of "cl-" for internal definitions. Use macroexp-const-p.
4883 (cl-old-bc-file-form): Remove var.
4884 (cl-const-exprs-p): Remove fun.
4885 (cl-labels, cl-macrolet): Use backquote.
4886 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4887 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4888 (cl-define-setf-expander): Rename from cl-define-setf-method.
4889 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4890
4891 * international/mule-cmds.el: Don't require CL.
4892 (view-hello-file): Don't use `letf'.
4893
ed8bd4d7
SM
48942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4895
7287f2f3
SM
4896 * tmm.el (tmm-prompt): Use string-prefix-p.
4897 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4898 (tmm-add-prompt): Use minibuffer-completion-help.
4899 (tmm-delete-map): Remove.
4900
ed8bd4d7
SM
4901 * subr.el (kbd): Make it its own function.
4902
7b4cdbf4
SM
49032012-06-07 Stefan Merten <smerten@oekonux.de>
4904
4905 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4906 Silence compiler warnings. Fix versions.
ed8bd4d7 4907 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4908 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4909 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4910 (rst-package-emacs-version-alist): Correct Emacs version to
4911 represent major merge with upstream.
ed8bd4d7 4912 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4913
2b48d721
GM
49142012-06-06 Glenn Morris <rgm@gnu.org>
4915
4916 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4917 Only print environment variables if set.
4918
fa779ab0
SM
49192012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4922 (macroexp--cons): Rename from maybe-cons.
4923 (macroexp--accumulate): Rename from macroexp-accumulate.
4924 (macroexp--all-forms): Rename from macroexpand-all-forms.
4925 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4926 (macroexp--expand-all): Rename from macroexpand-all-1.
4927
628299e0
SS
49282012-06-06 Sam Steingold <sds@gnu.org>
4929
4930 * calendar/calendar.el (calendar-in-read-only-buffer):
4931 Call `special-mode' to enable the standard read-only keybindings.
4932
b7bb5838
SM
49332012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4936 with "loading" messages (bug#11635).
4937
dfb308ba
MA
49382012-06-06 Michael Albinus <michael.albinus@gmx.de>
4939
4940 * files.el (enable-remote-dir-locals): New option.
4941 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4942
0372ee92
MA
4943 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4944 Ensure, that the temp directory is local.
4945
4946 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4947 `temporary-file-directory'.
4948
eed0bb91
MA
4949 * progmodes/python.el (python-send-region): Ensure, that the
4950 temporary file is created also in the remote case.
4951
7a58f64d
GM
49522012-06-06 Glenn Morris <rgm@gnu.org>
4953
f7dd4e98
GM
4954 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4955 (vc-rcs-update-changelog): Use it.
4956
090bd7cb 4957 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4958
7a58f64d
GM
4959 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4960 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4961 (vc-sccs-diff): Replace use of the external vcdiff script.
4962
daed4003
GM
49632012-06-05 Glenn Morris <rgm@gnu.org>
4964
4965 * ledit.el: Move to obsolete/.
4966
48c455c7
SS
49672012-06-05 Sam Steingold <sds@gnu.org>
4968
ed9265fc 4969 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4970 patch (Bug#11140).
4971
57a7d507
SM
49722012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4973
090bd7cb 4974 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4975
53aacf21
SM
4976 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4977 compiler-macro expansion.
4978
57a7d507
SM
4979 Add native compiler-macro support.
4980 * emacs-lisp/macroexp.el (macroexpand-all-1):
4981 Support compiler-macros directly. Properly follow aliases and apply
4982 the compiler macros more thoroughly.
4983 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4984 macroexpand now properly follows aliases.
4985 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4986 (cl-compiler-macroexpand): Use new prop.
4987 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4988
4989 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4990
51a5f9d8
MR
49912012-06-05 Martin Rudalics <rudalics@gmx.at>
4992
4993 * window.el (get-lru-window, get-mru-window, get-largest-window):
4994 New argument NOT-SELECTED to avoid picking the selected window.
4995 (window--display-buffer-1, window--display-buffer-2): Replace by
4996 new function window--display-buffer
4997 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4998 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4999 Use window--display-buffer.
51a5f9d8
MR
5000 (display-buffer-use-some-window): Remove temporary dedication
5001 hack by calling get-lru-window and get-largest-window with
5002 NOT-SELECTED argument non-nil. Call window--display-buffer.
5003
08f9f738
GM
50042012-06-05 Glenn Morris <rgm@gnu.org>
5005
5006 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5007 Replace external vcdiff script.
5008
e364a2b7
SM
50092012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5012
041df390
CY
50132012-06-04 Chong Yidong <cyd@gnu.org>
5014
e364a2b7
SM
5015 * image.el (imagemagick-types-inhibit): Revert last change.
5016 Add INFO and M.
47b36b94 5017 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5018
7c1898a7
SM
50192012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * emacs-lisp/cl-lib.el: Rename from cl.el.
5022 * emacs-lisp/cl.el: New compatibility file.
5023 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5024 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5025 to obey the "cl-" prefix.
5026 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5027
0c3461de
GM
50282012-06-03 Glenn Morris <rgm@gnu.org>
5029
1e266c88
GM
5030 * emacs-lisp/authors.el (authors-aliases): Addition.
5031
0c3461de
GM
5032 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5033 Fix :version.
5034
d8a52e15
SM
50352012-06-03 Stefan Merten <smerten@oekonux.de>
5036
5037 * textmodes/rst.el: Add comments.
5038 (rst-transition, rst-adornment): New faces.
5039 (rst-adornment-faces-alist): Make default safe to reevaluate.
5040 Fixes
5041 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5042 Improve customization tags.
5043 (rst-define-level-faces): Clarify meaning.
5044
5205d6f6
CY
50452012-06-03 Chong Yidong <cyd@gnu.org>
5046
5047 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5048 (compilation-mode-line-run, compilation-mode-line-exit):
5049 New faces.
5205d6f6
CY
5050 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5051
757ee657
JD
50522012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5053
7c1898a7
SM
5054 * progmodes/which-func.el (which-func-update-ediff-windows):
5055 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5056
5f2c76c6
CY
50572012-06-03 Chong Yidong <cyd@gnu.org>
5058
5059 * bindings.el: Remove explicit help text from format-mode-line.
5060 It is now supplied by mode-line-default-help-echo.
5061 (mode-line-front-space, mode-line-end-spaces)
5062 (mode-line-misc-info): New variables.
5063 (mode-line-modes, mode-line-position): Move the default value to
5064 the variable definition.
5065 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5066 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5067 (mode-line-modified-help-echo): New functions.
5068 (mode-line-mule-info, mode-line-modified): Use them.
5069 (mode-line-eol-desc, propertized-buffer-identification):
5070 Consistency fixes for help text.
cbe46e5f
CY
5071 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5072 set-buffer-file-coding-system (Bug#289).
5073 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5074
f2d6a3df
SM
50752012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * simple.el (execute-extended-command): Set real-this-command
5078 (bug#11506).
5079
37269466
CY
50802012-06-02 Chong Yidong <cyd@gnu.org>
5081
5082 Remove incorrect uses of "modeline" in comments, docstrings, and
5083 function/variable names (Bug#10329).
5084
5085 * cus-edit.el (mode-line):
5086 * dframe.el (dframe-mouse-hscroll):
5087 * emacs-lisp/re-builder.el:
5088 * emacs-lisp/easy-mmode.el (define-minor-mode):
5089 * frame.el (set-frame-name):
5090 * help.el (lookup-minor-mode-from-indicator):
5091 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5092 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5093 (c-toggle-hungry-state):
5094 * progmodes/antlr-mode.el (antlr-language-alist):
5095 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5096 * progmodes/vhdl-mode.el (vhdl-mode):
5097 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5098 * term/ns-win.el (ns-face-at-pos):
5099 * term/sup-mouse.el (sup-mouse-report):
5100 * textmodes/flyspell.el (flyspell-mode-line-string):
5101 * textmodes/ispell.el (ispell-highlight-face):
5102 * textmodes/reftex-global.el:
5103 * vc/vc-arch.el (vc-arch-mode-line-string):
5104 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5105 * vc/vc-git.el (vc-git-mode-line-string):
5106 * vc/vc-hooks.el (vc-display-status)
5107 (vc-default-mode-line-string):
5108 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5109
5110 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5111
5112 * dired.el (dired-sort-set-mode-line): Rename from
5113 dired-sort-set-modeline. All callers changed.
5114
5115 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5116 eshell-status-in-modeline.
5117
5118 * foldout.el (foldout-mode-line-string): Rename from
5119 foldout-modeline-string. All callers changed.
5120 (foldout-update-mode-line): Rename from foldout-update-modeline.
5121
5122 * subr.el (redraw-modeline): Make into obsolete alias.
5123
5124 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5125 timeclock-modeline-display. Make old name an alias.
5126 (timeclock-update-mode-line): Likewise. All callers changed.
5127 (timeclock-mode-line-display): No need to check before using
5128 add-hook.
5129 (timeclock-relative, timeclock-day-over-hook)
5130 (timeclock-use-elapsed, timeclock-mode-string)
5131 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5132
5133 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5134 crisp-mode-modeline-string.
5135
5136 * play/solitaire.el (solitaire-build-mode-line): Rename from
5137 solitaire-build-modeline. All callers changed.
5138
5139 * play/zone.el (zone-hiding-mode-line): Rename from
5140 zone-hiding-modeline. All callers changed.
5141 (zone): Remove unusued `modeline-hidden-level' property.
5142
5143 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5144 xscheme-modeline-initialize. All callers changed.
5145
5146 * strokes.el (strokes-lighter): Rename from
5147 strokes-modeline-string.
5148
5149 * textmodes/sgml-mode.el (html-face-tag-alist)
5150 (html-tag-face-alist): Use mode-line face instead of obsolete
5151 alias modeline.
5152
42152ee4
SM
51532012-06-02 Stefan Merten <smerten@oekonux.de>
5154
5155 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5156 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5157
95f520b5
CY
51582012-06-02 Chong Yidong <cyd@gnu.org>
5159
5160 * image.el (imagemagick-enabled-types): Rename from
5161 imagemagick-types-enable. Add many more types.
5162 (imagemagick-types-inhibit): Change default to nil.
5163 (imagemagick-filter-types): Caller changed.
5164
4a5f187a
SM
51652012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5166
03fef3e6
SM
5167 * emacs-lisp/cl-macs.el: Use backquotes.
5168 (cl-transform-function-property): Use eval-and-compile rather than
5169 abusing `require'.
5170 (defstruct): Use declare-function instead of with-no-warnings.
5171
4a5f187a
SM
5172 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5173 (byte-compile-output-docform): Re-add the print-circle bindings.
5174 (byte-compile-fix-header): Use #$ just because it's shorter.
5175 (byte-compile-output-file-form): Remove defun/defmacro.
5176
bd56924f
MR
51772012-06-01 Martin Rudalics <rudalics@gmx.at>
5178
5179 * simple.el (choose-completion): Remove now obsolete binding for
5180 owindow.
5181
046e38ce
MA
51822012-06-01 Michael Albinus <michael.albinus@gmx.de>
5183
5184 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5185 in order to avoid "Stack overflow in regexp matcher".
5186
32d72c2f
GM
51872012-05-31 Glenn Morris <rgm@gnu.org>
5188
5189 * image.el: For clarity, call imagemagick-register-types at
5190 top-level, rather than relying on a custom :initialize.
5191 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5192 (imagemagick-filter-types): New function. (Bug#7406)
5193 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5194 If disabling support, remove elements altogether rather
5195 than using an impossible regexp.
5196 (imagemagick-types-inhibit): Give it the default init function.
5197
dd41169b
SM
51982012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5199
4a5f187a
SM
5200 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5201 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5202
efc00ab1 52032012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5204
5205 * desktop.el (desktop-read): Clear previous and next buffers for
5206 all windows and bury *Messages* buffer (bug#11556).
5207
500fcedc
SM
52082012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 Add `declare' for `defun'. Align `defmacro's with it.
5211 * emacs-lisp/easy-mmode.el (define-minor-mode)
5212 (define-globalized-minor-mode): Don't autoload the var definitions.
5213 * emacs-lisp/byte-run.el: Use lexical-binding.
5214 (defun-declarations-alist, macro-declarations-alist): New vars.
5215 (defmacro, defun): Use them.
5216 (make-obsolete, define-obsolete-function-alias)
5217 (make-obsolete-variable, define-obsolete-variable-alias):
5218 Use `declare'.
5219 (macro-declaration-function): Mark obsolete.
5220 * emacs-lisp/autoload.el: Use lexical-binding.
5221 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5222
6e8a1786
AM
52232012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5224
5225 * textmodes/ispell.el (ispell-with-no-warnings):
5226 Define as a macro.
500fcedc
SM
5227 (ispell-kill-ispell, ispell-change-dictionary):
5228 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5229 `interactive-p'.
5230
61b108cc
SM
52312012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5234 (macro-declaration-function): Move var from C code.
5235 (macro-declaration-function): Define function with defalias.
5236 * emacs-lisp/macroexp.el (macroexpand-all-1):
5237 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5238 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5239 defun/defmacro any more.
5240 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5241 Provide fallback for unknown arglist.
5242 (byte-compile-arglist-warn): Change calling convention.
5243 (byte-compile-output-file-form): Move print-vars binding.
5244 (byte-compile-output-docform): Simplify accordingly.
5245 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5246 (byte-compile-defmacro-declaration): Remove.
5247 (byte-compile-file-form-defmumble): Generalize to defalias.
5248 (byte-compile-output-as-comment): Return byte-positions.
5249 Simplify callers accordingly.
5250 (byte-compile-lambda): Use `assert'.
5251 (byte-compile-defun, byte-compile-defmacro): Remove.
5252 (byte-compile-file-form-defalias):
5253 Use byte-compile-file-form-defmumble.
5254 (byte-compile-defalias-warn): Remove.
5255
6d3f7c2f
SM
52562012-05-29 Stefan Merten <smerten@oekonux.de>
5257
5258 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5259 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5260
5261 (rst-mode-abbrev-table): Merge definition.
5262 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5263 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5264
6dbaa1c7
UJ
52652012-05-29 Ulf Jasper <ulf.jasper@web.de>
5266
5267 * calendar/icalendar.el
5268 (icalendar-export-region): Export UID properly.
5269
d209e2fb 52702012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5271 * calendar/icalendar.el (icalendar-import-format):
5272 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5273 (icalendar-import-format-uid): New.
5274 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5275 Export UID.
5276
6876a58d
SM
52772012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5280 different alternative patterns.
5281 (pcase-codegen): Be more careful to preserve identity.
5282 (pcase--u1): Don't forget to mark vars as used.
5283
5284 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5285 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5286 (byte-compile-from-buffer): ...rather than here.
5287
5288 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5289 functions from byte-compile-function-environment.
5290
46b7967e
TN
52912012-05-29 Troels Nielsen <bn.troels@gmail.com>
5292
5293 * window.el (window-deletable-p): Avoid deleting the root window
5294 of a frame with an active minibuffer.
5295
69d565e2
MR
52962012-05-29 Martin Rudalics <rudalics@gmx.at>
5297
5298 * simple.el (choose-completion): Use quit-window (Bug#11567).
5299
a149fa51
CY
53002012-05-29 Chong Yidong <cyd@gnu.org>
5301
5302 * whitespace.el (whitespace-cleanup): Fix usage of
5303 whitespace-empty-at-bob-regexp (Bug#11492).
5304
2b311310
AH
53052012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5306
5307 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5308 revert (Bug#11488).
5309
b9cb2387
JL
53102012-05-29 Juri Linkov <juri@jurta.org>
5311
5312 * isearch.el (isearch-mode-map): Bind `M-s _' to
5313 `isearch-toggle-symbol'. Bind `M-s c' to
5314 `isearch-toggle-case-fold'.
5315 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5316 (isearch-forward): Add `M-s _' to the docstring.
5317 (isearch-forward-symbol, isearch-toggle-case-fold)
5318 (isearch-symbol-regexp): New functions. (Bug#11381)
5319
d5e61c1c
JL
53202012-05-29 Juri Linkov <juri@jurta.org>
5321
5322 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5323 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5324 a function, call it to get the regexp.
5325 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5326 property `isearch-message-prefix' instead of the string "word ".
5327 (isearch-search-fun-default): For the case of `isearch-word',
5328 return a lambda that calls re-search-forward/re-search-backward
5329 with a regexp returned by `word-search-regexp' or by the function
5330 in `isearch-word'.
5331
8cbd80f7
JL
53322012-05-29 Juri Linkov <juri@jurta.org>
5333
5334 * isearch.el (isearch-search-fun-default): New function.
5335 (isearch-search-fun): Move default part to the new function
5336 `isearch-search-fun-default'.
5337 (isearch-search-fun-function): Set the default value to
5338 `isearch-search-fun-default'. (Bug#11381)
5339
5340 * comint.el (comint-history-isearch-end):
5341 Use `isearch-search-fun-default'.
5342 (comint-history-isearch-search): Use `isearch-search-fun-default'
5343 and remove spacial case for `isearch-word'.
5344 (comint-history-isearch-wrap): Remove spacial case for
5345 `isearch-word'.
5346
5347 * hexl.el (hexl-isearch-search-function):
5348 Use `isearch-search-fun-default'.
5349
5350 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5351 Use `word-search-regexp' for `isearch-word'.
5352
5353 * misearch.el (multi-isearch-search-fun):
5354 Use `isearch-search-fun-default'.
5355
5356 * simple.el (minibuffer-history-isearch-search):
5357 Use `isearch-search-fun-default' and remove spacial case for
5358 `isearch-word'.
5359 (minibuffer-history-isearch-wrap): Remove spacial case for
5360 `isearch-word'.
5361
5362 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5363 Remove spacial case for `isearch-word'.
5364 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5365
85c8c5b6
AM
53662012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5367
5368 Decrease XEmacs incompatibilities.
5369 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5370 Use `string-match'.
5371 (flyspell-delete-region-overlays): Use alternative definition for
5372 XEmacs.
5373 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5374 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5375 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5376 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5377 `define-obsolete-face-alias' under XEmacs, but old method.
5378
5379 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5380 `with-no-warnings' definition or Emacs alias.
5381 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5382 (ispell-word): Do not use `region-p' if XEmacs.
5383
8cab9efc
AM
53842012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5385
5386 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5387 Check for `ispell-dictionary-base-alist' instead of full
5388 `ispell-dictionary-alist'.
5389 (ispell-init-process): Show spellchecker when starting new Ispell
5390 process.
5391
fda91268
RZ
53922012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5395 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5396
694ea8e3
JB
53972012-05-27 Juanma Barranquero <lekktu@gmail.com>
5398
5399 * version.el (motif-version-string, gtk-version-string)
5400 (ns-version-string): Declare.
5401
e4d4f539
JL
54022012-05-27 Juri Linkov <juri@jurta.org>
5403
5404 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5405 after the `eval-defun-1' specialcaseing
5406 like in `edebug-eval-defun' (bug#10181).
5407
5408 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5409 like in `eval-defun-1'.
5410
33017faf 54112012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5412
fda91268
RZ
5413 * mail/sendmail.el (mail-yank-region):
5414 Recognize rmail-yank-current-message in addition to insert-buffer.
5415 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5416 a *mail* buffer created through rmail-start-mail with sendmail as
5417 mail-user-agent.
5418
33017faf
GM
54192012-05-27 Chong Yidong <cyd@gnu.org>
5420
5421 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5422 Default to 256 (Bug#11267).
5423
5424 * help.el (describe-mode): Doc fix.
5425
04188bb9
GM
54262012-05-26 Glenn Morris <rgm@gnu.org>
5427
38264cc9
GM
5428 * w32-fns.el (w32-init-info): Remove.
5429 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5430
eb7afdad
GM
5431 * info.el (info-initialize): For self-contained NS builds, put the
5432 included info/ directory at the front. (Bug#2791)
5433
04188bb9
GM
5434 * paths.el (Info-default-directory-list): Make it a defcustom,
5435 mainly so that we can use custom-initialize-delay.
5436
a179e3f7
SM
54372012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5438
43416392
SM
5439 * subr.el (buffer-has-markers-at): Mark obsolete.
5440
a179e3f7 5441 * subr.el (lambda): Use declare.
43416392 5442
a179e3f7
SM
5443 * emacs-lisp/lisp-mode.el (lambda):
5444 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5445
34a008d9
AH
54462012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5447
5448 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5449
0a3b289f
GM
54502012-05-26 Glenn Morris <rgm@gnu.org>
5451
5452 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5453
758c81e8
GM
54542012-05-25 Glenn Morris <rgm@gnu.org>
5455
f9f334f0
GM
5456 * paths.el: Remove no-byte-compile.
5457 * loadup.el: No need to load paths.el uncompiled.
5458
87eb79c2
GM
5459 * image.el (imagemagick-types-inhibit): Doc fix.
5460
758c81e8
GM
5461 * version.el: Remove no-byte-compile and associated formatting.
5462 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5463 is ancient code from when there was an "inc-vers.el".
5464
e7e85dc0
SM
54652012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * progmodes/gdb-mi.el: Minor style changes.
5468 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5469 Turn into minor modes.
5470 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5471 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5472 (gdb-shell): Remove unneeded let-binding.
5473 (gdb-get-many-fields): Eliminate O(n²) behavior.
5474
f31237a4
EZ
54752012-05-25 Eli Zaretskii <eliz@gnu.org>
5476
5477 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5478 platforms that don't link in fontset.c.
5479
bc1b21bb
JL
54802012-05-25 Juri Linkov <juri@jurta.org>
5481
5482 Use the same diff color scheme as in modern VCSes (bug#10181).
5483
5484 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5485 to avoid confusion with `diff-added' that now uses green colors.
5486 (diff-removed): Use shades of red.
5487 (diff-added): Use shades of green.
5488 (diff-changed): Leave just the yellow color.
5489 (diff-use-changed-face): New variable.
5490 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5491 how to highlight context diff changes.
5492 (diff-refine-change): Use shades of yellow.
5493 (diff-refine-removed): New face that uses shades of red.
5494 (diff-refine-added): New face that uses shades of green.
5495 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5496 `diff-refine-removed' in the call to `smerge-refine-subst'
5497 depending on the value of `diff-use-changed-face'.
5498
5499 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5500 (smerge-other): Use shades of green.
5501 (smerge-base): Use shades of yellow.
5502 (smerge-refined-change): Empty face.
5503 (smerge-refined-removed): New face that uses shades of red.
5504 (smerge-refined-added): New face that uses shades of green.
5505 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5506 args `props-r' and `props-a', and use them. Doc fix.
5507 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5508 on its value use different faces `smerge-refined-change',
5509 `smerge-refined-removed', `smerge-refined-added' in the call to
5510 `smerge-refine-subst'.
5511
5512 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5513 Add face condition `min-colors 88' with shades of red.
5514 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5515 `min-colors 88' with shades of green.
5516 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5517 `min-colors 88' with shades of yellow.
5518
6df9112c
GM
55192012-05-24 Glenn Morris <rgm@gnu.org>
5520
ead5edc0
GM
5521 * paths.el (prune-directory-list, remote-shell-program): Move to...
5522 * files.el (prune-directory-list, remote-shell-program): ...here.
5523 For the latter, delay initialization, prefer ssh, just search PATH.
5524
f18b81e6
GM
5525 * paths.el (term-file-prefix): Move to faces.el (the only user).
5526 * faces.el (term-file-prefix): Move here, make it a defcustom.
5527
ee2f89a6
GM
5528 * paths.el (news-directory, news-path, news-inews-program):
5529 Move to gnus/nnspool.el.
61a583ca 5530
f8815e4c
GM
5531 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5532
c8f3b42c
GM
5533 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5534 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5535 Make the latter a defcustom, with a delayed initialization.
5536
6df9112c
GM
5537 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5538 These were deleted from Gnus itself late 2010.
5539
5dadff36
JB
55402012-05-22 Juanma Barranquero <lekktu@gmail.com>
5541
9e1701c6
JB
5542 * progmodes/which-func.el (which-func-ff-hook):
5543 Check against user-error, not error.
5544
bd7239f5 5545 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5546 cl-specs.el, which no longer exists.
5547
3290526d
GM
55482012-05-22 Glenn Morris <rgm@gnu.org>
5549
5550 * info.el (info-emacs-bug): New command.
5551 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5552 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5553
ff0c3cfb
GM
55542012-05-21 Glenn Morris <rgm@gnu.org>
5555
5556 * makefile.w32-in (update-subdirs-SH):
5557 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5558
5814f126
SM
55592012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5560
a52c0aa0
SM
5561 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5562
5814f126
SM
5563 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5564 Simplify Maven regexp, and make sure the file can't start with a space
5565 (bug#11517).
5566
b847032c
GM
55672012-05-21 Glenn Morris <rgm@gnu.org>
5568
5569 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5570 Scrap superfluous subshells.
5571
3858bfe7
SM
55722012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5575 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5576
d14b0029
JB
55772012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5578
5579 * calc/calc.el (calc-ensure-consistent-units): New variable.
5580
a52c0aa0
SM
5581 * calc/calc-units.el (math-consistent-units-p)
5582 (math-check-unit-consistency): New functions.
5583 (calc-quick-units, calc-convert-units):
5584 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5585 is non-nil.
d14b0029
JB
5586 (calc-extract-units): Fix typo.
5587
60c4db3a
SM
55882012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5589
77f3b62e
SM
5590 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5591
60c4db3a
SM
5592 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5593 (flyspell-default-deplacement-commands): Don't spell check after
5594 repeated window/frame switches (e.g. triggered by mouse-movement).
5595 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5596 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5597 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5598 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5599 Remove unused vars.
5600 (flyspell-get-casechars, flyspell-get-not-casechars):
5601 Simplify; Don't bother removing a ] just to add it back.
5602 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5603
d209e2fb 56042012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5605
5606 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5607 New functions.
bd7239f5 5608 (math-function-table): Add support for more C functions.
b1a10716 5609
3f1b25b5
AM
56102012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5611
090bd7cb
JB
5612 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5613 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5614 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5615
b581bb5c
SM
56162012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5617
5618 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5619 their respective macro declarations.
5620 * skeleton.el (define-skeleton):
5621 * progmodes/compile.el (define-compilation-mode):
5622 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5623 (define-ibuffer-filter):
5624 * emacs-lisp/generic.el (define-generic-mode):
5625 * emacs-lisp/easy-mmode.el (define-minor-mode)
5626 (define-globalized-minor-mode):
5627 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5628 * emacs-lisp/byte-run.el (defsubst):
5629 * custom.el (deftheme): Add doc-string metadata.
5630
70b8ef8f
SM
56312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5634
b1198e17
SM
56352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5636
9abdc45d
SM
5637 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5638
b1198e17
SM
5639 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5640 * emacs-lisp/cl-macs.el: Idem.
5641 * emacs-lisp/cl-specs.el: Remove.
5642
4735906a
SM
56432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 Minor renaming of internal CL functions and variables.
5646 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5647 (cl--position): Rename from cl-position.
5648 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5649 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5650 (cl--random-state): Rename from *random-state*.
5651
ac348012
SM
56522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5655 parens around the arg list (bug#11499).
5656
a0a79cde
JL
56572012-05-17 Juri Linkov <juri@jurta.org>
5658
5659 * isearch.el (word-search-regexp, word-search-backward)
5660 (word-search-forward, word-search-backward-lax)
5661 (word-search-forward-lax): Move functions from search.c
5662 (bug#10145, bug#11381).
5663
65034a51
AM
56642012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5665
090bd7cb
JB
5666 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5667 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5668 Delay for otherchars as for normal word components.
65034a51 5669
1a72a195
SM
56702012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * minibuffer.el (completion--sifn-requote): Fix last change.
5673 (minibuffer-local-must-match-filename-map):
5674 Move define-obsolete-variable-alias before its var.
5675
fdb058c2
SM
56762012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5677
c41045e6
SM
5678 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5679
036dfb8b
SM
5680 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5681 behavior.
5682 (completion--string-equal-p): New function.
5683 (completion--twq-all): Use it to get better assertion failure data.
5684
2473256d
SM
5685 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5686 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5687 (shell--requote-argument): New functions.
5688 (shell-completion-vars): Use them.
5689 (shell--parse-pcomplete-arguments): Rename from
5690 shell-parse-pcomplete-arguments.
5691 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5692 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5693 Obey comint-file-name-quote-list.
5694
fdb058c2
SM
5695 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5696 (smie-indent-keyword): Use it.
5697
51fa99f1
SM
56982012-05-14 Stefan Merten <smerten@oekonux.de>
5699
5700 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5701
e18afed7 57022012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5703
5704 * net/rlogin.el (rlogin-mode-map): Fix last change.
5705
e18afed7 57062012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5707
5708 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5709 the following \r\n using a single `process-send-string', since the
5710 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5711 with two `process-send-string's (Bug#11444).
8633b1f4 5712
e18afed7 57132012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5714
fdb058c2
SM
5715 * shell.el (shell-parse-pcomplete-arguments):
5716 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5717
2d21d7f6
WJ
57182012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5719
e18afed7 5720 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5721 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5722 (image-transform-width, image-transform-fit-width): New functions.
5723 (image-transform-properties): Use them.
5724 (image-transform-check-size): New function.
5725 (image-toggle-display-image): Use it (for testing).
5726 (image-transform-set-rotation): Reduce angle mod 360.
5727 Delete obsolete comment.
5728
7102e6d0
WJ
57292012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5730
5731 * image-mode.el: Fix scaling (bug#11399).
5732 (image-transform-resize): Doc fix.
5733 (image-transform-properties): Default scale is 1 and height should
5734 be an integer.
5735
06bc5e6e
SM
57362012-05-13 Johan Bockgård <bojohan@gnu.org>
5737
5738 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5739 than hard-coding `car', to fix misbehavior when moving forward.
5740
0ae03b6a
CY
57412012-05-13 Chong Yidong <cyd@gnu.org>
5742
5743 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5744 (tabulated-list-entries, tabulated-list-padding)
5745 (tabulated-list-sort-key): Make permanent-local.
5746
5747 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5748 (electric-buffer-list): Put electric buffer menu
5749 command descriptions in this docstring, instead of the docstring
5750 of electric-buffer-menu-mode. Code cleanups.
5751 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5752 Electric-buffer-menu-mode.
5753 (electric-buffer-update-highlight): Minor code cleanup.
5754
205a7391
MA
57552012-05-13 Michael Albinus <michael.albinus@gmx.de>
5756
5757 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5758 (Bug#11447)
5759
e5bd0a28
SM
57602012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 Move define-obsolete-variable-alias before the var's definition.
5763 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5764 * tooltip.el (tooltip-hook):
5765 * textmodes/reftex-toc.el (reftex-toc-map):
5766 * textmodes/reftex-sel.el (reftex-select-label-map)
5767 (reftex-select-bib-map):
5768 * textmodes/reftex-index.el (reftex-index-map)
5769 (reftex-index-phrases-map):
5770 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5771 * progmodes/meta-mode.el (meta-mode-map):
5772 * novice.el (disabled-command-hook):
5773 * loadhist.el (unload-hook-features-list):
5774 * frame.el (blink-cursor):
5775 * files.el (find-file-not-found-hooks, write-file-hooks)
5776 (write-contents-hooks):
5777 * emulation/tpu-edt.el (GOLD-map):
5778 * emacs-lock.el (emacs-lock-from-exiting):
5779 * emacs-lisp/generic.el (generic-font-lock-defaults):
5780 * emacs-lisp/chart.el (chart-map):
5781 * dos-fns.el (register-name-alist):
5782 * dired-x.el (dired-omit-files-p):
5783 * desktop.el (desktop-enable):
5784 * cus-edit.el (custom-mode-hook):
5785 * buff-menu.el (buffer-menu-mode-hook):
5786 * bookmark.el (bookmark-read-annotation-text-func)
5787 (bookmark-exit-hooks):
5788 * allout.el (allout-mode-deactivate-hook)
5789 (allout-exposure-change-hook, allout-structure-added-hook)
5790 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5791 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5792 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5793 comes before the corresponding variable's definition.
5794
ac59c2f6
CY
57952012-05-12 Chong Yidong <cyd@gnu.org>
5796
5797 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5798 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5799 (Buffer-menu-mode-map): Bind it.
5800 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5801
dee6c9a3
SM
58022012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5803
2171cea5
SM
5804 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5805 (prolog-upper-case-string, prolog-lower-case-string)
5806 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5807 (prolog-use-smie, prolog-smie-grammar): New vars.
5808 (prolog-smie-forward-token, prolog-smie-backward-token)
5809 (prolog-smie-rules): New funs.
5810 (prolog-comment-indent): Remove.
5811 (prolog-mode-variables): Use default comment indentation instead.
5812 Setup SMIE.
5813 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5814 (prolog-mode): Don't call them any more.
5815 (prolog-electric-colon, prolog-electric-dash)
5816 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5817
aa0382bd
SM
5818 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5819
dbacb4bd
SM
5820 * minibuffer.el (completion--twq-all): Again, allow case differences.
5821
13bdd94c
SM
5822 * term.el: Move keymap initialization code to be more idiomatic.
5823 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5824 (term-terminal-menu): Move initialization into declaration.
5825 (term-escape-char): Let the user set it in her .emacs.
5826
ff46c759
SM
5827 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5828 Provide SMIE-based indentation (not enabled by default yet).
5829 (sh-mode-map): Don't bind electric keys.
5830 Use electric-pair-mode instead of skeleton-pair.
5831 (sh-assignment-regexp): Fit within 80 columns.
5832 (sh-indent-supported): Specify actual shell name instead of boolean.
5833 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5834 (sh-maybe-here-document): Use it. Make obsolete.
5835 (sh-electric-here-document-mode) New minor mode.
5836 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5837 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5838 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5839 (sh-smie-rc-grammar, sh-use-smie): New vars.
5840 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5841 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5842 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5843 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5844 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5845 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5846 (sh-set-shell): Use smie-setup if requested.
5847
dee6c9a3
SM
5848 * term.el (term-set-escape-char): Properly set term-escape-char.
5849 See http://stackoverflow.com/questions/10524656.
5850
9f9aa044
CY
58512012-05-10 Chong Yidong <cyd@gnu.org>
5852
5853 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5854 Use url-generic-parse-url, and handle host names and Windows
5855 filenames properly.
5856 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5857 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5858 URL schemes to work on.
5859 (ffap--toggle-read-only): New function.
5860 (ffap-read-only, ffap-read-only-other-window)
5861 (ffap-read-only-other-frame): Use it.
5862 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5863 necessary for ffap-url-unwrap-remote.
5864
836d29b3
DA
58652012-05-10 Dave Abrahams <dave@boostpro.com>
5866
5867 * cus-start.el (create-lockfiles): Add it.
5868
00fd78ed
CY
58692012-05-09 Chong Yidong <cyd@gnu.org>
5870
5871 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5872 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5873
666b903b 58742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5875
5876 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5877
666b903b 58782012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5879
5880 * ansi-color.el (ansi-color-process-output): Check for validity of
5881 comint-last-output-start before using it. This avoids a bad
5882 interaction with gdb-mi's input/output buffer.
5883
666b903b 58842012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5885
5886 * files.el (dir-locals-read-from-file):
5887 Mention dir-locals in any error message.
5888
666b903b 58892012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5890
5891 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5892 package (Bug#11410).
5893
f677562b
CY
5894 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5895 variables into description.
5896
666b903b 58972012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5898
5899 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5900 shell-delimiter-argument-list (bug#11348).
5901 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5902
b499d8d0
JB
59032012-05-09 Juanma Barranquero <lekktu@gmail.com>
5904
8f6b6da8
JB
5905 * textmodes/rst.el: Silence byte-compiler warnings.
5906 (rst-re-alist, rst-reset-section-caches): Move around.
5907 (rst-re): Use `characterp', not `char-valid-p'.
5908 (font-lock-beg, font-lock-end): Declare.
5909
4824146a
JB
5910 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5911 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5912
b499d8d0
JB
5913 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5914
ad89bb83
GM
59152012-05-08 Glenn Morris <rgm@gnu.org>
5916
5917 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5918
8bba5a75
SM
59192012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5920
49ed9c8e
SM
5921 * vc/log-edit.el: Add GNU coding standards highlighting.
5922 (log-edit-font-lock-gnu-style)
5923 (log-edit-font-lock-gnu-keywords): New vars.
5924 (log-edit-font-lock-keywords): New fun.
5925 (log-edit-mode): Don't fold case in font-lock.
5926 (log-edit-font-lock-keywords): Do not assume case-folding.
5927
07d00b56
SM
5928 * imenu.el: Misc cleanup. Make docstrings out of comments.
5929 Use lexical-binding.
5930 (imenu--index-alist, imenu--last-menubar-index-alist)
5931 (imenu-menubar-modified-tick): Use defvar-local.
5932 (imenu--split-menu): Remove unused var.
5933 (imenu--cleanup-seen): Declare as global.
5934 (imenu--cleanup): Use dolist.
5935
8bba5a75
SM
5936 * subr.el (defvar-local): Add debug spec and doc-string position.
5937
5075bdb5
GM
59382012-05-08 Glenn Morris <rgm@gnu.org>
5939
090bd7cb 5940 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5941 * language/english.el, language/georgian.el, language/greek.el:
5942 * language/japanese.el, language/khmer.el, language/korean.el:
5943 * language/lao.el, language/misc-lang.el, language/romanian.el:
5944 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5945 * language/thai.el, language/utf-8-lang.el:
5946 Remove no-byte-compile setting.
5947
5075bdb5
GM
5948 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5949
06f679a7
AH
59502012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5951
5952 * progmodes/make-mode.el (makefile-browse):
5953 Remove unnecessary interactive. (Bug#11324)
5954
03794570
GM
59552012-05-07 Glenn Morris <rgm@gnu.org>
5956
af8630f4
GM
5957 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5958
03794570
GM
5959 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5960
f0809a9d
SM
59612012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5962
28be5ce7
SM
5963 * loadup.el: Preload newcomment.el.
5964 * newcomment.el: Move autoload-only code to toplevel.
5965
f0809a9d
SM
5966 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5967 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5968 Handle new :right-align column property.
5969 (tabulated-list-print-col): Idem, plus use `display' text-property to
5970 try and preserve alignment for variable pitch fonts.
5971
1241b724
CY
59722012-05-07 Chong Yidong <cyd@gnu.org>
5973
5974 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5975 (tabulated-list-use-header-line): New var.
5976 (tabulated-list-init-header): Use it.
5977 (tabulated-list-print-fake-header): New function.
5978 (tabulated-list-print): Use it.
5979 (tabulated-list-sort-button-map): Add non-header-line commands.
5980 (tabulated-list-init-header): Add column name property to basic
5981 labels as well.
5982 (tabulated-list-col-sort): Handle non-header-line button case.
5983 (tabulated-list--sort-by-column-name): Fix a corner case.
5984
f0809a9d
SM
5985 * buff-menu.el (list-buffers--refresh):
5986 Handle Buffer-menu-use-header-line.
1241b724 5987
e5f9458f
CY
59882012-05-06 Chong Yidong <cyd@gnu.org>
5989
5990 * buff-menu.el: Convert to Tabulated List mode.
5991 (Buffer-menu-buffer+size-width): Make obsolete.
5992 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5993 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5994 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5995 documentation into docstring of buffer-menu.
5996 (Buffer-menu-toggle-files-only): Add an informative message.
5997 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5998 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5999 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6000 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6001 (Buffer-menu-execute, Buffer-menu-select)
6002 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6003 (Buffer-menu-bury): Use Tabulated List machinery.
6004 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6005 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6006 Delete.
e5f9458f
CY
6007 (list-buffers--refresh): New function.
6008 (list-buffers-noselect): Use it.
6009 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6010 (Buffer-menu--pretty-file-name): New helper functions.
6011
6012 * loadup.el: Preload tabulated-list.
6013
6014 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6015 tabulated-list-sort-column.
6016 (tabulated-list-init-header): Add the initial aligning space even
6017 if tabulated-list-padding is zero.
6018
e129292c
CS
60192012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6020
6021 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6022 whose cdr is not a cons cell correctly (bug#11038).
6023
6632d361
CY
60242012-05-06 Chong Yidong <cyd@gnu.org>
6025
e129292c
CS
6026 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6027 Accept additional plist in column descriptors.
6632d361
CY
6028 (tabulated-list-init-header): Obey it.
6029 (tabulated-list-get-entry): New function.
6030 (tabulated-list-put-tag): Use it. Use string-width instead of
6031 length.
6032 (tabulated-list--column-number): New function.
6033 (tabulated-list-print): Use it.
e129292c
CS
6034 (tabulated-list-print-col): New function.
6035 Set `tabulated-list-column-name' property on each column's text.
6632d361 6036 (tabulated-list-print-entry): Use it.
e129292c
CS
6037 (tabulated-list-delete-entry, tabulated-list-set-col):
6038 New functions.
6632d361
CY
6039 (tabulated-list-sort-column): New command (Bug#11337).
6040
3cc99f68
CY
6041 * buff-menu.el (list-buffers): Move C-x C-b binding from
6042 buff-menu.el to bindings.el.
6043
6044 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6045 :advertised-binding feature.
6046
52b61776
TN
60472012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6048
6049 * progmodes/compile.el (compilation-internal-error-properties):
6050 Calculate start position correctly when end-col is set but
6051 end-line is not (Bug#11382).
6052
ebfe2597
WJ
60532012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6054
6055 * man.el (Man-unindent): Use text-property-default-nonsticky to
6056 prevent untabify from inheriting face properties (Bug#11408).
6057
6d3f7c2f
SM
60582012-05-05 Stefan Merten <smerten@oekonux.de>
6059
6060 * textmodes/rst.el: Major merge with upstream development up to
6061 Docutils SVN r7399 / rst.el V1.2.1.
6062
6063 Clarify maintainership and authors.
6064
6065 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6066 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6067 (rst-official-version, rst-official-cvs-rev, rst-version)
6068 (rst-package-emacs-version-alist): New functions and variables
6069 for version information.
6070
6071 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6072 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6073 (rst-mode-syntax-table, rst-mode): New and corrected functions
6074 and variables representing reStructuredText features.
6075
6076 (rst-re): New function for reStructuredText regexes. Use in
6077 many places.
6078
6079 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6080 (rst-mode-map): Rebind keys.
6081
6082 (rst-mode-lazy, rst-font-lock-keywords)
6083 (rst-font-lock-extend-region)
6084 (rst-font-lock-extend-region-internal)
6085 (rst-font-lock-extend-region-extend)
6086 (rst-font-lock-find-unindented-line-limit)
6087 (rst-font-lock-find-unindented-line-match)
6088 (rst-adornment-level, rst-font-lock-adornment-level)
6089 (rst-font-lock-adornment-match)
6090 (rst-font-lock-handle-adornment-pre-match-form)
6091 (rst-font-lock-handle-adornment-matcher): Major revision of
6092 font-locking. Integrate with other code. Use `jit-lock-mode'.
6093
6094 (rst-preferred-adornments, rst-adjust-hook)
6095 (rst-new-adornment-down, rst-preferred-bullets)
6096 (rst-preferred-bullets, rst-indent, rst-indent-width)
6097 (rst-indent-field, rst-indent-literal-normal)
6098 (rst-indent-literal-minimized, rst-indent-comment): Change,
6099 extend and improve customization.
6100
6101 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6102 (rst-normalize-cursor-position, rst-get-decoration)
6103 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6104 (rst-rstrip, rst-toc-insert-find-delete-contents)
6105 (rst-shift-fill-region, rst-compute-bullet-tabs)
6106 (rst-debug-print-tabs, rst-debug-mark-found)
6107 (rst-shift-region-guts, rst-shift-region-right)
6108 (rst-shift-region-left, rst-use-char-classes)
6109 (rst-font-lock-keywords-function)
6110 (rst-font-lock-indentation-point)
6111 (rst-font-lock-find-unindented-line-begin)
6112 (rst-font-lock-find-unindented-line-end)
6113 (rst-font-lock-find-unindented-line)
6114 (rst-font-lock-adornment-point, rst-font-lock-level)
6115 (rst-adornment-level-alist): Remove functions and variables.
6116
6117 (rst-compare-adornments, rst-get-adornment-match)
6118 (rst-suggest-new-adornment, rst-get-adornments-around)
6119 (rst-adornment-complete-p, rst-get-next-adornment)
6120 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6121 (rst-straighten-adornments): Standardize function names to
6122 use "adornment" instead of "decoration". Correct callers.
6123 Similar standardizing in many places.
6124
6125 (rst-update-section, rst-adjust, rst-promote-region)
6126 (rst-enumerate-region, rst-bullet-list-region)
6127 (rst-repeat-last-character): Correct use of `interactive'.
6128
6129 (rst-classify-adornment, rst-find-all-adornments)
6130 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6131 (rst-find-leftmost-column, rst-repeat-last-character):
6132 Refactor functions.
6133
6134 (rst-find-title-line, rst-reset-section-caches)
6135 (rst-get-adornments-around, rst-adjust-adornment-work)
6136 (rst-arabic-to-roman, rst-roman-to-arabic)
6137 (rst-insert-list-pos, rst-insert-list-new-item)
6138 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6139 New functions.
6140
6141 (rst-all-sections, rst-section-hierarchy)
6142 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6143 New variables.
6144
6145 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6146 configuration instead of only buffer. Change where necessary.
6147
6148 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6149 (rst-shift-region, rst-adaptive-fill): New functions for
6150 indentation and filling.
6151
6152 (rst-comment-line-break, rst-comment-indent)
6153 (rst-comment-insert-comment, rst-comment-region)
6154 (rst-uncomment-region): New functions for handling comments.
6155
6156 (rst-compile): Quote shell arguments.
6157
6158 (rst-compile-pdf-preview, rst-compile-slides-preview):
6159 Delete temporary files after use.
6160
a43f98b3
GM
61612012-05-05 Glenn Morris <rgm@gnu.org>
6162
48176e8b
GM
6163 * calendar/cal-html.el: Optionally include holidays in the output.
6164 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6165 (cal-html-holidays): New option.
6166 (cal-html-css-default): Add holiday entry.
6167 (holiday-in-range): Autoload it.
6168 (cal-html-htmlify-entry): Add optional class argument.
6169 (cal-html-htmlify-list): Add optional holidays argument.
6170 (cal-html-insert-agenda-days): Include holidays in the output.
6171 (cal-html-one-month): Maybe include holidays.
6172
a43f98b3
GM
6173 * calendar/holidays.el (holiday-in-range):
6174 Move here from cal-tex-list-holidays.
6175 * calendar/cal-tex.el (cal-tex-list-holidays):
6176 Make it an obsolete alias for holiday-in-range. Update all callers.
6177
fef9d149 61782012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6179
6180 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6181 Nextstep.
6182
248da2f4
RW
61832012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6184
6185 * files.el (file-auto-mode-skip): New var.
6186 (set-auto-mode-1): Use it.
6187
f95e9344
SM
61882012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6189
df96ab1e
SM
6190 * repeat.el: Use lexical-binding.
6191 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6192 (repeat-undo-count): Remove.
6193 (repeat):
6194 * progmodes/octave-mod.el (octave-abbrev-start):
6195 * progmodes/f90.el (f90-abbrev-start):
6196 * face-remap.el (text-scale-adjust):
6197 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6198
5342bb06
SM
6199 * emacs-lisp/pcase.el (pcase--let*): New function.
6200 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6201 a bit more.
6202 (pcase--split-pred): Be more clever about ruling out overlap between
6203 a predicate and some constant pattern.
6204 (pcase--q1): Use `null' instead of (eq foo nil).
6205
f95e9344
SM
6206 * subr.el (setq-local, defvar-local): New macros.
6207 (kbd): Redefine as an alias.
6208 (with-selected-window): Leave unrelated frames alone.
6209 (set-temporary-overlay-map): New function.
6210
71873e2b
SM
62112012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * subr.el (user-error): New function.
6214 * window.el (switch-to-buffer):
6215 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6216 (smerge-match-conflict):
6217 * simple.el (previous-matching-history-element)
6218 (next-matching-history-element, goto-history-element, undo-more)
6219 (undo-start):
6220 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6221 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6222 (next-file, tags-loop-scan, list-tags, complete-tag):
6223 * progmodes/compile.el (compilation-loop):
6224 * mouse.el (mouse-minibuffer-check):
6225 * man.el (Man-bgproc-sentinel, Man-goto-page):
6226 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6227 (Info-history-forward, Info-follow-reference, Info-menu)
6228 (Info-extract-menu-item, Info-extract-menu-counting)
6229 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6230 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6231 (Info-next-reference, Info-prev-reference, Info-index)
6232 (Info-index-next, Info-follow-nearest-node)
6233 (Info-copy-current-node-name):
6234 * imenu.el (imenu--make-index-alist)
6235 (imenu-default-create-index-function, imenu-add-to-menubar):
6236 * files.el (basic-save-buffer, recover-file):
6237 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6238 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6239 (checkdoc-message-text, checkdoc-defun):
6240 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6241 * cus-edit.el (customize-changed-options, customize-rogue)
6242 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6243 (custom-variable-mark-to-reset-standard)
6244 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6245 (custom-file):
6246 * completion.el (check-completion-length):
6247 * comint.el (comint-search-arg)
6248 (comint-previous-matching-input-string-position)
6249 (comint-previous-matching-input)
6250 (comint-replace-by-expanded-history-before-point, comint-send-input)
6251 (comint-copy-old-input, comint-backward-matching-input)
6252 (comint-goto-process-mark, comint-set-process-mark):
6253 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6254 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6255
8a61ee22
SM
62562012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6257
66408d1e
SM
6258 * dabbrev.el (dabbrev--ignore-case-p): New function.
6259 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6260 Use it.
6261
8a61ee22
SM
6262 * files.el (automount-dir-prefix): Mark as obsolete.
6263
3c74813a
GM
62642012-05-04 Glenn Morris <rgm@gnu.org>
6265
6266 * patcomp.el, play/bruce.el: Move to obsolete/.
6267
0bfcf5c5
PE
62682012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6269
6270 Fix minor Y10k bugs.
6271 * arc-mode.el (archive-unixdate):
6272 * autoinsert.el (auto-insert-alist):
6273 * calc/calc-forms.el (math-this-year):
6274 * emacs-lisp/copyright.el (copyright-current-year)
6275 (copyright-update-year, copyright):
6276 * tar-mode.el (tar-clip-time-string):
6277 * time.el (display-time-update):
6278 Don't assume years have 4 digits.
6279
78f3273a
CY
62802012-05-04 Chong Yidong <cyd@gnu.org>
6281
6282 * dos-w32.el (file-name-buffer-file-type-alist)
6283 (direct-print-region-use-command-dot-com):
6284 * ffap.el (ffap-menu-regexp):
6285 * find-file.el (ff-special-constructs):
6286 * follow.el (follow-debug):
6287 * forms.el (forms--debug):
6288 * iswitchb.el (iswitchb-all-frames):
6289 * ido.el (ido-all-frames):
6290 * emacs-lisp/timer.el (timer-max-repeats):
6291 * mail/feedmail.el (feedmail-mail-send-hook)
6292 (feedmail-mail-send-hook-queued):
6293 * mail/footnote.el (footnote-signature-separator):
6294 * mail/mailabbrev.el (mail-alias-separator-string)
6295 (mail-abbrev-mode-regexp):
6296 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6297 * progmodes/idlwave.el (idlwave-libinfo-file)
6298 (idlwave-default-completion-case-is-down)
6299 (idlwave-library-routines): Convert defvars to defcustoms.
6300
6301 * mail/rmail.el (rmail-decode-mime-charset):
6302 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6303 (idlwave-shell-fix-inserted-breaks)
6304 (idlwave-shell-activate-alt-keybindings)
6305 (idlwave-shell-use-breakpoint-glyph):
6306 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6307
f7ae6719
SM
63082012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6311
47086495
WS
63122012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6313
6314 * progmodes/verilog-mode.el (font-lock-keywords):
6315 Fix mis-highligting auto. Reported by Craig Barner.
6316 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6317 defines from global name space. Reported by Dan Dever.
47086495
WS
6318 (verilog-auto-reset, verilog-auto-reset-widths)
6319 (verilog-auto-tieoff): Support using unbased numbers for
6320 AUTORESET and AUTOTIEOFF.
6321 (verilog-submit-bug-report): Update variable list.
6322 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6323 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6324 (verilog-auto-template-lint): Fix hash error when linting modules
6325 with no used templates.
6326 (verilog-warn, verilog-warn-error)
6327 (verilog-warn-fatal): When non-interactive report multiple
6328 warnings before exiting. Suggested by Brad Dobbie.
6329 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6330 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6331 to report unused template errors. Reported by Brad Dobbie.
6332 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6333 nets, bug438. Reported by Vns Blore.
47086495
WS
6334 (verilog-auto-inout-module, verilog-auto-reg)
6335 (verilog-read-decls, verilog-read-sub-decls-sig)
6336 (verilog-signals-edit-wire-reg, verilog-signals-with):
6337 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6338 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6339 "reg" for backwards compatibility presuming Verilog 2001.
6340 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6341 (verilog-preprocess): Fix replication of preprocess output.
6342 Reported by Brad Dobbie.
6343 (verilog-auto-inst-interfaced-ports):
6344 Create verilog-auto-inst-interfaced-ports, bug429.
6345 Reported by Julian Gorfajn.
6346 (verilog-after-save-font-hook)
6347 (verilog-before-save-font-hook): New variable.
6348 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6349 (verilog-save-font-mods): Wrap disabling fontification, reported
6350 by David Rogoff.
6351 (verilog-do-indent, verilog-pretty-declarations-auto)
6352 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6353 Reported by Pierre-David Pfister.
6354 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6355 of class declarations, bug292. Reported by Kevin Heilman.
6356 (verilog-read-decls): Fix 'parameter type' not appearing in
6357 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6358 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6359 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6360 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6361 Reported by David Kravitz.
6362
63632012-05-03 Michael McNamara <mac@mail.brushroad.com>
6364
6365 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6366 assignment with tests in ifs and for loops.
6367 (verilog-extended-complete-re, verilog-complete-reg): Change so
6368 that DPI inport functions don't look like fuction declarations.
6369 (verilog-pretty-expr): Don't line up assignment
6370 operations to the test and increment in if and for loops
6371 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6372 that DPI inport functions don't look like fuction declarations.
47086495 6373
2e51d4b5
KH
63742012-05-03 Kenichi Handa <handa@m17n.org>
6375
6376 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6377 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6378 (Bug#11282).
6379
2bd785a2
SM
63802012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * emacs-lisp/bytecomp.el
6383 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6384 since cconv.el might have introduced :fun-body, internal-make-closure,
6385 and friends for bytecomp to handle (bug#11391).
6386 * custom.el (defcustom): Avoid ((λ ..) ..).
6387
99d27583
SM
63882012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6391
55a71479
JB
63922012-05-02 Juanma Barranquero <lekktu@gmail.com>
6393
6394 * notifications.el (dbus-debug):
6395 * term/linux.el (gpm-mouse-enable):
6396 * term/screen.el (xterm-register-default-colors): Declare.
6397
7b97c764
CY
63982012-05-02 Chong Yidong <cyd@gnu.org>
6399
2bc356d7
CY
6400 * cus-start.el (gc-cons-percentage, exec-suffixes)
6401 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6402 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6403 (make-cursor-line-fully-visible, void-text-area-pointer)
6404 (font-list-limit): Add customization data.
6405
7b97c764
CY
6406 * allout.el (allout-exposure-change-functions)
6407 (allout-structure-added-functions)
6408 (allout-structure-deleted-functions)
6409 (allout-structure-shifted-functions): Rename abnormal hooks from
6410 *-hook, and convert to defcustoms.
5d3385a0
JB
6411 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6412 Convert to defcustoms.
7b97c764
CY
6413 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6414
6415 * allout-widgets.el: Hook callers changed.
6416
90207a15 64172012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6418
6419 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6420 the yanked message in preference to the default value of
6421 buffer-file-coding-system.
6422
90207a15 64232012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6424
5d3385a0
JB
6425 * window.el (display-buffer--action-function-custom-type):
6426 Fix entry.
d9558cad 6427
90207a15 64282012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6429
6430 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6431
d80ac57b
GM
64322012-05-01 Glenn Morris <rgm@gnu.org>
6433
976f7668
GM
6434 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6435
beb83b5a
GM
6436 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6437
d80ac57b
GM
6438 * cus-edit.el (custom-variable-documentation): Simplify with format.
6439
b593d6a9 64402012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6441 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6442
6443 * simple.el (suggest-key-bindings, execute-extended-command):
6444 Move from keyboard.c.
6445
782fbf2a
CY
64462012-05-01 Chong Yidong <cyd@gnu.org>
6447
6448 * follow.el: Eliminate advice.
6449 (set-process-filter, process-filter, sit-for): Advice deleted.
6450 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6451 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6452 Vars deleted.
782fbf2a
CY
6453 (follow-auto): Use a :set function.
6454 (follow-mode): Rewritten. Don't advise process filters.
6455 (follow-switch-to-current-buffer-all, follow-scroll-up)
6456 (follow-scroll-down): Assume follow-mode is bound.
6457 (follow-comint-scroll-to-bottom)
6458 (follow-align-compilation-windows): New functions.
6459 (follow--window-sorter): New function.
6460 (follow-all-followers): Use it to explicitly sort windows by their
6461 positions; don't make assumptions about next-window order.
6462 (follow-windows-start-end, follow-delete-other-windows-and-split)
6463 (follow-calc-win-start): Doc fix.
6464 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6465 vertical-motion unnecessarily.
6466 (follow-adjust-window): New function.
6467 (follow-post-command-hook): Use it.
6468 (follow-call-set-process-filter, follow-call-process-filter)
6469 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6470 (follow-stop-intercept-process-output, follow-generic-filter):
6471 Functions deleted.
6472 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6473 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6474 New functions, replacing advice on scroll-bar-* commands.
87233a14 6475 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6476
6477 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6478 (comint-postoutput-scroll-to-bottom): Use it.
6479 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6480
290af740
GM
64812012-05-01 Glenn Morris <rgm@gnu.org>
6482
6483 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6484 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6485 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6486 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6487 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6488 Remove no-byte-compile setting.
6489
6eac8dc9
SM
64902012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6493 all-completions code to not return a number in the last cdr.
6494
9cc7819c
LL
64952012-04-30 Leo Liu <sdl.web@gmail.com>
6496
6497 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6498 read-only error.
6499
c93b886f
CY
65002012-04-29 Chong Yidong <cyd@gnu.org>
6501
6502 * follow.el (follow-calc-win-end): Rewrite to handle partial
6503 screen lines correctly (Bug#8390).
6504 (follow-avoid-tail-recenter): Minor cleanup.
6505
8b6c19f4
SM
65062012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 Avoid the obsolete `assoc' package.
6509 * speedbar.el (speedbar-refresh): Avoid adelete.
6510 (speedbar-file-lists): Simplify and avoid aput.
6511 * man.el (Man--sections, Man--refpages): New vars, replacing
6512 Man-sections-alist and Man-refpages-alist.
6513 (Man-build-section-alist, Man-build-references-alist):
6514 Use them; avoid aput.
6515 (Man--last-section, Man--last-refpage): New vars.
6516 (Man-follow-manual-reference): Use them.
6517 Use the `default' arg of completing-read.
6518 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6519
c5bb7569
CY
65202012-04-27 Chong Yidong <cyd@gnu.org>
6521
d1d2e2e8
CY
6522 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6523
15cd8efd
CY
6524 * startup.el (x-apply-session-resources): New function.
6525
6526 * term/ns-win.el (ns-initialize-window-system):
6527 * term/w32-win.el (w32-initialize-window-system):
6528 * term/x-win.el (x-initialize-window-system): Use it to properly
6529 set menu-bar-mode and other vars from X resources, even if the
6530 initial frame is not a window-system frame (Bug#2299).
6531
c5bb7569
CY
6532 * subr.el (read-key): Avoid running filter function when setting
6533 up temporary tool bar entries (Bug#9922).
6534
a8e7d6d7 65352012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6536
6537 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6538 (Bug#11344)
6539
a8e7d6d7 65402012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6541
6542 * select.el (xselect--encode-string): New function, split from
6543 xselect-convert-to-string.
6544 (xselect-convert-to-string): Use it.
6545 (xselect-convert-to-filename, xselect-convert-to-os)
6546 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6547 returned strings are properly encoded (Bug#11315).
6548
a8e7d6d7 65492012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6550
6551 * simple.el (delete-active-region): Move to killing custom group.
6552
a8e7d6d7 65532012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6554
6555 * progmodes/which-func.el (which-func-current): Quote %
6556 characters for mode-line processing.
6557
578c1d4b 65582012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6559
6560 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6561 reaching eob (Bug#11286).
6562
a8e7d6d7 65632012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6564
6565 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6566 (gdb): Make it buffer-local and init to zero.
6567 (gdb-control-commands-regexp): New variable.
6568 (gdb-send): Don't wrap in "-interpreter-exec console" if
6569 gdb-control-level is positive. Increment gdb-control-level
6570 whenever the command matches gdb-control-commands-regexp, and
6571 decrement it each time the command is "end". (Bug#11279)
6572
a8e7d6d7 65732012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6574
6575 * window.el (adjust-window-trailing-edge, enlarge-window)
6576 (shrink-window, window-resize):
6577 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6578 windows (Bug#11276).
6579
b3608390
CY
65802012-04-27 Chong Yidong <cyd@gnu.org>
6581
6582 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6583 fix "missing prefix" warning. All callers changed.
b3608390 6584
797e6e88
SM
65852012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 * emacs-lisp/assoc.el: Move to obsolete/.
6588
e95a67dc
SM
65892012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6590
657c21e4 6591 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6592
6593 * term/ns-win.el (ns-define-service):
6594 * progmodes/pascal.el (pascal-goto-defun):
6595 * progmodes/js.el (js--read-tab):
6596 * progmodes/etags.el (tags-lazy-completion-table):
6597 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6598 * emacs-lisp/ewoc.el (ewoc--wrap):
6599 * emacs-lisp/assoc.el (aput, adelete, amake):
6600 * doc-view.el (doc-view-convert-current-doc):
6601 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6602
cb3e7ae0
CY
66032012-04-26 Chong Yidong <cyd@gnu.org>
6604
dce04f7f
CY
6605 * image.el (image-type-from-buffer): Only return supported image
6606 type (Bug#9045).
6607
cb3e7ae0
CY
6608 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6609 value, for symmetry with diff-end-of-hunk.
6610 (diff-split-hunk, diff-find-source-location)
6611 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6612 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6613 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6614 compute the relevant hunk or file properly (Bug#6005).
6615 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6616
0d42eb3e
SM
66172012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * vc/vc-mtn.el:
6620 * vc/vc-hg.el:
6621 * vc/vc-git.el:
6622 * vc/vc-dir.el:
6623 * vc/vc-cvs.el:
6624 * vc/vc-bzr.el:
6625 * vc/vc-arch.el:
6626 * vc/vc.el: Replace lexical-let by lexical-binding.
6627 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6628 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6629 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6630
f08ae1c9
CY
66312012-04-26 Chong Yidong <cyd@gnu.org>
6632
8b71081d
CY
6633 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6634 (diff-mode-shared-map): Bind it to / and [remap undo].
6635
f08ae1c9
CY
6636 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6637 (ediff-window-setup-function): Use it as the default, to set up
6638 windows based on whether the current frame is graphical (Bug#2138).
6639 (ediff-choose-window-setup-function-automatically): Make obsolete.
6640
6641 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6642
ef24141c
SM
66432012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6644
cc356a5d
SM
6645 * ffap.el: Remove old code for obsolete package.
6646 (ffap-complete-as-file-p): Remove.
6647
b4ff4f1f
SM
6648 Use completion-table-with-quoting for comint and pcomplete.
6649 * comint.el (comint--unquote&requote-argument)
6650 (comint--unquote-argument, comint--requote-argument): New functions.
6651 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6652 (comint-quote-filename): Use regexp-opt-charset.
6653 (comint--common-suffix, comint--common-quoted-suffix)
6654 (comint--table-subvert): Remove.
6655 (comint-unquote-function, comint-requote-function): New vars.
6656 (comint--complete-file-name-data): Use them with
6657 completion-table-with-quoting.
6658 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6659 * pcomplete.el (pcomplete-arg-quote-list)
6660 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6661 (pcomplete-unquote-argument-function): Default to non-nil.
6662 (pcomplete-unquote-argument): Simplify.
6663 (pcomplete--common-quoted-suffix): Remove.
6664 (pcomplete-requote-argument-function): New var.
6665 (pcomplete--common-suffix): New function.
6666 (pcomplete-completions-at-point): Use completion-table-with-quoting
6667 and completion-table-subvert.
6668
79c4eeb4
SM
6669 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6670 (minibuffer--double-dollars): Preserve properties.
6671 (completion--sifn-requote): New function.
6672 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6673
ef24141c
SM
6674 * minibuffer.el: Add support for completion of quoted/escaped data.
6675 (completion-table-with-quoting, completion-table-subvert): New funs.
6676 (completion--twq-try, completion--twq-all): New functions.
6677 (completion--nth-completion): New function.
6678 (completion-try-completion, completion-all-completions): Use it.
6679
784e7d6e
LL
66802012-04-25 Leo Liu <sdl.web@gmail.com>
6681
dd2ac746
SM
6682 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6683 Use compilation-message if available to find real filename.
784e7d6e 6684
07875ee7
CY
66852012-04-25 Chong Yidong <cyd@gnu.org>
6686
6687 * vc/diff-mode.el (diff-setup-whitespace): New function.
6688 (diff-mode): Use it.
6689
6690 * vc/diff.el (diff-sentinel):
6691 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6692 Whitespace mode variables based on diff style (Bug#8612).
6693
5055880d
LL
66942012-04-25 Leo Liu <sdl.web@gmail.com>
6695
daf75653
LL
6696 * progmodes/python.el (python-send-region): Add suffix .py to the
6697 temp file.
6698
5055880d
LL
6699 * files.el (auto-mode-alist): Use javascript-mode instead.
6700
db9b177b
AH
67012012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6702
ef24141c 6703 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6704
090bd7cb 6705 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6706 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6707 references, see Bug#9.
ef24141c 6708 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6709 when receiving a fault reply.
ef24141c 6710 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6711
090bd7cb 6712 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6713 (soap-inspect-simple-type): New function.
db9b177b 6714
090bd7cb 6715 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6716 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6717 (soap-decode-basic-type, soap-encode-basic-type):
6718 support unsignedInt and double basic types.
db9b177b 6719 (soap-resolve-references-for-simple-type)
ef24141c
SM
6720 (soap-parse-simple-type, soap-encode-simple-type): New function.
6721 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6722
090bd7cb 6723 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6724 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6725 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6726 the local name of "soapenc:Array".
6727 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6728 decoding integer, byte and anyURI xsd types.
6729
1fc6097b
CY
67302012-04-25 Chong Yidong <cyd@gnu.org>
6731
6732 * cus-edit.el (custom-buffer-create-internal): Update header text.
6733
afc6df87
EZ
67342012-04-25 Eli Zaretskii <eliz@gnu.org>
6735
6736 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6737 settings on 'system-type', not on 'window-system'. On MS-Windows,
6738 set interactive-mode on in GDB.
6739
dfbd787f
SM
67402012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6743 (ruby-syntax-propertize-regexp): Remove.
6744 (ruby-syntax-propertize-function): Split regexp into chunks.
6745 Match following code directly.
6746
85222d44
DG
67472012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6748
51a8ea2a
DG
6749 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6750 (ruby-syntax-propertize-regexp): New function.
6751 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6752 by a special keyword.
6753
85222d44
DG
6754 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6755 (ruby-syntax-general-delimiters-goto-beg)
6756 (ruby-syntax-propertize-general-delimiters): New functions.
6757 (ruby-syntax-propertize-function): Use them to handle GDL.
6758 (ruby-font-lock-keywords): Move old handling of GDL...
6759 (ruby-font-lock-syntactic-keywords): .. to here.
6760 (ruby-calculate-indent): Adjust indentation for GDL.
6761
b613912b
MA
67622012-04-24 Michael Albinus <michael.albinus@gmx.de>
6763
b5380639
MA
6764 * notifications.el (top): Remove unneeded declarations.
6765 (notifications-specification-version): Change to "1.2".
e43042fe 6766 (notifications-interface, notifications-notify-method)
b613912b
MA
6767 (notifications-close-notification-method): Fix docstring.
6768 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6769 (notifications-notify): Add :action-items, :resident and
6770 :transient hints. Change "image_data" to "image-data" and
6771 "image_path" to "image-path".
b613912b
MA
6772 (notifications-get-capabilities): New defun.
6773
257440aa
LL
67742012-04-24 Leo Liu <sdl.web@gmail.com>
6775
6776 * progmodes/python.el: Move hideshow setup to the end.
6777
b1bac16e
MR
67782012-04-24 Martin Rudalics <rudalics@gmx.at>
6779
6780 * window.el (handle-select-window): Clear echo area since this is
6781 no more done by read_char (Bug#11304).
6782
d81bd059
SM
67832012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6786 and `/ M' to filter-derived-mode.
6787 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6788 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6789 (ibuffer-mark-by-mode): Use default rather than initial-input.
6790 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6791
c4cf6d91
IA
67922012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6793
6794 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6795 (ibuffer-filter-by-derived-mode): New filter.
6796 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6797
7511ded8
CY
67982012-04-23 Andreas Politz <politza@fh-trier.de>
6799
6800 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6801
775c916b
CY
68022012-04-23 Chong Yidong <cyd@gnu.org>
6803
6804 * cus-edit.el (customize-apropos, customize-apropos-options):
6805 Disable matching of non-option variables (Bug#11176).
6806 (customize-option, customize-option-other-window)
6807 (customize-changed-options): Doc fix.
6808 (customize-apropos-options, customize-apropos-faces)
6809 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6810
6811 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6812 Fix word list splitting (Bug#11132).
46c71e23
CY
6813 (apropos-symbol, apropos-keybinding, apropos-label)
6814 (apropos-property, apropos-function-button)
6815 (apropos-variable-button, apropos-misc-button): New faces.
6816 (apropos-symbol-face, apropos-keybinding-face)
6817 (apropos-label-face, apropos-property-face, apropos-match-face):
6818 Variables removed (Bug#8396).
6819 (apropos-library-button, apropos-format-plist, apropos-print)
6820 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6821
2df41f9c
MA
68222012-04-23 Michael Albinus <michael.albinus@gmx.de>
6823
6824 * net/xesam.el (xesam-mode-map): Use let-bound map in
6825 initialization. (Bug#11292)
6826
da00640a
AM
68272012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6828
6829 Preserve ispell session localwords when switching back to
6830 original buffer.
6831
090bd7cb
JB
6832 * textmodes/ispell.el (ispell-buffer-session-localwords):
6833 New buffer-local variable to hold buffer session localwords.
ed9265fc 6834 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6835 localwords.
6836 (ispell-command-loop, ispell-change-dictionary)
6837 (ispell-buffer-local-words): Preserve session localwords when
6838 needed.
6839
090bd7cb
JB
6840 * textmodes/flyspell.el (flyspell-process-localwords)
6841 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6842
f621ccf5
AM
68432012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6844
090bd7cb
JB
6845 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6846 using obsolete `translation-table-for-input'.
ef24141c
SM
6847 (ispell-word, ispell-process-line, ispell-complete-word):
6848 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6849
c2d1019e
CY
68502012-04-22 Chong Yidong <cyd@gnu.org>
6851
6852 * cus-edit.el (custom-variable-menu)
6853 (custom-variable-reset-saved, custom-face-menu)
6854 (custom-face-reset-saved): If there is no saved value, make the
6855 "reset-saved" operation bring back the default (Bug#9509).
6856 (custom-face-state): Properly detect themed faces.
6857
eeddc531
CY
6858 * faces.el (face-spec-set): Stop supporting deprecated form of
6859 third arg.
6860
dcbf5805
MA
68612012-04-22 Michael Albinus <michael.albinus@gmx.de>
6862
6863 Move functions from C to Lisp. Make non-blocking method calls
6864 the default. Implement further D-Bus standard interfaces.
6865
ef24141c
SM
6866 * net/dbus.el (dbus-message-internal): Declare function.
6867 Remove unneeded function declarations.
dcbf5805
MA
6868 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6869 (dbus-message-type-method-return, dbus-message-type-error)
6870 (dbus-message-type-signal): Declare variables. Remove local
6871 definitions.
6872 (dbus-interface-dbus, dbus-interface-peer)
6873 (dbus-interface-introspectable, dbus-interface-properties)
6874 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6875 Adapt docstring.
6876 (dbus-interface-objectmanager): New defconst.
6877 (dbus-call-method, dbus-call-method-asynchronously)
6878 (dbus-send-signal, dbus-method-return-internal)
6879 (dbus-method-error-internal, dbus-register-service)
6880 (dbus-register-signal, dbus-register-method): New defuns, moved
6881 from dbusbind.c
6882 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6883 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6884 New defuns.
dcbf5805
MA
6885 (dbus-call-method-non-blocking): Make it an obsolete function.
6886 (dbus-unregister-object, dbus-unregister-service)
6887 (dbus-handle-event, dbus-register-property)
6888 (dbus-property-handler): Obey the new structure of
6889 `bus-registered-objects'.
6890 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6891 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6892 Use `dbus-call-method'.
6893
cf20dee0
CY
68942012-04-22 Chong Yidong <cyd@gnu.org>
6895
6896 * cus-edit.el (custom-commands, custom-reset-menu)
6897 (Custom-reset-standard): Tweak labels.
6898 (custom-reset-button-menu): Change default to t.
6899 (custom-buffer-create-internal): For the custom-reset-button-menu
6900 case, put the revert button first.
6901 (custom-group-subtitle): New face.
6902 (custom-group-value-create): Align docstring to a specific column.
6903
6904 * wid-edit.el (widget-documentation-link-add): Don't handle
6905 indentation in this function.
6906 (widget-documentation-string-indent-to): New function.
6907 (widget-documentation-string-value-create): Use it.
6908
6909 * autorevert.el (auto-revert):
6910 * epg-config.el (epg):
6911 * ibuffer.el (ibuffer):
6912 * mpc.el (mpc):
6913 * ses.el (ses):
6914 * eshell/eshell.el (eshell):
6915 * net/ange-ftp.el (ange-ftp):
6916 * progmodes/ebnf2ps.el (postscript):
6917 * progmodes/flymake.el (flymake):
6918 * progmodes/prolog.el (prolog):
6919 * progmodes/verilog-mode.el (verilog-mode):
6920 * progmodes/which-func.el (which-func):
6921 * term/xterm.el (xterm):
6922 * textmodes/picture.el (picture):
6923 * textmodes/tildify.el (tildify):
6924 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6925 customization buffers.
6926
583e23bd
AM
69272012-04-22 Alan Mackenzie <acm@muc.de>
6928
6929 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6930 Adding a ) can hide the resulting (..) from searches. Fix it.
6931 Bound the backward search to the position of the existing (.
6932
7dd51bf1
JB
69332012-04-21 Juanma Barranquero <lekktu@gmail.com>
6934
6935 * progmodes/verilog-mode.el (verilog-mode): Check whether
6936 which-func-modes is t before adding verilog-mode.
6937 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6938
d64a438f
LL
69392012-04-21 Leo Liu <sdl.web@gmail.com>
6940
7dd51bf1 6941 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6942
081e8d65
MV
69432012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6944
6945 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6946 filling of the last column of a table (Bug#5635).
6947 (woman-find-next-control-line): New arg, specifying an additional
6948 regexp component for the control line.
6949 (woman2-roff-buffer): Use it.
6950 (woman-break-table): New function.
6951 (woman2-TS): Use it.
6952
69532012-04-21 Chong Yidong <cyd@gnu.org>
6954
6955 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6956 (woman-horizontal-escapes, woman-negative-vertical-space)
6957 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6958 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6959
ed571ccb
SM
69602012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * minibuffer.el (completion-file-name-table): Complete user names.
6963
39773899
LL
69642012-04-20 Leo Liu <sdl.web@gmail.com>
6965
6966 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6967 and pcase-let*.
6968
de6ff46d
CY
69692012-04-20 Chong Yidong <cyd@gnu.org>
6970
6971 * server.el (server-execute): Respect initial-buffer-choice if it
6972 is a string and there are no files to open (Bug#2825).
6973 (server-create-window-system-frame, server-create-tty-frame):
6974 Don't switch buffers here.
2d0e8e61
CY
6975 (server-process-filter): Only try to open a window system frame if
6976 compiled with graphical support (Bug#8314).
de6ff46d 6977
54071013
DN
69782012-04-20 Dan Nicolaescu <dann@gnu.org>
6979
6980 * battery.el (battery-echo-area-format): Display remaining time
6981 for sysfs backend too (Bug#11269).
6982 (battery-linux-sysfs): Fix conditional for the charge.
6983
f30d612a
CY
69842012-04-20 Chong Yidong <cyd@gnu.org>
6985
c07a4c0b 6986 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6987 (gdb-inferior-io--init-proc): New function.
6988 (gdb-init-1): Use it.
6989 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6990 responsible for allocating a new pty and hooking it to gdb when
6991 the old pty gets an EIO due to process exit.
6992 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6993 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6994 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6995
2116e93c
EZ
69962012-04-20 Eli Zaretskii <eliz@gnu.org>
6997
6998 * window.el (window-min-size, window-sizable, window-min-delta)
6999 (window-max-delta, window--resizable, window-resizable)
7000 (window-total-size, window-full-height-p, window-full-width-p)
7001 (window-in-direction, window--resize-mini-window, window-resize)
7002 (window--resize-child-windows-normal)
7003 (window--resize-child-windows, window--resize-siblings)
7004 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7005 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7006
c07a4c0b 70072012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7008
ef24141c
SM
7009 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7010 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7011 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7012 pty process (Bug#11273).
7013 (gdb-update): New arg to suppress talking to the gdb process.
7014 (gdb-done-or-error): Use it.
7015 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7016 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7017 sentinel not being called.
7018
7019 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7020
d02766ab
CY
7021 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7022
c07a4c0b 70232012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7024
7025 * net/network-stream.el (open-network-stream): Doc fix.
7026
c07a4c0b 70272012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7028
7029 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7030
c07a4c0b 70312012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7032
7033 Ensure searching for keywords is case sensitive.
7034
7035 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7036 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7037 (c-defun-name, c-mark-function, c-cpp-define-name)
7038 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7039 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7040
ef24141c
SM
7041 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7042 Bind case-fold-search to nil.
f0f6bc35 7043
c07a4c0b 70442012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7045
7046 * mail/sendmail.el (mail-bury): Call return action with the right
7047 Rmail buffer (Bug#11242).
7048
9a864fa2
CY
7049 * server.el (server-process-filter): Handle corner case where both
7050 tty and nowait options are present (Bug#11102).
7051
539aa513
EZ
70522012-04-20 Eli Zaretskii <eliz@gnu.org>
7053
7054 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7055 (top level): Put into the executable the ident-style '$Id:' tag on
7056 windows-nt as well.
539aa513 7057
cfc7d5da
SM
70582012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * electric.el (electric-indent-post-self-insert-function): Check that
7061 electric-indent-mode is enabled in current buffer.
7062
5b01685c
JB
70632012-04-19 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * imenu.el (imenu-progress-message): Restore; it is "used" in
7066 erc/erc-imenu.el and net/snmp-mode.el.
7067
4d6769e1
JB
70682012-04-19 Juanma Barranquero <lekktu@gmail.com>
7069
7070 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7071 (mouse-avoidance-nudge-mouse): Remove unused binding.
7072
7073 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7074
7075 * descr-text.el (describe-char):
7076 * progmodes/python.el (python-describe-symbol):
7077 Don't call `toggle-read-only', set `buffer-read-only'.
7078
7079 * imenu.el (imenu-default-goto-function): Mark unused args.
7080 (imenu-progress-message): Remove obsolete macro; all callers changed.
7081
7082 * subr.el (keymap-canonicalize): Remove unused binding.
7083 (read-passwd): Mark unused arg.
7084
7085 * tutorial.el (tutorial--display-changes): Remove unused binding.
7086 (tutorial--save-tutorial-to): Remove unused variable.
7087
7088 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7089 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7090 (package-generate-autoloads, package-menu--generate)
7091 (package-menu--find-upgrades): Remove unused bindings.
7092
7093 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7094 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7095 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7096 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7097 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7098 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7099 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7100 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7101 (cua-delete-char-rectangle): Mark unused args.
7102 (cua-align-rectangle): Remove unused binding.
7103
7104 * mail/rmail.el (compilation--message->loc)
7105 (epa--find-coding-system-for-mime-charset): Declare.
7106
7107 * net/dbus.el (dbus-register-service): Declare.
7108 (dbus-name-owner-changed-handler): Remove unused binding.
7109
7110 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7111 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7112 (nxml-scan-backward-within): Mark unused arg.
7113 (nxml-dynamic-markup-word): Remove unused binding.
7114
7115 * mouse.el (mouse-menu-major-mode-map):
7116 * emacs-lisp/authors.el (authors-scan-change-log)
7117 (authors-add-to-author-list):
7118 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7119 * emacs-lisp/smie.el (smie-auto-fill):
7120 * mail/sendmail.el (mail-bury):
7121 * mail/unrmail.el (unrmail):
7122 * net/tls.el (open-tls-stream):
7123 * textmodes/picture.el (picture-mouse-set-point):
7124 Remove unused bindings.
7125
8c8fc5df
MA
71262012-04-19 Michael Albinus <michael.albinus@gmx.de>
7127
7128 * net/tramp.el (tramp-action-password): Let-bind
7129 `enable-recursive-minibuffers' to t.
7130
a77b0ac9
SS
71312012-04-18 Sam Steingold <sds@gnu.org>
7132
7133 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7134 instead of 'string to accommodate values like [f11].
7135 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7136 * progmodes/gdb-mi.el: Likewise.
7137
12a106a9
LL
71382012-04-18 Leo Liu <sdl.web@gmail.com>
7139
7140 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7141 current buffer.
7142 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7143 LOCAL is nil.
7144
bc6494ef
CY
71452012-04-18 Chong Yidong <cyd@gnu.org>
7146
7147 * simple.el (line-move): Use forward-line if in batch mode
7148 (Bug#11053).
7149
c09c46b2
CS
71502012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7151
7152 * files.el (after-find-file): Do not try to add a final newline if
7153 the buffer is read-only (Bug#11156).
7154
5f6530ea
RS
71552012-04-17 Richard Stallman <rms@gnu.org>
7156
7157 * mail/rmail.el (rmail-start-mail):
7158 Pass (rmail-mail-return...) for the return-action.
7159 Pass (rmail-yank-current-message...) for the yank-action.
7160 (rmail-yank-current-message): New function.
7161 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7162 (rmail-reply): Likewise.
7163 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7164
7165 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7166 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7167 buffer, not newbuf.
7168
197b6f3c
JB
71692012-04-17 Juanma Barranquero <lekktu@gmail.com>
7170
7171 * server.el (server-ensure-safe-dir): Simplify.
7172
2311d8e5 71732012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7174
2311d8e5
GM
7175 * emacs-lisp/smie.el: Provide smarter auto-filling.
7176 (smie-auto-fill): New function.
7177 (smie-setup): Use it.
98fb480e 7178
2311d8e5
GM
7179 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7180
71812012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7182
7183 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7184 (comment-indent): Use it.
7185
2311d8e5 71862012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7187
7188 * ses.el: The overall change is to add cell renaming, that is
7189 setting fancy names for cell symbols other than name matching
7190 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7191 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7192 (ses-create-cell-variable): New defun.
2311d8e5 7193 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7194 (ses-relocate-formula): Relocate formulas only for cells the
7195 symbols of which are not renamed, i.e. symbols whose names do not
7196 match regexp "\\`[A-Z]+[0-9]+\\'".
7197 (ses-relocate-all): Relocate values only for cells the symbols of
7198 which are not renamed.
7199 (ses-load): Create cells variables as the (ses-cell ...) are read,
7200 in order to check row col consistency with cell symbol name only
7201 for cells that are not renamed.
7202 (ses-replace-name-in-formula): New defun.
7203 (ses-rename-cell): New defun.
4bdf2ad2 7204
fc72b15c
PO
72052012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7206
7207 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7208 New option (bug#11118).
7209 (perl-calculate-indent): Respect it.
7210
12e10e61
GM
72112012-04-17 Glenn Morris <rgm@gnu.org>
7212
7213 * dired-aux.el (dired-mark-read-string): Doc fix.
7214
30009afd
DA
72152012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7216
7217 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7218 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7219
41f03f4d
GM
72202012-04-17 Glenn Morris <rgm@gnu.org>
7221
7222 * mouse.el (mouse-drag-track):
7223 * speedbar.el (speedbar-frame-mode):
7224 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7225
f45f90f3
LL
72262012-04-16 Leo Liu <sdl.web@gmail.com>
7227
7228 * progmodes/python.el: Trivial cleanup.
7229
94ee8db5
GM
72302012-04-16 Glenn Morris <rgm@gnu.org>
7231
121b8917
GM
7232 * vc/vc.el (vc-string-prefix-p):
7233 * vc/pcvs-util.el (cvs-string-prefix-p):
7234 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7235 * mpc.el (mpc-string-prefix-p):
7236 Make all of these into obsolete aliases for string-prefix-p.
7237 Update callers.
7238 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7239
1197ecfa
GM
7240 * textmodes/two-column.el: Move custom options to the start.
7241 (frame-width): Remove compat definition.
7242 (2C-associate-buffer, 2C-dissociate):
7243 Use with-current-buffer rather than save-excursion.
7244 (2C-dissociate): Force a mode-line update.
7245 (2C-autoscroll): Use ignore-errors.
7246
099e7202
GM
7247 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7248 Autoload trivia.
7249
bf350d6a
GM
7250 * emacs-lisp/cl-extra.el (*random-state*):
7251 Remove unnecessary declaration.
7252
0e829eab
GM
7253 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7254
e3ad7552
GM
7255 * play/cookie1.el (cookie-snarf):
7256 Give an explicit error if input file cannot be read.
7257
68892d27
GM
7258 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7259
20f0c46d
GM
7260 * progmodes/perl-mode.el (c-macro-expand):
7261 Remove unnecessary autoload (it is in loaddefs.el).
7262
5a0978ce
GM
7263 * textmodes/picture.el (picture-desired-column)
7264 (picture-update-desired-column): Convert comments to doc-strings.
7265 (picture-substitute): Remove function.
7266 (picture-mode-map): Initialize in the defvar.
7267
6b955486
GM
7268 * woman.el: Remove eval-after-load for tar-mode.
7269 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7270 (woman-tar-extract-file): Autoload it.
7271
94ee8db5
GM
7272 * frame.el (automatic-hscrolling): Make this alias obsolete.
7273
177eca34
AM
72742012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7275
090bd7cb 7276 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7277 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7278 (ispell-dictionary-base-alist): Revert to original XEmacs
7279 friendly version for default. [:alpha:] will be added in
090bd7cb 7280 `ispell-set-spellchecker-params' if needed.
177eca34 7281
c505aaeb
CY
72822012-04-16 Chong Yidong <cyd@gnu.org>
7283
b19dd9d1 7284 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7285 (imagemagick-register-types): Use it.
7286 (imagemagick-types-inhibit): Add :set function. Allow new value
7287 of t to inhibit all types.
7288
7289 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7290 so we can preload it.
7291
7292 * loadup.el (fboundp): Preload regexp-opt, needed by
7293 imagemagick-register-types.
7294
60efac0f
CY
72952012-04-15 Chong Yidong <cyd@gnu.org>
7296
7297 * frame.el (scrolling): Remove nearly unused customization group.
7298
7299 * scroll-all.el (scroll-all-mode): Move to windows group.
7300
5dd1713e
CY
73012012-04-15 Chong Yidong <cyd@gnu.org>
7302
7303 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7304
e6fd457e
CY
73052012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7306
7307 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7308 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7309
e153c136
GM
73102012-04-15 Glenn Morris <rgm@gnu.org>
7311
7312 * simple.el (process-file-side-effects): Doc fix.
7313
e6fd457e 73142012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7315
7316 * international/mule-cmds.el (set-language-environment): Doc fix.
7317
3603c3b1
JB
73182012-04-14 Juanma Barranquero <lekktu@gmail.com>
7319
7320 * server.el (server-auth-key, server-generate-key): Doc fixes.
7321 (server-get-auth-key): Doc fix. Use `string-match-p'.
7322 (server-start): Reflow docstring.
7323
e6de100c
LI
73242012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7325
7326 * server.el (server-generate-key): `called-interactively-p'
7327 requires a parameter.
7328
29734c21
MN
73292012-04-14 Michal Nazarewicz <mina86@mina86.com>
7330
7331 * server.el (server-auth-key): New variable.
75f1671a 7332 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7333 (server-start): Use the new variable and functions to allow
7334 setting a permanent server key (bug#9423).
7335
d65c9521
LL
73362012-04-14 Leo Liu <sdl.web@gmail.com>
7337
7338 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7339
5ae255c7
PE
73402012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7341
7342 Spelling fixes.
7343 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7344 Emacs uses American spelling.
7345
d5e6342e
JB
73462012-04-14 Juanma Barranquero <lekktu@gmail.com>
7347
7348 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7349 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7350 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7351 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7352
ab036cd7
SM
73532012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * progmodes/which-func.el (which-func-modes): Change default.
7356
35dc09a1 73572012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7358
7359 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7360 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7361
35dc09a1 73622012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7363
7364 * custom.el (custom-theme-set-variables): Doc fix.
7365
35dc09a1 73662012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7367
7368 * international/mule.el (set-auto-coding-for-load): Doc fix.
7369
35dc09a1 73702012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7371
35dc09a1
GM
7372 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7373 imenu work again for Objective C Mode. Correct the *-index values,
7374 these having been disturbed by a previous change in 2011-08.
57f845ee 7375
0de3da9f
AM
7376 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7377 Correct two search limits.
7378
35dc09a1 73792012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7380
7381 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7382
35dc09a1 73832012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7384
7385 * international/characters.el: Fix sorting.
7386
35dc09a1 73872012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7388
7389 * international/characters.el: Add more missing Latin case pairs.
7390
35dc09a1 73912012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7392
7393 * files.el (dir-locals-set-class-variables): Doc fix.
7394
35dc09a1 73952012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7396
3f1b5bf8
EZ
7397 * international/characters.el: Add set-case-syntax-pair call for
7398 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7399 counterpart. (Bug#11209)
7400
9f847f41
EZ
7401 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7402
35dc09a1 74032012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7404
7405 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7406
35dc09a1 74072012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7408
35dc09a1
GM
7409 * textmodes/ispell.el (ispell-dictionary-base-alist):
7410 Add data for Hebrew.
e2627d21 7411
35dc09a1 74122012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7413
35dc09a1
GM
7414 * net/rcirc.el (rcirc-cmd-quit):
7415 Revert 2012-03-18 change (Bug#11192).
5c14e333 7416
35dc09a1 74172012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7418
7419 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7420
35dc09a1 74212012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7422
4517fe3a
SM
7423 * minibuffer.el (completion-in-region-mode-map):
7424 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7425
b472a594
VD
74262012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7427
7428 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7429
09b95ce3
MY
74302012-04-13 Masatake YAMATO <yamato@redhat.com>
7431
7432 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7433 to allow `C-M-f' and `C-M-b' to move to the nearest path
7434 separator (bug#9511).
7435
4b63a9ca
LI
74362012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7437
7438 * avoid.el: Require cl when compiling. And also move the
7439 `provide' to the end.
7440
7b55b8bf
TV
74412012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7442
7443 * avoid.el (mouse-avoidance-banish-position): New variable.
7444 (mouse-avoidance-banish-destination): Use it (bug#10165).
7445
adedaa1f
LL
74462012-04-13 Leo Liu <sdl.web@gmail.com>
7447
7448 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7449
70e74021
KB
74502012-04-13 Ken Brown <kbrown@cornell.edu>
7451
7452 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7453 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7454 (browse-url-filename-alist): For the same reason, don't modify
7455 file:// URLs on Cygwin.
7456
e75e89ba
SM
74572012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7460 the region on shift if the binding is already shifted (bug#11221).
7461
82f289a4
GM
74622012-04-12 Glenn Morris <rgm@gnu.org>
7463
7464 * mail/mailpost.el: Move to obsolete/.
7465
d333dc4c
DA
74662012-04-12 Drew Adams <drew.adams@oracle.com>
7467
7468 * imenu.el (imenu--generic-function): Ignore invisible definitions
7469 (bug#10123).
7470
0d15b5ba
VD
74712012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7472
7473 * hexl.el (hexl-bits): New variable.
7474 (hexl-options): Mention the variable in the doc string.
75f1671a 7475 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7476 (hexl-mode): Mention the new variable.
75f1671a
JB
7477 (hexl-mode, hexl-current-address, hexl-current-address):
7478 Use the displen.
0d15b5ba
VD
7479 (hexl-ascii-start-column): New function.
7480 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7481 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7482
64a440db
AM
74832012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7484
7485 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7486 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7487 the encoding, as expected by hunspell.
7488
6decb6c2
SM
74892012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * battery.el (battery--linux-sysfs-regexp): New const.
7492 (battery-status-function): Use it. Remove yeeloong special case.
7493 (battery-yeeloong-sysfs): Remove.
7494 (battery-echo-area-format): Remove yeeloong special case.
7495
088be6fb
SM
74962012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7497
6622e416
SM
7498 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7499 Reported by Noah Friedman.
7500
088be6fb
SM
7501 * subr.el (read-passwd): Use read-string.
7502
b49f886e
LMI
75032012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7504
7505 * vcursor.el (vcursor-move): Increase the priority of the overlay
7506 (bug#9663).
7507
a63067fc
DD
75082012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7509
7510 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7511 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7512
ac3cf14a
WS
75132012-04-11 William Stevenson <yhvh2000@gmail.com>
7514
7515 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7516 define-minor-mode (bug#10760).
7517
c4fc691b 75182012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7519
4d6769e1 7520 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7521 that directories matching `grep-find-ignored-files' won't be
7522 pruned (bug#10351).
7523
af23e2e5
CY
75242012-04-11 Chong Yidong <cyd@gnu.org>
7525
7526 * startup.el (command-line): Remove support for long-obsolete
7527 variable font-lock-face-attributes.
7528
ab7ce8c1
GM
75292012-04-11 Glenn Morris <rgm@gnu.org>
7530
7531 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7532
de8c03dc
SM
75332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * window.el (window--state-get-1): Obey window-point-insertion-type.
7536
050cc68b
LB
75372012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7538
7539 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7540 to previous function when point is on the first character of a
75f1671a 7541 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7542
a38c310c
GM
75432012-04-11 Glenn Morris <rgm@gnu.org>
7544
effed0c2
GM
7545 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7546 not just file-errors.
7547
a38c310c
GM
7548 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7549 (vc-bzr-sha1): Use internal sha1.
7550
0221e323
SM
75512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7554
43956923
SG
75552012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7556
7557 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7558 that start in the middle of the line (bug#10496).
7559
6a8c9eaf
DN
75602012-04-10 Dan Nicolaescu <dann@gnu.org>
7561
7562 * battery.el (battery-linux-proc-acpi): Only one battery is
7563 discharged at a time, but that seems to confuse battery.el when
7564 computing `rate-type' for the battery not being discharged
7565 (bug#10332).
7566
1930bf5d
SM
75672012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7568
2a718f6f
SM
7569 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7570
599430d0
SM
7571 * international/quail.el: Use dolist and simplify.
7572 (quail-define-package, quail-update-keyboard-layout)
7573 (quail-define-rules): Use dolist.
7574 (quail-insert-kbd-layout, quail-get-translation): CSE.
7575
a2754b6c
SM
7576 * tmm.el: Use dolist, remove left over hook.
7577 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7578 Use dolist.
7579 (calendar-load-hook): Don't mess with it.
7580
1930bf5d
SM
7581 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7582 Use derived-mode-p. Run the diff asynchronously.
7583
9f67961c
LMI
75842012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7585
7586 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7587
2a8ce227
JB
75882012-04-10 Juanma Barranquero <lekktu@gmail.com>
7589
7590 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7591 (list-dynamic-libraries--loaded): New function.
7592 (list-dynamic-libraries--refresh): Use it.
7593
8f33b5f8
NW
75942012-04-10 Nathan Weizenbaum <nweiz@google.com>
7595
1930bf5d
SM
7596 * progmodes/python.el (python-fill-paragraph):
7597 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7598 disabled (bug#7018).
7599
b12f0439
L
76002012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7601
1930bf5d 7602 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7603 DOS/MS Windows for the Baltic languages. There are still plenty
7604 of texts written in this encoding/codepage (bug#6519).
b12f0439 7605
57c3bd01
GM
76062012-04-10 Glenn Morris <rgm@gnu.org>
7607
7608 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7609 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7610
6c3eab30
FA
76112012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7612
1930bf5d 7613 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7614 next-line "n" and previous-line "p" in order to make recentf more
7615 consistent with ibuffer, dired or org-mode (bug#9387).
7616
24d78a88
LMI
76172012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618
bc72b5d9
LMI
7619 * image.el (put-image): Return the overlay created instead of the
7620 optional input string (bug#7834). Note that this may break code
7621 that is (for some reason or other) depending on `put-image'
7622 returning the string.
7623
bd2dba5a
LMI
7624 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7625
74beb59f
LMI
7626 * simple.el (zap-to-char): Allow zapping using input methods
7627 (bug#1580).
7628
24d78a88
LMI
7629 * textmodes/fill.el (fill-region): Leave point and mark where they
7630 were before filling (bug#5399).
7631
263f20cd
GM
76322012-04-09 Glenn Morris <rgm@gnu.org>
7633
7634 * version.el (emacs-bzr-get-version):
7635 Handle lightweight checkouts of local branches.
7636
58d1f797
AS
76372012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7638
263f20cd 7639 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7640
b4d3bc10
CY
76412012-04-09 Chong Yidong <cyd@gnu.org>
7642
7643 * custom.el (custom-variable-p): Return nil for non-symbol
7644 arguments instead of signaling an error.
7645 (user-variable-p): Obsolete alias for custom-variable-p.
7646
7647 * apropos.el (apropos-variable):
7648 * files-x.el (read-file-local-variable):
7649 * simple.el (set-variable):
7650 * woman.el (woman-mini-help):
7651 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7652
fd06db5d
GM
76532012-04-09 Glenn Morris <rgm@gnu.org>
7654
e5fcdb5e
GM
7655 * startup.el (normal-top-level): Don't look for leim-list.el
7656 in places where it will not be found. (Bug#910)
7657
fd06db5d
GM
7658 * international/mule-cmds.el (set-default-coding-systems):
7659 * files.el (normal-mode):
7660 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7661 This function was removed with ucs-tables.el in 2008.
7662
b39bb7e1
EZ
76632012-04-08 Eli Zaretskii <eliz@gnu.org>
7664
7665 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7666 ispell-encoding8-command to "-i", without a trailing space.
7667 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7668 separate command-line arguments, to specify the encoding, since
7669 that's how hunspell expects it.
7670
5c5b8e23
GM
76712012-04-08 Glenn Morris <rgm@gnu.org>
7672
7673 * loadup.el: Load bindings before cus-start.
7674 This reduces somewhat the number of "rogue" settings in emacs -Q.
7675
a1ed8b05
GM
76762012-04-07 Glenn Morris <rgm@gnu.org>
7677
7678 * version.el (emacs-bzr-get-version): New function.
dfae128a 7679 (emacs-bzr-version): New variable.
a1ed8b05
GM
7680 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7681 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7682
b142f158
EZ
76832012-04-07 Eli Zaretskii <eliz@gnu.org>
7684
dfae128a
GM
7685 * international/uni-bidi.el, international/uni-category.el:
7686 * international/uni-combining.el, international/uni-decimal.el:
7687 * international/uni-decomposition.el, international/uni-digit.el:
7688 * international/uni-lowercase.el, international/uni-mirrored.el:
7689 * international/uni-name.el, international/uni-numeric.el:
7690 * international/uni-titlecase.el, international/uni-uppercase.el:
7691 Update for Unicode 6.1.
b142f158 7692
9078ead6
EZ
76932012-04-07 Eli Zaretskii <eliz@gnu.org>
7694
7695 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7696
f23d2c7d
LMI
76972012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7698
7699 * window.el (shrink-window): Mention the `window-min-height'
7700 variable in the doc string.
7701
0a0a3573
BG
77022012-04-05 Bastien Guerry <bzg@altern.org>
7703
7704 * color.el (color-lighten-name): Fix typo.
7705
e5248ac9
SM
77062012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * server.el (server--on-display-p): New function.
7709 (server--on-display-p): Use it.
7710
b4243e22
GV
77112012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7712
7713 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7714 (bug#11145).
7715
305d9f44
SM
77162012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * comint.el (comint--common-quoted-suffix): Check string boundary
7719 before comparing (bug#11158).
7720 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7721
3d439cd1
CY
77222012-04-04 Chong Yidong <cyd@gnu.org>
7723
321cc491
CY
7724 * minibuffer.el (completion-extra-properties): Doc fix.
7725
3d439cd1
CY
7726 * subr.el (delayed-warnings-hook): Doc fix.
7727
2d562c0f
DU
77282012-04-04 Daiki Ueno <ueno@unixuser.org>
7729
7730 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7731 selection (Bug#11159).
7732 (epa-insert-keys): Inform that the default public key will be
7733 exported if no key is selected.
7734
4443f204
RS
77352012-04-04 Richard Stallman <rms@gnu.org>
7736
7737 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7738
529c06b6
CY
77392012-04-03 Chong Yidong <cyd@gnu.org>
7740
7741 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7742 mail-insert-file, not its obsolete alias mail-attach-file.
7743
66b907dc
MA
77442012-04-03 Michael Albinus <michael.albinus@gmx.de>
7745
7746 * notifications.el (notifications-notify): Fix docstring.
7747
c0ea195d
GM
77482012-04-02 Glenn Morris <rgm@gnu.org>
7749
7750 * emacs-lisp/authors.el (authors-aliases): Another addition.
7751
5ca64e00
MA
77522012-04-02 Michael Albinus <michael.albinus@gmx.de>
7753
7754 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7755 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7756 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7757
42ee526b
CY
77582012-04-01 Chong Yidong <cyd@gnu.org>
7759
7760 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7761 Handle root directory properly.
7762 (copy-directory): Caller changed.
7763
7764 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7765 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7766
0b021094
GM
77672012-03-31 Glenn Morris <rgm@gnu.org>
7768
40f86458
GM
7769 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7770
7019c177
GM
7771 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7772
a1daddd6
GM
7773 * calendar/calendar.el (calendar-window-list)
7774 (calendar-hide-window): Restore. (Bug#11140)
7775 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7776
0b021094
GM
7777 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7778
40311efc
TV
77792012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7780
7781 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7782 Check if file is a symlink (Bug#10489).
7783
7784 * files.el (copy-directory): Likewise.
7785
5319014e
CY
77862012-03-30 Chong Yidong <cyd@gnu.org>
7787
7788 * image.el (imagemagick-types-inhibit)
7789 (imagemagick-register-types): Doc fix.
7790
935d1290
AM
77912012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7792
090bd7cb 7793 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7794 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7795 and treats ~word as ordinary words in pipe mode.
935d1290 7796
61c6e8fd
GM
77972012-03-30 Glenn Morris <rgm@gnu.org>
7798
7799 * tutorial.el (help-with-tutorial): Ensure local variables don't
7800 happen to make the buffer read-only. (Bug#11127)
7801
81fdff00
SM
78022012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7803
7804 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7805 (perl-calculate-indent): Return `noindent' in strings.
7806
6e7a6ec0
SS
78072012-03-28 Sam Steingold <sds@gnu.org>
7808
7809 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7810 instead of the broken adhockery which does not prevent calendar
7811 buffers from being displayed at random after exit.
7812 (calendar-window-list, calendar-hide-window): Remove the broken
7813 adhockery.
7814
fee88ca0
GM
78152012-03-28 Glenn Morris <rgm@gnu.org>
7816
7817 * replace.el (query-replace-map): Doc fix.
7818
38de3354
AS
78192012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7820
7821 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7822 contents. (Bug#11109)
7823
b973155e
SM
78242012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7825
7826 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7827 (bug#11077).
7828 (avl-tree--check, avl-tree--check-node): New funs.
7829
dcb6e7b3
MR
78302012-03-27 Martin Rudalics <rudalics@gmx.at>
7831
7832 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7833 (switch-to-prev-buffer, switch-to-next-buffer):
7834 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7835 showing a buffer already is done on the same frame.
7836
b4fa35fa
GM
78372012-03-27 Glenn Morris <rgm@gnu.org>
7838
7839 * startup.el (mail-host-address): Doc fix.
7840
f9210e18
SM
78412012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7842
7843 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7844 than 197 variables.
7845
c0bf7753
AF
78462012-03-26 Ami Fischman <ami@fischman.org>
7847
7848 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7849
33da7b16
GM
78502012-03-26 Glenn Morris <rgm@gnu.org>
7851
02243d9d
GM
7852 * files.el (save-buffers-kill-emacs): Doc fix.
7853
33da7b16
GM
7854 * startup.el (normal-top-level, command-line, command-line-1):
7855 Give them doc strings.
7856
e5a69fd0
EZ
78572012-03-25 Eli Zaretskii <eliz@gnu.org>
7858
7859 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7860 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7861
9a69676a
CY
78622012-03-25 Chong Yidong <cyd@gnu.org>
7863
4125cb8b
CY
7864 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7865 theme if it was previously enabled before (Bug#11031).
7866
dd470960
CY
7867 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7868 spec with custom-face-get-current-spec if its :shown-value is not
7869 determined yet (Bug#9337).
4125cb8b 7870 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7871
9a69676a
CY
7872 * button.el (button-at): Minor addition to docstring.
7873
6e7e90fa
SL
78742012-03-24 Simon Leinen <simon.leinen@gmail.com>
7875
7876 * vc/vc.el (vc-merge): Fix a prompt.
7877
f06e2758
CY
78782012-03-24 Chong Yidong <cyd@gnu.org>
7879
7880 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7881 point (Bug#9623).
7882
6e7e90fa
SL
7883 * button.el (button-at): Minor addition to docstring.
7884
b9d0879b
SM
78852012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7886
7887 * newcomment.el (comment-choose-indent): No space after BOL.
7888
e71cebb3
SS
78892012-03-22 Sam Steingold <sds@gnu.org>
7890
7891 * window.el (switch-to-prev-buffer): Revert last patch because the
7892 bug turned out to be an advertised feature (Elisp manual 28.14).
7893
335aff35
GM
78942012-03-22 Glenn Morris <rgm@gnu.org>
7895
7896 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7897 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7898
c676576a
LMI
78992012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7900
7901 * net/network-stream.el (network-stream-open-starttls): Make error
7902 message under Windows be less misleading.
7903
126f3d39
LW
79042012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7905
7906 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7907 understands (bug#9942).
7908
64fee311
CY
79092012-03-22 Chong Yidong <cyd@gnu.org>
7910
7911 * simple.el (end-of-visible-line): Handle return value of
7912 next-single-property-change properly (Bug#9371).
7913
a640d29a
KH
79142012-03-22 Kenichi Handa <handa@m17n.org>
7915
7916 * international/quail.el (quail-insert-kbd-layout): Fix previous
7917 change. To avoid unwanted bidi reordering, use
7918 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7919
39675016
DG
79202012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7921
7922 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7923 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7924 (ruby-beginning-of-indent): Be more careful with the difference
7925 between word-boundary and symbol boundary.
7926 (ruby-mode-syntax-table): Make : a symbol constituent.
7927
0a6934fc 79282012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7929
3d008e4f
SM
7930 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7931
0a6934fc
SM
79322012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7933
af67c9d7
SM
7934 * progmodes/etags.el (tags-completion-at-point-function):
7935 Improve last fix.
7936
1acad97c
SM
7937 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7938
e298b5da
SS
79392012-03-21 Sam Steingold <sds@gnu.org>
7940
7941 * progmodes/etags.el (tags-completion-at-point-function):
7942 Avoid the error when point is inside the pattern.
7943
91d82a70
JY
79442012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7945
7946 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7947 line (Bug#10855).
7948
69188b79
CY
79492012-03-21 Drew Adams <drew.adams@oracle.com>
7950
7951 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7952
99fc91fe
AK
79532012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7954
7955 * ido.el (ido-set-current-directory, ido-read-internal)
7956 (ido-choose-completion-string, ido-completion-help): Handle nil
7957 value of ido-completion-buffer (Bug#11008).
7958
087bbb4c
SS
79592012-03-21 Sam Steingold <sds@gnu.org>
7960
7961 * window.el (switch-to-prev-buffer): Do not switch to a visible
7962 window previous buffer, just like with the frame previous buffers.
7963
fb5b8aca
CY
79642012-03-21 Chong Yidong <cyd@gnu.org>
7965
7966 * faces.el (make-face, make-empty-face, copy-face):
7967 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7968 Doc fixes.
7969
dc9924b8
SM
79702012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7973 (widget-complete): Remove broken use of it.
7974
f0bcceb9
CY
79752012-03-20 Chong Yidong <cyd@gnu.org>
7976
dc9924b8
SM
7977 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7978 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7979 characters.
7980
ee52ebf3
TH
79812012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7982
7983 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7984 to draw rectangles, not squares. (Regression introduced by revno
7985 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7986
4c5779ab
CY
79872012-03-18 Chong Yidong <cyd@gnu.org>
7988
7989 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7990 it is not yet defined (for temacs).
7991
15360934
LL
79922012-03-18 Leo Liu <sdl.web@gmail.com>
7993
dc9924b8 7994 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7995
d9a8eb66
EZ
79962012-03-17 Eli Zaretskii <eliz@gnu.org>
7997
7998 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7999 (ispell-choices-win-default-height, ispell-silently-savep)
8000 (ispell-dictionary-alist, ispell-encoding8-command)
8001 (ispell-check-version, ispell-aspell-find-dictionary)
8002 (ispell-valid-dictionary-list, ispell-words-keyword)
8003 (ispell-get-word, ispell-internal-change-dictionary)
8004 (ispell-region, ispell-skip-region-list)
8005 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8006 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8007 (ispell-message-text-end, ispell-message)
8008 (ispell-buffer-local-parsing): Doc fix.
8009
f02ff80d
J
80102012-03-13 Jambunathan K <kjambunathan@gmail.com>
8011
8012 * htmlfontify.el: Add support for code block fontification for ODT
8013 export (Bug #9914).
8014 (hfy-optimisations): Define new option
8015 `body-text-only'
8016 (hfy-fontify-buffer): Honor above setting.
8017 (hfy-begin-span, hfy-end-span): New routines factored out form
8018 `hfy-fontify-buffer'.
8019 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8020 that permit insertion of custom tags.
8021 (hfy-fontify-buffer): Use above handlers.
8022 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8023 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8024 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8025 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8026 bind a special variable `hfy-user-sheet-assoc'.
8027 (htmlfontify-string): New defun.
8028 (hfy-compile-face-map): Make sure that the last char in the
8029 buffer is correctly fontified.
8030 (hfy-face-resolve-face): Whitespace only change.
8031
9ac7a13f
EZ
80322012-03-17 Eli Zaretskii <eliz@gnu.org>
8033
8034 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8035 message more clear.
8036
e2b5bdd7
LL
80372012-03-16 Leo Liu <sdl.web@gmail.com>
8038
8039 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8040
2e492df3
AM
80412012-03-16 Alan Mackenzie <acm@muc.de>
8042
8043 Further optimise the handling of large macros.
8044
8045 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8046 limit to a call of `c-literal-limits'.
8047 (c-determine-+ve-limit): New function.
dc9924b8
SM
8048 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8049 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8050 In CASE 5B, restrict a search limit to 500.
8051 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8052
8053 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8054 Restrict macro bounds to +-500 from after-change's BEG END.
8055
50e94f0c
LL
80562012-03-16 Leo Liu <sdl.web@gmail.com>
8057
8058 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8059
6f09f6ed
AH
80602012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8061
8062 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8063 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8064
c7e73d51
GM
80652012-03-16 Glenn Morris <rgm@gnu.org>
8066
da986230
GM
8067 * view.el (view-buffer, view-buffer-other-window)
8068 (view-buffer-other-frame): Doc fixes re special mode-class.
8069
0835f01e
GM
8070 * subr.el (eval-after-load): If named feature is provided not from
8071 a file, run after-load forms. (Bug#10946)
8072
c7e73d51
GM
8073 * calendar/calendar.el (calendar-insert-at-column):
8074 Handle non-unit-width characters a bit better. (Bug#10978)
8075
3f2eafd1
CY
80762012-03-15 Chong Yidong <cyd@gnu.org>
8077
8078 * emacs-lisp/ring.el (ring-extend): New function.
8079 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8080
8081 * comint.el (comint-read-input-ring)
8082 (comint-add-to-input-history): Grow comint-input-ring lazily.
8083
103af3fe
SM
80842012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8085
663b1677
SM
8086 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8087 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8088
103af3fe
SM
8089 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8090 (imenu-add-to-menubar): Don't add a redundant index.
8091 (imenu-update-menubar): Handle a dynamically composed keymap.
8092
899cb7cb
KY
80932012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8094
8095 * mail/sendmail.el (mail-encode-header):
8096 Bind rfc2047-encode-encoded-words to nil.
8097
3809f91d
GM
80982012-03-13 Glenn Morris <rgm@gnu.org>
8099
8100 * calendar/calendar.el (calendar-string-spread):
8101 Handle non-unit-width characters a bit better. (Bug#10978)
8102
9e345a01
LL
81032012-03-13 Leo Liu <sdl.web@gmail.com>
8104
8105 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8106 directory and file as argument (Bug#10822).
8107
4a07df36
KS
81082012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8109
8110 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8111 For dynamically generated code, follow $PC.
8112 (gdb-disassembly-handler-custom): Handle no function name case.
8113
4aaa9356
TL
81142012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8115
8116 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8117 * emulation/ws-mode.el (ws-query-replace):
8118 * sort.el (sort-regexp-fields):
8119 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8120
225979da
SM
81212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8122
8123 * dabbrev.el: Fix cycle completion order (bug#10963).
8124 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8125 (dabbrev-completion): Don't use an obarray; provide
8126 a cycle-sort-function.
8127
e2f1fdab
LL
81282012-03-12 Leo Liu <sdl.web@gmail.com>
8129
dc9924b8 8130 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8131 (kill-do-not-save-duplicates): Doc fix.
8132
b19490ed
SM
81332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8134
8135 * dabbrev.el: Fix cycle completion (bug#10963).
8136 Use lexical binding and wrap to 80 columns.
8137 (dabbrev-completion): Delay computing the list of completions.
8138
4b05d722
KH
81392012-03-12 Kenichi Handa <handa@m17n.org>
8140
8141 * international/quail.el (quail-insert-kbd-layout): Surround each
8142 row by LRO and PDF instead of inserting many LRMs. Pad the left
8143 and right of each non-spacing marks. Insert invisible space
8144 between lower and upper characters to prevent composition.
8145
dbbc2e69
SM
81462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * minibuffer.el (minibuffer-complete): Don't get confused when the
8149 function is run twice via different commands (bug#10958).
8150 (complete-with-action): Fix docstring.
8151
292112ed
CY
81522012-03-12 Chong Yidong <cyd@gnu.org>
8153
5d1ac394
CY
8154 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8155 (nxml-completion-at-point-function): New function.
8156 (nxml-mode): Use it.
8157 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8158
292112ed
CY
8159 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8160 Load generated autoloads file before byte compiling (Bug#10970).
8161 (package--make-autoloads-and-compile): New helper fun.
8162
4098f8f7
CS
81632012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8164
8165 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8166
8f754691
MA
81672012-03-11 Michael Albinus <michael.albinus@gmx.de>
8168
8169 * autorevert.el (auto-revert-handler): Ensure, that
8170 file-readable-p is applied only for local files or in
8171 auto-revert-tail-mode.
8172
e29ab36b
AS
81732012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8174
dbbc2e69
SM
8175 * server.el (server-eval-at): Handle non-tcp connections.
8176 Decode result string.
ad0bf5b6 8177
e29ab36b
AS
8178 * server.el (server-msg-size): New constant.
8179 (server-reply-print): New function.
8180 (server-eval-and-print): Use it.
8181 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8182 Handle -print-nonl.
8183
de5939ba
CS
81842012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8185
8186 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8187 (Bug#10987).
8188
0c93eabf
CY
81892012-03-11 Chong Yidong <cyd@gnu.org>
8190
397a688f
CY
8191 * simple.el (goto-line): Doc fix (Bug#9938).
8192
2cc775f9
CY
8193 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8194
0c93eabf
CY
8195 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8196 when finished (Bug#10963).
8197
c491fa41
MR
81982012-03-11 Martin Rudalics <rudalics@gmx.at>
8199
8200 * window.el (split-window-below): Fix bug in case where
8201 split-window-keep-point is nil (Bug#10971).
8202
300e8fa5
JL
82032012-03-11 Juri Linkov <juri@jurta.org>
8204
8205 * replace.el (replace-highlight): Set isearch-word to nil
8206 unconditionally. (Bug#10887)
8207
dbf6c5a1
EZ
82082012-03-10 Eli Zaretskii <eliz@gnu.org>
8209
8210 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8211 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8212 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8213 (mairix-widget-create-query): Add usage information about mairix
8214 search forms: negating words, searching for substrings, etc.
8215
b9e501de
JP
82162012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8217
8218 * international/fontset.el (font-encoding-alist): Add an entry for
8219 ksx1001 (Bug#5667).
8220
92795c91
RS
82212012-03-10 Richard Stallman <rms@gnu.org>
8222
1694e6c1
RS
8223 * mail/sendmail.el (mail-encode-header):
8224 Set rfc2047-encode-encoded-words.
8225
607e8555
RS
8226 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8227
de3bc99a
RS
8228 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8229 view buffer means not swapped.
8230 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8231 (rmail-write-region-annotate): Error if real text has disappeared.
8232
92795c91
RS
8233 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8234
699bd04e
CY
82352012-03-10 Chong Yidong <cyd@gnu.org>
8236
8237 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8238 * emulation/cua-base.el (cua--init-keymaps):
8239 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8240
570a1714
MR
82412012-03-10 Martin Rudalics <rudalics@gmx.at>
8242
dbbc2e69
SM
8243 * speedbar.el (speedbar-unhighlight-one-tag-line):
8244 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8245
82dcf4e4
CY
82462012-03-10 Chong Yidong <cyd@gnu.org>
8247
7a2c7ca7
CY
8248 * minibuffer.el (completion-in-region, completion-help-at-point):
8249 Give the completion field overlay a high priority (Bug#6830).
8250
82dcf4e4
CY
8251 * dired.el (dired-goto-file): Recognize absolute file name
8252 listings (Bug#7126).
8253 (dired-goto-file-1): New helper function.
8254 (dired-toggle-read-only): Inhibit warnings.
8255
052e28ac
MA
82562012-03-09 Michael Albinus <michael.albinus@gmx.de>
8257
75f1671a 8258 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8259 there are no properties.
8260
95d5e396
LL
82612012-03-09 Leo Liu <sdl.web@gmail.com>
8262
8263 * savehist.el (savehist-printable): Stricter check for string
8264 value (Bug#10937).
8265
3f018d6d
EZ
82662012-03-09 Eli Zaretskii <eliz@gnu.org>
8267
dbbc2e69
SM
8268 * mail/smtpmail.el (smtpmail-send-it):
8269 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8270 valid mbox format.
8271
f7fd3d79
GM
82722012-03-09 Glenn Morris <rgm@gnu.org>
8273
8274 * files.el (dir-locals-find-file):
8275 Don't check result is regular, readable.
8276 (dir-locals-read-from-file): Demote errors.
8277
6ff6e72f
EZ
82782012-03-08 Eli Zaretskii <eliz@gnu.org>
8279
dbbc2e69
SM
8280 * international/quail.el (quail-insert-kbd-layout):
8281 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8282 layout cell, to prevent their reordering by bidi display engine.
8283 For details, see the discussion in
8284 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8285
9cec7834
AM
82862012-03-08 Alan Mackenzie <acm@muc.de>
8287
8288 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8289 the starting position; make it extend the marked region when
8290 invoked repeatedly - all under appropriate circumstances.
8291 Fixes bugs #5525, #10906.
8292
9a40b8d4
GM
82932012-03-08 Glenn Morris <rgm@gnu.org>
8294
8295 * files.el (locate-dominating-file, dir-locals-find-file):
8296 Undo 2012-03-06 change.
8297
7a08ed35
EZ
82982012-03-07 Eli Zaretskii <eliz@gnu.org>
8299
dbbc2e69
SM
8300 * international/quail.el (quail-help):
8301 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8302 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8303 for the reason.
8304
5aca4f71 83052012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8306
8307 Avoid superfluous registering of signals. (Bug#10807)
8308
8309 * notifications.el (notifications-on-action-object)
8310 (notifications-on-close-object): New defvars.
8311 (notifications-on-action-signal, notifications-on-closed-signal):
8312 Unregister the signal if not needed any longer.
8313 (notifications-notify): Register `notifications-action-signal' or
8314 `notifications-closed-signal', if :on-action or :on-close has been
8315 passed as argument.
8316
78e8b10a
CY
83172012-03-07 Chong Yidong <cyd@gnu.org>
8318
8319 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8320 non-X platforms.
8321
69481eb8
GM
83222012-03-06 Glenn Morris <rgm@gnu.org>
8323
8324 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8325 (x-disown-selection-internal, x-get-selection-internal):
8326 Doc fix (add arglist signatures). (Bug#10783)
8327
133b8e11
KS
83282012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8329
8330 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8331 Handle breakpoints with no "type".
8332
99a83064
GM
83332012-03-06 Glenn Morris <rgm@gnu.org>
8334
8335 * files.el (locate-dominating-file): Add optional predicate argument.
8336 (dir-locals-find-file): Make use of above change.
8337
17798e78
TTN
83382012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8339
8340 * info.el (Info-insert-dir): Also try "dir.gz".
8341
eb182446
GM
83422012-03-06 Glenn Morris <rgm@gnu.org>
8343
8f2114ee
GM
8344 * files.el (dir-locals-find-file):
8345 Ignore non-readable or non-regular files. (Bug#10928)
8346
eb182446
GM
8347 * files.el (locate-dominating-file): Doc fix.
8348
24679323
AS
83492012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8350
8351 * calendar/calendar.el (calendar-set-mode-line):
8352 `getenv' returns a string. (Bug#10951)
8353
01d972a9
LL
83542012-03-05 Leo Liu <sdl.web@gmail.com>
8355
109aa8a9
LL
8356 * simple.el (backward-delete-char-untabify): Constrain point to
8357 field (Bug#10939).
8358
01d972a9
LL
8359 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8360
10607bea
CY
83612012-03-05 Chong Yidong <cyd@gnu.org>
8362
8363 * simple.el (count-words): If called from Lisp, return the word
8364 count, for symmetry with `count-lines'. Arglist changed.
8365 (count-words--message): Args changed. Consolidate counting code
8366 from count-words and count-words-region.
8367 (count-words-region): Caller changed.
8368 (count-lines-region): Make it an obsolete alias.
8369
5dd11cfe
TH
83702012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8371
8372 * saveplace.el (save-place-to-alist)
8373 (save-place-ignore-files-regexp): Allow value nil to disable this
8374 feature.
8375
c349f4e6
CY
83762012-03-04 Chong Yidong <cyd@gnu.org>
8377
8378 * faces.el (face-spec-reset-face): For the default face, reset the
8379 attributes to default values (Bug#10748).
8380
e627be4c
LMI
83812012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8382
8383 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8384 previous patch: Check `message-send-mail-function', and not the
8385 default function (bug#10897).
8386
ebeabff4
MA
83872012-03-04 Michael Albinus <michael.albinus@gmx.de>
8388
a41a6cf4
MA
8389 * notifications.el (notifications-on-action-signal)
8390 (notifications-on-closed-signal): Check for unique service name of
8391 incoming event. Fix error in removing entry.
ebeabff4 8392 (top): Register for signals with wildcard service name.
a41a6cf4 8393 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8394
c1ca42b4
CY
83952012-03-04 Chong Yidong <cyd@gnu.org>
8396
dc9924b8 8397 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8398
ea16568d
GM
83992012-03-04 Glenn Morris <rgm@gnu.org>
8400
8401 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8402 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8403 (expand-abbrev, define-abbrev-table): Doc fixes.
8404
fbae4637
LMI
84052012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8406
8407 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8408 `message-default-send-mail-function' and not `send-mail-function'
8409 when doing the prompting for `sendmail-query-once' before sending
8410 in Message buffers (bug#10897).
8411
a1e7225c
LMI
8412 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8413 This is inconsistent with all the other stream functions, which leave
8414 the setting up to the higher levels (if so wanted) (bug#10931).
8415
56d093a9
AM
84162012-03-02 Alan Mackenzie <acm@muc.de>
8417
8418 Depessimize the handling of very large macros.
8419
8420 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8421 (c-macro-cache-syntactic): New variables to implement a one
8422 element macro cache.
8423 (c-invalidate-macro-cache): New function.
8424 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8425 Adapt to use the new cache.
8426 (c-state-safe-place): Use better the cache of safe positions.
8427 (c-state-semi-nonlit-pos-cache)
8428 (c-state-semi-nonlit-pos-cache-limit):
8429 New variables for...
8430 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8431 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8432 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8433 Use c-state-semi-safe-place.
56d093a9 8434
dbbc2e69
SM
8435 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8436 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8437
817e5c3d
MA
84382012-03-02 Michael Albinus <michael.albinus@gmx.de>
8439
dbbc2e69
SM
8440 * jka-compr.el (jka-compr-call-process):
8441 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8442 not remote.
8443
a032a702
MA
84442012-03-01 Michael Albinus <michael.albinus@gmx.de>
8445
8446 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8447 access of FILE2, if FILE1 does not exist.
8448
99a54f21
MA
8449 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8450 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8451
8452 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8453 Add "PAGER=" to `process-environment'.
8454
f6561e1f
MM
84552012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8456
8457 * progmodes/sql.el: Bug fix
8458 (sql-get-login-ext): Save login values in globals.
8459 (sql-get-login): Use new version of `sql-get-login-ext'.
8460 (sql-interactive-mode): Set global `sql-connection' to nil.
8461 (sql-connect): Set global values for connection.
8462 (sql-product-interactive): Save global values as buffer local.
8463
2d44d9cc
LL
84642012-02-29 Leo Liu <sdl.web@gmail.com>
8465
8466 * abbrev.el (define-abbrevs): Reset sys to nil.
8467
96b49301 84682012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8469
bf7f9bc5
JB
8470 * files.el (file-equal-p): Rename from `files-equal-p'.
8471 Return nil when one or both files don't exist.
96b49301 8472 (file-subdir-of-p): Now only top directory must exists,
8473 return nil if it doesn't.
bf7f9bc5
JB
8474 (copy-directory): No need to test with `file-subdir-of-p' after
8475 creating dir.
8476 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8477 to `file-equal-p'.
96b49301 8478
44e97401
GM
84792012-02-28 Glenn Morris <rgm@gnu.org>
8480
8481 * shell.el (shell-mode):
8482 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8483 * play/landmark.el (landmark-font-lock-face-O):
8484 * play/handwrite.el (handwrite):
8485 * play/gomoku.el (gomoku-O):
8486 * net/browse-url.el (browse-url-browser-display):
8487 * international/mule.el (define-charset):
8488 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8489 * filesets.el (filesets-find-file-delay):
8490 * eshell/em-xtra.el (eshell-xtra):
8491 * eshell/em-unix.el (eshell-grep):
8492 * emulation/viper.el (viper-mode):
8493 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8494 * emacs-lisp/easymenu.el (easy-menu-define):
8495 * calendar/timeclock.el (timeclock-use-display-time):
8496 * bs.el (bs-mode):
8497 * bookmark.el (bookmark-save-flag):
8498 Doc fix (standardize possessive apostrophe usage).
8499
c98c6276
CY
85002012-02-27 Chong Yidong <cyd@gnu.org>
8501
bf7f9bc5
JB
8502 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8503 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8504
c98c6276
CY
8505 * font-lock.el (font-lock-specified-p): Rename from
8506 font-lock-spec-present. Callers changed.
8507
9c62cd04 85082012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8509
bf7f9bc5
JB
8510 * emacs-lisp/package.el (package-compute-transaction):
8511 Handle holding a package version to t in package-load-list.
8ac9e529 8512
530739c9
MA
85132012-02-26 Michael Albinus <michael.albinus@gmx.de>
8514
8515 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8516 (tramp-get-inode, tramp-get-device): Use cached values.
8517
487915d7
AM
85182012-02-26 Alan Mackenzie <acm@muc.de>
8519
8520 Check there is a font-lock specification before doing initial
8521 fontification.
8522
8523 * font-core.el (font-lock-mode): Move the conditional from
8524 :after-hook to font-lock-initial-fontify.
8525 (font-lock-default-function): Move the check for a specification
8526 to font-lock-spec-present.
8527
dc9924b8 8528 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8529 (font-lock-spec-present): New function.
8530
4fd96557
JB
85312012-02-26 Jim Blandy <jimb@red-bean.com>
8532
8533 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8534 (gdb-send): Apply it to the operand of the '-interpreter-exec
8535 console' command, so that we can pass arguments with (say) quotes
8536 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8537
9a4888c0
CY
85382012-02-26 Chong Yidong <cyd@gnu.org>
8539
07498861
CY
8540 * help-fns.el (describe-function-1): Clarify description of
8541 remapping (Bug#10844).
8542
9a4888c0
CY
8543 * files.el (files-equal-p): Doc fix.
8544 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8545 and quit the loop once a mismatch is found.
8546
ea8fb88d
JB
85472012-02-25 Juanma Barranquero <lekktu@gmail.com>
8548
8549 * bs.el (bs--show-with-configuration): Don't throw an error
8550 if the window cannot be split; otherwise, subsequent calls to
8551 bs-show fail, restoring a stale window config. (Bug#10882)
8552
525795c1
JD
85532012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8554
8555 * term/ns-win.el (global-map): Bind ns-drag-file to
8556 ns-find-file (Bug#5855, Bug#10050).
8557
f008086f
AS
85582012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8559
8560 * calendar/parse-time.el (parse-time-string): Allow extractor to
8561 return nil.
8562
a3fcfa99
MA
85632012-02-25 Michael Albinus <michael.albinus@gmx.de>
8564
91027d08
JB
8565 * net/tramp.el (tramp-file-name-for-operation):
8566 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8567
8568 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8569 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8570 Add COPY-CONTENTS argument.
a3fcfa99 8571
67b0de11
CY
85722012-02-25 Chong Yidong <cyd@gnu.org>
8573
8574 Add custom groups for VC backends, for consistency with vc-bzr.
8575
8576 * vc/vc-arch.el (vc-arch):
8577 * vc/vc-cvs.el (vc-cvs):
8578 * vc/vc-git.el (vc-git):
8579 * vc/vc-hg.el (vc-hg):
8580 * vc/vc-mtn.el (vc-mtn):
8581 * vc/vc-rcs.el (vc-rcs):
8582 * vc/vc-sccs.el (vc-sccs):
8583 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8584 All relevant defcustoms reassigned.
8585
3c9dfce6
CY
85862012-02-25 Chong Yidong <cyd@gnu.org>
8587
1339bf43
CY
8588 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8589
3c9dfce6
CY
8590 * term/x-win.el (x-initialize-window-system): Reduce default for
8591 x-selection-timeout to 5 seconds (Bug#8869).
8592
25b2e303 85932012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8594
ec70a47d
GM
8595 * files.el (files-equal-p, file-subdir-of-p): New functions.
8596 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8597 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8598 * dired-aux.el (dired-copy-file-recursive): Same.
8599 (dired-create-files): Modify destination when source is equal to
8600 dest when copying files.
53a46cd0 8601 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8602
914260cd
MA
86032012-02-24 Michael Albinus <michael.albinus@gmx.de>
8604
8605 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8606 (Bug#10874)
8607
2cb228f7
AM
86082012-02-23 Alan Mackenzie <acm@muc.de>
8609
8610 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8611 parameter "after-hook:" to allow the expansion to run code after
8612 the execution of the mode hooks.
8613
8614 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8615 from font-lock-mode-internal.
2cb228f7 8616
91027d08 8617 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8618 :after-hook.
8619
8f0fde21
SM
86202012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8621
3e88618b
SM
8622 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8623 (completion--cache-all-sorted-completions): New function.
8624 (completion-all-sorted-completions): Use it.
8625 (completion--do-completion, minibuffer-force-complete):
8626 Use it to re-instate the flush hook.
8627
8f0fde21
SM
8628 * icomplete.el (icomplete-completions): Replace last fix with a better
8629 one (bug#10850).
8630
8e911f6f
DG
86312012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8632
8633 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8634 when it might call us back infinitely (bug#10797).
8635
49fe4321
GM
86362012-02-23 Glenn Morris <rgm@gnu.org>
8637
8638 * minibuffer.el (completion-category-overrides): Doc fix.
8639
b291b572
SM
86402012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8643 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8644
31a9ef2e
GM
86452012-02-23 Glenn Morris <rgm@gnu.org>
8646
5e6e6794 8647 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8648 (authors-obsolete-files-regexps, authors-ignored-files)
8649 (authors-ambiguous-files, authors-renamed-files-alist):
8650 Add more entries.
8651
0bd1e074
JL
86522012-02-23 Juri Linkov <juri@jurta.org>
8653
8654 * isearch.el (isearch-occur): Sync interactive spec with occur's
8655 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8656
b617673c
JL
8657 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8658
19e9789e
JL
86592012-02-22 Juri Linkov <juri@jurta.org>
8660
8661 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8662 (ucs-insert): Doc fix. Check for hex digits in the string.
8663 Don't display `nil' in the error message. (Bug#10857)
8664
f41ce09d
AM
86652012-02-22 Alan Mackenzie <acm@muc.de>
8666
7a71b18d 8667 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8668
ac2eceee
GM
86692012-02-22 Glenn Morris <rgm@gnu.org>
8670
8671 * ffap.el (ffap-c-path):
8672 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8673
abd1f678
CY
86742012-02-22 Chong Yidong <cyd@gnu.org>
8675
8676 * custom.el (load-theme): Doc fix.
8677
f25aef2e
GM
86782012-02-22 Glenn Morris <rgm@gnu.org>
8679
8680 * dired-x.el (dired-guess-shell-alist-default):
8681 Remove escape sequences from nroff output. (Bug#172)
8682
5f8dc2ca
GM
86832012-02-21 Glenn Morris <rgm@gnu.org>
8684
6ff86ec4
GM
8685 * vc/emerge.el (emerge-defvar-local):
8686 Set `permanent-local' property rather than unused `preserved'.
8687
be3223a3 8688 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8689 (picture-mode-map): Use it. (Bug#10860)
8690 (picture-mode): Doc fix.
8691
3fe58f4f
JB
86922012-02-21 Juanma Barranquero <lekktu@gmail.com>
8693
8694 * newcomment.el (uncomment-region-default): Remove unused binding.
8695
f9a998c3
GM
86962012-02-21 Glenn Morris <rgm@gnu.org>
8697
8698 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8699 (picture-self-insert, picture-tab-chars): Doc fix.
8700 (picture-mode-map): Fix C-a, C-e.
8701
c6029348
GM
87022012-02-20 Glenn Morris <rgm@gnu.org>
8703
8704 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8705
ab1ce9d7
LL
87062012-02-20 Leo Liu <sdl.web@gmail.com>
8707
8708 * icomplete.el (icomplete-completions): Check FROM arg before
8709 passing to substring (Bug#10850).
8710
0fd40f89
CY
87112012-02-19 Chong Yidong <cyd@gnu.org>
8712
8713 * comint.el: Require ansi-color.
8714 (comint-output-filter-functions): Add ansi-color-process-output.
8715
8716 * ansi-color.el: Don't set comint-output-filter-functions; it is
8717 now in the initial value defined in comint.el.
8718 (ansi-color-apply-face-function): New variable.
8719 (ansi-color-apply-on-region): Use it.
8720 (ansi-color-apply-overlay-face): New function.
8721
8722 * shell.el (shell): No need to require ansi-color.
8723 (shell-mode): Use ansi-color-apply-face-function to highlight
8724 color escapes using font-lock-face property (Bug#10835).
8725
20af2394
CY
87262012-02-19 Chong Yidong <cyd@gnu.org>
8727
8728 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8729 mode-line formats (Bug#10839).
8730
e23a3fbe
GM
87312012-02-18 Glenn Morris <rgm@gnu.org>
8732
b474519e
GM
8733 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8734
8735 * mail/undigest.el (unforward-rmail-message): Doc fix.
8736
e23a3fbe
GM
8737 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8738
57939ff4
EZ
87392012-02-18 Eli Zaretskii <eliz@gnu.org>
8740
8741 * international/characters.el (script-list): Sync with the latest
8742 Unicode Character Database.
8743
0c23686e
AS
87442012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8745
8746 * international/titdic-cnv.el: Remove duplicate coding tag.
8747 * language/cham.el: Likewise.
8748 * language/tai-viet.el: Likewise.
8749
6818b449
GM
87502012-02-18 Glenn Morris <rgm@gnu.org>
8751
8752 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8753 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8754 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8755 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8756 * calendar/holidays.el (holiday-bahai-holidays)
8757 (calendar-holidays, list-holidays):
8758 Use utf-8 Bahá'í in doc-strings, menus, etc.
8759
0311a3fc
TH
87602012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8761
8762 * saveplace.el (save-place-ignore-files-regexp): New variable
8763 allowing for excluding files from saving their location of point.
8764 The default value matches the temporary commit message editing
8765 files from Git, SVN, Bazaar, and Mercurial.
8766 (save-place-to-alist): Use it.
8767
d209e2fb 87682012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8769 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8770
8771 * newcomment.el (uncomment-region-default): Don't leave extra space
8772 when an arg is provided (bug#8150).
8773
ee0ce425
TZ
87742012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8775
eb864a71 8776 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8777
95ddf442
GM
87782012-02-17 Glenn Morris <rgm@gnu.org>
8779
8780 * net/socks.el: Require network-stream. (Bug#10599)
8781
48dd1e39 87822012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8783
8784 * international/charprop.el:
8785 * international/uni-name.el:
8786 * international/uni-old-name.el:
8787 * international/uni-comment.el: Regenerate.
8788
d68cd087
GM
87892012-02-16 Glenn Morris <rgm@gnu.org>
8790
8791 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8792 Interactively in calendar buffer, give an error if not on a date.
8793
13932042
GM
87942012-02-15 Glenn Morris <rgm@gnu.org>
8795
8796 * shell.el (shell-delimiter-argument-list):
8797 Revert 2011-02-17 change. (Bug#8027)
8798
c3a70e2b
CY
87992012-02-15 Chong Yidong <cyd@gnu.org>
8800
60236b0d
CY
8801 * minibuffer.el (completion-at-point-functions): Doc fix.
8802
c3a70e2b
CY
8803 * custom.el (defcustom): Doc fix; note use of defvar.
8804
9f26dc24
GM
88052012-02-15 Glenn Morris <rgm@gnu.org>
8806
8807 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8808 Doc fixes.
8809
6546b134
GM
88102012-02-14 Glenn Morris <rgm@gnu.org>
8811
8812 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8813
d29b2b4c
LI
88142012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8815
8816 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8817 way the ports list is computed.
835bdcba
LI
8818 (smtpmail-query-smtp-server): Prompt the user for a port number if
8819 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8820
08dcdbc9
TZ
88212012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8822
8823 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8824
2605051a
GM
88252012-02-13 Glenn Morris <rgm@gnu.org>
8826
8827 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8828
7ee99f32
TZ
88292012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8830
8831 * net/gnutls.el (gnutls-trustfiles): New variable.
8832 (gnutls-negotiate): Use it.
8833
5f0af64f
LI
88342012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8835
8836 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8837 does its stuff if Gnus is running.
8838
c14fcc95
AM
88392012-02-13 Alan Mackenzie <acm@muc.de>
8840
8841 Fix a loop in c-set-fl-decl-start.
8842
7a71b18d 8843 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8844 c-backward-syntactic-ws actually moves backwards.
8845
142b4d90
LL
88462012-02-13 Leo Liu <sdl.web@gmail.com>
8847
8848 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8849 beginning so that all \C-o chars are removed.
8850
fa9958a6
TZ
88512012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8852
dc9924b8 8853 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8854
0bc5886a
AM
88552012-02-12 Alan Mackenzie <acm@muc.de>
8856
8857 Fix infinite loop with long macros.
4d6769e1 8858 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8859
d4bd55e7
CY
88602012-02-12 Chong Yidong <cyd@gnu.org>
8861
8862 * window.el (display-buffer): Doc fix (Bug#10785).
8863
66f3fe22
GM
88642012-02-12 Glenn Morris <rgm@gnu.org>
8865
bd7da63e
GM
8866 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8867 (x-disown-selection-internal, x-get-selection-internal):
8868 Sync docs with the xselect.c versions.
8869
66f3fe22
GM
8870 * allout-widgets.el: Add missing license notice.
8871
3e0d2fa7
GM
88722012-02-11 Glenn Morris <rgm@gnu.org>
8873
cfecdf09
GM
8874 * select.el (x-get-selection-internal, x-own-selection-internal)
8875 (x-disown-selection-internal):
8876 * x-dnd.el (x-get-selection-internal): Update declarations.
8877
6d216d7f
GM
8878 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8879
2bed3f04
GM
8880 * window.el (window-sides-slots):
8881 * tool-bar.el (tool-bar-position):
8882 * term/xterm.el (xterm-extra-capabilities):
8883 * ses.el (ses-self-reference-early-detection):
8884 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8885 (verilog-auto-wire-type)
8886 (verilog-auto-delete-trailing-whitespace)
8887 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8888 (verilog-auto-tieoff-declaration):
8889 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8890 (sql-oracle-statement-starters, sql-oracle-scan-on):
8891 * progmodes/prolog.el (prolog-align-comments-flag)
8892 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8893 (prolog-left-indent-regexp, prolog-paren-indent-p)
8894 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8895 (prolog-types, prolog-mode-specificators)
8896 (prolog-determinism-specificators, prolog-directives)
8897 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8898 (prolog-electric-dot-flag)
8899 (prolog-electric-dot-full-predicate-template)
8900 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8901 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8902 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8903 (prolog-program-switches, prolog-prompt-regexp)
8904 (prolog-debug-on-string, prolog-debug-off-string)
8905 (prolog-trace-on-string, prolog-trace-off-string)
8906 (prolog-zip-on-string, prolog-zip-off-string)
8907 (prolog-use-standard-consult-compile-method-flag)
8908 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8909 (prolog-imenu-max-lines, prolog-info-predicate-index)
8910 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8911 (prolog-char-quote-workaround):
8912 * progmodes/cc-vars.el (c-defun-tactic):
8913 * net/tramp.el (tramp-encoding-command-interactive)
8914 (tramp-local-end-of-line):
8915 * net/soap-client.el (soap-client):
8916 * net/netrc.el (netrc-file):
8917 * net/gnutls.el (gnutls):
8918 * minibuffer.el (completion-category-overrides)
8919 (completion-cycle-threshold)
8920 (completion-pcm-complete-word-inserts-delimiters):
8921 * man.el (Man-name-local-regexp):
8922 * mail/feedmail.el (feedmail-display-full-frame):
8923 * international/characters.el (glyphless-char-display-control):
8924 * eshell/em-ls.el (eshell-ls-date-format):
8925 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8926 (lisp-lambda-list-keyword-parameter-indentation)
8927 (lisp-lambda-list-keyword-parameter-alignment):
8928 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8929 * dired-x.el (dired-omit-verbose):
8930 * cus-theme.el (custom-theme-allow-multiple-selections):
8931 * calc/calc.el (calc-highlight-selections-with-faces)
8932 (calc-lu-field-reference, calc-lu-power-reference)
8933 (calc-note-threshold):
8934 * battery.el (battery-mode-line-limit):
8935 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8936 (archive-7z-update):
8937 * allout.el (allout-prefixed-keybindings)
8938 (allout-unprefixed-keybindings)
8939 (allout-inhibit-auto-fill-on-headline)
8940 (allout-flattened-numbering-abbreviation):
8941 * allout-widgets.el (allout-widgets-auto-activation)
8942 (allout-widgets-icons-dark-subdir)
8943 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8944 (allout-widgets-theme-dark-background)
8945 (allout-widgets-theme-light-background)
8946 (allout-widgets-item-image-properties-emacs)
8947 (allout-widgets-item-image-properties-xemacs)
8948 (allout-widgets-run-unit-tests-on-load)
8949 (allout-widgets-time-decoration-activity)
8950 (allout-widgets-hook-error-post-time)
8951 (allout-widgets-track-decoration):
8952 Add missing :version tags to new defcustoms and defgroups.
8953
5fec1b8e
GM
8954 * progmodes/sql.el (sql-ansi-statement-starters)
8955 (sql-oracle-statement-starters): Add custom type.
8956
3e0d2fa7
GM
8957 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8958 (prolog-system-version): Give it a type.
8959
90b671e2
EZ
89602012-02-11 Eli Zaretskii <eliz@gnu.org>
8961
8962 * term/pc-win.el (x-select-text, x-selection-owner-p)
8963 (x-own-selection-internal, x-disown-selection-internal)
8964 (x-get-selection-internal): Sync doc strings and argument lists
8965 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8966
5eac0c02
LL
89672012-02-11 Leo Liu <sdl.web@gmail.com>
8968
8969 * progmodes/python.el (python-end-of-statement): Fix infinite
8970 loop. (Bug#10788)
8971
f82cb659
GM
89722012-02-10 Glenn Morris <rgm@gnu.org>
8973
8974 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8975 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8976
cc26d239
LI
89772012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8978
8979 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8980 about SMTP before checking the From header.
8981
91027d08 8982 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8983 into own function for reuse by emacsbug.el.
8984
1be3ca5a
LL
89852012-02-10 Leo Liu <sdl.web@gmail.com>
8986
8987 * subr.el (condition-case-unless-debug): Rename from
8988 condition-case-no-debug. All callers changed.
8989 (with-demoted-errors): Fix caller.
8990
8991 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8992 * nxml/rng-valid.el (rng-do-some-validation):
8993 * emacs-lisp/package.el (package-refresh-contents)
8994 (package-menu-execute):
8995 * desktop.el (desktop-create-buffer):
91027d08 8996 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8997
b011fbfe
GM
89982012-02-10 Glenn Morris <rgm@gnu.org>
8999
b2096d72
GM
9000 * textmodes/bibtex.el:
9001 Add missing :version tags for new/changed defcustoms.
9002
b011fbfe
GM
9003 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9004
4c7e65bf
LI
90052012-02-09 Lars Ingebrigtsen <larsi@rusty>
9006
9007 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9008 (smtpmail-via-smtp): Use it, or fall back on the From address.
9009 (smtpmail-send-it): Ditto.
9010
f3934f6f
SM
90112012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9014 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9015 (byte-compile-tmp-var): New const.
9016 (byte-compile-defvar): Use it to minimize .elc size.
9017 Just use `defvar' rather than simulate it (bug#10761).
9018
a075a2c5
GM
90192012-02-09 Glenn Morris <rgm@gnu.org>
9020
cf3aa21b
GM
9021 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9022
354998cd
GM
9023 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9024 Add :version tags.
9025
dc9924b8
SM
9026 * progmodes/compile.el (compilation-error-screen-columns)
9027 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9028
dab3703d
GM
9029 * vc/log-view.el (log-view-toggle-entry-display):
9030 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9031
3f88cd72
GM
9032 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9033 (report-emacs-bug-can-use-xdg-email):
9034 (report-emacs-bug-insert-to-mailer): Doc fixes.
9035 (report-emacs-bug): Message fix.
9036
d95b247d
GM
9037 * net/browse-url.el (browse-url-can-use-xdg-open)
9038 (browse-url-xdg-open): Doc fixes.
9039
a075a2c5
GM
9040 * electric.el (electric-indent-mode, electric-pair-mode)
9041 (electric-layout-rules, electric-layout-mode): Doc fixes.
9042 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9043
ffb6157e
MR
90442012-02-08 Martin Rudalics <rudalics@gmx.at>
9045
9046 * server.el (server-unselect-display): Don't inadvertently kill
9047 the current buffer. (Bug#10729)
9048
e1ac4066
GM
90492012-02-08 Glenn Morris <rgm@gnu.org>
9050
34e8a2da
GM
9051 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9052 (sql-list-table): Doc fixes.
9053
b4ac6e8c
GM
9054 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9055 Comment out (does nothing).
9056
e1ac4066
GM
9057 * completion.el (dynamic-completion-mode):
9058 * dirtrack.el (dirtrack-debug-mode):
9059 * electric.el (electric-layout-mode):
9060 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9061 * face-remap.el (text-scale-mode, buffer-face-mode):
9062 * iimage.el (iimage-mode):
9063 * image-mode.el (image-transform-mode):
9064 * minibuffer.el (completion-in-region-mode):
9065 * scroll-lock.el (scroll-lock-mode):
9066 * simple.el (next-error-follow-minor-mode):
9067 * tar-mode.el (tar-subfile-mode):
9068 * tooltip.el (tooltip-mode):
9069 * vcursor.el (vcursor-use-vcursor-map):
9070 * wid-browse.el (widget-minor-mode):
9071 * emulation/tpu-edt.el (tpu-edt-mode):
9072 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9073 * international/iso-ascii.el (iso-ascii-mode):
9074 * language/thai-util.el (thai-word-mode):
9075 * mail/supercite.el (sc-minor-mode):
9076 * net/goto-addr.el (goto-address-mode):
9077 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9078 * progmodes/cwarn.el (cwarn-mode):
9079 * progmodes/flymake.el (flymake-mode):
9080 * progmodes/glasses.el (glasses-mode):
9081 * progmodes/hideshow.el (hs-minor-mode):
9082 * progmodes/pascal.el (pascal-outline-mode):
9083 * textmodes/enriched.el (enriched-mode):
9084 * vc/smerge-mode.el (smerge-mode):
9085 Doc fixes (minor mode argument).
9086
5e0d957f
EZ
90872012-02-07 Eli Zaretskii <eliz@gnu.org>
9088
9089 * ls-lisp.el (ls-lisp-sanitize): New function.
9090 (ls-lisp-insert-directory): Use it to fix or remove any elements
9091 in file-alist with missing attributes. (Bug#4673)
9092
98d7371e
AM
90932012-02-07 Alan Mackenzie <acm@muc.de>
9094
9095 Fix spurious recognition of c-in-knr-argdecl.
9096
9097 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9098 putative K&R region.
9099
667ced3a
AM
91002012-02-07 Alan Mackenzie <acm@muc.de>
9101
eb864a71
LM
9102 * progmodes/cc-engine.el (c-forward-objc-directive):
9103 Prevent looping in "#pragma mark @implementation".
667ced3a 9104
5b77774d
MA
91052012-02-07 Michael Albinus <michael.albinus@gmx.de>
9106
9107 * notifications.el (notifications-on-closed-signal): Make `reason'
9108 optional. (Bug#10744)
9109
af008560
GM
91102012-02-07 Glenn Morris <rgm@gnu.org>
9111
60d47423
GM
9112 * emacs-lisp/easy-mmode.el (define-minor-mode):
9113 Doc fixes for the macro and the mode it defines.
9114
dd605cc4
GM
9115 * image.el (imagemagick-types-inhibit): Doc fix.
9116
af008560
GM
9117 * cus-start.el (imagemagick-render-type): Add it.
9118
5cc59a37
LI
91192012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9120
4d6769e1
JB
9121 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9122 Set the default at load time, too, so that `font-lock-fontify-buffer'
9123 can be called without setting up the entire mode first. This fixes
9124 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9125
9a6dd747
CY
91262012-02-06 Chong Yidong <cyd@gnu.org>
9127
2d16b285
CY
9128 * simple.el (list-processes--refresh): Delete exited processes
9129 (Bug#8094).
9130
171e9b6e
CY
9131 * comint.el (comint-next-prompt): next-single-char-property-change
9132 and prev-single-char-property-change never return nil (Bug#8657).
9133
9a6dd747
CY
9134 * custom.el (defcustom): Doc fix (Bug#9711).
9135
aa4589a7
CY
91362012-02-05 Chong Yidong <cyd@gnu.org>
9137
5c2a252f
CY
9138 * cus-edit.el (custom-variable-reset-backup): Quote the value
9139 before storing it in the customized-value property (Bug#6712).
4aab9006 9140 (custom-display): Add a customization type tag.
983b9602 9141 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9142
aa4589a7
CY
9143 * wid-edit.el (widget-field-value-get): New optional arg to
9144 suppress trailing whitespace truncation.
9145 (character): Use it (Bug#2689).
9146
1ff980ae
AS
91472012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9148
9149 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9150 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9151
03988c98
CY
91522012-02-05 Chong Yidong <cyd@gnu.org>
9153
eeb6cc88
CY
9154 * cus-edit.el (custom-variable-value-create): For mismatched
9155 types, show the current value (Bug#7600).
9156
03988c98
CY
9157 * custom.el (defcustom): Doc fix.
9158
f8cdeef0
GM
91592012-02-05 Glenn Morris <rgm@gnu.org>
9160
9161 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9162
0696d255
JB
91632012-02-05 Juanma Barranquero <lekktu@gmail.com>
9164
9165 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9166 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9167 (pp-last-sexp): Use `looking-at-p'.
9168
34c99998
GM
91692012-02-04 Glenn Morris <rgm@gnu.org>
9170
8f05da42
GM
9171 * files.el (revert-buffer):
9172 Doc fix (mention revert-buffer-in-progress-p).
9173
f160676e
GM
9174 * emacs-lisp/ert-x.el (ert-simulate-command):
9175 Check deferred-action-list (which is obsolete) is bound.
9176
c7291ad9
GM
9177 * subr.el (with-wrapper-hook): Doc fixes.
9178
34c99998
GM
9179 * simple.el (filter-buffer-substring-functions)
9180 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9181
6283a7d3
LL
91822012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9183
9184 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9185 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9186
e96e3013
LL
91872012-02-04 Leo Liu <sdl.web@gmail.com>
9188
9189 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9190
8ded50f2
GM
91912012-02-04 Glenn Morris <rgm@gnu.org>
9192
82ff1d13
GM
9193 * image.el (image-extension-data): Add obsolete alias.
9194
987a0a16
GM
9195 * isearch.el (isearch-update): Doc fix.
9196
ea32ef46
GM
9197 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9198
8ded50f2
GM
9199 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9200
eea14f31
GM
92012012-02-03 Glenn Morris <rgm@gnu.org>
9202
9203 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9204 (image-animate-timeout): Doc fix.
9205
9206 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9207
12f381b7
GM
92082012-02-02 Glenn Morris <rgm@gnu.org>
9209
953cebf5
GM
9210 * server.el (server-auth-dir): Doc fix.
9211 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9212
12f381b7
GM
9213 * subr.el (run-mode-hooks): Doc fix.
9214
953a8c3b
JL
92152012-02-02 Juri Linkov <juri@jurta.org>
9216
9217 * image-mode.el (image-toggle-display-image): Remove tautological
9218 `major-mode' from the `derived-mode-p' test.
9219
c5d3843c
KH
92202012-02-02 Kenichi Handa <handa@m17n.org>
9221
9f6e692e 9222 * composite.el (compose-region): Cancel previous change.
c5d3843c 9223
159462d4 92242012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9225
9226 * composite.el (compose-region, compose-string): Signal error for
9227 a null string component (Bug#6988).
9228
9f562668
CY
92292012-02-01 Chong Yidong <cyd@gnu.org>
9230
e2cef717
CY
9231 * view.el (view-buffer-other-window, view-buffer-other-frame):
9232 Handle special modes like view-buffer (Bug#10650).
9233 (view-buffer): Simplify.
9234
9f562668
CY
9235 * frame.el (set-frame-font): Tweak meaning of third argument.
9236
9f6e692e
JB
9237 * dynamic-setting.el (font-setting-change-default-font):
9238 Use set-frame-font (Bug#9982).
9f562668 9239
781acb9f
GM
92402012-02-01 Glenn Morris <rgm@gnu.org>
9241
6035be52
GM
9242 * progmodes/compile.el (compilation-internal-error-properties):
9243 Respect compilation-first-column in the "*compilation*" buffer.
9244
781acb9f
GM
9245 * emacs-lisp/easy-mmode.el (define-minor-mode):
9246 Relax :variable's test for a named function.
9247
abbceb00
AM
92482012-01-31 Alan Mackenzie <acm@muc.de>
9249
9250 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9251 off by one error.
9252
fce3fdeb
CY
92532012-01-31 Chong Yidong <cyd@gnu.org>
9254
9255 * frame.el (set-frame-font): New arg ALL-FRAMES.
9256
9257 * menu-bar.el (menu-set-font): Use set-frame-font.
9258
9259 * faces.el (face-spec-reset-face): Don't apply unspecified
9260 attribute values to the default face.
9261
47893581
JB
92622012-01-31 Juanma Barranquero <lekktu@gmail.com>
9263
9264 * progmodes/cwarn.el (cwarn): Remove dead link.
9265 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9266 Remove * from defcustom docstrings.
9267 (turn-on-cwarn-mode): Make obsolete.
9268 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9269 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9270
e58e988a
GM
92712012-01-31 Glenn Morris <rgm@gnu.org>
9272
60dc2671 9273 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9274 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9275 Allow named functions to be used as the cdr of :variable.
e58e988a 9276
7a3f511d
GM
92772012-01-30 Glenn Morris <rgm@gnu.org>
9278
9279 * emacs-lisp/authors.el (authors-fixed-entries):
9280 Remove reference to deleted file rnewspost.el.
9281
cb882333
JB
92822012-01-29 Juanma Barranquero <lekktu@gmail.com>
9283
9284 * window.el (window-with-parameter): Remove unused variable `windows'.
9285 (window--side-check): Remove unused variable `code'.
9286 (window--resize-siblings): Remove unused variable `first'.
9287 (adjust-window-trailing-edge): Remove unused variable `failed'.
9288 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9289 Use `let', not `let*'.
9290 (balance-windows-2): Remove unused variable `found'.
9291 (window--state-put-2): Remove unused variable `splits'.
9292 (window-state-put): Remove unused variable `selected'.
9293 (same-window-p): Use `string-match-p'.
9294 (display-buffer-assq-regexp): Remove unused variable `value'.
9295 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9296 Mark argument ALIST as ignored.
9297 (pop-to-buffer): Remove unused variable `old-window'.
9298
907201af
EZ
92992012-01-29 Eli Zaretskii <eliz@gnu.org>
9300
9301 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9302 and .lzma compressed files.
9303
ea162670
CY
93042012-01-29 Chong Yidong <cyd@gnu.org>
9305
5b95ee8a
CY
9306 * frame.el (window-system-default-frame-alist): Doc fix.
9307
ea162670
CY
9308 * dynamic-setting.el (font-setting-change-default-font): Don't
9309 change the default face if SET-FONT argument is non-nil (Bug#9982).
9310
d6e6f4b1
SB
93112012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9312
9313 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9314
0f29fa41 93152012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9316
9317 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9318 breakpoints in files outside current directory (Bug#6098).
9319
db174434
CY
93202012-01-29 Chong Yidong <cyd@gnu.org>
9321
6b25e4e2
SE
9322 * progmodes/python.el: Require ansi-color at top-level.
9323
6df6ae42
JB
9324 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9325 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9326 (lisp-mode-abbrev-table): Add doc.
9327 (lisp-mode-variables): Don't set local-abbrev-table.
9328 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9329
e70ee681
RW
93302012-01-28 Roland Winkler <winkler@gnu.org>
9331
9332 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9333
ace88aa2
RW
93342012-01-28 Roland Winkler <winkler@gnu.org>
9335
9336 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9337 (bibtex-set-dialect): Use it. Either set global values of
9338 dialect-dependent variables or bind these variables buffer-locally
9339 (Bug#10254).
9340 (bibtex-mode): Call bibtex-set-dialect via
9341 hack-local-variables-hook.
eb864a71
LM
9342 (bibtex-dialect): Update docstring.
9343 Add safe-local-variable predicate.
ace88aa2
RW
9344 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9345 bibtex-set-dialect.
9346 (bibtex-mode-map): Define menu for each dialect.
9347 (bibtex-entry): Fix docstring.
9348
93376c5b
CY
93492012-01-28 Chong Yidong <cyd@gnu.org>
9350
9351 * eshell/esh-arg.el (eshell-quote-argument): New function.
9352
9353 * eshell/esh-ext.el (eshell-invoke-batch-file):
9354 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9355 first arg to eshell-parse-command (Bug#10523).
9356
4372494f
DA
93572012-01-28 Drew Adams <drew.adams@oracle.com>
9358
9359 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9360 `default-directory' is non-nil.
9361
4d4ec1f8
EZ
93622012-01-28 Eli Zaretskii <eliz@gnu.org>
9363
9364 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9365 line that displays system-configuration-options. (Bug#9924)
9366
7c188927
DA
93672012-01-28 Drew Adams <drew.adams@oracle.com>
9368
9369 * descr-text.el (describe-char): Show information about POS, in
9370 addition to information about the character at POS. Improve and
9371 update the doc string. Change "code point" to "code point in
9372 charset", to avoid confusion with the character's Unicode code
9373 point shown above that. (Bug#10129)
9374
e0da685a
EZ
93752012-01-28 Eli Zaretskii <eliz@gnu.org>
9376
9377 * descr-text.el (describe-char): Show the raw character, not only
9378 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9379 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9380 for the reasons.
9381
70550acf
PH
93822012-01-28 Phil Hagelberg <phil@hagelb.org>
9383
eb864a71
LM
9384 * emacs-lisp/package.el (package-install):
9385 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9386
0ce8e868
CY
93872012-01-28 Chong Yidong <cyd@gnu.org>
9388
cb882333
JB
9389 * emacs-lisp/package.el (package-maybe-load-descriptor):
9390 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9391 (package-maybe-load-descriptor): Use it.
9392 (package-download-transaction): Fully load required packages
9393 inside the loop, so that `require' calls work (Bug#10593).
9394 (package-install): No need to call package-initialize now.
9395
2e7f3bea
CY
93962012-01-28 Chong Yidong <cyd@gnu.org>
9397
6e9bad14
CY
9398 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9399
f823b8ca
CY
9400 * tooltip.el (tooltip-mode): Doc fix.
9401 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9402
2680c309
CY
9403 * frame.el (set-cursor-color): Doc fix (Bug#352).
9404
d7a9e63b
CY
9405 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9406 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9407
2e7f3bea
CY
9408 * cus-edit.el (custom-buffer-create-internal): Fix search button
9409 action (Bug#10542).
2ae01800 9410 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9411
fc4f7a23
EW
94122012-01-27 Eduard Wiebe <usenet@pusto.de>
9413
9414 * dired.el (dired-mark-files-regexp):
9415 Include any subdirectory components. (Bug#10445)
9416
7dd37071
ML
94172012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9418
9419 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9420 Handle [host]:port syntax. (Bug#10533)
9421
a268160b
AH
94222012-01-27 Alex Harsanyi <harsanyi@mac.com>
9423
9424 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9425
e43273ef
GM
94262012-01-26 Glenn Morris <rgm@gnu.org>
9427
9428 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9429 * term.el (term-raw-escape-map): Use Control-X-prefix.
9430 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9431
1edf595d
MR
94322012-01-25 Martin Rudalics <rudalics@gmx.at>
9433
9434 * window.el (window-state-get, window--state-get-1): Don't deal
9435 with fixed-sizeness of windows. Simplify code.
9436
fa8eafef
JC
94372012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9438
6df6ae42
JB
9439 * window.el (window--state-get-1, window--state-put-2):
9440 Don't save and restore the mark.
fa8eafef 9441
0b21c100
CY
94422012-01-25 Chong Yidong <cyd@gnu.org>
9443
9444 * custom.el (custom-variable-p): Doc fix.
9445
5ae1a6c8
GM
94462012-01-25 Glenn Morris <rgm@gnu.org>
9447
40047858
GM
9448 * dired.el (dired-goto-file): Handle some of the more common
9449 characters that `ls -b' escapes. (Bug#10596)
9450
5ddce96c
GM
9451 * progmodes/compile.el (compilation-next-error-function):
9452 Respect compilation-first-column in the "*compilation*" buffer.
9453 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9454
5ae1a6c8
GM
9455 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9456
b559f1a9
GM
94572012-01-24 Glenn Morris <rgm@gnu.org>
9458
9459 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9460
6725d21a
JD
94612012-01-24 Julien Danjou <julien@danjou.info>
9462
9463 * color.el (color-rgb-to-hsl): Fix value computing.
9464 (color-hue-to-rgb): New function.
9465 (color-hsl-to-rgb): New function.
9466 (color-clamp, color-saturate-hsl, color-saturate-name)
9467 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9468 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9469
70df4bbe
GM
94702012-01-24 Glenn Morris <rgm@gnu.org>
9471
9472 * vc/vc-rcs.el (vc-rcs-create-tag):
9473 * vc/vc-sccs.el (vc-sccs-create-tag):
9474 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9475
802a2ae2
ML
94762012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9477
9478 * eshell/esh-util.el (eshell-read-hosts-file):
9479 Skip comment lines. (Bug#10549)
9480
d7128bb1
ML
9481 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9482
d1a5c3b4
JB
94832012-01-23 Juanma Barranquero <lekktu@gmail.com>
9484
2724d9c7
JB
9485 * subr.el (display-delayed-warnings): Doc fix.
9486 (collapse-delayed-warnings): New function to collapse identical
9487 adjacent warnings.
9488 (delayed-warnings-hook): Add it.
d1a5c3b4 9489
a5509865
MA
94902012-01-22 Michael Albinus <michael.albinus@gmx.de>
9491
9492 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9493
a5509865
MA
9494 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9495 (tramp-default-user-alist): Don't add "pscp".
9496 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9497 property "login-as", if set. (Bug#10530)
9498
cc6d5805
MA
94992012-01-21 Michael Albinus <michael.albinus@gmx.de>
9500
9501 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9502 "plink1" and "psftp". (Bug#10530)
9503
95042012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9505
9506 * international/mule-cmds.el (prefer-coding-system): Show a
9507 warning message if the default value of file-name-coding-system
9508 was not changed.
9509
f0960428
JC
95102012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9511
cb882333
JB
9512 * windmove.el (windmove-reference-loc):
9513 Fix windmove-reference-loc miscalculation.
f0960428 9514
dd6f2a63
JB
95152012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9516
9517 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9518 default unit.
9519
7b447e9b
GM
95202012-01-21 Glenn Morris <rgm@gnu.org>
9521
117a9ea1
GM
9522 * international/mule.el (auto-coding-alist): Add .tbz.
9523
7b447e9b
GM
9524 * files.el (local-enable-local-variables): Doc fix.
9525 (inhibit-local-variables-regexps): Rename from
9526 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9527 Doc fix. Add some extensions from auto-coding-alist.
9528 (inhibit-local-variables-suffixes):
9529 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9530 (inhibit-local-variables-p):
9531 New function, extracted from set-auto-mode-1.
9532 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9533 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9534 (hack-local-variables): Doc fix. Make the mode-only case
9535 respect enable-local-variables and friends.
9536 Respect inhibit-local-variables-regexps for file-locals, but
9537 not for directory-locals.
9538 (set-visited-file-name):
9539 Take account of inhibit-local-variables-regexps.
9540 Whether it applies may change as the file name is changed.
9541 * jka-cmpr-hook.el (jka-compr-install):
9542 * jka-compr.el (jka-compr-uninstall):
9543 Update for inhibit-first-line-modes-suffixes name change.
9544
dd6e3cdd
MR
95452012-01-20 Martin Rudalics <rudalics@gmx.at>
9546
9547 * help-macro.el (make-help-screen): Temporarily restore original
9548 binding for minor-mode-map-alist (Bug#10454).
9549
0d0deb38
JD
95502012-01-19 Julien Danjou <julien@danjou.info>
9551
9552 * color.el (color-name-to-rgb): Use the white color to find the max
9553 color component value and return correctly computed values.
9554 (color-name-to-rgb): Add missing float conversion for max value.
9555
34a02f46
MR
95562012-01-19 Martin Rudalics <rudalics@gmx.at>
9557
9558 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9559 special state value for window-persistent-parameters.
9560 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9561 (window--state-put-2): Reset all window parameters to nil before
9562 assigning values of persistent parameters.
9563
606c44c4
AM
95642012-01-18 Alan Mackenzie <acm@muc.de>
9565
9566 Eliminate sluggishness and hangs in fontification of "semicolon
9567 deserts".
9568
cb882333
JB
9569 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9570 Change value 10000 -> 3000.
606c44c4
AM
9571 (c-state-safe-place): Reformulate so it doesn't stack up an
9572 infinite number of wrong entries in c-state-nonlit-pos-cache.
9573 (c-determine-limit-get-base, c-determine-limit): New functions to
9574 determine backward search limits disregarding literals.
9575 (c-find-decl-spots): Amend commenting.
9576 (c-cheap-inside-bracelist-p): New function which detects "={".
9577
9578 * progmodes/cc-fonts.el
9579 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9580 backward search.
9581 (c-font-lock-declarations): Fix an occurrence of point being
9582 undefined. Check additionally for point being in a bracelist or
9583 near a macro invocation without a semicolon so as to avoid a
9584 fruitless time consuming search for a declarator. Give a more
9585 precise search limit for declarators using the new
9586 c-determine-limit.
9587
f3860cea
GM
95882012-01-18 Glenn Morris <rgm@gnu.org>
9589
9590 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9591 (set-auto-mode): Doc fixes.
9592
1db03b16
GM
95932012-01-17 Glenn Morris <rgm@gnu.org>
9594
0e6038be
GM
9595 * isearch.el (search-nonincremental-instead): Fix doc typo.
9596
1db03b16
GM
9597 * dired.el (dired-insert-directory): Handle newlines in directory name.
9598 (dired-build-subdir-alist): Unescape newlines in directory name.
9599
4cb0aa75
MA
96002012-01-17 Michael Albinus <michael.albinus@gmx.de>
9601
9602 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9603 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9604 (tramp-action-terminal): Use it. (Bug#10530)
9605
1d00653d
SM
96062012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9609
6a6ee00d
MR
96102012-01-16 Martin Rudalics <rudalics@gmx.at>
9611
9612 * window.el (window-state-ignored-parameters): Remove variable.
9613 (window--state-get-1): Rename argument MARKERS to IGNORE.
9614 Handle persistent window parameters. Make copy of clone-of
9615 parameter only if requested. (Bug#10348)
9616 (window--state-put-2): Install a window parameter only if it has
9617 a non-nil value or an existing parameter shall be overwritten.
9618
97912def
MA
96192012-01-15 Michael Albinus <michael.albinus@gmx.de>
9620
9621 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9622
688070a5
EZ
96232012-01-14 Eli Zaretskii <eliz@gnu.org>
9624
9625 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9626 don't pass the (nil) value of `upnode' to string-match.
9627
301afadc
CY
96282012-01-14 Chong Yidong <cyd@gnu.org>
9629
9630 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9631 Fix values recognized by the cursorBlink resource.
301afadc 9632
9e5788aa
PE
96332012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9634
9635 * epg.el (epg--make-temp-file): Avoid permission race condition
9636 when running on old Emacs versions (bug#10403).
9637
3cdb7f5a
GM
96382012-01-14 Glenn Morris <rgm@gnu.org>
9639
9640 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9641
8c82b1b4
AM
96422012-01-13 Alan Mackenzie <acm@muc.de>
9643
9644 Fix filling for when filladapt mode is enabled.
9645
9646 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9647 c-mask-paragraph, pass in `fill-paragraph' rather than
9648 `fill-region-as-paragraph'. (This is a reversion of a previous
9649 change.)
eb864a71
LM
9650 * progmodes/cc-mode.el (c-basic-common-init):
9651 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9652
e517eda4
GM
96532012-01-13 Glenn Morris <rgm@gnu.org>
9654
1498536e
GM
9655 * dired.el (dired-switches-escape-p): New function.
9656 (dired-insert-directory): Use dired-switches-escape-p.
9657 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9658
e517eda4
GM
9659 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9660
328f984d
GM
96612012-01-12 Glenn Morris <rgm@gnu.org>
9662
9663 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9664 changes in adaptive-fill-regexp. (Bug#10276)
9665
2cc769a8
AM
96662012-01-11 Alan Mackenzie <acm@muc.de>
9667
9668 Fix Emacs bug #10463 - put `widen's around the critical spots.
9669
1d00653d 9670 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9671 widen around each invocation of c-state-pp-to-literal. Remove an
9672 unused let variable.
9673
e52c37fa
GM
96742012-01-11 Glenn Morris <rgm@gnu.org>
9675
9676 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9677 Doc fix.
e52c37fa 9678
96f8741e
CY
96792012-01-10 Chong Yidong <cyd@gnu.org>
9680
1d00653d
SM
9681 * net/network-stream.el (network-stream-open-starttls):
9682 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9683 response to the capability command.
9684
b09a806e
GM
96852012-01-10 Glenn Morris <rgm@gnu.org>
9686
9687 * mail/unrmail.el (unrmail): Tweak previous change.
9688
7655cb66
CY
96892012-01-09 Chong Yidong <cyd@gnu.org>
9690
9691 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9692
9d5a8f0b
AM
96932012-01-08 Alan Mackenzie <acm@muc.de>
9694
9695 Optimise font locking in long enum definitions.
9696
9697 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9698 arm to a cond form to handle enums.
9699 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9700 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9701
9a0115ab 97022012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9703
9704 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9705 (Bug#10401)
6bb72cbd 9706
f186bb95
LMI
97072012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9708
29232a68
LMI
9709 * faces.el (set-face-attribute): Clarify the meaning of the nil
9710 frame (bug#10294).
9711
4e5d086d
LMI
9712 * subr.el (with-selected-frame): Mention that the selected frame
9713 is restored (bug#9980).
9714
8e66aebe
LMI
9715 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9716 (bug#9759).
9717
cd394be1 9718 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9719 (password-read): Don't autoload unused function.
9720
adf4e762
JB
97212012-01-07 Juanma Barranquero <lekktu@gmail.com>
9722
9723 * progmodes/which-func.el (which-func-mode): Turn into a
9724 non-interactive function and mark as obsolete (bug#10428).
9725
89bd9ccd
CY
97262012-01-06 Chong Yidong <cyd@gnu.org>
9727
9728 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9729 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9730 functions, along with 1 and -1.
9731
4afee9d5
EZ
97322012-01-06 Eli Zaretskii <eliz@gnu.org>
9733
9734 * time.el (display-time-load-average)
9735 (display-time-default-load-average): Doc fixes. See the thread
9736 starting at
9737 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9738 for the details.
9739
536aea70
GM
97402012-01-06 Glenn Morris <rgm@gnu.org>
9741
665ae865
GM
9742 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9743 has no messages. (Bug#10377)
9744
c869783d
GM
9745 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9746 than Info-edit. (Bug#10385)
9747
2bb4227e
GM
9748 * time.el (display-time-load-average, display-time-next-load-average):
9749 Doc fixes.
9750
7d5944b9
GM
9751 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9752 local setting of buffer-read-only to the input buffer. (Bug#10419)
9753
536aea70
GM
9754 * calendar/calendar.el (calendar-mode):
9755 Locally set scroll-margin to 0. (Bug#10379)
9756
7dccca16
UM
97572012-01-06 Ulrich Mueller <ulm@gentoo.org>
9758
9759 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9760
afbb7930
GM
97612012-01-05 Glenn Morris <rgm@gnu.org>
9762
9763 * eshell/em-unix.el (diff-no-select): Autoload it.
9764 (eshell/diff): Use diff-no-select. (Bug#10420)
9765
04482335
CY
97662012-01-05 Chong Yidong <cyd@gnu.org>
9767
7baca3bc
CY
9768 * shell.el (shell-dynamic-complete-functions): Revert last change.
9769 (shell-command-completion-function): New function.
9770 (shell-completion-vars): Use it to implement
9771 shell-completion-execonly (Bug#10417).
9772
04482335
CY
9773 * custom.el (enable-theme): Don't set custom-safe-themes.
9774
1d00653d
SM
9775 * cus-theme.el (custom-theme-merge-theme):
9776 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9777
bb5aa5d6
MM
97782012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9779
9780 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9781 first prompt in `sql-interacive-mode'.
9782 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9783 keywords.
6df6ae42 9784 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9785 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9786 context of original buffer. Invoke `sql-login-hook'.
9787
a7183d7c
EZ
97882012-01-04 Eli Zaretskii <eliz@gnu.org>
9789
9790 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9791 letters in cite-prefix.
9792
a1eacd1e
LMI
97932012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9794
9795 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9796
787cdb34
CY
97972012-01-03 Chong Yidong <cyd@gnu.org>
9798
1d00653d
SM
9799 * shell.el (shell-dynamic-complete-functions):
9800 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9801 comint-filename-completion first (Bug#10417).
9802
30710442
RS
98032012-01-02 Richard Stallman <rms@gnu.org>
9804
9805 * battery.el (battery-status-function):
9806 Detect when to use battery-yeeloong-sysfs.
9807 (battery-echo-area-format): Add string for Yeeloong.
9808 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9809 (battery-yeeloong-sysfs): New function.
9810
f75bfc33
CY
98112012-01-02 Chong Yidong <cyd@gnu.org>
9812
9813 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9814 (dirtrack): Merge code for handling relative filenames in prompt
9815 from shell-dir-cookie-watcher.
9816 (dirtrack-debug-message): New arg to avoid excess format calls.
9817
9818 * shell.el (shell-dir-cookie-re): Variable deleted.
9819 (shell-dir-cookie-watcher): Function deleted.
9820 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9821 with dirtrack-mode.
9822
651e947e
EZ
98232012-01-01 Eli Zaretskii <eliz@gnu.org>
9824
1d00653d
SM
9825 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9826 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9827 libgnutls-26.dll.
9828
94d4c7dc
AS
98292011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9830
9831 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9832
8d43f3cd
EZ
98332011-12-31 Eli Zaretskii <eliz@gnu.org>
9834
9835 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9836 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9837
98c8795a
MA
98382011-12-29 Michael Albinus <michael.albinus@gmx.de>
9839
9840 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9841 also for alternative shells.
9842 (tramp-open-connection-setup-interactive-shell): Check, whether
9843 the shell is a busybox.
9844 (tramp-send-command): Don't suppress multiple prompts for
9845 busyboxes, it hurts.
9846
51281b32
CY
98472011-12-28 Chong Yidong <cyd@gnu.org>
9848
9849 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9850 (gdb-get-source-file): Move mode line update to
9851 gdb-get-source-file (Bug#10087).
9852
2170cb53
CY
98532011-12-25 Chong Yidong <cyd@gnu.org>
9854
9855 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9856 gud-gdb-marker-filter without taking it as an argument.
9857 (gud-gdb-run-command-fetch-lines): Caller changed.
9858 (gud-gdb-completion-function): New variable.
9859 (gud-gdb-completion-at-point): Use it.
9860 (gud-gdb-completions-1): Split from gud-gdb-completions.
9861
9862 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9863 function as separate arguments.
9864 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9865 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9866 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9867 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9868 (gdb-stopped, def-gdb-auto-update-trigger)
9869 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9870 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9871 Callers changed.
2170cb53
CY
9872 (gud-gdbmi-completions): New function.
9873 (gdb): Use it for generating the completion table.
9874
be8b11bb
AM
98752011-12-24 Alan Mackenzie <acm@muc.de>
9876
9877 Introduce a mechanism to widen the region used in context font
1d00653d 9878 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9879
1d00653d
SM
9880 * progmodes/cc-langs.el (c-before-font-lock-functions):
9881 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9882 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9883 functions to be run just before context (etc.) font locking.
9884
9885 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9886 New, functionality extracted from
be8b11bb 9887 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9888 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9889 (c-after-change): Set c-in-after-change-fontification.
9890 (c-set-fl-decl-start): Rejig its interface, so it can be called
9891 from both after-change and context fontifying.
b81d40f0
JB
9892 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9893 New functions.
9894 (c-standard-font-lock-fontify-region-function): New variable.
9895 (c-font-lock-fontify-region): New function.
be8b11bb 9896
341cf6ac
JL
98972011-12-24 Juri Linkov <juri@jurta.org>
9898
9899 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9900 (Bug#10348)
9901
bffcee0a
MA
99022011-12-23 Michael Albinus <michael.albinus@gmx.de>
9903
9904 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9905 existence of source file. (Bug#10325)
9906
cb5e207c
AM
99072011-12-23 Alan Mackenzie <acm@muc.de>
9908
9909 Fix unstable fontification inside templates.
9910
b81d40f0
JB
9911 * progmodes/cc-langs.el (c-before-font-lock-functions):
9912 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9913 additionally has c-set-fl-decl-start. The other languages (apart
9914 from AWK) have that as a single entry.
9915
b81d40f0
JB
9916 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9917 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9918 c-set-fl-decl-start.
9919
b81d40f0
JB
9920 * progmodes/cc-mode.el (c-common-init, c-after-change):
9921 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9922 (c-set-fl-decl-start): New function, extracted from
9923 c-font-lock-enclosing-decls and enhanced.
9924
60ff536c
JB
99252011-12-23 Juanma Barranquero <lekktu@gmail.com>
9926
9927 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9928
1c4757d6
JL
99292011-12-22 Juri Linkov <juri@jurta.org>
9930
9931 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9932
d031f2c7
CY
99332011-12-22 Chong Yidong <cyd@gnu.org>
9934
9935 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9936
bace743a
DA
99372011-12-21 Drew Adams <drew.adams@oracle.com>
9938
9939 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9940
728a1f2b
JC
99412011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9942
9943 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9944
0d373f73
TZ
99452011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9946
fec0aaa4
TZ
9947 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9948 highlighting and support. Fix up comments for capitalization.
9949 (cfengine-mode-debug): New var.
9950 (cfengine3-mode): Change the modeline indicator to "CFE3".
9951 (cfengine3-font-lock-keywords): Improve defun highlighting.
9952 (cfengine2-actions): Rename from `cfengine-actions'.
9953 (cfengine2-font-lock-keywords): Rename from
9954 `cfengine-font-lock-keywords'.
9955 (cfengine2-imenu-expression): Rename from
9956 `cfengine-imenu-expression'.
9957 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9958 (cfengine2-beginning-of-defun): Rename from
9959 `cfengine-beginning-of-defun'.
9960 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9961 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9962 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9963 modeline indicator to "CFE2".
9964 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9965 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9966
bc86f573
CY
99672011-12-21 Chong Yidong <cyd@gnu.org>
9968
9969 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9970 filename argument.
9971
d45ba96b
MR
99722011-12-20 Martin Rudalics <rudalics@gmx.at>
9973
9974 * window.el (window-normalize-buffer-to-display): Remove.
9975 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9976
a6198c90
CY
99772011-12-19 Chong Yidong <cyd@gnu.org>
9978
9979 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9980 Don't signal an error in a predicate function; return non-nil.
9981 (vc-dir-mark-file): Move the error here.
9982 (vc-dir-mark-unmark): If acting on the region, keep going if one
9983 of the entries cannot be marked/unmarked.
9984 (vc-dir-mark-all-files): If current entry is a directory, mark
9985 only child files, as documented.
9986
34c5fb55
VB
99872011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9988
9989 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9990 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9991 addition.
9992
c803b2b7
JD
99932011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9994
9995 * term/ns-win.el (ns-get-selection-internal)
9996 (ns-store-selection-internal): Declare.
1154d12e
JB
9997 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9998 Declare as obsolete.
9999 (ns-get-pasteboard, ns-paste-secondary):
10000 Use ns-get-selection-internal.
41e9b956 10001 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10002 Use ns-store-selection-internal.
c803b2b7 10003
9cff91f8 100042011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10005
10006 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10007 (vc-deduce-fileset): Doc fix.
99a289d9 10008
f16c898a
AS
100092011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10010
10011 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10012
763237c4
SS
100132011-12-13 Sam Steingold <sds@gnu.org>
10014
10015 * man.el (Man-getpage-in-background): When running under a
10016 window-system, ignore $MANWIDTH and $COLUMNS.
10017
5fc1c122
KH
100182011-12-15 Kenichi Handa <handa@m17n.org>
10019
10020 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10021 (setup-ethiopic-environment-internal): Comment out key-binding for
10022 ethio-toggle-punctuation.
10023
13d49cbb
AM
100242011-12-13 Alan Mackenzie <acm@muc.de>
10025
898169a2
AM
10026 Add the switch statement to AWK Mode.
10027
7a71b18d 10028 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10029 "default" to the keywords regexp.
10030
7a71b18d 10031 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10032 expression as the rest.
1d00653d
SM
10033 (c-nonlabel-token-key): Allow string literals for AWK.
10034 Refactor for the other modes.
898169a2 10035
13d49cbb 10036 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10037 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10038 routines. Limit backward searching in c-font-lock-enclosing.decl.
10039
10040 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10041 pp-state and literal type in addition to the limits.
1d00653d 10042 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10043 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10044 (c-slow-in-literal, c-fast-in-literal): Remove.
10045 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10046
10047 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10048 being in a literal. Add a limit for backward searching.
10049
10050 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10051 c-slow-in-literal.
10052
15e0efc7
SM
100532011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10054
10055 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10056
454592a6
MR
100572011-12-13 Martin Rudalics <rudalics@gmx.at>
10058
10059 * window.el (delete-other-windows): Use correct frame in call to
10060 window-with-parameter.
10061
87393f26
DP
100622011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10063
10064 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10065 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10066 (makefile-gmake-statements, makefile-makepp-statements):
10067 Use it and add new makepp keywords.
10068 (makefile-makepp-font-lock-keywords): Add new patterns.
10069 (makefile-match-function-end): Match new [...] and [[...]].
10070
11636b22
JB
100712011-12-11 Juanma Barranquero <lekktu@gmail.com>
10072
10073 * ses.el (ses-call-printer-return, ses-cell-property-get)
10074 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10075 (ses-create-cell-variable, ses-reset-header-string)
10076 (ses-cell-set-formula, ses-repair-cell-reference-all)
10077 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10078 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10079 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10080 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10081 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10082 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10083 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10084 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10085 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10086 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10087 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10088 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10089
cf018193
VB
100902011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10091
10092 * ses.el: The overall change is to add cell renaming, that is
10093 setting fancy names for cell symbols other than name matching
10094 "\\`[A-Z]+[0-9]+\\'" regexp .
10095 (ses-create-cell-variable): New defun.
10096 (ses-relocate-formula): Relocate formulas only for cells the
10097 symbols of which are not renamed, i.e. symbols whose names do not
10098 match regexp "\\`[A-Z]+[0-9]+\\'".
10099 (ses-relocate-all): Relocate values only for cells the symbols of
10100 which are not renamed.
10101 (ses-load): Create cells variables as the (ses-cell ...) are read,
10102 in order to check row col consistency with cell symbol name only
10103 for cells that are not renamed.
10104 (ses-replace-name-in-formula): New defun.
10105 (ses-rename-cell): New defun.
10106
ee957461
CY
101072011-12-11 Chong Yidong <cyd@gnu.org>
10108
10109 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10110 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10111
9a9e9ef0
MR
101122011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10113
10114 * window.el (other-window): Fix docstring.
10115
92a8eba5
EZ
101162011-12-10 Eli Zaretskii <eliz@gnu.org>
10117
10118 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10119 `from' or `to' address before taking its substring.
10120 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10121 encoded name is chopped in the middle of the encoded string, and
10122 thus displayed encoded.
10123
e152e577
JB
101242011-12-10 Juanma Barranquero <lekktu@gmail.com>
10125
10126 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10127
e5d84bfe
EZ
101282011-12-10 Eli Zaretskii <eliz@gnu.org>
10129
10130 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10131 to use texinfo-update-node and commands that call it if the
10132 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10133 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10134 (texinfo-all-menus-update, texinfo-master-menu)
10135 (texinfo-update-node, texinfo-every-node-update)
10136 (texinfo-multiple-files-update): Doc fix. Warn against updating
10137 all the @node lines.
10138 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10139 argument is numeric. Explain better in the doc string what the
10140 function really does.
10141 (texinfo-insert-master-menu-list): Improve the error message
10142 displayed if there's no menu in the Top node.
10143 (Bug#2975) See also this thread:
e5d84bfe
EZ
10144 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10145
1d84e9bb
MG
101462011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10147
10148 * speedbar.el (speedbar-supported-extension-expressions):
10149 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10150
382c953b
JB
101512011-12-09 Juanma Barranquero <lekktu@gmail.com>
10152
10153 * printing.el (pr-mode-alist):
10154 * simple.el (filter-buffer-substring-functions)
10155 (completion-list-insert-choice-function):
10156 * window.el (window-with-parameter, window-atom-root)
10157 (window-sides-slots, window-size-fixed, window-min-delta)
10158 (window-max-delta, window--resize-mini-window)
10159 (window--resize-child-windows-normal, window-tree)
10160 (delete-other-windows, quit-window, split-window)
10161 (display-buffer-record-window, special-display-buffer-names)
10162 (special-display-regexps, special-display-popup-frame)
10163 (same-window-p, split-window-sensibly)
10164 (display-buffer-overriding-action, display-buffer-alist)
10165 (display-buffer-base-action, display-buffer, switch-to-buffer)
10166 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10167 (fit-window-to-buffer, recenter-positions)
10168 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10169 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10170 and remove unneeded backslashes in docstrings.
10171
39c9faef
SM
101722011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10173
98449af8
SM
10174 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10175
39c9faef
SM
10176 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10177 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10178 end in ".mk".
10179 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10180 when reading the makefile (bug#10116).
10181
86ed9fdc
SM
101822011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10185 (bug#10116).
10186
5580f89d
GM
101872011-12-06 Glenn Morris <rgm@gnu.org>
10188
10189 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10190
28d3917c
CY
101912011-12-06 Chong Yidong <cyd@gnu.org>
10192
10193 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10194
a98edce9
JB
101952011-12-06 Juanma Barranquero <lekktu@gmail.com>
10196
10197 * textmodes/table.el (table-shorten-cell): Fix typo.
10198
e65adfac
CG
101992011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10200
10201 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10202
71cc0b74
EZ
102032011-12-05 Eli Zaretskii <eliz@gnu.org>
10204
10205 * descr-text.el (describe-char): Fix display of strong
10206 right-to-left characters and directional embeddings and overrides.
10207
10208 * simple.el (what-cursor-position): Fix display of codepoints of
10209 strong right-to-left characters.
10210
315bc30d
CY
102112011-12-05 Chong Yidong <cyd@gnu.org>
10212
10213 * faces.el (read-color): Doc fix.
10214
58a70b94
GM
102152011-12-05 Glenn Morris <rgm@gnu.org>
10216
10217 * align.el (align--set-marker): Add doc-string.
10218 Don't try to move something that is not a marker. (Bug#10216)
10219
5158face
GM
102202011-12-04 Glenn Morris <rgm@gnu.org>
10221
10222 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10223 overly zealous deletion of trailing whitespace.
10224
520fca41
JB
102252011-12-04 Juanma Barranquero <lekktu@gmail.com>
10226
10227 * server.el (server-delete-client): On Windows, do not try to delete
10228 the only terminal.
10229 (server-process-filter): On Windows, treat requests for a tty frame as
10230 if they were for a GUI frame if the running server is in GUI mode.
10231
5e605a2e
GM
102322011-12-03 Glenn Morris <rgm@gnu.org>
10233
10234 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10235
5c3fe83f
SM
102362011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10237
6f5e57e7
SM
10238 * electric.el: Streamline electric-indent's hook.
10239 (electric-indent-chars): Revert to simple list.
10240 (electric-indent-functions): New var.
10241 (electric-indent-post-self-insert-function): Use it.
10242
5c3fe83f
SM
10243 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10244 there's no inferior buffer (bug#10196).
10245 (prolog-consult-compile): Don't use toggle-read-only.
10246
6bdac736
MA
102472011-12-02 Michael Albinus <michael.albinus@gmx.de>
10248
10249 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10250 interrupt. (Bug#10187)
10251
6131ba7f
SM
102522011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10253
99c79fee
SM
10254 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10255 (bug#9160).
10256
6131ba7f
SM
10257 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10258 (bug#10191).
10259
cb0a02ea
JL
102602011-12-02 Juri Linkov <juri@jurta.org>
10261
10262 * info.el (Info-search): Display "end of manual" when Isearch
10263 reaches the end of single-file Info manual. (Bug#9918)
10264
66e0570c
EZ
102652011-12-02 Eli Zaretskii <eliz@gnu.org>
10266
10267 * isearch.el (isearch-message-prefix): Run the input method part
10268 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10269
02b16839
JL
102702011-12-02 Juri Linkov <juri@jurta.org>
10271
10272 * isearch.el (isearch-occur): Use `word-search-regexp' for
10273 `isearch-word'.
10274 (isearch-search-and-update): Add condition for `isearch-word' and
10275 call `word-search-regexp'. (Bug#10145)
10276
0b950688
GM
102772011-12-01 Glenn Morris <rgm@gnu.org>
10278
10279 * eshell/em-hist.el (eshell-hist-initialize):
10280 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10281 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10282
9505c3c7
SM
102832011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10286
1bbe96b2 102872011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10288
a1beca85
SM
10289 * progmodes/verilog-mode.el (verilog-pretty-expr):
10290 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10291 verilog, such as += *= and the like.
10292 (verilog-assignment-operator-re): Regular expression to find the
10293 assigment operator in a verilog assignment.
10294 (verilog-assignment-operation-re): Regular expression to find an
10295 assignment statement for pretty-expr.
10296 (verilog-in-attribute-p): Query returns true if point is in an
10297 attribute context; used to skip these for expression line up from
10298 pretty-expr.
10299 (verilog-in-parameter-p): Query returns true if point is in an
10300 parameter definition context; used to skip these for expression
10301 line up from pretty-expr.
10302 (verilog-in-parenthesis-p): Query returns true if point is in a
10303 parenthetical expression, specifically ( ) but not [ ] or { };
10304 used by pretty-expr.
10305 (verilog-just-one-space): If there is no space, don't add one.
10306 (verilog-get-lineup-indent-2): Specifically skip just attribute
10307 contexts for expression lineup, rather than skipping all
10308 parenthetical expressions.
10309 (verilog-calculate-indent): Fix comment, and fix indent.
10310 (verilog-do-indent): Indent declarations in lists (suggested by
10311 Joachim Lechner).
10312 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10313 skeleton items.
10314 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10315 by Alain Mellan).
10316
1bbe96b2 103172011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10318
10319 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10320 parameters with embedded comments. Reported by Ray Stevens.
10321 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10322 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10323 Reported by Tim Holt.
10324 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10325 instantiated by upper module causing wrong expansion until AUTOed a
10326 second time. Reported by K C Buckenmaier.
10327 (verilog-diff-auto): Fix showing .* as a difference when
10328 `verilog-auto-star-save' off. Reported by Dan Dever.
10329 (verilog-auto-reset, verilog-read-always-signals)
10330 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10331 temporary signals in reset list if
10332 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10333 style to each signal's assignment type, bug381.
10334 Reported by Thomas Esposito.
6288f0ca
WS
10335 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10336 (verilog-uvm-statement-re): Support UVM indentation and
10337 highlighting, with old OVM keywords only.
a1beca85 10338 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10339 Support AUTOTIEOFF creating non-wire data types.
10340 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10341 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10342 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10343 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10344 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10345 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10346 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10347 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10348 non-numeric vector width. Reported by Alex Reed.
10349 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10350 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10351 (verilog-auto-delete-trailing-whitespace):
10352 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10353 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10354 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10355 Fix verilog-scan-cache corruption when running user AUTO expansion
10356 hooks that call indentation routines.
10357 (verilog-simplify-range-expression): Fix typo ignoring lower case
10358 identifiers.
10359 (verilog-delete-auto): Fix delete-autos to also remove user created
10360 automatics, as long as they start with AUTO.
10361 (verilog-batch-diff-auto, verilog-diff-auto)
10362 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10363 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10364 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10365 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10366 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10367 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10368 is disabled and its cache will get corrupt, causing AUTOS not to
10369 expand. Instead use only -quick functions.
10370 (verilog-scan-region): Fix scanning over escaped quotes.
10371 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10372 (verilog-re-search-backward-quick)
10373 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10374 related functions now ignore strings, to fix misparsing of strings
10375 with magic comments embedded in them.
a1beca85
SM
10376 (verilog-read-auto-template):
10377 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10378 Reported by Brad Dobbie.
10379 (verilog-read-auto-template):
10380 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10381 Reported by Brad Dobbie.
6288f0ca
WS
10382 (verilog-auto-inst, verilog-auto-inst-param)
10383 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10384 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10385 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10386 debugging templates without merge conflicts, bug357.
10387 Reported by Brad Dobbie.
10388 (verilog-read-auto-template):
10389 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10390 Reported by Brad Dobbie.
10391 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10392 abbrevs so user won't be asked to save.
10393 (verilog-read-auto-lisp-present): Fix to start at beginning of
10394 buffer in case called outside of verilog-auto.
10395 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10396 to "X-2". Reported by Matthew Myers.
10397 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10398 all inputs from module templates. Reported by Leith Johnson.
10399 (verilog-module-inside-filename-p): Fix locating programs as with
10400 modules.
10401 (verilog-auto-inst-port): Fix vl-width expressions when using
10402 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10403 (verilog-decls-get-regs, verilog-decls-get-signals,
10404 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10405 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10406 verilog-read-decls): Combine reg and wire structures into one var
10407 structure to represent SystemVerilog concepts.
10408 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10409 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10410 (verilog-auto-wire-type, verilog-insert-definition):
10411 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10412 SystemVerilog "logic" keyword instead of "wire"/"reg".
10413 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10414 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10415 ifdef or generate if so there's not a driver conflict).
10416 Reported by Matthew Myers.
10417 (verilog-auto-declare-nettype, verilog-insert-definition):
10418 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10419 `default_nettype none. Reported by Julian Gorfajn.
10420 (verilog-read-always-signals-recurse, verilog-read-decls)
10421 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10422 malformed end statement, bug325. Reported by Joshua Wise and
10423 Andrew Drake.
10424 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10425 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10426 when expanding .* in interfaces, bug320.
10427 Reported by Pierre-David Pfister.
6288f0ca 10428 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10429 name and open parenthesis, bug317.
10430 Reported by Pierre-David Pfister.
6288f0ca
WS
10431 (verilog-simplify-range-expression): Fix simplification of
10432 multiplications inside AUTOWIRE connections, bug303.
10433 (verilog-auto-inst-port): Support parameter expansion in
10434 multidimensional arrays.
10435 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10436 after "assert property". Reported by Julian Gorfajn.
10437 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10438 with multiplication, bug303.
10439 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10440 Reported by Jan Frode Lonnum.
10441
1bbe96b2
GM
104422011-11-30 Juanma Barranquero <lekktu@gmail.com>
10443
10444 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10445 (hfy-shell-file-name, hfy-shell):
10446 * international/fontset.el (x-decompose-font-name): Fix typos.
10447
104482011-11-29 Ken Brown <kbrown@cornell.edu>
10449
10450 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10451 (gdb-version): Remove defvar.
10452 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10453 (gdb-gud-context-command, gdb-non-stop-handler)
10454 (gdb-current-context-command, gdb-stopped): Use it.
10455 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10456 (gdb-non-stop-handler): Don't enable pretty-printing here.
10457 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10458 non-stop mode. Use the following.
10459 (gdb-check-target-async): New defun.
10460 (gud-watch, gdb-stopped): Fix whitespace.
10461 (gdb-get-source-file): Don't try to display the source file if
10462 `gdb-main-file' is nil.
10463
104642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * align.el: Try to generate fewer markers (bug#10047).
10467 (align--set-marker): New macro.
10468 (align-region): Use it.
10469
c935221f
SM
104702011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10471
10472 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10473
e70b5064
CY
104742011-11-29 Chong Yidong <cyd@gnu.org>
10475
10476 * indent.el (indent-for-tab-command, indent-according-to-mode):
10477 Doc fix.
10478 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10479
f3af92b7
MA
104802011-11-29 Michael Albinus <michael.albinus@gmx.de>
10481
10482 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10483 aware of remote file names. (Bug#10124)
10484
ed472be9
CY
104852011-11-29 Chong Yidong <cyd@gnu.org>
10486
10487 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10488
24510c22
SM
104892011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * files.el (find-file): Don't use force-same-window (bug#10144).
10492 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10493 use pop-to-buffer if the selected window can't be used.
10494 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10495
c60c3703
EZ
104962011-11-28 Eli Zaretskii <eliz@gnu.org>
10497
10498 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10499 special-mode-map.
10500
e95def75
CY
105012011-11-28 Chong Yidong <cyd@gnu.org>
10502
10503 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10504
c3f1c606
NR
105052011-11-27 Nick Roberts <nickrob@snap.net.nz>
10506
10507 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10508 gdb-get-source-file-list on gdb-create-source-file-list.
10509
00db469c
EZ
105102011-11-26 Eli Zaretskii <eliz@gnu.org>
10511
10512 * whitespace.el (whitespace-newline): Use a different foreground
10513 color for 16-color light-background displays.
10514
4ad3bc2a
CY
105152011-11-24 Chong Yidong <cyd@gnu.org>
10516
10517 * window.el (display-buffer--special-action): Doc fix.
10518
e9fce1ac
JB
105192011-11-25 Juanma Barranquero <lekktu@gmail.com>
10520
10521 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10522 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10523 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10524 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10525 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10526 (avl-tree-stack-first):
10527 * emacs-lisp/cconv.el (cconv--analyse-use):
10528 * net/gnutls.el (gnutls-negotiate): Fix typos.
10529
cb825e5d
GM
105302011-11-24 Glenn Morris <rgm@gnu.org>
10531
3adbe224
GM
10532 * lpr.el (lpr-windows-system, lpr-lp-system):
10533 * mail/binhex.el (binhex-begin-line):
10534 * progmodes/grep.el (grep-history, grep-find-history):
10535 * textmodes/flyspell.el:
10536 * vc/pcvs-defs.el (cvs-global-menu):
10537 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10538 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10539 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10540
321decc8
GM
10541 * net/tls.el: Fix case of "GnuTLS".
10542
420b63ad
GM
10543 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10544
cb825e5d
GM
10545 * version.el (emacs-build-system): Give it a doc-string.
10546
a0649f08
JL
105472011-11-24 Juri Linkov <juri@jurta.org>
10548
10549 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10550
c0bc0fd4
GM
105512011-11-24 Glenn Morris <rgm@gnu.org>
10552
10553 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10554 if called on a non-mime message just toggle the headers. (Bug#8006)
10555
20db1522
JB
105562011-11-24 Juanma Barranquero <lekktu@gmail.com>
10557
10558 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10559 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10560 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10561 (allout-rebullet-heading, allout-open-sibtopic)
10562 (allout-toggle-current-subtree-encryption)
10563 (allout-toggle-subtree-encryption, allout-encrypt-string)
10564 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10565 (allout-distinctive-bullets-string, allout-auto-activation):
10566 * window.el (window-normalize-buffer-to-display):
10567 * progmodes/verilog-mode.el (verilog-batch-indent):
10568 * textmodes/bibtex.el (bibtex-field-braces-opt)
10569 (bibtex-field-strings-opt):
10570 * vc/cvs-status.el (cvs-tree-merge):
10571 Fix typos.
10572
7262a87c
MA
105732011-11-23 Michael Albinus <michael.albinus@gmx.de>
10574
10575 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10576 `non-essential' to t, in order to avoid remote connections.
10577
283430a1
EZ
105782011-11-23 Eli Zaretskii <eliz@gnu.org>
10579
a1beca85
SM
10580 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10581 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10582 case-insensitively.
10583
d2992a38
ML
105842011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10585
10586 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10587
50419064
GM
105882011-11-23 Glenn Morris <rgm@gnu.org>
10589
da94eca1
GM
10590 * paths.el (rmail-file-name): Reformat the doc-string so that it
10591 is picked up.
10592
9aac4de2
GM
10593 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10594 (rmail-auto-file): Ignore case in the "special" field names,
10595 as mail-fetch-field does for all others.
10596
8038d2d2
GM
10597 * mail/rmail.el (rmail-forward):
10598 * mail/rmailkwd.el (rmail-set-label):
10599 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10600 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10601
f3fe222a
GM
10602 * mail/rmail.el (rmail-current-message): Doc fix.
10603
50419064
GM
10604 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10605
28109f49
SM
106062011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10607
10608 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10609
394c65f1
GM
106102011-11-22 Glenn Morris <rgm@gnu.org>
10611
10612 * mail/rmailmm.el (test-rmail-mime-handler)
10613 (test-rmail-mime-bulk-handler)
10614 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10615
f2a0aa3a
JL
106162011-11-21 Juri Linkov <juri@jurta.org>
10617
1154d12e
JB
10618 * calc/calc.el (calc-read-key-sequence):
10619 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10620
9c34a344
LMI
106212011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10622
10623 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10624 Tell the caller that the next line needs recomputation, even
10625 though it doesn't start a sexp (bug#10094).
10626
f04a3be9
SM
106272011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10628
10629 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10630
7978747f
SM
106312011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10632
f04a3be9
SM
10633 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10634 Use force-same-window.
7978747f 10635
fe7a3057
JB
106362011-11-20 Juanma Barranquero <lekktu@gmail.com>
10637
10638 * descr-text.el (describe-char-unicode-data):
10639 * json.el (json-string-escape):
10640 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10641 (Footnote-unicode, Footnote-style-p):
10642 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10643
24901d61
CY
106442011-11-20 Chong Yidong <cyd@gnu.org>
10645
10646 * window.el (replace-buffer-in-windows): Restore interactive spec.
10647
bac7ff22
SM
106482011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10649
24f3d7b9
SM
10650 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10651
bac7ff22
SM
10652 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10653 (byte-compile-global-not-obsolete-vars): New var.
10654 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10655 Use it.
10656 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10657
cd1181db
JB
106582011-11-20 Juanma Barranquero <lekktu@gmail.com>
10659
10660 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10661 * progmodes/pascal.el (electric-pascal-equal):
10662 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10663 * xml.el (xml-substitute-special): Fix typos.
10664
7fb18e9e
GM
106652011-11-20 Glenn Morris <rgm@gnu.org>
10666
10667 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10668 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10669 Doc fixes.
10670 (rmail-decode-mime-charset): Mark as obsolete.
10671
10672 * mail/rmailsum.el (rmail-message-regexp-p-1):
10673 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10674 Before using mime functions, check they are set. (Bug#10077)
10675
d5a6b3ba
JL
106762011-11-19 Juri Linkov <juri@jurta.org>
10677
10678 * info.el (Info-finder-find-node): Use `package--builtins' instead
10679 of `package-alist'. Use node names formed by the pattern "Keyword "
10680 and the keyword name.
10681
e981b61f
AS
106822011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10683
1d00653d 10684 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10685
3ffbc301
JL
106862011-11-19 Juri Linkov <juri@jurta.org>
10687
10688 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10689 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10690 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10691 `old-history', `old-history-forward'. Add let-binding
10692 `window-selected'. Remove calls to `kill-buffer',
10693 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10694 before calling `Info-find-node', so `Info-find-node-2' will reread
10695 the Info file. Restore window positions only when `window-selected'
10696 is non-nil.
10697
30c62133
JL
106982011-11-19 Juri Linkov <juri@jurta.org>
10699
10700 * isearch.el (isearch-lazy-highlight-new-loop):
10701 Remove condition `(not isearch-error)'. (Bug#9918)
10702
10703 * misearch.el (multi-isearch-search-fun): Add condition
10704 `(not bound)' to ignore lazy-highlighting search.
10705 Add the search-failed message "end of multi" when the end of
10706 multi-sequence is reached. Uncapitalize the search-failed
10707 message "Repeat for next buffer".
10708
10709 * info.el (Info-search): Add the search-failed message
10710 "end of the manual" when the end of the manual is reached
10711 in Isearch mode.
10712
645ca9cf
JL
107132011-11-19 Juri Linkov <juri@jurta.org>
10714
10715 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10716 Use non-destructive `remove' instead of `delete' because
10717 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10718 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10719
df754f66
JL
107202011-11-19 Juri Linkov <juri@jurta.org>
10721
10722 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10723 to nil instead of binding `search-ring' and `regexp-search-ring'.
10724 (Bug#9185)
10725
0e23d96a
EZ
107262011-11-19 Eli Zaretskii <eliz@gnu.org>
10727
10728 * simple.el (line-move): Force movement by logical lines for any
10729 hscrolled window, not only when auto-hscroll-mode is on.
10730 (line-move-visual): Update doc string to that effect. (Bug#10076)
10731
8a6ccb66
AS
107322011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10733
10734 * language/european.el (macintosh): Define as alias for mac-roman.
10735
49ae5b39
EZ
107362011-11-19 Eli Zaretskii <eliz@gnu.org>
10737
10738 * mail/rmailmm.el (rmail-mime-display-header)
10739 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10740 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10741 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10742 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10743 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10744 of a raw aref.
10745 (rmail-mime-entity-segment): To get past the tagline, move forward
10746 2 more lines, to account for the 2 empty lines that precede and
10747 follow the line with the buttons.
10748 (rmail-mime-update-tagline): Move one more line, to get past the
10749 empty line that follows the buttons in the tagline. (Bug#9520)
10750
c56cad4a
MR
107512011-11-19 Martin Rudalics <rudalics@gmx.at>
10752
10753 * window.el (window-max-delta-1, window-min-delta-1)
10754 (window-min-size-1, window-state-get-1, window-state-put-1)
10755 (window-state-put-2): Use "window--" prefix.
10756
cbe71af3
SM
107572011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10758
2ad52c60
SM
10759 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10760 (smie-warning-count): New var.
10761 (smie-set-prec2tab): Use it.
10762 (smie-bnf->prec2): Improve warnings. Add docstring.
10763 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10764 (smie-bnf--set-class): New function.
10765 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10766 corner case.
10767
6944dbc1
SM
10768 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10769 (compilation-error-properties, compilation-move-to-column):
10770 Handle compilation-first-column while in the target buffer.
10771
c400c4d7
SM
10772 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10773 Don't hardcode point-min==1.
10774
6dbe3e96
SM
10775 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10776 (eshell-rewrite-for-command): Remove workaround.
10777 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10778 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10779 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10780
cbe71af3
SM
10781 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10782
a8e1496d
GM
107832011-11-17 Glenn Morris <rgm@gnu.org>
10784
10785 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10786 Ignore buffer-local generated-autoload-file if it is the same
10787 as the global value. (Bug#10049)
10788
df85d315
JB
107892011-11-17 Juanma Barranquero <lekktu@gmail.com>
10790
10791 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10792 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10793 (reftex-toc-previous-heading, reftex-toc-max-level)
10794 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10795 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10796 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10797 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10798 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10799 (reftex-toc-rename-label, reftex-toc-visit-location)
10800 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10801 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10802 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10803 leaving "*toc*" only for references to the buffer.
10804
a0c2d0ae
MR
108052011-11-17 Martin Rudalics <rudalics@gmx.at>
10806
10807 * window.el (window-resize, delete-window, split-window):
10808 Replace window-splits by window-combination-resize.
1d00653d 10809 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10810
35c0bac8
GM
108112011-11-17 Glenn Morris <rgm@gnu.org>
10812
10813 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10814 Make bash entry derive from sh entry, not shell entry.
10815
d0c8fc8a
MA
108162011-11-16 Michael Albinus <michael.albinus@gmx.de>
10817
7262a87c
MA
10818 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10819 local file name.
10820
7877f373
JB
108212011-11-16 Juanma Barranquero <lekktu@gmail.com>
10822
10823 * menu-bar.el (menu-bar-file-menu):
10824 * printing.el (pr-ps-utility):
10825 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10826 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10827 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10828 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10829 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10830 (icalendar--convert-cyclic-to-ical)
10831 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10832 (icalendar--convert-ical-to-diary)
10833 (icalendar--convert-recurring-to-diary)
10834 (icalendar--convert-non-recurring-all-day-to-diary)
10835 (icalendar-import-format-sample):
10836 * progmodes/idlw-shell.el (idlwave-shell-mode):
10837 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10838 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10839 (vhdl-ps-print-init): Fix typos.
10840
10649b82
KM
108412011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10842
9d0cfcd6
GM
10843 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10844 FSF and collapse date sequence, obscure author/maintainer email address
10845 better, remove extra version line, track relocation of author's webpage.
10649b82 10846
9d0cfcd6
GM
10847 * progmodes/python.el (python-pdbtrack-input-prompt)
10848 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10849 regular python pdb prompts. Adjustments shamelessly taken exactly as
10850 suggested in EmacsWiki page (tiny change):
10851 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10852
58179cce
JB
108532011-11-16 Juanma Barranquero <lekktu@gmail.com>
10854
10855 * expand.el (expand-pos, expand-index, expand-point):
10856 Remove redundant info from docstring.
10857 (expand-add-abbrevs): Doc fix.
10858 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10859 (expand-sample-perl-mode-expand-list): Fix typos.
10860
10861 * net/dbus.el (dbus-event-member-name):
10862 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10863 * term/pc-win.el (msdos-create-frame-with-faces):
10864 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10865
b6f67890
MR
108662011-11-16 Martin Rudalics <rudalics@gmx.at>
10867
10868 * window.el (split-window, window-state-get-1)
10869 (window-state-put-1, window-state-put-2): Rename occurrences of
10870 window-nest to window-combination-limit.
1d00653d 10871 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10872
ce7ddba0
CY
108732011-11-16 Chong Yidong <cyd@gnu.org>
10874
10875 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10876 regexp (Bug#10033).
10877
3ae704f4
SM
108782011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10881 `completing-read' will remove *Completions* and will preserve
10882 current-buffer for us.
10883 (tmm-add-prompt): Users of *Completions* will always (re)set its
10884 major mode.
10885 (tmm-old-comp-map): Remove.
10886
6ad1cdde
GM
108872011-11-16 Glenn Morris <rgm@gnu.org>
10888
10889 * mail/rmailedit.el: Require rmailmm when compiling.
10890 (rmail-old-mime-state): New declaration.
10891 (rmail-edit-current-message): If editing a mime message,
10892 edit the "raw" message from the mbox buffer.
10893 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10894
d20faa20
GM
108952011-11-15 Glenn Morris <rgm@gnu.org>
10896
10897 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10898 which wasn't being used. Add optional arg to force given state.
10899 (rmail-mime): Add optional arg to force given state.
10900
c7015153
JB
109012011-11-15 Juanma Barranquero <lekktu@gmail.com>
10902
10903 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10904 * frame.el (display-mm-dimensions-alist):
10905 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10906 (outline-move-subtree-down):
10907 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10908 (newsticker--treeview-do-get-node):
10909 * net/quickurl.el (quickurl-list-buffer-name):
10910 * progmodes/dcl-mode.el (dcl-mode):
10911 * progmodes/gdb-mi.el (gdb-mapcar*):
10912 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10913
45261b50
GM
109142011-11-15 Glenn Morris <rgm@gnu.org>
10915
10916 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10917 in a boolean sense, so just make it a boolean, and fix the doc.
10918 (rmail-show-mime-function, rmail-mime-feature)
10919 (rmail-require-mime-maybe): Doc fixes.
10920 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10921
10922 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10923
0d26e0b6
JB
109242011-11-15 Juanma Barranquero <lekktu@gmail.com>
10925
10926 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10927 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10928 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10929 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10930
447f30f6
GM
109312011-11-15 Glenn Morris <rgm@gnu.org>
10932
672b871d
GM
10933 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10934 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10935 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10936 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10937 (rmail-mime, rmail-show-mime): Doc fixes.
10938
f6aa5bb1
GM
10939 * term/ns-win.el (mode-line-frame-identification):
10940 Leave it alone. (Bug#10051)
10941
947cd66b
GM
10942 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10943
447f30f6
GM
10944 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10945 Handle empty buffers. (Bug#9978)
10946
0b381c7e
JB
109472011-11-14 Juanma Barranquero <lekktu@gmail.com>
10948
10949 * international/mule.el (define-charset):
10950 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10951 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10952 * progmodes/verilog-mode.el (verilog-backward-token):
10953 * textmodes/ispell.el (lookup-words):
10954 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10955
71e027ac
GM
109562011-11-14 Glenn Morris <rgm@gnu.org>
10957
56632ce4
GM
10958 * progmodes/executable.el
10959 (executable-make-buffer-file-executable-if-script-p):
10960 Handle file-modes returning nil.
10961
40500957
GM
10962 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10963 message - not necessary, and causes problems. (Bug#9831)
10964
071c2340
GM
10965 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10966
d3cfca60
GM
10967 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10968
71e027ac
GM
10969 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10970 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10971 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10972
89d61221
MR
109732011-11-12 Martin Rudalics <rudalics@gmx.at>
10974
10975 * window.el (window-resize, delete-window): Use window-splits
10976 variable instead of function.
10977 (window-state-get-1, window-state-put-2, window-state-put):
10978 Don't deal with windows' splits status.
10979
98282f6f
GM
109802011-11-12 Glenn Morris <rgm@gnu.org>
10981
10982 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10983 (apropos-documentation): Doc fixes.
10984
40a8bdf6
JB
109852011-11-11 Juanma Barranquero <lekktu@gmail.com>
10986
10987 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10988 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10989
65bd19ff
SM
109902011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * electric.el (electric-indent-post-self-insert-function): Make it
10993 possible for a char to only indent in some circumstances.
10994 (electric-indent-mode): Simplify.
10995
54f9154c
MR
109962011-11-11 Martin Rudalics <rudalics@gmx.at>
10997
10998 * window.el (windows-with-parameter): Remove unused function.
10999 (windows-at-side): Rename to window-at-side-list.
11000 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11001 (window-side-check, window-size-ignore, window-size-fixed-1)
11002 (window-in-direction-2): Prefix with "window--".
11003 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11004
68cbc58b
GM
110052011-11-11 Glenn Morris <rgm@gnu.org>
11006
11007 * subr.el (eval-after-load): If FILE is already loaded,
11008 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11009
b2621720
GM
110102011-11-10 Glenn Morris <rgm@gnu.org>
11011
9a4de110
GM
11012 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11013 Call svn via vc-svn-command rather than vc-do-command.
11014 (vc-svn-command): Add --non-interactive. (Bug#9993)
11015 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11016
b2621720
GM
11017 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11018 Add toggle-read-only. (Bug#7292)
11019 * files.el (toggle-read-only): Mention that it should only
11020 be used interactively. (Bug#10006)
11021
1dce7193
SM
110222011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11023
d9ac1a1e
SM
11024 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11025 Adjust regexp for OCaml warnings.
11026
0c325082
SM
11027 * electric.el (electric-pair-post-self-insert-function): Let user
11028 turn it off buffer-locally (bug#9932).
11029
90132c14
SM
11030 * progmodes/python.el (python-beginning-of-statement):
11031 Rewrite (bug#2703).
11032
1dce7193
SM
11033 * progmodes/compile.el: Better handle TABs (bug#9749).
11034 (compilation-internal-error-properties)
11035 (compilation-next-error-function): Obey the target buffer's
11036 compilation-error-screen-columns.
11037
c4e7c63a
JB
110382011-11-09 Juanma Barranquero <lekktu@gmail.com>
11039
11040 * progmodes/meta-mode.el: Remove obsolete comments.
11041 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11042 Fix typos in docstrings.
11043
2cffd681
MR
110442011-11-09 Martin Rudalics <rudalics@gmx.at>
11045
11046 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11047 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11048 (window--resizable): New function. Make all callers of
11049 window-resizable call window--resizable instead.
11050 (window-resizable): Rewrite in terms of window--resizable.
11051
0edcba87
GM
110522011-11-08 Glenn Morris <rgm@gnu.org>
11053
11054 * progmodes/delphi.el (delphi-mode-syntax-table):
11055 Let define-derived-mode define a proper syntax table. (Bug#9994)
11056
4b0d61e3
SM
110572011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * window.el: Stay away from defsubst.
11060 (window-list-no-nils): Remove.
11061 (window-state-get-1, window-state-get): Use backquote instead.
11062
cd394be1 110632011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11064
4b0d61e3 11065 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11066 Fix incorrect use of default argument in `completing-read'.
11067
e1c2c6f2
MR
110682011-11-08 Martin Rudalics <rudalics@gmx.at>
11069
11070 * window.el (display-buffer-function, special-display-function):
11071 Mention display-buffer-record-window but do not mention
11072 help-setup parameter in doc-strings.
b3f4a882 11073 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11074
105216ed
CY
110752011-11-08 Chong Yidong <cyd@gnu.org>
11076
11077 * window.el (window-total-height, window-total-width): Doc fix.
11078 (window-body-size): Move from C.
11079 (window-body-height, window-body-width): Move to C.
11080
0a9f9ab5
SM
110812011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * window.el: Make special-display like display-buffer-alist (bug#9532).
11084 (display-buffer--special-action): New function, morphed
11085 from display-buffer--special.
11086 (display-buffer): Use it to handle special-display-buffers at higher
11087 priority (just after display-buffer-alist).
11088 (display-buffer-fallback-action, display-buffer--other-frame-action)
11089 (pop-to-buffer-same-window): Remove display-buffer--special.
11090
a769dd15
GM
110912011-11-07 Glenn Morris <rgm@gnu.org>
11092
11093 * calendar/cal-menu.el (cal-menu-set-date-title):
11094 Do nothing if not in a calendar. (Bug#9976)
11095
05a61ee3
SM
110962011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11097
11098 * files.el (find-file): Always use selected-window.
11099
be7f5545
MR
111002011-11-07 Martin Rudalics <rudalics@gmx.at>
11101
11102 * window.el (window-combinations): Make WINDOW argument
11103 mandatory. Rewrite doc-string.
11104 (walk-window-subtree, window-atom-check, window-min-delta)
11105 (window-max-delta, window--resize-this-window)
11106 (window--resize-root-window-vertically, window-tree)
11107 (balance-windows, window-state-put): Rewrite doc-strings as to
11108 not mention the term "subwindow".
11109 (window--resize-subwindows-skip-p): Rename to
11110 window--resize-child-windows-skip-p.
11111 (window--resize-subwindows-normal): Rename to
11112 window--resize-child-windows-normal.
11113 (window--resize-subwindows): Rename to
11114 window--resize-child-windows.
11115 (window-or-subwindow-p): Rename to window--in-subtree-p.
11116
3c6702ef
ML
111172011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11118
11119 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11120 Ensure that mbox format messages end in two newlines (Bug#9974).
11121
49745b39
CY
111222011-11-06 Chong Yidong <cyd@gnu.org>
11123
11124 * window.el (window-combination-p): Function deleted; its
11125 side-effect is not used in any existing code.
11126 (window-combinations, window-combined-p): Call window-*-child
11127 directly.
11128
24300f5f
CY
111292011-11-05 Chong Yidong <cyd@gnu.org>
11130
11131 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11132 (window-size-ignore, window-state-get): Callers changed.
11133 (window-normalize-window): Rename from window-normalize-any-window.
11134 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11135 (window-normalize-live-window): Delete.
447f16b8
CY
11136 (window-combination-p, window-combined-p, window-combinations)
11137 (walk-window-subtree, window-atom-root, window-min-size)
11138 (window-sizable, window-sizable-p, window-size-fixed-p)
11139 (window-min-delta, window-max-delta, window-resizable)
11140 (window-resizable-p, window-full-height-p, window-full-width-p)
11141 (window-current-scroll-bars, window-point-1, set-window-point-1)
11142 (window-at-side-p, window-in-direction, window-resize)
11143 (adjust-window-trailing-edge, maximize-window, minimize-window)
11144 (window-deletable-p, delete-window, delete-other-windows)
11145 (record-window-buffer, unrecord-window-buffer)
11146 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11147 (quit-window, split-window, window-state-put)
11148 (set-window-text-height, fit-window-to-buffer)
11149 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11150
89bd5ee1
EZ
111512011-11-04 Eli Zaretskii <eliz@gnu.org>
11152
53479029
EZ
11153 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11154 rfc2047-decode-string.
11155 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11156 warnings.
11157
89bd5ee1
EZ
11158 * window.el (window-body-height, window-body-width): Mention in
11159 the doc string that the return values are in frame's canonical
11160 units. (Bug#9949)
11161
bd17fdee
AM
111622011-11-03 Alan Mackenzie <acm@muc.de>
11163
11164 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11165 change in cc-engine.el.
11166
acc825c5
SM
111672011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11168
11169 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11170
1885e5b8
MR
111712011-11-02 Martin Rudalics <rudalics@gmx.at>
11172
11173 * window.el (quit-window): Call unrecord-window-buffer after
11174 showing another buffer in the window. (Bug#9937)
acc825c5 11175 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11176
ebe06da9
JB
111772011-11-02 Juanma Barranquero <lekktu@gmail.com>
11178
11179 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11180 Accept status with more than 9 shelves. (Bug#9935)
11181 Reported by Colin D Bennett <colin@gibibit.com>.
11182
4ee88440
MR
111832011-11-01 Martin Rudalics <rudalics@gmx.at>
11184
11185 * help.el (with-help-window): Don't reference
11186 temp-buffer-show-specifiers in doc-string.
11187
08e1d82c
AS
111882011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11189
11190 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11191 menu-item.
11192
84bd6e9e
VJL
111932011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11194
11195 * whitespace.el: New version 13.2.2.
11196 (whitespace-newline-mode): Disable properly. Reported by Sarah
11197 <EmacsWiki>.
11198
dba0634a
UJ
111992011-10-30 Ulf Jasper <ulf.jasper@web.de>
11200
11201 * net/newst-treeview.el: Remove "Time-stamp".
11202 (newsticker--group-manage-orphan-feeds): Do not call
11203 newsticker--treeview-tree-update.
db22a3c2
JB
11204 (newsticker-treeview-update, newsticker-treeview):
11205 Call newsticker--treeview-tree-update if necessary.
dba0634a 11206
3d8daefe
MR
112072011-10-30 Martin Rudalics <rudalics@gmx.at>
11208
11209 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11210 (window-iso-combinations): Remove "iso-" infix.
11211 Suggested by Chong Yidong.
3d8daefe
MR
11212 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11213 (window-max-delta-1, window-resize, window--resize-siblings)
11214 (window--resize-this-window, adjust-window-trailing-edge)
11215 (split-window, balance-windows-1)
11216 (shrink-window-if-larger-than-buffer):
11217 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11218 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11219
1bc4c3ae
SM
112202011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11223 in place (bug#9907).
11224 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11225 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11226 (eshell-structure-basic-command, eshell-rewrite-while-command)
11227 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11228 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11229 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11230 (eshell-do-pipelines-synchronously, eshell-eval-command):
11231 Use backquotes and prefer setq to set.
11232 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11233 (eshell-macrop): Use functionp.
c1e2f5fa 11234 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11235
30b65d9c
CY
112362011-10-30 Chong Yidong <cyd@gnu.org>
11237
11238 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11239 instead of set-mark (Bug#9810).
11240
2d197ffb
CY
112412011-10-30 Chong Yidong <cyd@gnu.org>
11242
11243 * window.el (split-window-below, split-window-right): Rename from
11244 split-window-above-each-other and split-window-side-by-side
11245 respectively. All callers changed.
11246 (split-window-sensibly, split-window-sensibly): Use them.
11247 (split-window-keep-point): Doc fix.
11248
11249 * isearch.el: Add isearch-scroll property to split-window-below
11250 and split-window-right.
11251
11252 * follow.el (follow-mode):
11253 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11254 * progmodes/ada-xref.el (ada-gdb-application):
11255 * emulation/vip.el (vip-buffer-in-two-windows):
11256 * image-dired.el (image-dired-dired-with-window-configuration):
11257 * dired-x.el (dired-do-find-marked-files):
11258 * dired.el (dired-pop-to-buffer):
11259 * bs.el (bs--show-with-configuration):
11260 * vc/emerge.el (emerge-setup-windows):
11261 * textmodes/two-column.el (2C-two-columns):
11262 * textmodes/reftex-toc.el (reftex-toc):
11263 * progmodes/gdb-mi.el (gdb-setup-windows):
11264 * progmodes/fortran.el (fortran-window-create):
11265 * net/newst-treeview.el (newsticker--treeview-window-init):
11266 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11267 * emulation/tpu-edt.el (tpu-gold-map):
11268 * emulation/crisp.el (crisp-mode-map):
11269 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11270
38bb2ca8
CY
112712011-10-29 Chong Yidong <cyd@gnu.org>
11272
aa4de341
CY
11273 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11274
e1eb5385
CY
11275 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11276
5d2ece3c
CY
11277 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11278 forged Ispell output (Bug#7904).
11279
38bb2ca8
CY
11280 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11281
d0af9f77
SM
112822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * doc-view.el: Avoid ugly errors about not finding nil.
11285 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11286 (doc-view-dvipdf-program, doc-view-unoconv-program)
11287 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11288 Avoid nil or absolute file name as default value.
11289 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11290
52bedd34
AM
112912011-10-28 Alan Mackenzie <acm@muc.de>
11292
db22a3c2 11293 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11294
7e43cfa5
AM
112952011-10-28 Alan Mackenzie <acm@muc.de>
11296
11297 Amend the handling of c-beginning/end-of-defun in nested declaration
11298 scopes.
11299
52bedd34
AM
11300 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11301 cc-langs.el. Change it to a defcustom.
7e43cfa5 11302
52bedd34
AM
11303 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11304 cc-vars.el.
7e43cfa5 11305
d0af9f77
SM
11306 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11307 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11308
52bedd34 11309 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11310 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11311 (c-widen-to-enclosing-decl-scope): New function.
11312 (c-while-widening-to-decl-block): New macro.
11313 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11314 outward for defun boundaries, and correspondingly change symbol
11315 `respect-enclosure' to `go-outward'.
11316 (c-declaration-limits): Change algorithm to report only the "innermost"
11317 defun's boundaries.
11318
1a2ce9ee
DD
113192011-10-28 Deniz Dogan <deniz@dogan.se>
11320
11321 * net/rcirc.el (rcirc-mode): Use hard newlines.
11322
bc97a826
AM
113232011-10-28 Alan Mackenzie <acm@muc.de>
11324
11325 Amend to indent and fontify macros "which include their own semicolon"
11326 correctly, using the "virtual semicolon" mechanism.
11327
52bedd34 11328 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11329
d0af9f77 11330 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11331 Recode to scan one line at a time rather than having \n and \r
58179cce 11332 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11333 (c-forward-label): Amend for virtual semicolons.
58179cce 11334 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11335
52bedd34
AM
11336 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11337 of the new C macros.
bc97a826 11338
52bedd34 11339 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11340 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11341 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11342 (c-opt-cpp-macro-define): Make into a full language variable.
11343 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11344 AWK Mode (including \n, \r) removed, no longer needed.
11345
d0af9f77
SM
11346 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11347 Invoke c-make-macro-with-semi-re.
bc97a826 11348
52bedd34
AM
11349 * progmodes/cc-vars.el (c-macro-with-semi-re):
11350 (c-macro-names-with-semicolon): New variables.
58179cce 11351 (c-make-macro-with-semi-re): New function.
bc97a826 11352
7a6c0941
SM
113532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * vc/log-edit.el: Fill empty field rather than adding new one.
11356 (log-edit-add-field): New function.
11357 (log-edit-insert-changelog): Use it.
11358
b0c4cdcf
ML
113592011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11360
11361 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11362
ee1f1da9
SM
113632011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11366 (gdb--check-interpreter): New function.
11367 (gdb): Use it.
11368
51bc5f8b
GM
113692011-10-27 Glenn Morris <rgm@gnu.org>
11370
416a2c45
GM
11371 * emacs-lisp/cl-extra.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):
11375 Remove unnecessary declarations.
11376
11377 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11378 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11379 (least-positive-float, least-negative-float)
11380 (least-positive-normalized-float, least-negative-normalized-float)
11381 (float-epsilon, float-negative-epsilon): Add doc-strings,
11382 based on those in cl.texi.
11383
51bc5f8b
GM
11384 * files.el (set-visited-file-name): If the major-mode changed,
11385 reload the local variables. (Bug#9796)
11386
15de15c6
CY
113872011-10-27 Chong Yidong <cyd@gnu.org>
11388
11389 * subr.el (change-major-mode-after-body-hook): New hook.
11390 (run-mode-hooks): Run it.
11391
ee1f1da9
SM
11392 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11393 Use change-major-mode-before-body-hook.
15de15c6
CY
11394
11395 * simple.el (fundamental-mode):
11396 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11397 change introducing fundamental-mode-hook.
11398
5430d399
JB
113992011-10-26 Juanma Barranquero <lekktu@gmail.com>
11400
acc825c5 11401 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11402
ad74a69e
MA
114032011-10-26 Michael Albinus <michael.albinus@gmx.de>
11404
11405 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11406 tramp.el explicitly. (Bug#7583)
ad74a69e 11407
71d4c2a5
SM
114082011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11409
11410 * progmodes/octave-mod.el:
11411 * progmodes/octave-inf.el: Update maintainer.
11412
b1f6fa26
CY
114132011-10-26 Chong Yidong <cyd@gnu.org>
11414
11415 * subr.el (with-wrapper-hook): Rewrite doc.
11416
3f04efd6
MA
114172011-10-25 Michael Albinus <michael.albinus@gmx.de>
11418
11419 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11420 filenames "/method:foo:". (Bug#9793)
3f04efd6 11421
410488d3
SM
114222011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11425 (bug#9865).
11426
c1ebb47e
GM
114272011-10-24 Glenn Morris <rgm@gnu.org>
11428
11429 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11430
7f5c46c7
MA
114312011-10-24 Michael Albinus <michael.albinus@gmx.de>
11432
11433 * notifications.el: Add the requirement of a running D-Bus session
11434 bus to the Commentary.
11435
db2440b6
JL
114362011-10-24 Juri Linkov <juri@jurta.org>
11437
11438 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11439 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11440 (Bug#9364)
11441
feecf435
JL
114422011-10-24 Juri Linkov <juri@jurta.org>
11443
11444 * info.el (Info-following-node-name-re): Add newline to the list
11445 of allowed characters for leading space. (Bug#9824)
11446
a3839de2
SM
114472011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11448
acc825c5
SM
11449 * progmodes/octave-inf.el (inferior-octave-mode-map):
11450 Fix C-c C-h binding.
a3839de2
SM
11451 * progmodes/octave-mod.el (octave-help): Remove.
11452
09388e76
MA
114532011-10-23 Michael Albinus <michael.albinus@gmx.de>
11454
11455 Sync with Tramp 2.2.3.
11456
11457 * net/tramp-cache.el (top): Pacify byte-compiler using
11458 `init-file-user' and `site-run-file'.
11459
11460 * net/trampver.el: Update release number.
11461
86c60681
CY
114622011-10-23 Chong Yidong <cyd@gnu.org>
11463
11464 * files.el (toggle-read-only): Remove obsolete comment about
11465 version control.
11466
11467 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11468 for toggle-read-only. Note that this hasn't called vc-next-action
11469 since 2008-05-02, though it wasn't documented at the time.
11470
a3839de2
SM
11471 * vc/ediff-init.el (ediff-toggle-read-only-function):
11472 Use toggle-read-only.
86c60681 11473
cd5495ff
AM
114742011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11475
11476 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11477 of c-parse-state.
11478
00b77525 11479 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11480 correct faulty logical expression.
cd5495ff
AM
11481 (c-parse-state-state, c-record-parse-state-state):
11482 (c-replay-parse-state-state): New defvar/defuns.
11483 (c-debug-parse-state): Use new functions.
11484
42ee24ed
MR
114852011-10-22 Martin Rudalics <rudalics@gmx.at>
11486
11487 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11488 last fix. Use window-in-direction correctly.
42ee24ed 11489
a7dee7e7
CY
114902011-10-21 Chong Yidong <cyd@gnu.org>
11491
11492 * progmodes/idlwave.el (idlwave-mode):
11493 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11494 require-final-newline; that's done in prog-mode.
11495 Suggested by Stefan Monnier.
a7dee7e7 11496
e07b9a6d
MR
114972011-10-21 Martin Rudalics <rudalics@gmx.at>
11498
11499 * mouse.el (mouse-drag-window-above)
11500 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11501 (mouse-drag-mode-line-1, mouse-drag-header-line)
11502 (mouse-drag-vertical-line-rightward-window): Remove.
11503 (mouse-drag-line): New function.
11504 (mouse-drag-mode-line, mouse-drag-header-line)
11505 (mouse-drag-vertical-line): Call mouse-drag-line.
11506 * window.el (window-at-side-p, windows-at-side): New functions.
11507
7e1361d9
UM
115082011-10-21 Ulrich Mueller <ulm@gentoo.org>
11509
11510 * tar-mode.el (tar-grind-file-mode):
11511 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11512
30fcaf3a
CY
115132011-10-21 Chong Yidong <cyd@gnu.org>
11514
11515 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11516 * progmodes/vera-mode.el (vera-mode):
11517 Use mode-require-final-newline.
30fcaf3a 11518
516eddb0
GM
115192011-10-20 Glenn Morris <rgm@gnu.org>
11520
db22a3c2 11521 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11522
10d5f513
CS
115232011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11524
11525 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11526
ac6c8639
CY
115272011-10-20 Chong Yidong <cyd@gnu.org>
11528
11529 * emulation/cua-base.el (cua-mode):
11530 * mail/footnote.el (footnote-mode):
11531 * mail/mailabbrev.el (mail-abbrevs-mode):
11532 * net/xesam.el (xesam-minor-mode):
11533 * progmodes/bug-reference.el (bug-reference-mode):
11534 * progmodes/cap-words.el (capitalized-words-mode):
11535 * progmodes/compile.el (compilation-minor-mode)
11536 (compilation-shell-minor-mode):
11537 * progmodes/gud.el (gud-tooltip-mode):
11538 * progmodes/hideif.el (hide-ifdef-mode):
11539 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11540 * progmodes/subword.el (subword-mode):
11541 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11542 * progmodes/which-func.el (which-function-mode):
11543 * term/tvi970.el (tvi970-set-keypad-mode):
11544 * term/vt100.el (vt100-wide-mode):
11545 * textmodes/flyspell.el (flyspell-mode):
11546 * textmodes/ispell.el (ispell-minor-mode):
11547 * textmodes/nroff-mode.el (nroff-electric-mode):
11548 * textmodes/paragraphs.el (use-hard-newlines):
11549 * textmodes/refill.el (refill-mode):
11550 * textmodes/reftex.el (reftex-mode):
11551 * textmodes/rst.el (rst-minor-mode):
11552 * textmodes/sgml-mode.el (html-autoview-mode)
11553 (sgml-electric-tag-pair-mode):
11554 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11555 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11556 * emulation/crisp.el (crisp-mode):
11557 * emacs-lisp/eldoc.el (eldoc-mode):
11558 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11559 minor mode behavior.
11560
aa42ab43
JL
115612011-10-19 Juri Linkov <juri@jurta.org>
11562
11563 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11564 the list of hard-coded chars with escape-glyph face.
11565
89400f1d
SM
115662011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11569
305c07f6
MA
115702011-10-19 Michael Albinus <michael.albinus@gmx.de>
11571
11572 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11573 running process.
11574
13754b54
GM
115752011-10-19 Glenn Morris <rgm@gnu.org>
11576
11577 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11578 Ignore ignored files. (Bug#9726)
11579
06e21633
CY
115802011-10-19 Chong Yidong <cyd@gnu.org>
11581
11582 Doc fix for minor modes, stating that an omitted argument enables
11583 the mode unconditionally when called from Lisp.
11584
11585 * abbrev.el (abbrev-mode):
11586 * allout.el (allout-mode):
11587 * autoinsert.el (auto-insert-mode):
11588 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11589 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11590 (global-auto-revert-mode):
11591 * battery.el (display-battery-mode):
11592 * composite.el (global-auto-composition-mode)
11593 (auto-composition-mode):
11594 * delsel.el (delete-selection-mode):
11595 * desktop.el (desktop-save-mode):
11596 * dired-x.el (dired-omit-mode):
11597 * dirtrack.el (dirtrack-mode):
11598 * doc-view.el (doc-view-minor-mode):
11599 * double.el (double-mode):
11600 * electric.el (electric-indent-mode, electric-pair-mode):
11601 * emacs-lock.el (emacs-lock-mode):
11602 * epa-hook.el (auto-encryption-mode):
11603 * follow.el (follow-mode):
11604 * font-core.el (font-lock-mode):
11605 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11606 * help.el (temp-buffer-resize-mode):
11607 * hilit-chg.el (highlight-changes-mode)
11608 (highlight-changes-visible-mode):
11609 * hi-lock.el (hi-lock-mode):
11610 * hl-line.el (hl-line-mode, global-hl-line-mode):
11611 * icomplete.el (icomplete-mode):
11612 * ido.el (ido-everywhere):
11613 * image-file.el (auto-image-file-mode):
11614 * image-mode.el (image-minor-mode):
11615 * iswitchb.el (iswitchb-mode):
11616 * jka-cmpr-hook.el (auto-compression-mode):
11617 * linum.el (linum-mode):
11618 * longlines.el (longlines-mode):
11619 * master.el (master-mode):
11620 * mb-depth.el (minibuffer-depth-indicate-mode):
11621 * menu-bar.el (menu-bar-mode):
11622 * minibuf-eldef.el (minibuffer-electric-default-mode):
11623 * mouse-sel.el (mouse-sel-mode):
11624 * msb.el (msb-mode):
11625 * mwheel.el (mouse-wheel-mode):
11626 * outline.el (outline-minor-mode):
11627 * paren.el (show-paren-mode):
11628 * recentf.el (recentf-mode):
11629 * reveal.el (reveal-mode, global-reveal-mode):
11630 * rfn-eshadow.el (file-name-shadow-mode):
11631 * ruler-mode.el (ruler-mode):
11632 * savehist.el (savehist-mode):
11633 * scroll-all.el (scroll-all-mode):
11634 * scroll-bar.el (scroll-bar-mode):
11635 * server.el (server-mode):
11636 * shell.el (shell-dirtrack-mode):
11637 * simple.el (auto-fill-mode, transient-mark-mode)
11638 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11639 (line-number-mode, column-number-mode, size-indication-mode)
11640 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11641 * strokes.el (strokes-mode):
11642 * time.el (display-time-mode):
11643 * t-mouse.el (gpm-mouse-mode):
11644 * tool-bar.el (tool-bar-mode):
11645 * tooltip.el (tooltip-mode):
11646 * type-break.el (type-break-mode-line-message-mode)
11647 (type-break-query-mode):
11648 * view.el (view-mode):
11649 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11650 (global-whitespace-mode, global-whitespace-newline-mode):
11651 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11652
a3839de2
SM
11653 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11654 Fix autogenerated docstring.
06e21633 11655
5214e501
JL
116562011-10-19 Juri Linkov <juri@jurta.org>
11657
11658 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11659 by checking environment variables "DESKTOP_SESSION" and
11660 "XDG_CURRENT_DESKTOP". (Bug#9779)
11661
195f8db9
JL
116622011-10-19 Juri Linkov <juri@jurta.org>
11663
11664 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11665 (browse-url-chromium-program, browse-url-chromium-arguments):
11666 New defcustoms.
11667 (browse-url-default-browser): Check for `browse-url-chromium' and
11668 call `browse-url-chromium-program'.
11669 (browse-url-chromium): New command. (Bug#9779)
11670
343a34ff
JB
116712011-10-18 Juanma Barranquero <lekktu@gmail.com>
11672
11673 * facemenu.el (list-colors-duplicates): On Windows, detect more
11674 duplicates by assuming that only colors matching "^System" are
11675 special "system colors". (Bug#9722)
11676
6978a151
SM
116772011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11680 to distinguish the author from the committer.
11681
6a80b297
MA
116822011-10-18 Michael Albinus <michael.albinus@gmx.de>
11683
11684 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11685
b31a5677
JK
116862011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11687
11688 * international/mule.el (sgml-html-meta-auto-coding-function):
11689 Add support for detecting encoding in HTML5 specified only as
11690 <meta charset="UTF-8">. Implementation just makes http-equiv and
11691 content-type parts from HTML4 encoding string optional. (Bug#9716)
11692
80c6d77f
GM
116932011-10-18 Glenn Morris <rgm@gnu.org>
11694
11695 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11696
08b0fee8
CY
116972011-10-18 Chong Yidong <cyd@gnu.org>
11698
11699 * faces.el (cursor): Doc fix.
11700
67e729a5
CY
117012011-10-17 Chong Yidong <cyd@gnu.org>
11702
11703 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11704
343a34ff 117052011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11706
11707 * dirtrack.el (dirtrack): Support shell buffers with path
11708 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11709
0bc06380
TZ
117102011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11711
11712 * json.el: Bump version to 1.3 and note change in History.
11713 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11714
8b79f3e0
SM
117152011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11716
5a7c536b
SM
11717 * comint.el (comint-insert-input, comint-send-input)
11718 (comint-get-old-input-default, comint-backward-matching-input)
11719 (comint-next-prompt): Use nil instead of `input' for field property of
11720 past user input (bug#114).
11721
96a8a0df
SM
11722 * minibuffer.el (completion--replace): Inherit surrounding properties
11723 (bug#114).
11724 (minibuffer-complete-and-exit): Use it.
11725
8b79f3e0
SM
11726 * comint.el (comint--table-subvert): Quote the all-completions output
11727 (bug#9160).
11728
b8f7ff0d
MR
117292011-10-17 Martin Rudalics <rudalics@gmx.at>
11730
8b79f3e0 11731 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11732
b8f7ff0d 11733 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11734 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11735 entries and separate them from frame entries.
11736
c235b555
GM
117372011-10-15 Glenn Morris <rgm@gnu.org>
11738
11739 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11740 Doc fixes.
11741
6bbfa6e1
CY
117422011-10-15 Chong Yidong <cyd@stupidchicken.com>
11743
8b79f3e0
SM
11744 * net/network-stream.el (network-stream-open-starttls):
11745 Improve detection of failure due to lack of TLS support.
ec5c990d 11746
6bbfa6e1
CY
11747 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11748 putting the input text in front and in bold.
11749
98488977
SM
117502011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11751
3d1337be
SM
11752 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11753
ee0b45e4
SM
11754 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11755 empty buffer.
11756
98488977
SM
11757 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11758 unread-command-events rather than pushing yet-another event.
11759
186f4720
EZ
117602011-10-14 Eli Zaretskii <eliz@gnu.org>
11761
11762 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11763 the explanation of the possible choices. Make the options passed
11764 to completing-read shorter.
11765
8b7a997c
AM
117662011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11767
11768 * textmodes/flyspell.el (flyspell-large-region): Make sure
11769 extended character mode is used if defined (Bug#1339).
11770
12587bbb
EZ
117712011-10-13 Eli Zaretskii <eliz@gnu.org>
11772
11773 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11774 character info for LRE, LRO, RLE, and RLO characters by appending
11775 an invisible PDF.
12587bbb 11776
bad41229
SM
117772011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11780 even in case of error; add debug spec; simplify data flow.
11781 (with-timeout-handler): Remove.
11782
28dbc92f
MA
117832011-10-12 Michael Albinus <michael.albinus@gmx.de>
11784
11785 Fix Bug#6019, Bug#9315.
11786
11787 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11788 complete `buffer-file-name', the local file name part could look
11789 remotely (for example on VMS).
11790
11791 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11792 `tramp-run-real-handler'.
11793 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11794 already quoted by '"'.
11795
11796 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11797 Let `file-name-handler-alist' be nil, the local file name part
11798 could look remotely (for example on VMS).
11799
e1b0b23a
SM
118002011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11803 from here...
11804 (flyspell-post-command-hook): ...to here.
11805
a120bde9
SM
118062011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11807
11808 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11809 if not needed.
11810 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11811 using completion. Protect against "slow" callers.
11812 Remove the "message hack".
11813
7ce7717b
JL
118142011-10-11 Juri Linkov <juri@jurta.org>
11815
11816 * isearch.el (isearch-lazy-highlight-word): New variable.
11817 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11818 Use it. (Bug#9727)
11819
c02ee9d6
GM
118202011-10-11 Glenn Morris <rgm@gnu.org>
11821
11822 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11823 like f90-previous-statement does.
11824
93e616fd 118252011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11826
1f190e73 11827 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11828 only in interactive use, to avoid error.
11829
af7b6078
SM
118302011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * minibuffer.el (completion-file-name-table): Fix last change,
11833 i.e. ignore normal errors but not the other ones.
11834
0563dae9
MR
118352011-10-10 Martin Rudalics <rudalics@gmx.at>
11836
11837 * window.el (special-display-buffer-names)
11838 (special-display-regexps): Remove some remnants of earlier
11839 changes from doc-strings.
366ca7f3
MR
11840 (quit-windows-on): New function.
11841
11842 * vc/vc.el (vc-revert, vc-rollback):
11843 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11844 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11845 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11846
49677495
MR
118472011-10-09 Martin Rudalics <rudalics@gmx.at>
11848
11849 * window.el (frame-auto-hide-function): Add version tag.
11850 (Bug#9699)
11851
56f2d1e1
MA
118522011-10-09 Michael Albinus <michael.albinus@gmx.de>
11853
11854 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11855 condition.
11856
112a6592
LL
118572011-10-09 Leo Liu <sdl.web@gmail.com>
11858
11859 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11860 (Bug#9701)
11861
0812589b
GM
118622011-10-08 Glenn Morris <rgm@gnu.org>
11863
11864 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11865 before the first code statement zero indent. (Bug#9690)
11866
b2b0776e
CY
118672011-10-08 Chong Yidong <cyd@stupidchicken.com>
11868
11869 * simple.el (count-words-region): Always count in the region.
11870 Report the number of lines and characters too.
11871 (count-words): New command, which counts in the buffer if the
11872 region is inactive, as count-words-region used to.
11873 (count-words--message): New function. Handle plurals.
11874 (count-lines-region): Make it an alias for count-words-region.
11875
11876 * bindings.el (esc-map): Replace count-lines-region with
11877 count-words-region.
11878
c557cd6b
MR
118792011-10-08 Martin Rudalics <rudalics@gmx.at>
11880
11881 * window.el (window--delete): Delete dedicated frame
11882 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11883 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11884
61a57ef4 118852011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11886
3a7d293b 11887 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11888
c3833279
CY
118892011-10-07 Chong Yidong <cyd@stupidchicken.com>
11890
11891 * bindings.el ([M-left],[M-right]): Bind to left-word and
11892 right-word respectively.
11893
21ce8245
GM
118942011-10-07 Glenn Morris <rgm@gnu.org>
11895
11896 * cus-start.el (debug-on-quit): Fix custom type.
11897
6d823bb2
LMI
118982011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11899
0181e193
LMI
11900 * subr.el (define-key-after): Clarify that the function is not
11901 useful for non-menu keymaps.
11902
6d823bb2
LMI
11903 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11904
8e3459ce 119052011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11906
21ce8245 11907 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11908 in current minibuffer (Fix bug with recursive minibuffers).
11909
a1c2d21e
CY
119102011-10-06 Chong Yidong <cyd@stupidchicken.com>
11911
11912 * progmodes/gdb-mi.el (gdb): Doc fix.
11913
5a4cf282
MR
119142011-10-05 Martin Rudalics <rudalics@gmx.at>
11915
11916 * window.el (frame-auto-hide-function): New option replacing
11917 frame-auto-delete. Suggested by Stefan Monnier.
11918 (window--delete): Call frame-auto-hide-function instead of
11919 investigating frame-auto-delete.
c96111ea
MR
11920 (window-point-1, set-window-point-1): New functions.
11921 (window-in-direction, record-window-buffer, window-state-get-1)
11922 (display-buffer-record-window): Use window-point-1 instead of
11923 window-point.
11924 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11925
9854542e
SM
119262011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11929
8943cfb0
GM
119302011-10-05 Glenn Morris <rgm@gnu.org>
11931
11932 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11933 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11934
647ab967
LL
119352011-10-05 Leo Liu <sdl.web@gmail.com>
11936
11937 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11938 works with buffer object.
11939
3ddfbced
SM
119402011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * mpc.el (mpc-tool-bar-map): Add labels.
11943
bdfa5dd2
GM
119442011-10-04 Glenn Morris <rgm@gnu.org>
11945
11946 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11947
0e2070b5
MR
119482011-10-04 Martin Rudalics <rudalics@gmx.at>
11949
11950 * window.el (window--delete): New function.
11951 (frame-auto-delete): Resuscitate option.
11952 (bury-buffer, replace-buffer-in-windows)
11953 (quit-window): Rewrite using window--delete.
11954 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11955 Pass display-buffer-mark-dedicated to window--display-buffer-2
11956 (Bug#9639).
11957
3dc61a09
SM
119582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11959
915a9b64
SM
11960 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11961 returns a list (bug#9554). Add remote file name completion.
11962 * comint.el (comint--table-subvert): Curry and get quote&unquote
11963 functions as arguments.
11964 (comint--complete-file-name-data): Adjust call accordingly.
11965 * pcomplete.el (pcomplete--table-subvert): Remove.
11966 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11967
3dc61a09
SM
11968 * minibuffer.el (completion-table-case-fold): Use currying.
11969 (completion--styles-type, completion--cycling-threshold-type):
11970 New constants.
11971 (completion-styles, completion-category-overrides)
11972 (completion-cycle-threshold): Use them.
11973 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11974 completion-table-case-fold.
11975
8ea0a993
SB
119762011-10-03 Stephen Berman <stephen.berman@gmx.net>
11977
11978 * minibuffer.el (completion-category-overrides): Fix type of styles
11979 and add more user friendly tags (bug#9660).
11980
8c24b7f6
SM
119812011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11982
11983 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11984 (mule-input-method-string): New widget.
11985 (default-input-method, language-info-custom-alist): Use it.
11986
428fe61a
SM
119872011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11988
32c1fffd
SM
11989 * pcomplete.el: Require comint.
11990 (pcomplete--common-suffix): Remove.
11991 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11992 (pcomplete--table-subvert): Sync with comint--table-subvert.
11993 (pcomplete--entries): Use comint-completion-file-name-table.
11994 * comint.el (comint-unquote-filename): Simplify.
11995 (comint-completion-file-name-table): New function (bug#9616).
11996 (comint--complete-file-name-data): Use it.
11997
428fe61a
SM
11998 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11999 (pcmpl-gnu-tar-buffer): Remove.
12000 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12001 around. Make sure pcomplete-suffix-list is only changed temporarily.
12002 Don't look inside the tar's file if it's too large.
428fe61a 12003
04c52e2f
CY
120042011-10-01 Chong Yidong <cyd@stupidchicken.com>
12005
ce3cefcc
CY
12006 * cus-edit.el (custom-mode-map):
12007 * epa.el (epa-key-list-mode-map):
12008 * man.el (Man-mode-map):
12009 * startup.el (splash-screen-keymap):
12010 * simple.el (special-mode-map): Use scroll-up-command and
12011 scroll-down-command.
12012
12013 * progmodes/idlw-help.el (idlwave-help-mode-map):
12014 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12015 * net/newst-plainview.el (newsticker-mode-map):
12016 * emulation/ws-mode.el (wordstar-mode-map):
12017 * emulation/vi.el (vi-com-map):
12018 * calc/calc-graph.el (calc-graph-show-dumb):
12019 * term/sun.el (terminal-init-sun):
12020 * term/ns-win.el (global-map):
12021 * progmodes/grep.el (grep-mode-map):
12022 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12023 * mail/rmail.el (rmail-mode-map):
12024 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12025
04c52e2f
CY
12026 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12027 custom-safe-themes as special.
12028
79adf8c8
JD
120292011-10-01 Julien Danjou <julien@danjou.info>
12030
12031 * notifications.el (notifications-notify): Fix docstring.
12032
63bd50d3
PS
120332011-10-01 Per Starbäck <per@starback.se>
12034
12035 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12036
199e4c7e
MR
120372011-09-30 Martin Rudalics <rudalics@gmx.at>
12038
12039 * startup.el (command-line-1): Fix last fix by inserting
12040 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12041 (Bug#9605) and (Bug#9636)
199e4c7e 12042
fe5f08dd
EZ
120432011-09-29 Eli Zaretskii <eliz@gnu.org>
12044
12045 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12046 window is hscrolled, move by logical lines. (Bug#9607)
12047 (line-move-visual): Update the doc string to the above effect.
12048
b5516bbd
MR
120492011-09-29 Martin Rudalics <rudalics@gmx.at>
12050
ccee00c0
MR
12051 * window.el (display-buffer-record-window): When WINDOW is the
12052 selected window use `point' instead of `window-point'. (Bug#9626)
12053
b5516bbd
MR
12054 * startup.el (command-line-1): Use insert-before-markers when
12055 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12056
b5516bbd
MR
12057 * help.el (help-window): Remove variable.
12058
52aa0014
GM
120592011-09-29 Glenn Morris <rgm@gnu.org>
12060
12061 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12062
df9a7357
JB
120632011-09-29 Juanma Barranquero <lekktu@gmail.com>
12064
12065 * descr-text.el (describe-char-categories): Accept category
12066 descriptions more than one line long.
12067
a8406c20
SM
120682011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12069
88d9610c
SM
12070 * simple.el (delete-trailing-whitespace): Fix last change.
12071
a5daf810
SM
12072 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12073 Don't confuse "y => 3" as the beginning of a `y' operation.
12074
a8406c20
SM
12075 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12076 object has more than 4 slots (bug#9613).
12077
a239d4e9
JB
120782011-09-28 Juanma Barranquero <lekktu@gmail.com>
12079
12080 * subr.el (with-output-to-temp-buffer):
12081 * net/quickurl.el (quickurl, quickurl-browse-url):
12082 Fix typos in docstrings.
12083
693fbdb6
EZ
120842011-09-27 Eli Zaretskii <eliz@gnu.org>
12085
12086 * minibuffer.el (completion-styles)
12087 (completion-category-overrides): Cross reference each other in doc
12088 strings.
12089
8b457e28
GM
120902011-09-27 Glenn Morris <rgm@gnu.org>
12091
12092 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12093 to split-string. (Bug#9606)
12094
85a16208
LMI
120952011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12096
12097 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12098 (bug#9615).
12099
502f9ebd
CY
121002011-09-27 Chong Yidong <cyd@stupidchicken.com>
12101
12102 * emacs-lisp/package.el (list-packages): Fix echo area message.
12103
7690bdea
LL
121042011-09-27 Leo Liu <sdl.web@gmail.com>
12105
12106 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12107
e2ee6f30
MA
121082011-09-25 Michael Albinus <michael.albinus@gmx.de>
12109
12110 * net/dbus.el (dbus-unregister-object): Don't release services for
12111 registered signals. (Bug#9581)
12112
f3f98342
TZ
121132011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12114
12115 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12116 function that picks between cfengine 2 and 3 support
12117 automatically. Update docs accordingly.
12118
dd7aa8dd
KH
121192011-09-22 Kenichi Handa <handa@m17n.org>
12120
12121 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12122 ZERO.
12123 (indian-itrans-v5-table-for-tamil): New variable.
12124 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12125
3f2b07f8
KM
121262011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12127
12128 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12129 that's true if the current command involved collapsing of text.
12130 It's reset to false at the beginning of the next command.
12131 (allout-post-command-business): Move the cursor to the beginning
12132 of entry if the cursor is hidden and collapsing activity just
12133 happened.
12134
371d6a61
CY
121352011-09-24 Chong Yidong <cyd@stupidchicken.com>
12136
12137 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12138 tracking (Bug#9541).
12139
2ac2721a
UJ
121402011-09-24 Ulf Jasper <ulf.jasper@web.de>
12141
12142 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12143 (newsticker-show-news): Automatically load html rendering package
12144 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12145 because w3m-fill-column is let-bound" and the error "Symbol's value
12146 as variable is void: w3m-fill-column".
2ac2721a 12147
fac7ae53
MA
121482011-09-24 Michael Albinus <michael.albinus@gmx.de>
12149
12150 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12151 Release services only if they are defined. (Bug#9581)
12152
e08b633b
RS
121532011-09-23 Richard Stallman <rms@gnu.org>
12154
e488d29c
RS
12155 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12156 distinguish start of paragraph from start of its text.
12157
19c38752
RS
12158 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12159
e08b633b
RS
12160 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12161 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12162 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12163
0a39f27e
AS
121642011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12165
12166 * international/mule-diag.el (mule-diag): Insert a newline after
12167 each fontset description.
12168
db4e950d
SM
121692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * simple.el (delete-trailing-whitespace):
12172 Document last change; simplify.
12173
eca3f3ea
PW
121742011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12175
d68e189a
PW
12176 * simple.el (delete-trailing-whitespace): Also delete
12177 extra newlines at the end of the buffer.
12178
eca3f3ea
PW
12179 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12180 (picture-newline): Use forward-line so as to ignore fields.
12181
01c157cc
SM
121822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12183
12184 * subr.el (with-wrapper-hook): Fix edebug spec.
12185
022de23e
LMI
121862011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12187
12188 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12189 (bug#4538).
12190
91683089
MA
121912011-09-23 Michael Albinus <michael.albinus@gmx.de>
12192
eca3f3ea
PW
12193 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12194 Fix nasty bug using wrong cached values.
91683089 12195
5bdd6fa4
AM
121962011-09-23 Alan Mackenzie <acm@muc.de>
12197
12198 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12199
97adfb97
CY
122002011-09-23 Chong Yidong <cyd@stupidchicken.com>
12201
12202 * window.el (pop-to-buffer): Ensure right window is selected if we
12203 chose another frame.
12204
d4ef2b50
EZ
122052011-09-22 Eli Zaretskii <eliz@gnu.org>
12206
12207 * simple.el (what-cursor-position): Use get-char-property-change
12208 and next-single-char-property-change, to be able to show display
12209 properties that come from overlays as well as text properties.
12210
72258fe5
CY
122112011-09-22 Chong Yidong <cyd@stupidchicken.com>
12212
12213 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12214
12215 * cmuscheme.el (run-scheme, switch-to-scheme):
12216 * cus-edit.el (customize-group, custom-buffer-create)
12217 (customize-browse):
12218 * info.el (info):
12219 * shell.el (shell):
12220 * mail/sendmail.el (mail):
12221 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12222
8f098516
RS
122232011-09-22 Richard Stallman <rms@gnu.org>
12224
12225 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12226 move back only to line beg, don't move back over blank lines.
12227
e74f1bb6
MA
122282011-09-22 Michael Albinus <michael.albinus@gmx.de>
12229
12230 * files.el (copy-directory): Set directory attributes only in case
12231 they could be retrieved from the source directory. (Bug#9565)
12232
bfeef8b6
DK
122332011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12234
12235 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12236 (hs-find-block-beginning, hs-hide-level-recursive):
12237 Ignore strings as well as comments. (Bug#9502)
12238
7e423bb8
AS
122392011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12240
12241 * progmodes/sql.el (sql-comint-postgres):
12242 Convert port number to a string. (Bug#9566)
12243
b4d72fcf
MR
122442011-09-22 Martin Rudalics <rudalics@gmx.at>
12245
12246 * window.el (quit-window): Undedicate window when switching to
12247 previous buffer. Reported by Thierry Volpiatto
12248 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12249 (special-display-popup-frame): When popping up a new frame reset
12250 its previous buffers to nil. Simplify code.
b4d72fcf 12251
a7b88dc6
MA
122522011-09-21 Michael Albinus <michael.albinus@gmx.de>
12253
12254 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12255 and process filter, as done also in `shell-command'.
12256
cf4eacfd
MR
122572011-09-21 Martin Rudalics <rudalics@gmx.at>
12258
eca3f3ea 12259 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12260 Call set-window-start with NOFORCE argument t.
12261 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12262 (quit-window): Reword doc-string. Handle new format of
12263 quit-restore parameter. Don't delete window if it has a
12264 previous buffer we can show instead of the present one.
12265 (display-buffer-record-window): Rewrite using a new format for
12266 the quit-restore window parameter
12267 (special-display-popup-frame, display-buffer-same-window)
12268 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12269 (display-buffer-pop-up-window, display-buffer-use-some-window):
12270 Adapt symbol passed to display-buffer-record-window.
12271 * help.el (help-window-setup): Handle new format of quit-restore
12272 parameter.
12273
8d28cb95
SM
122742011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12275
94ab793f
SM
12276 * faces.el (face-list): Fix docstring (bug#9564).
12277
8d28cb95
SM
12278 * window.el (display-buffer--action-function-custom-type):
12279 Don't include internal functions in the Custom interface.
12280
3820edeb
JL
122812011-09-20 Juri Linkov <juri@jurta.org>
12282
12283 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12284 (Info-forward-node, Info-backward-node, Info-next-preorder)
12285 (Info-last-preorder): Use it. (Bug#9528)
12286
5147931d
JL
122872011-09-20 Juri Linkov <juri@jurta.org>
12288
12289 * info.el (Info-last-preorder): Visit last menu item only when
12290 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12291
cf499a1a
JD
122922011-09-20 Julien Danjou <julien@danjou.info>
12293
12294 * password-cache.el (password-cache-remove): Remove entries even if the
12295 value is nil, so that password with a nil value (negative caching) is
12296 possible to invalidate.
12297
f84e2fe2
LM
122982011-09-20 Lawrence Mitchell <wence@gmx.li>
12299
12300 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12301 all whitespace around breakpoint. (Bug#9553)
12302 (f90-find-breakpoint): Only break at whitespace inside a comment.
12303
78054a46
SM
123042011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12305
12306 * minibuffer.el (completion-file-name-table): Keep track of errors.
12307 (completion-table-with-predicate): Handle the case where pred1 is nil.
12308 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12309
345083b2
SM
123102011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12311
e24e27be
SM
12312 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12313 (debugger-return-value): Signal an error if the debugging context does
12314 not await any return value.
12315
345083b2
SM
12316 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12317 * image-mode.el (image-toggle-display-text)
12318 (image-toggle-display-image): Stay away from evil `intangible'.
12319
08d355e3
LL
123202011-09-19 Leo Liu <sdl.web@gmail.com>
12321
12322 * replace.el (occur-revert-arguments): Make it permanent-local.
12323 (occur-mode): Don't call font-lock-defontify.
12324
f01da43f
CY
123252011-09-19 Chong Yidong <cyd@stupidchicken.com>
12326
12327 * net/ldap.el (ldap-search-internal): Don't push empty search
12328 result (Bug#9508).
12329
b6072fa6
SM
123302011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12331
12332 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12333
443d6696
MA
123342011-09-19 Michael Albinus <michael.albinus@gmx.de>
12335
12336 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12337 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12338
7cc6e154
JL
123392011-09-18 Juri Linkov <juri@jurta.org>
12340
12341 * buff-menu.el (Buffer-menu-mode-map):
12342 * dired.el (dired-mode-map):
12343 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12344 (lisp-interaction-mode-map):
12345 * emacs-lisp/package.el (package-menu-mode-map):
12346 * epa.el (epa-key-list-mode-map):
12347 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12348 (menu-bar-options-menu):
12349 * outline.el (outline-mode-menu-bar-map):
12350 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12351 * vc/vc-dir.el (vc-dir-menu-map):
12352 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12353 Capitalize non-function content words in menu item strings.
12354
12355 * dired.el (dired-mode-map): Add menu item for
12356 `image-dired-dired-toggle-marked-thumbs'.
12357
80302a81
JL
123582011-09-18 Juri Linkov <juri@jurta.org>
12359
12360 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12361 to `isearch-case-fold-search' and restore its original value
12362 after the `isearch-mode' call.
12363
46c5cf66
JL
123642011-09-18 Juri Linkov <juri@jurta.org>
12365
12366 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12367 because `zgrep' returns 1 for successful matches (bug#9226).
12368
d18b513b
JL
123692011-09-18 Juri Linkov <juri@jurta.org>
12370
12371 * info.el (Info-extract-menu-node-name): Check the second match
12372 for empty string (second test-case of bug#9528).
12373 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12374 intermediate nodes to the history (first test-case of bug#9528).
12375
72753f87
JL
123762011-09-18 Juri Linkov <juri@jurta.org>
12377
12378 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12379 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12380
c9384295
JL
123812011-09-18 Juri Linkov <juri@jurta.org>
12382
1154d12e
JB
12383 * info.el (Info-file-supports-index-cookies):
12384 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12385 outputs one more line for long file names (bug#4142).
c9384295 12386
d473dce8
CY
123872011-09-18 Chong Yidong <cyd@stupidchicken.com>
12388
12389 * newcomment.el (comment-normalize-vars): If prompting for
12390 comment-start, set comment-start-skip too (Bug#8424).
12391
2176854d
JB
123922011-09-18 Johan Bockgård <bojohan@gnu.org>
12393
12394 * icomplete.el: Fix previous fix of Bug#5849.
12395 (icomplete-mode): Don't set completion-show-inline-help.
12396 (icomplete-minibuffer-setup): Set completion-show-inline-help
12397 locally during icompletion.
12398
3aace4e4
CY
123992011-09-18 Chong Yidong <cyd@stupidchicken.com>
12400
c940224f
CY
12401 * woman.el (woman2-process-escapes): Don't delete unrecognized
12402 escapes (Bug#7843).
12403
3aace4e4
CY
12404 * files.el (inhibit-first-line-modes-regexps): Add image files.
12405 (hack-local-variables-prop-line): Return nil for malformed
12406 prop-lines (Bug#9044).
12407
710dec63
MA
124082011-09-18 Michael Albinus <michael.albinus@gmx.de>
12409
12410 * net/tramp.el (top): Don't require 'shell.
12411 (tramp-methods): Fix docstring.
12412 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12413 Return complete remote file name. Handle "smb" case.
12414 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12415 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12416
12417 * net/tramp-compat.el (top): Require 'shell.
12418
12419 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12420 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12421 `tramp-current-host'.
12422 (tramp-get-remote-tmpdir): Remove.
12423
12424 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12425 `tramp-tmpdir' entries.
12426 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12427 (tramp-smb-handle-file-attributes): Ignore errors.
12428 (tramp-smb-wait-for-output): Check also for process end.
12429
5d5ac8ec
LMI
124302011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12431
12432 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12433 when sending QUIT (bug#9312).
12434
8c0f49f0
CY
124352011-09-17 Chong Yidong <cyd@stupidchicken.com>
12436
12437 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12438 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12439 occur-mode-display-occurrence.
12440 (occur-edit-mode): Add usage message.
12441 (occur-cease-edit): New command.
12442 (occur-after-change-function): Use text properties to find the
12443 position of the prefix text.
12444 (occur-engine): Set stickiness of prefix text properties.
12445
8f1383f7
GM
124462011-09-17 Glenn Morris <rgm@gnu.org>
12447
12448 * progmodes/etags.el (complete-tag):
12449 Fix call to completion-in-region. (Bug#9526)
12450
744ba0e3
JL
124512011-09-17 Juri Linkov <juri@jurta.org>
12452
12453 * textmodes/ispell.el (ispell-word): Add to the error message
12454 the word, ispell program name and current dictionary (bug#9121).
12455 (ispell-tex-arg-end): Capitalize "error" in the error message.
12456
d9bbf400
AS
124572011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12458
12459 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12460 check. (Bug#4251)
12461
8da11505
JL
124622011-09-17 Juri Linkov <juri@jurta.org>
12463
12464 * window.el (window-safe-min-height, window-safe-min-width):
12465 Fix typos (followup to bug#9522).
12466
a91adc7e
SJ
124672011-09-17 Sven Joachim <svenjoac@gmx.de>
12468
12469 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12470
064f328a
EZ
124712011-09-16 Eli Zaretskii <eliz@gnu.org>
12472
12473 * simple.el (line-move): If goal-column is set, move by logical
12474 lines, not by display lines. (Bug#971)
12475 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12476 to reflect the above change.
12477
e69df516
SM
124782011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * image.el (imagemagick-register-types): Use regexp-opt.
12481
cbb0f9ab
CY
124822011-09-15 Chong Yidong <cyd@stupidchicken.com>
12483
12484 * window.el (display-buffer-base-action): Rename from
12485 display-buffer-default-action. Make default value empty.
12486 (display-buffer-overriding-action): Convert to defvar.
12487 (display-buffer-fallback-action): New var.
12488
25322144
CY
124892011-09-15 Chong Yidong <cyd@stupidchicken.com>
12490
12491 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12492 declaration.
12493 (package--add-to-archive-contents): If there is a duplicate entry
12494 with an older version, remove it.
12495 (package-menu-mark-delete, package-menu-mark-install)
12496 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12497 (package-menu-mark-obsolete-for-deletion):
12498 Use package-menu-get-status instead of a regexp search.
25322144
CY
12499 (package-menu-get-status): Use tabulated-list-entry.
12500 (package-menu-mark-upgrades): New command.
d770725a 12501 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12502 (package-menu-execute): Do installation before deletion.
12503 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12504 instead of checking major-mode.
12505 (package-menu--find-upgrades): New function.
12506
7520339c
LMI
125072011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12508
12509 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12510 passwords in the log buffer.
65a046c4
LMI
12511 (smtpmail-process-filter): Update the process marker so that the
12512 "broken by peer" status message is inserted in the right place.
7520339c 12513
d3c30954
SM
125142011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12515
3fe48822
SM
12516 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12517 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12518 bibtex-completion-at-point-function.
12519 (bibtex-completion-at-point-function): Use them.
12520
1b8b3954
SM
12521 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12522
d3c30954
SM
12523 * mpc.el (mpc-constraints-tag-lookup): New function.
12524 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12525 also to browser "album|playlist".
12526
72779976
JL
125272011-09-14 Juri Linkov <juri@jurta.org>
12528
12529 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12530 (isearch-edit-string): Use length of `isearch-string' when
12531 `isearch-fail-pos' returns nil.
12532 (isearch-message): Remove duplicate code and call
12533 `isearch-fail-pos' with arg `t'.
12534
a0bf2bcd
CY
125352011-09-14 Chong Yidong <cyd@stupidchicken.com>
12536
17bb0a2d
CY
12537 * replace.el (occur-mode-goto-occurrence): Don't force using other
12538 window (Bug#9499).
12539
a0bf2bcd
CY
12540 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12541
f678e0b6
MR
125422011-09-14 Martin Rudalics <rudalics@gmx.at>
12543
12544 * window.el (display-buffer-window): Remove.
12545 (display-buffer-record-window): Use help-setup window parameter
12546 instead of variable display-buffer-window.
12547 (display-buffer-function, special-display-buffer-names)
12548 (special-display-function): Mention help-setup parameter instead
12549 of display-buffer-window in doc-string.
d3c30954
SM
12550 * help.el (help-window-setup): New argument help-window.
12551 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12552 Reword some messages.
12553 (with-help-window): Pass window used for displaying the buffer
12554 to help-window-setup. Don't set display-buffer-window.
12555
8e39b2e8
GM
125562011-09-13 Glenn Morris <rgm@gnu.org>
12557
12558 * emacs-lisp/debug.el (debugger-make-xrefs):
12559 Preserve point. (Bug#9462)
12560
85e9c04b
CY
125612011-09-13 Chong Yidong <cyd@stupidchicken.com>
12562
12563 * window.el (window-deletable-p): Use next-frame.
12564
1b36ed6a
MR
125652011-09-13 Martin Rudalics <rudalics@gmx.at>
12566
12567 * window.el (window-auto-delete): Remove.
12568 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12569 dedication and previous buffers.
1b36ed6a
MR
12570 (switch-to-prev-buffer): Don't delete window.
12571 (delete-windows-on): Delete a window's frame if and only if the
12572 window is dedicated.
12573 (replace-buffer-in-windows): Delete buffer's window or frame if
12574 and only if window is dedicated.
12575 (quit-window): Handle quit-restore as before last change.
4d61f28d 12576 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12577
ef8ef9fb
CY
125782011-09-13 Chong Yidong <cyd@stupidchicken.com>
12579
12580 * window.el (window-deletable-p): Never delete the last frame on a
12581 given terminal.
12582
b2cba41e
GM
125832011-09-13 Glenn Morris <rgm@gnu.org>
12584
12585 * help.el (describe-key-briefly): Copy previous standard-output change.
12586
51553db6 125872011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12588
12589 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12590
b7556719
GM
125912011-09-13 Glenn Morris <rgm@gnu.org>
12592
12593 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12594 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12595
64b51947
CY
125962011-09-12 Chong Yidong <cyd@stupidchicken.com>
12597
12598 * dired-aux.el (dired-mark-read-string): Don't return default
12599 value on empty input (Bug#9361).
12600 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12601 Omit initial minibuffer contents.
12602 (dired-do-chmod): Signal an error on empty input.
12603 (dired-mark-read-string): Don't return default on empty input.
12604
12605 * files.el (file-modes-symbolic-to-number): Doc fix.
12606
393a301e
SM
126072011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * international/mule-cmds.el (ucs-completions): Remove.
12610 (read-char-by-name): Use complete-with-action instead; add metadata.
12611
fa5660f9
CY
126122011-09-11 Chong Yidong <cyd@stupidchicken.com>
12613
12614 * window.el (display-buffer--action-function-custom-type)
12615 (display-buffer--action-custom-type): New vars.
12616 (display-buffer-alist, display-buffer-default-action)
12617 (display-buffer-overriding-action): Add defcustom types.
12618
4a592f66
CY
12619 * frame.el (delete-other-frames): Doc fix (Bug#276).
12620
73d56dbd
LMI
126212011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12622
12623 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12624
37ac18a3
CY
126252011-09-11 Chong Yidong <cyd@stupidchicken.com>
12626
12627 Change modes that used same-window-* vars to use switch-to-buffer.
12628
12629 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12630 Use switch-to-buffer.
12631
12632 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12633 (customize-browse, custom-buffer-create-other-window):
12634 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12635
12636 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12637 (Info-prev, Info-up, Info-speedbar-goto-node)
12638 (info-display-manual): Use switch-to-buffer.
12639 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12640
12641 * mail/sendmail.el (mail): Use switch-to-buffer.
12642 (mail-recover): Use switch-to-buffer-other-window.
12643
12644 * cmuscheme.el (run-scheme, switch-to-scheme):
12645 * ielm.el (ielm):
12646 * shell.el (shell):
12647 * net/rlogin.el (rlogin):
12648 * net/telnet.el (telnet, rsh):
12649 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12650
10195bd6
AS
126512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12652
12653 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12654
b322f63a
LMI
126552011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12656
39d7fed6
LMI
12657 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12658 so don't mention it (bug#9301).
ba5a81f1 12659 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12660
ee0e9f11
LMI
12661 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12662 match `x', `w32' and `ns', like the manual says (bug#9029).
12663
0b1c89c1 12664 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12665 (process-kill-buffer-query-function): Mention the buffer name in
12666 the query.
0b1c89c1 12667
77549ea8
LMI
12668 * image-mode.el (image-next-line): The line parameter is mandatory
12669 (bug#9258).
12670
803ef892
LMI
12671 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12672 which can be useful (bug#9301).
12673
12980837
LMI
12674 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12675
91054f8f
LMI
12676 * subr.el (match-string): Mention that the current buffer should
12677 be the same as the search was done in (bug#9282).
12678
b322f63a
LMI
12679 * facemenu.el: Disable the remove-* commands if the mark isn't
12680 active (bug#9162).
12681
3199b96f
CY
126822011-09-10 Chong Yidong <cyd@stupidchicken.com>
12683
12684 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12685 of display-buffer.
12686 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12687
12688 * replace.el (occur-mode-goto-occurrence)
12689 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12690 and display-buffer.
12691
12692 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12693 display-buffer.
12694
12695 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12696 special-display and same-window variables.
12697 (mail-other-window): Use switch-to-buffer-other-window.
12698 (mail-other-frame): USe switch-to-buffer-other-frame.
12699
393a301e
SM
12700 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12701 Use display-buffer-other-frame.
3199b96f
CY
12702 (gdb-display-gdb-buffer): Use pop-to-buffer.
12703
12704 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12705
12706 * progmodes/python.el: Don't set same-window-buffer-names.
12707
12708 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12709
12710 * window.el (display-buffer-alist): Add *Python*.
12711
8319e0bf
CY
127122011-09-10 Chong Yidong <cyd@stupidchicken.com>
12713
12714 * window.el (display-buffer-alist): Add entry for buffers
12715 previously handled same-window-*.
12716 (display-buffer-alist, display-buffer-default-action)
12717 (display-buffer-overriding-action): Mark as risky.
12718 (display-buffer-alist): Document action function changes.
12719 (display-buffer--same-window-action)
12720 (display-buffer--other-frame-action): New variables.
12721 (switch-to-buffer, display-buffer-other-frame): Use them.
12722 (display-buffer): Rename reuse-frame entry to reusable-frames.
12723 (display-buffer-reuse-selected-window): Function deleted.
12724 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12725 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12726 (display-buffer-special): New function.
12727 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12728 display-buffer-reuse-or-pop-window. Split off special-display
12729 part into display-buffer-special.
12730 (display-buffer-use-some-window): Don't perform any special
12731 pop-up-frames handling.
12732 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12733 (display-buffer--maybe-same-window): Rename from
0d3ff375 12734 display-buffer-maybe-same-window.
8319e0bf 12735
919a69aa
CY
12736 * info.el: Don't set same-window-regexps.
12737 (info-setup): New function.
12738 (info-other-window, info): Call it.
12739
12740 * cus-edit.el: Don't set same-window-regexps.
12741 (customize-group): New argument.
12742 (customize-group-other-window): Use it.
12743 (customize-face, customize-face-other-window): Likewise.
12744 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12745
8319e0bf
CY
12746 * net/rlogin.el:
12747 * net/telnet.el:
12748 * progmodes/gud.el: Don't set same-window-regexps.
12749
12750 * cmuscheme.el:
12751 * ielm.el:
12752 * shell.el:
12753 * mail/sendmail.el:
12754 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12755
25173000
JL
127562011-09-10 Juri Linkov <juri@jurta.org>
12757
12758 * isearch.el (isearch-edit-string): Remove obsolete mention of
12759 `C-w' (`isearch-yank-word-or-char') from docstring.
12760 (isearch-query-replace): Fix typo in docstring (bug#9466).
12761
056e44ef
JL
127622011-09-10 Juri Linkov <juri@jurta.org>
12763
12764 * paren.el (show-paren-function): Don't show escaped parens.
12765 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12766
c3760c17
EZ
127672011-09-10 Eli Zaretskii <eliz@gnu.org>
12768
12769 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12770 (mm-default-file-encoding): Remove autoload forms, they are
12771 replaced with autoload cookies in mml.el and mm-encode.el.
12772 (mail-add-attachment): New command.
12773 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12774 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12775 the doc string.
12776 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12777
fece895e
RT
127782011-09-10 Reuben Thomas <rrt@sc3d.org>
12779
e69df516
SM
12780 * simple.el (count-words-region): Use buffer if there's no region
12781 (bug#9429).
fece895e 12782
5e68ce4a
JL
127832011-09-09 Juri Linkov <juri@jurta.org>
12784
12785 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12786 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12787 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12788
0a6b9622
AM
127892011-09-09 Alan Mackenzie <acm@muc.de>
12790
12791 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12792 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12793
14a29deb
EZ
127942011-09-09 Eli Zaretskii <eliz@gnu.org>
12795
12796 Fix for Savannah bug#9392.
12797 * simple.el (mail-encode-mml): New defvar.
12798
12799 * mail/rmail.el (mail-encode-mml): Add a defvar.
12800 (rmail-enable-mime-composing): Default to t.
12801 (rmail-forward): Use MIME method of forwarding only if both
12802 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12803 Set mail-encode-mml non-nil if the MIME method was used.
12804
12805 * mail/sendmail.el (mml-to-mime): Add autoload form.
12806 (mail-encode-mml): Add a defvar.
12807 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12808 to nil.
12809 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12810 message through mml-to-mime, and reset mail-encode-mml to nil.
12811
28c45130
GM
128122011-09-09 Glenn Morris <rgm@gnu.org>
12813
12814 * woman.el (woman-if-body): When processing an .el block,
12815 do not delete the next .el block as well. (Bug#9447)
69f4b618 12816 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12817
9b1c252e
MR
128182011-09-08 Martin Rudalics <rudalics@gmx.at>
12819
12820 * window.el (window-deletable-p): Make sure window is live before
12821 invoking window-prev-buffers.
12822
567457e3
LL
128232011-09-08 Leo Liu <sdl.web@gmail.com>
12824
12825 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12826
97f05794
JL
128272011-09-08 Juri Linkov <juri@jurta.org>
12828
12829 * progmodes/compile.el (compilation-environment): Make it
12830 a defcustom (bug#8340).
12831
8b0874b5
MR
128322011-09-08 Martin Rudalics <rudalics@gmx.at>
12833
12834 * window.el (frame-auto-delete): Rename to window-auto-delete.
12835 Make it control auto-deletion of windows and/or frames.
12836 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12837 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12838 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12839 Rewrite handling of case when window/frame can be deleted.
12840 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12841 argument t. (Bug#9456)
8b0874b5 12842
4feb6e73
CY
128432011-09-07 Chong Yidong <cyd@stupidchicken.com>
12844
12845 * help-mode.el (help-mode): Restore autoload.
12846
91ab9c13
JL
128472011-09-07 Juri Linkov <juri@jurta.org>
12848
12849 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12850 `compilation-environment'. Set buffer-local
12851 `compilation-environment' to `thisenv' later after (funcall mode).
12852 (Bug#8340)
12853
12854 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12855 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12856 instead of replacing its value. (Bug#8340)
12857
0527e251
JL
128582011-09-07 Juri Linkov <juri@jurta.org>
12859
12860 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12861 based on text properties put by `grep-filter' instead of matching
12862 escape sequences.
12863 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12864 to the value of `grep-error-screen-columns' (bug#9438).
12865
249f792c
JL
128662011-09-07 Juri Linkov <juri@jurta.org>
12867
12868 * simple.el (next-error-highlight, next-error-highlight-no-select):
12869 Doc fix (bug#9432).
12870
ff7271b9
OT
128712011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12872
12873 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12874 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12875
183fc730
LL
128762011-09-07 Leo Liu <sdl.web@gmail.com>
12877
12878 * net/rcirc.el (rcirc-mode): Conditionally initialize
12879 rcirc-input-ring.
12880
77694924
SM
128812011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12882
12883 * emacs-lisp/find-func.el (find-function-C-source): Only set
12884 find-function-C-source-directory after checking that we found a source
12885 file there (bug#9440).
12886
d809b8eb
AM
128872011-09-06 Alan Mackenzie <acm@muc.de>
12888
12889 * isearch.el (isearch-other-meta-char): Wherever a key list is
12890 unread, "unread" the prefix arg, too. This fixes bug #8901.
12891
453de99f
OG
128922011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12893
12894 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12895
90439906
JL
128962011-09-05 Juri Linkov <juri@jurta.org>
12897
12898 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12899
f62bd846
JL
129002011-09-05 Juri Linkov <juri@jurta.org>
12901
12902 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12903 keeping point where processing of grep matches begins, and
12904 continue to delete remaining escape sequences from the same point.
12905 (grep-filter): Make leading zero optional in "0?1;31m" because
12906 git-grep emits "\033[1;31m" escape sequences unlike expected
12907 "\033[01;31m" as GNU Grep does (bug#9408).
12908 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12909
045820ec
JL
129102011-09-05 Juri Linkov <juri@jurta.org>
12911
12912 * subr.el (y-or-n-p): Capitalize "yes".
12913
f5e29b9b
MA
129142011-09-04 Michael Albinus <michael.albinus@gmx.de>
12915
12916 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12917 `tramp-cache-unload-hook' where appropriate.
12918 (tramp-methods): Rename `tramp-remote-sh' to
12919 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12920 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12921
12922 * net/tramp-sh.el (top): Don't require 'shell.
12923 (tramp-methods): Add `tramp-remote-shell' and
12924 `tramp-remote-shell-args' entries.
12925 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12926 (tramp-sh-handle-shell-command): Remove.
12927 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12928 Use `tramp-remote-shell'.
12929
2784c434
CY
129302011-09-03 Chong Yidong <cyd@stupidchicken.com>
12931
393a301e 12932 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12933 (sendmail-query-once): Save directly to send-mail-function.
12934 Update message-send-mail-function too.
12935
12936 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12937
464cdf56
CS
129382011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12939
12940 * progmodes/python.el (python-mode-map): Use correct function to
12941 start python interpreter from menu-bar (as reported by Geert
12942 Kloosterman).
12943 (inferior-python-mode-map): Fix typo.
393a301e 12944 (python-shell-map): Remove.
464cdf56 12945
d37e5c87
DD
129462011-09-03 Deniz Dogan <deniz@dogan.se>
12947
12948 * net/rcirc.el (rcirc-print): Simplify code for
12949 rcirc-scroll-show-maximum-output. There is no need to walk
12950 through all windows to find the right one.
12951
f3ada0ee
CS
129522011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12953
12954 * help.el (help-return-method): Doc fix.
12955
1f3c99ca
MR
129562011-09-03 Martin Rudalics <rudalics@gmx.at>
12957
12958 * window.el (window-deletable-p): Don't return a non-nil value
12959 when there's a buffer that was shown in the window before.
12960 (Bug#9419)
393a301e
SM
12961 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12962 Set window's previous buffers to nil.
1f3c99ca 12963
a3cf097f
EZ
129642011-09-03 Eli Zaretskii <eliz@gnu.org>
12965
12966 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12967 newline before and after the tag line, so it doesn't interfere
12968 with determining the paragraph direction of bidirectional text.
12969
3d03de90
LL
129702011-09-03 Leo Liu <sdl.web@gmail.com>
12971
12972 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12973
c3313451
CY
129742011-09-02 Chong Yidong <cyd@stupidchicken.com>
12975
393a301e 12976 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12977 (pop-to-buffer): Change interactive spec. Pass second argument
12978 directly to display-buffer.
12979 (display-buffer): Fix interactive spec. Use functionp to
12980 distinguish between a function and a list of functions.
12981
12982 * abbrev.el (edit-abbrevs):
12983 * arc-mode.el (archive-extract):
12984 * autoinsert.el (auto-insert):
12985 * bookmark.el (bookmark-bmenu-list):
12986 * files.el (find-file):
12987 * view.el (view-buffer):
12988 * progmodes/compile.el (compilation-goto-locus):
12989 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12990
89894cd8
CY
129912011-09-02 Chong Yidong <cyd@stupidchicken.com>
12992
12993 * window.el (display-buffer-alist): Doc fix.
12994 (display-buffer): Add docstring. Don't treat
12995 display-buffer-default specially.
12996 (display-buffer-reuse-selected-window)
12997 (display-buffer-same-window, display-buffer-maybe-same-window)
12998 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12999 (display-buffer-pop-up-window)
13000 (display-buffer-reuse-or-pop-window)
13001 (display-buffer-use-some-window): New functions.
13002 (display-buffer-default-action): Use them.
393a301e 13003 (display-buffer-default): Delete.
89894cd8
CY
13004 (pop-to-buffer-1): Fix choice of actions.
13005
ae0bc9fb
SM
130062011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * minibuffer.el (completion--insert-strings): Don't get confused by
13009 completion entries that end with an LF char.
13010
e9d90883
EZ
130112011-09-01 Eli Zaretskii <eliz@gnu.org>
13012
13013 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13014
437014c8
CY
130152011-09-01 Chong Yidong <cyd@stupidchicken.com>
13016
13017 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13018 (display-buffer-same-window, display-buffer-other-window):
13019 New functions.
437014c8
CY
13020 (pop-to-buffer-1): New function. Use the above.
13021 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13022 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13023
13024 * view.el (view-buffer-other-window, view-buffer-other-frame):
13025 Just use pop-to-buffer.
13026
a5e063d5
TV
130272011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13028
13029 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13030
793d32bb
WH
130312011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13032
13033 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13034
d65e4c15
RS
130352011-08-31 Richard Stallman <rms@gnu.org>
13036
13037 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13038 of the separation of rmail-view-buffer from rmail-buffer.
13039 If you say no to "replace original", the decrypt is in the
13040 view buffer. If you say yes, the decrypt goes into the
13041 rmail buffer also.
13042
f818cd2a
MR
130432011-08-31 Martin Rudalics <rudalics@gmx.at>
13044
13045 * window.el (display-buffer-window): Rewrite doc-string.
13046 (display-buffer-record-window): New function.
13047 (display-buffer-macro-specifiers)
13048 (display-buffer-even-window-sizes, display-buffer-set-height)
13049 (display-buffer-set-width, display-buffer-in-window)
13050 (display-buffer-reuse-window, display-buffer-split-specifiers)
13051 (display-buffer-side-specifiers, display-buffer-split-window-1)
13052 (display-buffer-split-window, display-buffer-split-atom-window)
13053 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13054 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13055 (display-buffer-other-window-means-other-frame)
13056 (display-buffer-normalize-special)
13057 (display-buffer-normalize-default)
13058 (display-buffer-normalize-argument)
13059 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13060 (display-buffer-normalize-specifiers, display-buffer-frame)
13061 (display-buffer-same-window, display-buffer-same-frame)
13062 (display-buffer-other-window)
13063 (display-buffer-same-frame-other-window)
13064 (display-buffer-other-frame, pop-to-buffer-same-window)
13065 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13066 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13067 (switch-to-buffer-same-frame)
13068 (switch-to-buffer-other-window-same-frame)
13069 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13070 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13071 (display-buffer-alist-set): Remove.
13072 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13073 (special-display-regexps, special-display-function):
13074 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13075 parameter.
13076 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13077 (special-display-frame-alist, special-display-popup-frame)
13078 (same-window-buffer-names, same-window-regexps, same-window-p)
13079 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13080 (split-window-preferred-function, split-height-threshold)
13081 (split-width-threshold, window-splittable-p)
13082 (split-window-sensibly, window--try-to-split-window)
13083 (window--frame-usable-p, even-window-heights)
13084 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13085 (window--display-buffer-2, display-buffer-other-frame):
13086 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13087 (display-buffer-default, display-buffer-assq-regexp): New functions.
13088 (display-buffer-alist): Rewrite doc-string.
13089 (display-buffer-default-action)
13090 (display-buffer-overriding-action): New variables.
13091 (display-buffer, switch-to-buffer): Rewrite.
13092 (pop-to-buffer): Restore Emacs 23 behavior but use
13093 window-normalize-buffer-to-display.
13094 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13095 Restore Emacs 23 behavior but use
13096 window-normalize-buffer-to-switch-to.
13097 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13098 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13099 Rewrite using Emacs 23 options.
f818cd2a 13100
5bc3b51d
MA
131012011-08-31 Michael Albinus <michael.albinus@gmx.de>
13102
13103 * net/tramp.el (tramp-root-regexp): Remove.
13104 (tramp-completion-file-name-regexp-unified)
13105 (tramp-completion-file-name-regexp-separate)
13106 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13107 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13108 (tramp-drop-volume-letter): Simplify definition.
13109 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13110
b1a4f8e1
SM
131112011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13114 (bug#9356).
13115
5664fa7b
RT
131162011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13117
b1a4f8e1 13118 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13119
9a45d6c3
JL
131202011-08-29 Juri Linkov <juri@jurta.org>
13121
13122 * isearch.el (isearch-done): Don't display message "Mark saved"
13123 when arg `edit' is non-nil to prevent its flicker in the echo area.
13124
fb87e0fb
CY
131252011-08-28 Chong Yidong <cyd@stupidchicken.com>
13126
13127 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13128 obsolete packages for deletion.
13129
09ac1c2a
CS
131302011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13131
13132 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13133 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13134 view-mode from help-mode.
13135 (help-xref-override-view-map): Remove.
13136 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13137 view-mode is not used anymore.
13138
7a1ff57f
CY
131392011-08-28 Chong Yidong <cyd@stupidchicken.com>
13140
13141 * server.el (server-port): Doc fix.
13142
b9696605
CY
13143 * cus-theme.el (custom-theme-choose-mode): Inherit from
13144 special-mode (Bug#9124).
13145 (custom-theme-choose-mode-map): Add special-mode to parent.
13146
ef8cdf8c
AM
131472011-08-28 Alan Mackenzie <acm@muc.de>
13148
13149 * progmodes/cc-fonts.el
13150 (c-make-font-lock-BO-decl-search-function): New function.
13151 (c-basic-matchers-after - "Fontify the clauses after various
13152 keywords"): Extract the three keyword lists for the 3 erroneous
13153 constructs from the list of four, and use the new function above
13154 in place of an old one.
13155
27de4e20
DD
131562011-08-28 Deniz Dogan <deniz@dogan.se>
13157
13158 * net/rcirc.el (rcirc-insert-prev-input)
13159 (rcirc-insert-next-input): Remove unused argument.
13160
356a3681
SM
131612011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13164
3fc9b218
AM
131652011-08-27 Alan Mackenzie <acm@muc.de>
13166
13167 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13168 handle function pointer parameters properly.
13169
538a061c
MR
131702011-08-27 Martin Rudalics <rudalics@gmx.at>
13171
13172 * window.el (display-buffer-reuse-window): Fix case where
13173 selected window was reused with non-nil OTHER-WINDOW argument.
13174 (Bug#9381)
13175
35b1c40c
DD
131762011-08-27 Deniz Dogan <deniz@dogan.se>
13177
13178 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13179 oftc's NickServ messages.
13180
2f6a3e79
GM
131812011-08-27 Glenn Morris <rgm@gnu.org>
13182
13183 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13184
7254299e
CY
131852011-08-26 Chong Yidong <cyd@stupidchicken.com>
13186
13187 * emacs-lisp/package.el (package-install): Call package-initialize
13188 if called interactively.
13189
f8ccf167
LL
131902011-08-26 Leo Liu <sdl.web@gmail.com>
13191
13192 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13193
3e8cd5ce
JL
131942011-08-25 Juri Linkov <juri@jurta.org>
13195
13196 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13197 `search-whitespace-regexp' (bug#9364).
13198
93eb7113
JL
131992011-08-25 Juri Linkov <juri@jurta.org>
13200
13201 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13202 `regexp-search-ring' to their global values to protect from
13203 updating by `read-from-minibuffer' (bug#9185).
13204
f65d1611
JL
132052011-08-25 Juri Linkov <juri@jurta.org>
13206
13207 * textmodes/ispell.el (ispell-command-loop): Add newline
13208 at the end of the "Use option `i'..." line.
13209
f1cf7a31
JL
132102011-08-25 Juri Linkov <juri@jurta.org>
13211
13212 * battery.el (display-battery-mode): If `battery-status-function'
13213 or `battery-mode-line-format' is nil, display the message and set
13214 `display-battery-mode' to nil (bug#9363).
13215
0c95fcf7
EZ
132162011-08-25 Eli Zaretskii <eliz@gnu.org>
13217
13218 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13219 bidi-string-mark-left-to-right; they are unnecessary now.
13220
a2ebe600
DD
132212011-08-25 Deniz Dogan <deniz@dogan.se>
13222
13223 * net/quickurl.el: Documentation typo fixes.
13224
e4ed06f1
CY
132252011-08-25 Chong Yidong <cyd@stupidchicken.com>
13226
13227 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13228
e5f1c99e
GM
132292011-08-25 Glenn Morris <rgm@gnu.org>
13230
b2948976
GM
13231 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13232
e5f1c99e
GM
13233 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13234 (smtpmail-via-smtp): Handle nil response from smtp.
13235
f22f4808
JL
132362011-08-24 Juri Linkov <juri@jurta.org>
13237
13238 * proced.el (proced-marked): Inherit from `error' instead of
13239 `font-lock-warning-face'.
13240
13241 * ibuffer.el (ibuffer-marked-face): Change default face from
13242 `font-lock-warning-face' to `warning'.
13243 (ibuffer-deletion-face): Change default face from
13244 `font-lock-type-face' to `error'.
13245
13246 * battery.el (battery-update): Use the face `error' instead of
13247 `font-lock-warning-face' (bug#6117).
13248
6a93965e
JL
132492011-08-24 Juri Linkov <juri@jurta.org>
13250
13251 * faces.el (success): Change face color from "Green3" to
13252 "ForestGreen" on light background (bug#9353).
13253
1ed43b09
CY
132542011-08-24 Chong Yidong <cyd@stupidchicken.com>
13255
5664fa7b
RT
13256 * window.el (quit-window): Rename from quit-restore-window.
13257 Use same arglist as old quit-window.
1ed43b09
CY
13258 (frame-auto-delete): Doc fix.
13259
13260 * view.el (view-mode-exit): Use quit-window.
13261
11dcdbb2
JL
132622011-08-24 Juri Linkov <juri@jurta.org>
13263
13264 * isearch.el (isearch-ring-adjust1): Start visiting previous
13265 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13266 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13267 for empty search string (when the last search string is reused
13268 automatically) to adjust the isearch ring to the last element and
13269 prepare the correct index for further M-p commands (bug#9185).
13270
de62b4df
KH
132712011-08-24 Kenichi Handa <handa@m17n.org>
13272
13273 * international/ucs-normalize.el: If decomposition property of
13274 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13275 nil.
13276 (nfd, nfkd): Likewise.
13277
963b492b
SM
132782011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13279
13280 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13281 from process filters aren't reliably transmitted to the surrounding
13282 accept-process-output.
13283 (mpc-proc-check): New function.
13284 (mpc-proc-sync): Use it (bug#8293)
13285
93b6b5e1
SM
132862011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13289 Add compatibility functions (bug#9313).
13290
bca633fb
EZ
132912011-08-23 Eli Zaretskii <eliz@gnu.org>
13292
b177498a
EZ
13293 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13294
6df6ae42 13295 * international/uni-bidi.el: Regenerate.
bca633fb 13296
0902a04e
KH
132972011-08-23 Kenichi Handa <handa@m17n.org>
13298
13299 * international/charprop.el:
13300 * international/uni-bidi.el:
13301 * international/uni-category.el:
13302 * international/uni-combining.el:
13303 * international/uni-comment.el:
13304 * international/uni-decimal.el:
13305 * international/uni-decomposition.el:
13306 * international/uni-digit.el:
13307 * international/uni-lowercase.el:
13308 * international/uni-mirrored.el:
13309 * international/uni-name.el:
13310 * international/uni-numeric.el:
13311 * international/uni-old-name.el:
13312 * international/uni-titlecase.el:
13313 * international/uni-uppercase.el: Regenerate.
13314
3bbf23bc
MR
133152011-08-23 Martin Rudalics <rudalics@gmx.at>
13316
13317 * help.el (help-window-setup): Fix message displayed when other
13318 window is reused. (Bug#9341)
13319
b3fd59bd
SM
133202011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13321
1802e444
SM
13322 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13323 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13324
b3fd59bd
SM
13325 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13326 Mark obsolete.
13327 * shell.el (shell-parse-pcomplete-arguments): New function.
13328 (shell-completion-vars): Use it instead (bug#9160).
13329
4eb61348
SM
133302011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13331
867cab74
SM
13332 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13333 strings and comments (bug#9333).
13334
4eb61348
SM
13335 * emacs-lisp/debug.el (debug-arglist): New function.
13336 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13337 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13338
262a1439
JL
133392011-08-22 Juri Linkov <juri@jurta.org>
13340
56ee679c
JL
13341 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13342 Revert regexp that highlights output switches to its old
13343 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13344
262a1439
JL
13345 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13346 to check for empty output (bug#9226).
13347
f13f86fb
CY
133482011-08-22 Chong Yidong <cyd@stupidchicken.com>
13349
13350 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13351 symbol-constituent as the default, as that stops font-lock from
13352 working properly (Bug#8843).
13353
c65c9622
LMI
133542011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13355
13356 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13357 `coding-system-for-*' around the process open call to avoid
13358 auth-source side effects.
e7f2c178 13359 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13360 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13361 probe hangs.
c65c9622 13362
23a8a5ab
CY
133632011-08-21 Chong Yidong <cyd@stupidchicken.com>
13364
ff98b2dd
CY
13365 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13366
23a8a5ab
CY
13367 * emacs-lisp/find-func.el (find-function-noselect): New arg
13368 lisp-only.
13369
13370 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13371 signal an error for built-in functions (Bug#6664).
13372
f5e3c598
LMI
133732011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13374
13375 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13376 (smtpmail-try-auth-methods): Use it.
13377
a3f2468a
CY
133782011-08-21 Chong Yidong <cyd@stupidchicken.com>
13379
2c34e8da
CY
13380 * font-lock.el (font-lock-fontify-region)
13381 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13382 (font-lock-default-unfontify-buffer)
13383 (font-lock-default-fontify-region)
13384 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13385
b3fd59bd
SM
13386 * progmodes/compile.el (compilation-error-properties):
13387 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13388 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13389 `ant' regexp.
ee31aabc 13390
a3f2468a
CY
13391 * net/browse-url.el (browse-url-firefox): Don't call
13392 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13393
8e999f70
GM
133942011-08-20 Glenn Morris <rgm@gnu.org>
13395
c21a496a
GM
13396 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13397
59ee0542
GM
13398 * tutorial.el (tutorial--default-keys): Update some default bindings.
13399
8e999f70
GM
13400 * files.el (hack-local-variables): Fully ignore case for "mode:".
13401
e3715033
AM
134022011-08-20 Alan Mackenzie <acm@muc.de>
13403
13404 Resolve invalid use of a regexp in regexp-opt.
13405
4d61f28d
JB
13406 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13407 detection for a java annotation.
e3715033 13408
4d61f28d 13409 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13410 detection for a java annotation.
13411
4d61f28d
JB
13412 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13413 handling for java.
e3715033
AM
13414 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13415
04ed2e9c
CY
134162011-08-20 Chong Yidong <cyd@stupidchicken.com>
13417
13418 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13419 (Bug#9274).
13420
826cee64
AM
134212011-08-20 Alan Mackenzie <acm@muc.de>
13422
58179cce 13423 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13424 such a construct. Mainly for when jit-lock etc. starts a chunk
13425 here.
13426
58179cce 13427 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13428 variable.
58179cce 13429 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13430 c-make-font-lock-search-function.
13431 (c-make-font-lock-search-function): Use the above function.
13432 (c-make-font-lock-context-search-function): New function.
13433 (c-cpp-matchers): Enhance the preprocessor expression case with
13434 the above function
13435 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13436 which takes an expression.
13437
13438 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13439
13009bd8
MR
134402011-08-20 Martin Rudalics <rudalics@gmx.at>
13441
13442 * window.el (display-buffer-reuse-window)
13443 (display-buffer-pop-up-window): Don't reuse or split a side
13444 window.
13445
9234ff7f
GM
134462011-08-19 Glenn Morris <rgm@gnu.org>
13447
13448 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13449 Downcase "Mode:". (Bug#9331)
9234ff7f 13450
f635daa1
CY
134512011-08-18 Chong Yidong <cyd@stupidchicken.com>
13452
13453 * international/characters.el: Add L and R categories.
13454
13455 * subr.el (bidi-string-mark-left-to-right): Rename from
13456 string-mark-left-to-right. Use category search.
13457
13458 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13459
bc987f8b
JL
134602011-08-18 Juri Linkov <juri@jurta.org>
13461
13462 * faces.el (error, warning, success): New faces with definitions
13463 copied from old default values of `font-lock-warning-face',
13464 `compilation-warning', `compilation-info' (bug#6117).
13465
13466 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13467
13468 * progmodes/compile.el (compilation-error): Inherit from `error'.
13469 (compilation-warning): Inherit from `warning'.
13470 (compilation-info): Inherit from `success'.
13471
13472 * dired.el (dired-marked): Inherit from `warning'.
13473 (dired-flagged): Inherit from `error'.
13474
57173b96
LMI
134752011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13476
3e79eb87
LMI
13477 * mail/smtpmail.el (auth-source): Require to avoid problems with
13478 binding variables (bug#9298). Also clean up some unused
13479 autoloads.
13480
b3fd59bd
SM
13481 * net/network-stream.el (network-stream-open-starttls):
13482 Support using starttls.el without using gnutls-cli.
57173b96 13483
02b404de
JL
134842011-08-17 Juri Linkov <juri@jurta.org>
13485
13486 * progmodes/grep.el (rgrep): Handle the case when
13487 `grep-find-command' is a cons cell (bug#9278).
13488
8c9177f2
MR
134892011-08-17 Martin Rudalics <rudalics@gmx.at>
13490
13491 * window.el (display-buffer-pop-up-frame): Run frame creation
13492 function with BUFFER current (as special-display-popup-frame
13493 does). Reported by Drew Adams.
13494
3644a0ab
DU
134952011-08-17 Daiki Ueno <ueno@unixuser.org>
13496
13497 * epa-mail.el: Simplify GnuPG group expansion using
13498 epg-expand-group.
13499 (epa-mail-group-alist, epa-mail-group-modtime)
13500 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13501 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13502 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13503 Remove.
13504
5e617bc2 135052011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13506
13507 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13508
9c4aeabf
AM
135092011-08-16 Alan Mackenzie <acm@muc.de>
13510
13511 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13512 Correct, to avoid the inside of macros.
13513
3a99bf64
RS
135142011-08-16 Richard Stallman <rms@gnu.org>
13515
04963aa8
RS
13516 * epa-mail.el: Handle GnuPG group definitions.
13517 (epa-mail-group-alist, epa-mail-group-modtime)
13518 (epa-mail-gnupg-conf-file): New variables.
13519 (epa-mail-parse-groups, epa-mail-sync-groups)
13520 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13521 (epa-mail-expand-recipients): New functions.
13522 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13523
177549d0
RS
13524 * mail/rmail.el (rmail-epa-decrypt): New command.
13525
fe38beef
RS
13526 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13527 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13528 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13529 (epa-decrypt-armor-in-region): Make error message clearer.
13530
934eacb9
SM
135312011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13532
13533 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13534 and "a2b" to "ab" for `prefix'.
13535
d024fb4e
CY
135362011-08-14 Chong Yidong <cyd@stupidchicken.com>
13537
13538 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13539 filter groups.
de148fee
CY
13540 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13541 Fourquet (Bug#8804).
d024fb4e 13542
62f1ca49
JB
135432011-08-12 Juanma Barranquero <lekktu@gmail.com>
13544
13545 * startup.el (argi): Declare as global variable (bug#9275).
13546
9ccaaa4b
CY
135472011-08-12 Chong Yidong <cyd@stupidchicken.com>
13548
13549 * subr.el (string-mark-left-to-right): Search the entire string
13550 for RTL script, not just the terminating character. Doc fix.
13551
a3dae87a
SM
135522011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13553
6cd18349
SM
13554 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13555 New function.
13556 (js--regexp-literal, js-syntax-propertize-function): Remove.
13557 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13558 (js-mode-map): Don't rebind electric keys.
13559 (js-insert-and-indent): Remove.
13560 (js-mode): Setup electric-layout and electric-indent instead.
13561
a3dae87a
SM
13562 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13563
9d5cb631
DU
135642011-08-12 Daiki Ueno <ueno@unixuser.org>
13565
13566 * epa.el (epa-progress-callback-function): Fix the logic of
13567 displaying progress.
13568 * epa-file.el (epa-file-insert-file-contents): Make progress
13569 display more user-friendly.
13570 (epa-file-write-region): Ditto.
13571
3e26a4a2
CY
135722011-08-10 Chong Yidong <cyd@stupidchicken.com>
13573
13574 * subr.el (string-mark-left-to-right): New function.
13575
13576 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13577 Use string-mark-left-to-right.
13578 (list-buffers-noselect): Caller changed.
13579
a3dae87a
SM
13580 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13581 Use string-mark-left-to-right.
3e26a4a2
CY
13582 (tabulated-list-print): Recenter after moving point.
13583
ac8cf6e6
JL
135842011-08-10 Juri Linkov <juri@jurta.org>
13585
13586 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13587 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13588 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13589
8d96c9a4
CY
135902011-08-09 Chong Yidong <cyd@stupidchicken.com>
13591
13592 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13593 (Bug#7554).
13594
7be1c708 135952011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13596
13597 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13598 character. (Bug#6594)
13599
37e11a63
CY
136002011-08-08 Chong Yidong <cyd@stupidchicken.com>
13601
839dde57
CY
13602 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13603 (image-dired--with-db-file): New macro.
13604 (image-dired-write-tags, image-dired-remove-tag)
13605 (image-dired-create-gallery-lists, image-dired-write-comments)
13606 (image-dired-get-comment, image-dired-mark-tagged-files)
13607 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13608 (image-dired-gallery-generate): Use insert-file-contents.
13609
37e11a63
CY
13610 * time.el (display-time-world-list, display-time-world-display):
13611 * time-stamp.el (time-stamp-string):
13612 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13613 set-time-zone-rule (Bug#7337).
13614
0b4946c4
DU
136152011-08-08 Daiki Ueno <ueno@unixuser.org>
13616
13617 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13618 (epg-error-to-string, epg-errors-to-string): New function.
13619 (epg-wait-for-completion): Reverse errors list.
13620 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13621 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13622 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13623 (epg-sign-keys, epg-generate-key-from-file)
13624 (epg-generate-key-from-string): Format errors by using
13625 epg-errors-to-string (bug#9255).
13626 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13627
75bfc667
JL
136282011-08-07 Juri Linkov <juri@jurta.org>
13629
13630 * faces.el (list-faces-display): Remove extra angle bracket
13631 from `help-mode-map'.
13632
13633 * info.el (Info-history-toc-nodes): Doc fix.
13634
13635 * longlines.el (longlines-mode): Doc fix.
13636
673e08bb
SM
136372011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13638
4640dd88
SM
13639 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13640 of statements and in a few more cases (bug#9183).
13641
673e08bb
SM
13642 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13643 New functions.
13644 (cl-transform-lambda): Use them (bug#9239).
13645
89b3f019
MR
136462011-08-05 Martin Rudalics <rudalics@gmx.at>
13647
13648 * window.el (display-buffer-same-window)
13649 (display-buffer-same-frame, display-buffer-other-window)
13650 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13651 (pop-to-buffer-other-window)
13652 (pop-to-buffer-same-frame-other-window)
13653 (pop-to-buffer-other-frame): Make them defuns.
13654 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13655
640c8776
SM
136562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * subr.el (make-composed-keymap): Move from C. Change calling
13659 convention, and improve docstring to bring attention to a subtle point.
13660 * minibuffer.el (completing-read-default): Adjust accordingly.
13661
63648a95
MA
136622011-08-03 Michael Albinus <michael.albinus@gmx.de>
13663
13664 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13665 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13666
13667 * net/trampver.el: Update release number.
13668
b796c9b7
SM
136692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13672 "in" (bug#9190).
13673
2239d7d5
LMI
136742011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13675
e07dd7c3
LMI
13676 * mail/sendmail.el (sendmail-query-once): Restore the current
13677 buffer after querying (bug#9074).
13678
0e6a2bd7
LMI
13679 * dired.el (dired-flagged): Use different faces for marked and
13680 flagged files (bug#6117).
13681
ce887515
LMI
13682 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13683 (bug#4433).
13684
92f2affc
LMI
13685 * ido.el (ido-mode): Switch off the message if called
13686 non-interactively.
13687
57d5aff0
LMI
13688 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13689 before 587, since it appears that that's more likely to work for
13690 more people.
13691
98cd6c18 13692 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13693 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13694 exist.
13695
b96dec83
LMI
13696 * info.el: Remove the `Info-beginning-of-buffer' function
13697 (bug#8325).
13698
b796c9b7
SM
13699 * net/network-stream.el (network-stream-open-starttls):
13700 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13701
d90e2ea0
MR
137022011-08-01 Martin Rudalics <rudalics@gmx.at>
13703
13704 * window.el (display-buffer-in-window): Don't set dedicated status
13705 of window here (Bug#9215).
13706 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13707 (display-buffer-pop-up-side-window)
b796c9b7 13708 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13709
cca09170
SM
137102011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13711
13712 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13713 before binding generated-autoload-file.
13714
027b979c
DD
137152011-08-01 Deniz Dogan <deniz@dogan.se>
13716
13717 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13718
3c7ee4f3
MA
137192011-07-30 Michael Albinus <michael.albinus@gmx.de>
13720
13721 Sync with Tramp 2.2.2.
13722
13723 * net/trampver.el: Update release number.
13724
2cc8e51a
JL
137252011-07-30 Juri Linkov <juri@jurta.org>
13726
13727 * dired-aux.el (dired-touch-initial): Remove function.
13728 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13729 current time, and `default' to the last modification time of the
13730 current marked file (bug#6887).
13731
a514d856
JM
137322011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13733
13734 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13735 numeric argument to read-number (bug#9163).
a514d856 13736
8a7eddd7
MA
137372011-07-27 Michael Albinus <michael.albinus@gmx.de>
13738
13739 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13740 connection process, it could be nil.
13741
1ddd96f5
LL
137422011-07-27 Leo Liu <sdl.web@gmail.com>
13743
13744 Simplify url handling in rcirc-mode.
13745
13746 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13747 (rcirc-browse-url-at-mouse): Remove.
13748 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13749
b248a85d
AM
137502011-07-26 Alan Mackenzie <acm@muc.de>
13751
13752 Fontify bitfield declarations properly.
13753
13754 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13755 (c-symbol-chars): Now exported as a lang variable.
13756 (c-not-primitive-type-keywords): New lang variable.
13757
13758 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13759 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13760 parsed as a bitfield declaration.
b248a85d 13761
b796c9b7
SM
13762 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13763 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13764 (c-punctuation-in): New function.
13765 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13766 declarations properly.
13767
68575ab0
UJ
137682011-07-26 Ulf Jasper <ulf.jasper@web.de>
13769
13770 * calendar/icalendar.el (icalendar--all-events): Take care of
13771 multiple vcalendars in a single file.
b796c9b7 13772 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13773
0f0a88b9
DD
137742011-07-25 Deniz Dogan <deniz@dogan.se>
13775
13776 * image.el (insert-image): Clarifying docstring.
13777
0b3f36df
MA
137782011-07-24 Michael Albinus <michael.albinus@gmx.de>
13779
13780 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13781 `tramp-send-command-and-check' if there is no error.
13782 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13783
a9901f61
AM
137842011-07-22 Alan Mackenzie <acm@muc.de>
13785
13786 Prevent cc-langs.elc being loaded at run time.
13787
13788 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13789 cc-langs.
13790
4d61f28d 13791 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13792 "(require 'cc-langs)". Quote a form so it will evaluate at
13793 (cc-mode's) compilation time.
13794
11d074b2
MA
137952011-07-22 Michael Albinus <michael.albinus@gmx.de>
13796
13797 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13798 loading. (Bug#9114)
13799
938b94c8
MR
138002011-07-21 Martin Rudalics <rudalics@gmx.at>
13801
13802 * window.el (display-buffer-pop-up-window)
13803 (display-buffer-pop-up-side-window)
13804 (display-buffer-in-side-window): Call display-buffer-set-height
13805 and display-buffer-set-width after setting the new window's
b796c9b7 13806 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13807
bfa4f190
SS
138082011-07-20 Sam Steingold <sds@gnu.org>
13809
13810 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13811 (etags-tags-included-tables): Call `convert-standard-filename' on
13812 the file names contained in TAGS so that windows Emacs can handle
13813 TAGS files created by cygwin ctags.
13814
8ca42262
LMI
138152011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13816
13817 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13818 which apparently didn't work.
13819
5db2afd2 138202011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13821
5db2afd2
RW
13822 * proced.el (proced-send-signal): For *Marked Processes* buffer
13823 put point at beginning of buffer.
13824
92e15d10
SB
138252011-07-19 Stephen Berman <stephen.berman@gmx.net>
13826
13827 * proced.el (proced-format): Make header lines align with the text
13828 (bug#1779).
13829
1bfd59e5
LMI
138302011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13831
13832 * view.el (view-buffer): Allow running in `special' modes if we're
13833 visiting a file (bug#8615).
13834
f5aae37c
MR
138352011-07-19 Martin Rudalics <rudalics@gmx.at>
13836
13837 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13838 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13839 New functions.
f5aae37c
MR
13840 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13841 more accurately.
13842
bf2c1571
AM
138432011-07-18 Alan Mackenzie <acm@muc.de>
13844
13845 Fontify declarators properly when, e.g., a jit-lock chunk begins
13846 inside a declaration.
13847
13848 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13849
b796c9b7
SM
13850 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13851 New function.
bf2c1571
AM
13852 (c-complex-decl-matchers): Insert reference to
13853 c-font-lock-enclosing-decls.
13854
13855 * progmodes/cc-engine.el (c-backward-single-comment):
13856 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13857 to nil around calls to (forward-comment -1).
13858
4e190b80
LMI
138592011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13860
12dc863d
LMI
13861 * image.el (put-image): Doc typo fix.
13862
a762e966
LMI
13863 * progmodes/etags.el (tags-search): Doc typo fix.
13864
4e190b80
LMI
13865 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13866 password if we get errors 550 to 554.
13867
f019fb21
LMI
138682011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13869
b796c9b7 13870 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13871
81746738
LMI
13872 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13873 indentation character (bug#6380).
13874
3ee3a1b5
LMI
13875 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13876
c82f64de
LMI
13877 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13878 to clarify what the problem is (bug#4291).
13879
f019fb21
LMI
13880 * simple.el (current-kill): Clarify what
13881 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13882 (auto-fill-mode): Document `auto-fill-function' in relation to
13883 `auto-fill-mode' (bug#2470).
f019fb21 13884
0794775d
LM
138852011-07-16 Lawrence Mitchell <wence@gmx.li>
13886
13887 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13888 method if slot is read-only (bug#9035).
13889
be39b8cc
MR
138902011-07-16 Martin Rudalics <rudalics@gmx.at>
13891
b796c9b7 13892 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13893 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13894 selected before, see discussion of (Bug#8615), (Bug#6954).
13895 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13896
6ccf7859
GM
138972011-07-15 Glenn Morris <rgm@gnu.org>
13898
13899 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13900 Respect help-form.
6ccf7859 13901
87e86684
LM
139022011-07-09 Lawrence Mitchell <wence@gmx.li>
13903
13904 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13905 (gnutls-negotiate): Use it.
13906
d6066239
LMI
139072011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13908
b796c9b7
SM
13909 * net/gnutls.el (gnutls-negotiate):
13910 Upcase `gnutls-algorithm-priority'.
d6066239 13911
bd23ebc0
GM
139122011-07-15 Glenn Morris <rgm@gnu.org>
13913
c65bca65
GM
13914 * jka-compr.el (jka-compr-verbose): Move from here...
13915 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13916 Add missing :version tag.
13917 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13918
478615cc
LMI
139192011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13920
7b41decb
LMI
13921 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13922 (gnutls-negotiate): Use it.
13923
dbc44fcd
LMI
13924 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13925
06789f97
LMI
13926 * info.el (Info-beginning-of-buffer): New command.
13927 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13928 announcing `b' as the key (bug#8325).
ab896c37 13929 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13930
c39da690
LMI
13931 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13932
3aa5f34b
LMI
13933 * international/mule-cmds.el
13934 (describe-specified-language-support): Make the error message
13935 clearer (bug#8905).
13936
4bf0979f
LMI
13937 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13938
478615cc
LMI
13939 * isearch.el (isearch-barrier): Add a doc string, since it's
13940 mentioned in a function doc string (bug#8678).
13941
75c68aa1
MR
139422011-07-15 Martin Rudalics <rudalics@gmx.at>
13943
13944 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13945 buffer argument (Bug#9083) and self-identifying label argument.
13946
a7c33da2
GM
139472011-07-15 Glenn Morris <rgm@gnu.org>
13948
13949 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13950
2f5c6024
LMI
139512011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13952
13953 * man.el (Man-fontify-manpage): Fix message when formatting the
13954 man page (bug#7929).
13955
0bb23927 139562011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13957
13958 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13959 argument LRM; if non-nil, append an invisible LRM character to the
13960 buffer name.
13961 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13962 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13963 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13964 paragraph direction.
cce4b0a7 13965
621ef9ab
LMI
139662011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13967
d1583c48
LMI
13968 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13969 the man page name (bug#7929).
13970
6a57fb5f
LMI
13971 * image.el (put-image): Mention the `put-image' overlay property
13972 (bug#7834).
13973
d7956b14
LMI
13974 * scroll-bar.el (set-scroll-bar-mode): Mention that
13975 `scroll-bar-mode' lists the values (bug#7772).
13976
5b2d4a66
LMI
13977 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13978 command (bug#7729).
13979
7509a874
LMI
13980 * rect.el (apply-on-rectangle): Return the point after the last
13981 operation.
13982 (string-rectangle): Go to the point after the last operation
13983 (bug#7522).
13984
4fe74b19
LMI
13985 * printing.el (pr-toggle-region): Clarify the documentation
13986 slightly (bug#7493).
13987
b796c9b7
SM
13988 * time.el (display-time-update):
13989 Allow `display-time-mail-function' to return nil (bug#7158).
13990 Fix suggested by Detlev Zundel.
ab283561 13991
fc233c9d
LMI
13992 * vc/diff.el (diff): Clarify the order the file names are read
13993 (bug#7111).
13994
43f5740b
LMI
13995 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13996 the doc string (bug#7015).
13997
f2182a76
LMI
13998 * font-lock.el (font-lock-maximum-decoration): Mention what
13999 numeric levels mean (bug#6935).
14000
621ef9ab
LMI
14001 * startup.el (initial-buffer-choice): Don't mention the `none'
14002 selection, which is against policy.
14003
adc47434
MR
140042011-07-14 Martin Rudalics <rudalics@gmx.at>
14005
b796c9b7
SM
14006 * window.el (display-buffer-normalize-special):
14007 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14008
7e5bfb8f
EZ
140092011-07-14 Eli Zaretskii <eliz@gnu.org>
14010
14011 * subr.el (version<, version<=, version=): Mention "-CVS" and
14012 "-12345" alpha version numbers.
14013
27fa387a
CY
140142011-07-14 Chong Yidong <cyd@stupidchicken.com>
14015
14016 * bindings.el: Add advertised binding for set-mark-command
14017 (Bug#5772).
14018
8bdfa064
CY
140192011-07-14 Chong Yidong <cyd@stupidchicken.com>
14020
14021 * bindings.el (mode-line-other-buffer):
14022 * bookmark.el (bookmark-bmenu-2-window):
14023 * bs.el (bs-cycle-next, bs-cycle-previous):
14024 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14025 switch-to-buffer.
14026
14027 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14028 Delete.
8bdfa064 14029
5eba16a3
JB
140302011-07-14 Juanma Barranquero <lekktu@gmail.com>
14031
14032 * follow.el (follow-debug-message, follow-redisplay):
14033 * jka-cmpr-hook.el (with-auto-compression-mode):
14034 Fix typos in docstrings.
14035
15853710
LMI
140362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14037
a28e4607
LMI
14038 * subr.el (with-silent-modifications): Clarify somewhat what the
14039 macro inhibits (bug#6525).
14040
15853710
LMI
14041 * simple.el (eval-expression): Note what it does if called
14042 interactively (bug#6495).
14043
bee0fcef
CY
140442011-07-13 Chong Yidong <cyd@stupidchicken.com>
14045
b796c9b7
SM
14046 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14047 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14048
14049 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14050 Remove switch-to-buffer.
14051
58274504
LMI
140522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14053
bd2fcc8d
LMI
14054 * files.el (make-directory): Clarify that an error will be raised
14055 if there's an error (bug#6397).
14056
0f04b32c
LMI
14057 * startup.el (initial-buffer-choice): Add `none' as a choice
14058 (bug#6234).
14059
465c5fc8
LMI
14060 * subr.el (add-hook): Clarify section about buffer-local hooks
14061 (bug#6218).
14062
58274504
LMI
14063 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14064
bead9a43
JB
140652011-07-13 Juanma Barranquero <lekktu@gmail.com>
14066
14067 * tabify.el (untabify): Preserve the current column so that point
14068 doesn't move (bug#6032).
14069
3af98a7b
LMI
140702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14071
b796c9b7
SM
14072 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14073 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14074
6240145a
GM
140752011-07-13 Glenn Morris <rgm@gnu.org>
14076
14077 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14078 (dired-insert-directory): Give a message the first time
14079 if ls is found not to support --dired.
14080
1d8c2ccc
LMI
140812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14082
14083 * simple.el (toggle-truncate-lines): Clarify what is toggled
14084 (bug#5580). Text by Drew Adams.
14085
5fc4038e
CY
140862011-07-13 Chong Yidong <cyd@stupidchicken.com>
14087
14088 * simple.el (blink-matching-open): Make the error message from the
14089 last change less verbose.
14090
bf6012e5
DN
140912011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14092
14093 * font-lock.el (font-lock-comment-face): Use the high contrast
14094 "yellow" color for font-lock-comment-face on low color terminals
14095 using a dark background color (bug#4221).
14096
343c3b5a
LMI
140972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14098
7e9505c5
LMI
14099 * dired.el (dired-insert-set-properties): Make the doc string
14100 reflect what it does now (bug#5325).
14101
c26fdcf5
LMI
14102 * simple.el (blink-matching-open): Say that we were unable to find
14103 the match within the limit, if we're limited (bug#5122).
14104
bb388cc5
LMI
14105 * international/mule-cmds.el (prefer-coding-system): Add an
14106 example (bug#4869).
14107
343c3b5a
LMI
14108 * progmodes/etags.el (tags-search): Document `file-list-form'
14109 (bug#4731).
14110
2a517d45
LM
141112011-07-13 Lawrence Mitchell <wence@gmx.li>
14112
14113 * net/browse-url.el (browse-url-default-browser)
14114 (browse-url-browser-function): Make the default browser choice a
14115 bit more logical (bug#4300). Also clean up the doc string.
14116
b6c78ef2
JB
141172011-07-13 Juanma Barranquero <lekktu@gmail.com>
14118
14119 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14120 binary endings (bug#4440).
14121
1c4dd947
LMI
141222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14123
a2014063
LMI
14124 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14125 which can be pretty annoying (bug#8971).
14126
9c9c2d88
LMI
14127 * jka-compr.el (jka-compr-verbose): New variable, and use
14128 throughout (bug#8971).
14129
1c4dd947
LMI
14130 * info.el (Info-find-file): Fall back on the installation
14131 directory if we can't find the info node anywhere else.
14132
a1c9f41b
SO
141332011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14134
14135 * vc/vc.el (vc-revert-file):
14136 Don't set file time-stamp in the past. (Bug#5181)
14137
536f3d36
LMI
141382011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14139
7152b011
LMI
14140 * files.el (after-find-file): Give a better error message when
14141 trying to find a symlink that points to a file that doesn't exist
14142 (bug#4398).
14143
536f3d36
LMI
14144 * progmodes/cc-vars.el: Remove (probably) misleading comment
14145 (bug#4396).
14146
460c0fba
JB
141472011-07-12 Johan Bockgård <bojohan@gnu.org>
14148
14149 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14150
7a6bda45
CY
141512011-07-12 Chong Yidong <cyd@stupidchicken.com>
14152
14153 * mouse-sel.el: Hack restoring functionality, while keeping
14154 compatibility with 2010-07-03 changes to mouse selection.
14155 (mouse-sel-primary-overlay): New var.
14156 (mouse-sel-selection-alist): Use it.
14157 (mouse-sel-mode): Doc fix; remove points that are default features
14158 of mouse.el.
14159
c79598ef
JB
141602011-07-12 Johan Bockgård <bojohan@gnu.org>
14161
14162 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14163 Fix previous fix (bug#2490).
14164
ff8be6ef
RW
141652011-07-12 Roland Winkler <winkler@gnu.org>
14166
b796c9b7
SM
14167 * textmodes/bibtex.el (bibtex-initialize):
14168 Use pop-to-buffer-same-window.
ff8be6ef
RW
14169 (bibtex-search-entries): Fix interactive call.
14170
296ba3ee
LMI
141712011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14172
f5242a02 14173 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14174 Fontise bytecomp Error lines more correctly (bug#2490).
14175 Fix suggested by Johan Bockgård.
f5242a02 14176
296ba3ee
LMI
14177 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14178
14179 * dired-x.el (dired-guess-default): Use `delete-dups'.
14180
f69fd0d2
CY
141812011-07-12 Chong Yidong <cyd@stupidchicken.com>
14182
14183 * dired.el (dired-mark-prompt):
14184 * dired-aux.el (dired-read-shell-command): Doc fix.
14185
eab5dc07
LMI
141862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14187
b796c9b7
SM
14188 * mail/sendmail.el (sendmail-query-once):
14189 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14190 emacs -Q.
14191
14192 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14193
eab5dc07
LMI
14194 * cus-edit.el (custom-file): Take an optional no-error variable.
14195 (customize-save-variable): Set the variable, and give a warning if
14196 running under "emacs -q".
14197
a1e65d42
JB
141982011-07-11 Juanma Barranquero <lekktu@gmail.com>
14199
14200 * loadhist.el (unload-feature-special-hooks):
14201 Add `auto-coding-functions', `fill-nobreak-predicate' and
14202 `find-directory-functions' (bug#5327).
14203
1d52da10
LMI
142042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14205
be958f1d
LMI
14206 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14207
5bedb26c
LMI
14208 * cus-edit.el (custom-guess-name-alist): -alist variables should
14209 use the `alist' type (bug#3120). Suggested by Drew Adams.
14210
1d52da10
LMI
14211 * printing.el: Add documentation to all the `pr-toggle-' commands.
14212
cd394be1 142132011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14214
14215 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14216 backends where it makes sense (bug#2623).
14217
dcc88d8a
LMI
142182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14219
c3de9feb
LMI
14220 * dired-x.el (dired-guess-default): Remove duplicate shell command
14221 entries (bug#2028).
8a93078b 14222 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14223 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14224
dcc88d8a
LMI
14225 * subr.el (remove-duplicates): New conveniency function.
14226
505e3645
LMI
142272011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14228
14229 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14230 (bug#1526).
14231
142322011-07-10 Martin Rudalics <rudalics@gmx.at>
14233
14234 * window.el (display-buffer-normalize-default): Don't invert
14235 meaning of even-window-heights. Reported by Eli Zaretskii
14236 <eliz@gnu.org>.
14237
455e4fa1
BR
142382011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14239
14240 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14241
8e0bc3e9
CY
142422011-07-10 Chong Yidong <cyd@stupidchicken.com>
14243
14244 * window.el (display-buffer): Fix arguments to
14245 display-buffer-reuse-window in last change.
14246
fa7c3228
CY
14247 * faces.el (link): Use a less saturated blue on light backgrounds.
14248
14249 * startup.el (fancy-startup-text, fancy-about-text)
14250 (fancy-startup-tail): Use font-lock faces, for background safety.
14251
c0a7f300
BN
142522011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14253
b796c9b7
SM
14254 * emulation/viper-cmd.el (viper-change-state-to-vi):
14255 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14256
4dc2a129
MR
142572011-07-09 Martin Rudalics <rudalics@gmx.at>
14258
14259 * window.el (display-buffer-default-specifiers): Remove.
14260 (display-buffer-macro-specifiers): Remove default specifiers.
14261 (display-buffer-alist): Default to nil.
b796c9b7 14262 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14263 (display-buffer-pop-up-window): Allow splitting internal
14264 windows. Check whether a live window was created.
14265 (display-buffer-other-window-means-other-frame)
14266 (display-buffer-normalize-arguments): Rename to
14267 display-buffer-normalize-argument and rewrite. Set the
14268 other-window specifier.
14269 (display-buffer-normalize-special): New function.
14270 (display-buffer-normalize-options): Rename to
14271 display-buffer-normalize-default and rewrite.
14272 (display-buffer-normalize-options-inhibit): Remove.
14273 (display-buffer-normalize-specifiers): Rewrite.
14274 (display-buffer): Process other-window specifier and call
14275 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14276 more faithfully.
b796c9b7 14277 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14278 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14279 (display-buffer-in-window, display-buffer-alist-set):
14280 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14281 <tassilo@member.fsf.org>.
14282
2d43b8c9
LL
142832011-07-09 Leo Liu <sdl.web@gmail.com>
14284
14285 * register.el (insert-register): Restore accidental change on
14286 2011-06-26. (Bug#9028)
14287
7f9b7c53
GM
142882011-07-09 Glenn Morris <rgm@gnu.org>
14289
14290 * subr.el (remq): Handle the empty list. (Bug#9024)
14291
f042cfd8
AS
142922011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14293
14294 * mail/sendmail.el (send-mail-function): No longer delay custom
14295 initialization.
14296 * custom.el (custom-initialize-delay): Doc fix.
14297
856b2f11
SM
142982011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14299
14300 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14301
afae1d68
MA
143022011-07-08 Michael Albinus <michael.albinus@gmx.de>
14303
14304 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14305 human-friendly prompt.
14306
0757af94
SM
143072011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14308
14309 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14310 provided by a particular plugin.
14311
d760b731
LMI
143122011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14313
14314 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14315 save customizations (with "emacs -Q"), just set the variable
14316 instead of erroring out.
14317
14318 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14319
cd79ce90
JL
143202011-07-08 Juri Linkov <juri@jurta.org>
14321
14322 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14323 (archive-zip-update-case): Use 7z if found by `executable-find'.
14324 The order of searching the available programs is the same as in
14325 `archive-zip-extract' (bug#8968).
14326
14cc04aa
CY
143272011-07-07 Chong Yidong <cyd@stupidchicken.com>
14328
14329 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14330 (menu-bar-options-menu): Tweak descriptions.
14331
0a1848ec
LMI
143322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14333
14334 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14335 menu items into verb phrases (bug#1421). Also refill to fit under
14336 80 columns.
14337
f5bd0689
CY
143382011-07-07 Chong Yidong <cyd@stupidchicken.com>
14339
538e85c6
CY
14340 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14341 (Info-read-node-name): Doc fix (Bug#1084).
14342
f5bd0689
CY
14343 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14344 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14345 (end-of-sexp, beginning-of-sexp)
14346 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14347 (forward-symbol, forward-same-syntax, word-at-point)
14348 (sentence-at-point): Doc fix (Bug#1144).
14349
56ec5115
LMI
143502011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14351
f3f8e37f
LMI
14352 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14353 should cover it (bug#1281).
14354
0757af94 14355 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14356
e9fce1ac 14357 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14358 negotiation fails, then possibly try again with a non-encrypted
14359 connection (bug#9017).
14360
56ec5115
LMI
14361 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14362 be used.
14363
c2f9aec8
RS
143642011-07-07 Richard Stallman <rms@gnu.org>
14365
14366 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14367 property, and handle its changed format.
14368 Look for the correct line number.
14369 Use file's line contents (but not past first =) to find
14370 correct line in message.
14371
ef7b981d 143722011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14373
14374 * international/characters.el (build-unicode-category-table):
14375 Delete it.
0757af94 14376 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14377
0757af94 14378 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14379 to src/chartab.c.
14380 (get-char-code-property): Call unicode-property-table-internal to
14381 load a file. Call get-unicode-property-internal where necessary.
14382 (put-char-code-property): Call unicode-property-table-internal to
14383 load a file. Call put-unicode-property-internal where necessary.
14384 put-unicode-property-internal where necessary.
0757af94
SM
14385 (char-code-property-description):
14386 Call unicode-property-table-internal to load a file.
c805dec0
KH
14387
14388 * international/charprop.el:
14389 * international/uni-bidi.el:
14390 * international/uni-category.el:
14391 * international/uni-combining.el:
14392 * international/uni-comment.el:
14393 * international/uni-decimal.el:
14394 * international/uni-decomposition.el:
14395 * international/uni-digit.el:
14396 * international/uni-lowercase.el:
14397 * international/uni-mirrored.el:
14398 * international/uni-name.el:
14399 * international/uni-numeric.el:
14400 * international/uni-old-name.el:
14401 * international/uni-titlecase.el:
14402 * international/uni-uppercase.el: Regenerate.
14403
14404 * loadup.el: Load international/charprop.el before
14405 international/characters.
14406
e14b388a
CY
144072011-07-07 Chong Yidong <cyd@stupidchicken.com>
14408
14409 * window.el (next-buffer, previous-buffer): Signal an error if
14410 called from a minibuffer window.
14411
14412 * bindings.el: Revert 2011-07-04 change.
14413
354cf0ba
RS
144142011-07-06 Richard Stallman <rms@gnu.org>
14415
14416 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14417 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14418 Treat markers like ints.
14419 (rmail-mime-entity): Doc fix.
14420
a48868a7
LMI
144212011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14422
4906cd3d
LMI
14423 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14424 defcustom again for backwards compatibility.
14425
e0457abe
LMI
14426 * simple.el (shell-command-on-region): Fill.
14427
d67f7e1f
LMI
14428 * dired-aux.el (dired-kill-line): Add a doc string.
14429
fe204702
LMI
14430 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14431 to "\\sw\\|\\s_" (bug#358).
14432
a48868a7
LMI
14433 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14434 (dired-unmark-backward): Ditto.
14435 (dired-flag-backup-files): Ditto.
14436
14437 * dired-x.el (dired-mark-sexp): Ditto.
14438
aa8a705c
RS
144392011-07-06 Richard Stallman <rms@gnu.org>
14440
14441 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14442 (rmail-mime-entity): New arg TRUNCATED.
14443 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14444 New functions.
14445 (rmail-mime-save): Warn if entity is truncated.
14446 (rmail-mime-toggle-hidden): Likewise, for showing.
14447 (rmail-mime-process-multipart): Record when an entity is truncated.
14448
a9a936b9
RS
14449 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14450 if ENTITY is a string.
14451
1f2b92cb
LMI
144522011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14453
f4f73198 14454 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14455 of faces when `M-C-x'-ing their definitions (bug#8378).
14456 Also clean up the code slightly.
f4f73198 14457
12b16734 14458 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14459 because that makes the colors go away.
12b16734 14460
f0691d22
LMI
14461 * mail/sendmail.el (send-mail-function): Change the default to
14462 `sendmail-query-once'.
9e87df06 14463 (sendmail-query-once): Add an autoload cookie.
f0691d22 14464
1f2b92cb
LMI
14465 * net/network-stream.el (network-stream-open-starttls): Try using
14466 a plain connection even if the server offered STARTTLS, and we
14467 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14468 capability. This should make smtpmail.el work in slightly more
14469 configurations.
14470
1cdd2a1b
MA
144712011-07-06 Michael Albinus <michael.albinus@gmx.de>
14472
14473 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14474 New defun.
14475 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14476
fbcc67e2
MM
144772011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14478
14479 * progmodes/sql.el: Version 3.0
0757af94 14480 (sql-product-alist): Add product :completion-object,
fbcc67e2 14481 :completion-column, and :statement attributes.
0757af94 14482 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14483 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14484 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14485 ansi keywords.
14486 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14487 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14488 (sql-oracle-show-reserved-words): New function for development.
14489 (sql-product-font-lock): Simplify for source code buffers.
14490 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14491 New functions.
14492 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14493 (sql-mode-map): Add statement movement functions.
14494 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14495 New variable.
fbcc67e2
MM
14496 (sql-statement-regexp, sql-beginning-of-statement)
14497 (sql-end-of-statement, sql-signum): New functions.
0757af94 14498 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14499 (sql-show-sqli-buffer): Bug fix.
14500 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14501 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14502 with sql-interactive-mode.
14503 (sql-save-connection): Save buffer local settings.
0757af94 14504 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14505 (sql-product-interactive): Bug fix.
14506 (sql-preoutput-hold): New variable.
14507 (sql-interactive-remove-continuation-prompt): Bug fixes.
14508 (sql-debug-redirect): New variable.
14509 (sql-str-literal): New function.
14510 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14511 Redesign.
fbcc67e2
MM
14512 (sql-oracle-save-settings, sql-oracle-restore-settings)
14513 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14514 (sql-completion-object, sql-completion-column)
14515 (sql-completion-sqlbuf): New variables.
14516 (sql-build-completions-1, sql-build-completions)
14517 (sql-try-completion): New functions.
14518 (sql-read-table-name): Use them.
14519 (sql-contains-names): New buffer local variable.
14520 (sql-list-all, sql-list-table): Use it.
14521 (sql-oracle-completion-types): New variable.
14522 (sql-oracle-completion-object, sql-sqlite-completion-object)
14523 (sql-postgres-completion-object): New functions.
14524
d4eaeab1
GM
145252011-07-06 Glenn Morris <rgm@gnu.org>
14526
14527 * window.el (pop-to-buffer): Doc fix.
14528
322b7dab 145292011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14530
14531 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14532
322b7dab 145332011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14534
322b7dab 14535 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14536
322b7dab 14537 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14538
605dd5bf
CY
145392011-07-05 Chong Yidong <cyd@stupidchicken.com>
14540
14541 * button.el (button): Inherit from link face. Suggested by Dan
14542 Nicolaescu.
14543
7dbfa719
SM
145442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14545
3db614b0
SM
14546 * progmodes/gdb-mi.el: Fit in 80 columns.
14547 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14548 switch-to-buffer.
14549
7dbfa719
SM
14550 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14551 if imenu is simply not configured (bug#8941).
14552
919d884a
KM
145532011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14554
14555 * allout.el (allout-post-undo-hook): New allout outline-change
14556 event hook to signal undo activity.
14557 (allout-post-command-business): Run allout-post-undo-hook if an
14558 undo just occurred.
7dbfa719
SM
14559 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14560 * allout-widgets.el (allout-widgets-after-undo-function):
14561 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14562 in the vicinity of an undo.
14563 (allout-widgets-mode): Include allout-widgets-after-undo-function
14564 on the new allout-post-undo-hook.
14565
450a0f09
SM
145662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14567
14568 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14569 Let define-derived-mode define it.
14570 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14571 cycles of abbrev-table inheritance (bug#8998).
14572
2de69e00
RW
145732011-07-05 Roland Winkler <winkler@gnu.org>
14574
14575 * textmodes/bibtex.el: Add support for biblatex.
14576 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14577 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14578 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14579 (bibtex-entry-alist, bibtex-field-alist): New variables.
14580 (bibtex-entry-field-alist): Obsolete alias for
14581 bibtex-BibTeX-entry-alist.
14582 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14583 (bibtex-set-dialect): New command.
14584 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14585 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14586 Bind via bibtex-set-dialect.
2de69e00
RW
14587 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14588 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14589 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14590 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14591 Define via bibtex-set-dialect.
450a0f09
SM
14592 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14593 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14594 (bibtex-vec-push, bibtex-vec-incr): New functions.
14595 (bibtex-format-entry, bibtex-field-list)
14596 (bibtex-print-help-message, bibtex-validate)
14597 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14598
2dcdbdd9
SM
145992011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14600
14601 * progmodes/compile.el (compilation-goto-locus):
14602 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14603 * bs.el (bs-cycle-next, bs-cycle-previous):
14604 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14605 * bindings.el (mode-line-other-buffer):
14606 * autoinsert.el (auto-insert):
14607 * arc-mode.el (archive-extract):
14608 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14609
b27640fe
JB
146102011-07-05 Juanma Barranquero <lekktu@gmail.com>
14611
14612 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14613 Fix check of `emacs-lock-unlockable-modes'.
14614 Coerce true values of `emacs-lock--try-unlocking' to t.
14615
53bbe3ad
JB
146162011-07-05 Juanma Barranquero <lekktu@gmail.com>
14617
14618 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14619 * emacs-lock.el: New file.
14620
1d3cdbc7
JD
146212011-07-05 Julien Danjou <julien@danjou.info>
14622
14623 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14624 than `boundp' to check if face is set.
14625
9173deec
JB
146262011-07-05 Juanma Barranquero <lekktu@gmail.com>
14627
14628 * register.el (registerv-make):
14629 * window.el (window-min-height): Fix typos in docstrings.
14630
869795d6
JD
146312011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14632
9173deec 14633 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14634 Update doc string.
14635
b768cdcd
JB
146362011-07-04 Juanma Barranquero <lekktu@gmail.com>
14637
14638 * server.el (server-execute): Catch quit and call
14639 `server-return-error' to pass the error back to emacsclient and
14640 close the connection (bug#8942).
14641
13aa217b
KM
146422011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14643
14644 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14645 insecure exception for current topic. Also note that auto-saves
14646 are handled differently.
14647
5d3385a0 14648 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14649 State variables for tracking auto-save inhibition situation.
14650
14651 (allout-write-contents-hook-handler): Rename from
14652 'allout-write-file-hook-handler', and describe how it depends on
14653 write-contents-functions sensitivity to non-nil value to prevent
14654 file write.
14655
14656 (allout-auto-save-hook-handler): Remove. auto-save does not check
14657 this in individual buffers, only in the starting buffer, so this
14658 is not the right way for us to inhibit auto-save in a buffer
14659 according to its condition.
14660
14661 (allout-mode): Use new allout-write-contents-hook-handler, and
14662 only with write-contents-functions. Remove auto-save provisions -
14663 they're implemented elsewhere.
14664
14665 (allout-before-change-handler): If undo is in progress, note that
14666 for attention of allout-post-command-business.
14667
14668 (allout-post-command-business): If the command we're following was
14669 an undo, check for change in the status of encrypted items and
14670 adjust auto-save inhibitions accordingly.
14671
14672 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14673 according to whether there are or aren't any plain-text topics
14674 pending encryption.
14675
2dcdbdd9 14676 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14677 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14678 if there are plain-text topics pending encryption.
13aa217b
KM
14679
14680 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14681 buffer-saved-size and some allout state to not inhibit auto-saves
14682 if there are no longer any plain-text topics pending encryption.
14683
0757af94
SM
14684 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14685 No longer provide for exemption of the current topic.
13aa217b 14686
ac89b32c
JL
146872011-07-04 Juri Linkov <juri@jurta.org>
14688
14689 Add 7z operations to delete and save changed members (bug#8968).
14690 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14691 New defcustoms.
14692 (archive-7z-write-file-member): New function.
14693 (archive-7z-summarize): Fix the number of dashes in the
14694 listing output.
14695
8fa39615
SM
146962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14697
14698 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14699 (bug#8958).
14700
2f11b3f1
CY
147012011-07-04 Chong Yidong <cyd@stupidchicken.com>
14702
d66fef2b
CY
14703 * bindings.el: Ignore next-buffer and previous-buffer in
14704 minibuffer-local-map.
14705
2f11b3f1
CY
14706 * font-lock.el (font-lock-builtin-face): Change light background
14707 color to dark slate blue (Bug#6693).
14708
f932a347
WD
147092011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14710
14711 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14712
c8af70e1
SM
147132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14714
14715 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14716 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14717 Add switch-to-buffer.
14718
f158badc
LMI
147192011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14720
14721 * isearch.el (isearch-search-fun-function): Clarify further the
14722 meaning of the function returned.
14723
6d95bd46
MA
147242011-07-04 Michael Albinus <michael.albinus@gmx.de>
14725
14726 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14727
14728 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14729 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14730 Use it.
14731 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14732 `tramp-default-remote-path' does not exist.
14733 (tramp-send-command-and-read): New optional argument NOERROR.
14734 (tramp-open-connection-setup-interactive-shell)
14735 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14736 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14737 (tramp-process-sentinel): Flush also process' connection property.
14738 (tramp-sh-handle-start-file-process): Do not set process
14739 sentinel. It is done now ...
14740 (tramp-maybe-open-connection): ... here. (Bug#8929)
14741
909e6b67
MK
147422011-07-04 MON KEY <monkey@sandpframing.com>
14743
14744 * play/animate.el (animate-string): Doc fixes and allow changing
14745 the buffer name (bug#5417).
14746
147472011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14748
c8af70e1 14749 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14750
f34755dc
PE
147512011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14752
396cec72
PE
14753 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14754 This is simpler and helps future-proof the code.
14755 (timer-until): Use time-subtract and float-time.
08235028 14756 (timer--time-less-p): Use time-less-p.
f34755dc 14757
56e6cc31
JB
147582011-07-04 Juanma Barranquero <lekktu@gmail.com>
14759
3abb79e5
JB
14760 * type-break.el (timep): Use the value of `float-time' to avoid a
14761 byte-compiler warning.
14762
56e6cc31
JB
14763 * server.el (server-eval-and-print): Return any result, even nil.
14764
7b9430b4
PE
147652011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14766
14767 * type-break.el: Accept time formats that the builtins accept.
14768 (timep, type-break-time-difference): Accept any format that
14769 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14770 This is simpler and helps future-proof the code.
14771 (type-break-time-difference): Round rather than ignoring
14772 subseconds components.
14773
3034e9e7
LMI
147742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14775
14776 * info.el (Info-apropos-matches): Make non-interactive, since it
14777 doesn't seem to do anything useful as a command (bug#8829).
14778
1485f4c0
CY
147792011-07-03 Chong Yidong <cyd@stupidchicken.com>
14780
14781 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14782 Move from faces.el.
1485f4c0
CY
14783 (frame-default-terminal-background): New function.
14784
14785 * custom.el (custom-push-theme): Don't record faces in `changed'
14786 theme; this doesn't work correctly for per-frame face settings.
14787 (disable-theme): Use face-set-after-frame-default to reset faces.
14788 (custom--frame-color-default): New function.
14789
9fa3dd45
LMI
147902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14791
c8af70e1 14792 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14793 (bug#8769).
14794
6cbbc20c
KR
147952011-03-29 Kevin Ryde <user42@zip.com.au>
14796
14797 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14798 `perl-Test2' extend to match possible "fail #N" rep count
14799 (bug#8377).
14800
c7f98048
LMI
148012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14802
65676592
LMI
14803 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14804 `smtpmail-via-smtp' now returns the error instead of nil.
14805
c7f98048
LMI
14806 * isearch.el (isearch-search-fun-function): Clarify the doc string
14807 (bug#8101).
14808
56e6cc31 148092011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14810
14811 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14812 unnecessary spaces (bug#8987).
14813
2b216704
LMI
148142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14815
14816 * net/network-stream.el (open-network-stream): Use the
14817 :end-of-capability command thoughout.
14818
148192011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14820
14821 * net/network-stream.el (open-network-stream): Add the
14822 :end-of-capability command parameter, used by pop3.el.
14823
36adf6ce
LMI
148242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14825
1ca0da0e
LMI
14826 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14827
fc00f69c
LMI
14828 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14829 for list)" (bug#6475).
14830
28fd8759 14831 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14832 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14833 an error (bug#6297).
14834
0dd8b6da
LMI
14835 * man.el (Man-reference-regexp): Allow matching possible
14836 word-wrapped references (bug#6289).
14837
ce1438d6
LMI
14838 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14839 for consistency with the other vc buffers (bug#6197).
14840 (vc-checkin): Ditto.
14841
14842 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14843
36adf6ce
LMI
14844 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14845
e83cc1f7
LMI
148462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14847
8a20ca4c
LMI
14848 * custom.el (defcustom): Clarify that :set is only used in the
14849 Customize user interface (bug#6089).
14850
83319045
LMI
14851 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14852 associated with a file, refuse to run instead of erroring out
14853 (bug#6084).
14854
a8392169
LMI
14855 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14856 the doc string, since it appears that using `fill-column' always
14857 controls the width (bug#7845).
14858
e83cc1f7
LMI
14859 * simple.el (shell-command-on-region): Say where the error output
14860 went if `shell-command-default-error-buffer' is set (bug#6857).
14861
e47ca23b
KM
148622011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14863
14864 * allout.el (allout-yank-processing): Adjust cursor position for
14865 backwards-deleted space.
14866
14867 (allout-rebullet-heading): Register changes with
14868 allout-exposure-changed-hook, so the modified topic is properly
14869 decorated.
14870
5cf56143
LMI
148712011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14872
08549772
LMI
14873 * minibuffer.el (completion-in-region): Document PREDICATE
14874 (bug#7136).
14875
48e96771
LMI
14876 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14877 of keyword/argument pairs (bug#6904).
14878
c8af70e1
SM
14879 * replace.el (multi-occur):
14880 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14881
e17d05e2
LMI
148822011-07-02 Drew Adams <drew.adams@oracle.com>
14883
14884 * dired.el (dired-mark-if): Make the message about whether it's
14885 marking or unmarking clearer (bug#8523).
14886
063b0e45
LMI
148872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14888
14889 * disp-table.el (display-table-print-array): New function.
14890 (describe-display-table): Use it to print the vectors more pretty
14891 (Bug#8859).
14892
28545e04
MR
148932011-07-02 Martin Rudalics <rudalics@gmx.at>
14894
14895 * window.el (window-state-get-1): Don't assign clone numbers.
14896 Add clone-of item to list of window parameters.
14897 (window-state-put-2): Don't process clone numbers.
14898 (display-buffer-alist): Fix doc-string.
14899
3349e122
SM
149002011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14901
14902 * subr.el (remq): Don't allocate if it's not needed.
14903 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14904 (keymap--merge-bindings): New functions.
14905 (keymap-canonicalize): Use them to refine the canonicalization.
14906 * minibuffer.el (minibuffer-local-completion-map)
14907 (minibuffer-local-must-match-map): Move initialization from C.
14908 (minibuffer-local-filename-completion-map): Move initialization from C;
14909 don't inherit from anything here.
14910 (minibuffer-local-filename-must-match-map): Make obsolete.
14911 (completing-read-default): Use make-composed-keymap to combine
14912 minibuffer-local-filename-completion-map with either
14913 minibuffer-local-must-match-map or
14914 minibuffer-local-filename-completion-map.
14915
d224ac83
GM
149162011-07-01 Glenn Morris <rgm@gnu.org>
14917
3de63bf8
GM
14918 * type-break.el (type-break-time-sum): Use dolist.
14919
d224ac83
GM
14920 * textmodes/flyspell.el (flyspell-word-search-backward):
14921 Replace CL function.
14922
1a1e3f32
SM
149232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14924
fe3f64d5
SM
14925 * mouse.el (mouse--strip-first-event): New function.
14926 (function-key-map): Use it to map fringe clicks to normal clicks
14927 by default.
14928
eb604e34
SM
14929 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14930 (vc-bzr-revision-completion-table): Add support for annotate and date.
14931
1a1e3f32
SM
14932 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14933 inherit from parent.
14934
5bd35902
LMI
149352011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14936
ace6c69c 14937 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14938 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14939
191e2bed
LMI
14940 * dired.el (dired-mode): Fix up the doc string as suggested by
14941 Drew Adams (bug#8817).
14942
5bd35902
LMI
14943 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14944 cookie, since the manual says that it should be possible to add
14945 this function to `find-file-hook' (bug#8709).
14946
eee8207a
TZ
149472011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14948
14949 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14950 here. Noted Ted Zlatanov as the maintainer.
14951 (cfengine-common-settings, cfengine-common-syntax): New functions
14952 to set up common things between `cfengine-mode' and
14953 `cfengine3-mode'.
14954 (cfengine3-mode): New mode.
14955 (cfengine3-defuns cfengine3-defuns-regex
14956 (cfengine3-class-selector-regex cfengine3-category-regex)
14957 (cfengine3-vartypes cfengine3-font-lock-keywords)
14958 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14959 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14960
36b148cf
MA
149612011-07-01 Michael Albinus <michael.albinus@gmx.de>
14962
14963 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14964
14965 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14966
0bf4ba9a
MR
149672011-07-01 Martin Rudalics <rudalics@gmx.at>
14968
14969 * window.el (same-window-buffer-names, same-window-regexps)
14970 (same-window-p, special-display-frame-alist)
14971 (special-display-popup-frame, special-display-function)
14972 (special-display-buffer-names, special-display-regexps)
14973 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14974 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14975 (split-window-preferred-function, split-height-threshold)
14976 (split-width-threshold, even-window-heights)
14977 (display-buffer-mark-dedicated, window-splittable-p)
14978 (split-window-sensibly, window-safely-shrinkable-p):
14979 Un-obsolete.
14980 (display-buffer): Don't spread args with function specifier
14981 because special-display-popup-frame won't like it.
14982
35837f51
PE
149832011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14984
d0672f86
PE
14985 Time-stamp simplifications and fixes.
14986 These improve accuracy slightly, and future-proof the code
14987 against some potential changes to current-time format.
14988
b9444d97
PE
14989 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14990 by using time-since and float-time.
14991
0ef923dc
PE
14992 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14993 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14994 + NNN microseconds".
14995
2f81380d
PE
14996 * type-break.el (type-break-time-sum): Rewrite using time-add.
14997
845b5c3e
PE
14998 * play/hanoi.el (hanoi-current-time-float): Remove.
14999 All uses replaced by float-time.
15000
ee6f1be0
PE
15001 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15002 This yields a more-accurate answer.
15003 (rng-time-to-float): Remove; no longer needed.
15004
fe955043
PE
15005 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15006
5777162a
PE
15007 * calendar/timeclock.el (timeclock-seconds-to-time):
15008 Defalias to seconds-to-time, since they're the same thing.
15009
3103f8b6 15010 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15011 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15012 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15013
0e61a35f
SM
150142011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15015
15016 * window.el (bury-buffer): Don't iconify the only frame.
15017 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15018 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15019
ddd63a1e
CY
150202011-07-01 Chong Yidong <cyd@stupidchicken.com>
15021
0e61a35f
SM
15022 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15023 Add mouse-yank-primary.
ddd63a1e 15024
055f4923
TZ
150252011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15026
15027 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15028
6a2fb145
SM
150292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15032 (find-library-name): Use it to find relative load names when provided
15033 absolute file name (bug#8803).
15034
fd4983f2
LMI
150352011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15036
887d14ad
LMI
15037 * textmodes/flyspell.el (flyspell-word): Consider words that
15038 differ only in case as potential doublons (bug#5687).
15039
c53dc7fc
LMI
15040 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15041 Remove two rather uninteresting debugging-like messages to make
15042 debbugs.el more silent.
15043
fd4983f2
LMI
15044 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15045 a password-like phrase.
15046
7a71b18d 150472011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15048
15049 * progmodes/cc-guess.el: New file.
15050
6a2fb145 15051 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15052
15053 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15054 derived from `c-basic-common-init'.
15055
15056 * progmodes/cc-mode.el (top-level): Require cc-guess.
15057 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15058
1fa280a3
LM
150592011-06-30 Lawrence Mitchell <wence@gmx.li>
15060
15061 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15062
e6597158
AM
150632011-06-30 Alan Mackenzie <acm@muc.de>
15064
1fa280a3
LM
15065 * progmodes/cc-engine.el (c-guess-continued-construct):
15066 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15067 lock is disabled. Name this case as "CASE G".
15068
68ba37fb
KM
150692011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15070
15071 * allout.el (allout-yank-processing): Fix injection of extra space
15072 between bullet and non-whitespace character in first topic when
15073 pasting, ensuring that the actual spacing in the pasted topic
15074 following the bullet char is preserved. This extra space was
15075 causing pasted encrypted topics to get a decrypted status even
15076 when the content was actually still encrypted. Now the decryption
15077 status from before the paste is preserved.
15078
15079 (allout-flag-region): Set all allout overlays so they evaporate
15080 when reduced to zero length (evanescent), to prevent overlay
15081 leakage.
15082
887a0b34
GM
150832011-06-30 Glenn Morris <rgm@gnu.org>
15084
94b9acce
GM
15085 * w32-fns.el (w32-charset-info-alist): Declare.
15086
1d9b46d4
GM
15087 * find-dired.el (find-grep-options): Simplify.
15088
cc232200
GM
15089 * term/ns-win.el (ns-set-resource): Declare.
15090
28e77c46
GM
15091 * ses.el (row, col): Declare dynamic variables honestly.
15092
887a0b34
GM
15093 * textmodes/reftex-parse.el (index-tags): Declare.
15094
658d8eb8
CY
150952011-06-30 Chong Yidong <cyd@stupidchicken.com>
15096
15097 * cus-edit.el (customize-push-and-save): New function.
15098
15099 * files.el (hack-local-variables-confirm): Use it.
15100
1fa280a3
LM
15101 * custom.el (load-theme): New arg NO-CONFIRM.
15102 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15103 (custom-enabled-themes): Doc fix.
15104
15105 * cus-theme.el (customize-create-theme)
15106 (custom-theme-merge-theme): Callers to load-theme changed.
15107
bb617717
LMI
151082011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15109
d61bdd5d
LMI
15110 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15111 short URLs have at least one dot in them (bug #7614).
15112
bb617717
LMI
15113 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15114 nil, because using a pty is apparently too slow (bug #895).
15115
2f31f37a
LMI
151162011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15117
15118 * mail/sendmail.el (sendmail-query-once): New function.
15119 (sendmail-query-once-function): New variable.
15120
3076b24e
GM
151212011-06-29 Glenn Morris <rgm@gnu.org>
15122
faf2a174
GM
15123 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15124
3076b24e
GM
15125 * ses.el (top-level): Require cl when compiling.
15126 (ses-set-localvars): Fix error statement.
15127 Call it at compile time to silence a storm of warnings.
15128
5386012d
MR
151292011-06-29 Martin Rudalics <rudalics@gmx.at>
15130
15131 * window.el (normalize-live-buffer): Rename to
15132 window-normalize-buffer.
15133 (normalize-live-frame): Rename to window-normalize-frame.
15134 (normalize-any-window): Rename to window-normalize-any-window.
15135 (normalize-live-window): Rename to window-normalize-live-window.
15136 (make-window-atom): Rename to window-make-atom.
15137 (window-resize-reset): Rename to window--resize-reset.
15138 (window-resize-reset-1): Rename to window--resize-reset-1.
15139 (resize-mini-window): Rename to window--resize-mini-window.
15140 (resize-subwindows-skip-p): Rename to
15141 window--resize-subwindows-skip-p.
15142 (resize-subwindows-normal): Rename to
15143 window--resize-subwindows-normal.
15144 (resize-subwindows): Rename to window--resize-subwindows.
15145 (resize-other-windows): Rename to window--resize-siblings.
15146 (resize-this-window): Rename to window--resize-this-window.
15147 (resize-root-window): Rename to window--resize-root-window.
15148 (resize-root-window-vertically): Rename to
15149 window--resize-root-window-vertically.
15150 (normalize-buffer-to-display): Rename to
15151 window-normalize-buffer-to-display.
15152 (normalize-buffer-to-switch-to): Rename to
15153 window-normalize-buffer-to-switch-to.
15154 Correspondingly update all callers of the functions listed
15155 above.
15156 (display-buffer-alist, display-buffer-normalize-arguments)
15157 (display-buffer-normalize-options, display-buffer)
15158 (display-buffer-alist-set): Use "function" instead of
15159 "fun-with-args".
15160
1176868d
CY
151612011-06-28 Chong Yidong <cyd@stupidchicken.com>
15162
15163 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15164 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15165 debbugs.gnu.org. Mention acknowledgment email.
15166
20a7a65f
LMI
151672011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15168
15169 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15170 buffer multibyteness, since it shouldn't matter.
15171
5f45cca5
MR
151722011-06-28 Martin Rudalics <rudalics@gmx.at>
15173
15174 * window.el (display-buffer-in-side-window): Handle dedicated
15175 windows as in display-buffer-reuse-window.
15176 (display-buffer-normalize-alist): Use value of override
15177 specifier.
15178 (display-buffer-normalize-specifiers): Use value of
15179 other-window-means-other-frame specifier.
15180 (display-buffer-alist): Rewrite some texts in widgets.
15181 (display-buffer): Spread arguments when calling function
15182 specified by fun-with-args.
15183
ad85fe1f
DD
151842011-06-28 Deniz Dogan <deniz@dogan.se>
15185
1fa280a3
LM
15186 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15187 Unnest `let'.
da68c4c8 15188
ad85fe1f
DD
15189 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15190 selectors (Bug#5732).
ec49bd31 15191 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15192
a08cc025
JA
151932011-06-27 Jari Aalto <jari.aalto@cante.net>
15194
15195 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15196 (eshell-ls-date-format): New defcustom.
15197 (eshell-ls-file): Use it.
15198
e2b551c5
SM
151992011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15200
15201 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15202
8982b231
KY
152032011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15204
15205 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15206 (ange-ftp-make-tmp-name): New arg.
15207 (ange-ftp-file-local-copy): Use it.
15208
36c9fa27
J
152092011-06-27 Jambunathan K <kjambunathan@gmail.com>
15210
15211 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15212 no-conversion (Bug#8870).
15213
d68443dc
MR
152142011-06-27 Martin Rudalics <rudalics@gmx.at>
15215
15216 * window.el (window-right, window-left, window-child)
15217 (window-child-count, window-last-child)
15218 (window-iso-combination-p, walk-window-tree-1)
15219 (window-atom-check-1, window-tree-1, delete-window)
15220 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15221 new naming conventions - window-vchild, window-hchild,
15222 window-next and window-prev are now called window-top-child,
15223 window-left-child, window-next-sibling and window-prev-sibling
15224 respectively.
d615d6d2
MR
15225 (resize-window-reset): Rename to window-resize-reset.
15226 (resize-window-reset-1): Rename to window-resize-reset-1.
15227 (resize-window): Rename to window-resize.
15228 (window-min-height, window-min-width)
15229 (resize-mini-window, resize-this-window, resize-root-window)
15230 (resize-root-window-vertically, adjust-window-trailing-edge)
15231 (enlarge-window, shrink-window, maximize-window)
15232 (minimize-window, delete-window, quit-restore-window)
15233 (split-window, balance-windows, balance-windows-area-adjust)
15234 (balance-windows-area, window-state-put-2)
15235 (display-buffer-even-window-sizes, display-buffer-set-height)
15236 (display-buffer-set-width, set-window-text-height)
15237 (fit-window-to-buffer): Rename all "resize-window" prefixed
15238 calls to use the "window-resize" prefix convention.
15239 (display-buffer-alist): Fix symbol for label specifier.
15240 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15241 corresponding specifier.
15242 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15243
b6458526
VB
152442011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15245
15246 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15247 convention.
15248 (ses-call-printer): Does not pass an empty string to formatter when the
15249 cell is empty to keep from barking printer Calc math-format-value.
15250
d31fd9ac
RS
152512011-06-27 Richard Stallman <rms@gnu.org>
15252
43d5bf84
RS
15253 * battery.el (battery-mode-line-limit): New variable.
15254 (battery-update): Handle it.
15255
d31fd9ac
RS
15256 * mail/rmailmm.el (rmail-mime-process-multipart):
15257 Handle truncated messages.
15258
819a6054
GM
152592011-06-27 Glenn Morris <rgm@gnu.org>
15260
15261 * progmodes/flymake.el (flymake-err-line-patterns):
15262 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15263
cedc73f2
VB
152642011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15265
819a6054 15266 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15267 (ses--clean-!, ses--clean-_): New functions.
15268 (ses-range): Add configurability of readout order, and conversion
15269 to Calc vector.
15270
5e5d49b6
VB
15271 * ses.el (ses-repair-cell-reference-all): New function.
15272 (ses-cell-symbol): Set macro as safe, so that it can be used in
15273 formulas.
15274
56e6cc31 15275 * ses.el: Update cycle detection algorithm.
90ca8b49 15276 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15277 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15278 (ses-set-localvars): New function.
15279 (ses-make-cell): Add property-list as a cell element.
15280 (ses-cell-property-get-fun, ses-cell-property-get)
15281 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15282 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15283 New functions.
90ca8b49
VB
15284 (ses-cell-property-set, ses-cell-property-pop)
15285 (ses-cell-property-get-handle): New macro.
15286 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15287 New aliases, used for code readability.
15288 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15289 cycle detection.
15290 (ses-self-reference-early-detection): New defcustom.
fac916bf 15291 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15292 (ses-mode): Use ses-set-localvars.
15293 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15294 before lauching the update processing.
15295 (ses-initialize-Dijkstra-attempt): New function.
15296 (ses-recalculate-cell): Update for cycle detection based on
15297 Dijkstra algorithm.
15298
2bb63e81
VB
15299 * ses.el: Fix commenting and indenting convention.
15300
c9d29fb8
SM
153012011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15302
15303 * bs.el (bs-cycle-next): Complete last change.
15304
d8e4b68b
JB
153052011-06-27 Drew Adams <drew.adams@oracle.com>
15306
15307 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15308
40098786
LMI
153092011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15310
c9d29fb8
SM
15311 * net/network-stream.el (network-stream-open-starttls):
15312 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15313 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15314
40098786
LMI
15315 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15316 to binary to possibly avoid line encoding issues on Windows (among
15317 other things).
15318
468d09d4
LMI
153192011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15320
15321 * net/network-stream.el (open-network-stream): Return an :error
15322 saying what the problem was, if possible.
15323
15324 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15325 server.
15326
15327 * net/network-stream.el (network-stream-open-starttls): If we
15328 wanted to use STARTTLS, and the server offered it, but we weren't
15329 able to because we had no STARTTLS support, then close the connection.
15330 (open-network-stream): Return an :error element, if present.
15331
16f07dd7
CY
153322011-06-26 Chong Yidong <cyd@stupidchicken.com>
15333
88821ca0
CY
15334 * hl-line.el (hl-line-sticky-flag): Doc fix.
15335 (global-hl-line-sticky-flag): New option (Bug#8323).
15336 (global-hl-line-highlight): Obey it.
15337
16f07dd7
CY
15338 * vc/vc.el (vc-revert-show-diff): Default to t.
15339
6b5ccddf
KM
153402011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15341
c9d29fb8
SM
15342 * allout-widgets.el (allout-widgets-post-command-business):
15343 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15344 undecorated when an isearch is continued past, and isearch
15345 automatically collapses them. This leads to "widget leaks", where
15346 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15347 hidden widgets can slow down cursor travel, substantially.
15348 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15349 so we're doing without this nicety.
15350
15351 (allout-widgets-tally-string): Don't try to do a hash-table-count
15352 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15353 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15354 *Messages* when allout-widgets-maintain-tally is t.
15355
355f2e07
MR
153562011-06-26 Martin Rudalics <rudalics@gmx.at>
15357
15358 * window.el (display-buffer-normalize-argument): Rename to
15359 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15360 LABEL argument. Respect special-display-function when popping up
15361 a new frame. Fix code searching for a window showing the buffer
15362 on another frame.
c9d29fb8
SM
15363 (display-buffer-normalize-specifiers):
15364 Call display-buffer-normalize-arguments.
355f2e07
MR
15365 (display-buffer-in-window): Don't undedicate the window if its
15366 buffer remains the same.
15367 Reported by Drew Adams <drew.adams@oracle.com>.
15368 (display-buffer-alist): Add choice for same-window macro
15369 specfier.
15370 (display-buffer): Mention special meaning of LABEL argument in
15371 doc-string. Fix quoting. Don't pop up a new frame even as
15372 fallback.
15373
7ca8fc42
JB
153742011-06-26 Juanma Barranquero <lekktu@gmail.com>
15375
15376 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15377 avoid deleting the current window in some cases (bug#8911).
15378
bc312254
AS
153792011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15380
15381 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15382 (Bug#8934)
15383
2db18f3f
LMI
153842011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15385
c9d29fb8
SM
15386 * net/network-stream.el (network-stream-open-starttls):
15387 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15388 (network-stream-open-tls): Ditto.
15389
6302e0d3
LL
153902011-06-26 Leo Liu <sdl.web@gmail.com>
15391
15392 * register.el (registerv): New struct.
15393 (registerv-make): New function.
c9d29fb8
SM
15394 (jump-to-register, describe-register-1, insert-register):
15395 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15396 struct. (Bug#8415)
15397
5fdd4046
CY
153982011-06-26 Chong Yidong <cyd@stupidchicken.com>
15399
2afef60a
CY
15400 * vc/vc.el (vc-revert-show-diff): New defcustom.
15401 (vc-diff-internal): New arg specifying diff buffer.
15402 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15403 reuse an existing *vc-diff* buffer (Bug#8927).
15404
5fdd4046
CY
15405 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15406
e93db24a
GM
154072011-06-26 Glenn Morris <rgm@gnu.org>
15408
15409 * progmodes/f90.el (f90-critical-indent): New option.
15410 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15411 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15412 (f90-mode): Doc fix.
15413 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15414 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15415 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15416 (f90-match-end): Handle block, critical.
15417
eefff499
GM
154182011-06-25 Glenn Morris <rgm@gnu.org>
15419
f6ba4cc9
GM
15420 * calendar/diary-lib.el (diary-included-files): Doc fix.
15421 (diary-include-files): New function, extracted from
15422 diary-include-other-diary-files and diary-mark-included-diary-files.
15423 (diary-include-other-diary-files, diary-mark-included-diary-files):
15424 Just call diary-include-files.
15425 (diary-mark-entries): Reset diary-included-files on first call.
15426
16712304
GM
15427 * calendar/diary-lib.el (diary-mark-entries)
15428 (diary-mark-included-diary-files):
15429 Visit included diary-files in temp buffers.
15430
5d8e0d43
GM
15431 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15432 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15433 (f90-start-block-re, f90-imenu-generic-expression)
15434 (f90-looking-at-program-block-start, f90-no-block-limit):
15435 Add support for submodules.
15436
ccf7a5d5
GM
15437 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15438 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15439
11fdef7d 154402011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15441
15442 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15443 buffer-file-type before setting its value, to avoid disastrous
eefff499 15444 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15445
74f53697
JB
154462011-06-25 Juanma Barranquero <lekktu@gmail.com>
15447
15448 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15449
15450 * ses.el (ses-unload-function):
15451 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15452
15453 * proced.el (proced-unload-function):
15454 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15455
18a4ce5e
AR
154562011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15457
15458 * server.el (server-create-window-system-frame): Add parameters arg.
15459 (server-process-filter): Doc fix. Handle frame-parameters.
15460
519d22cc
JB
154612011-06-25 Juanma Barranquero <lekktu@gmail.com>
15462
15463 Fix bug#8730, bug#8781.
15464
15465 * loadhist.el (unload--set-major-mode): New function.
15466 (unload-feature): Use it.
15467
15468 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15469 (python-unload-function): New function.
15470
c206f5b0
SM
154712011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15472
15473 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15474
f9ad64f3
GS
154752011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15476
15477 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15478 the candidates list.
15479
7d0da90e
JB
154802011-06-24 Juanma Barranquero <lekktu@gmail.com>
15481
15482 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15483
14b4e83d
RS
154842011-06-23 Richard Stallman <rms@gnu.org>
15485
15486 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15487 (rmail-variables): Set next-error-move-function.
15488 (rmail-what-message): Take argument POS.
15489 (rmail-next-error-move): New function.
15490
273d2baf
SM
154912011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15492
15493 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15494 messages for adjacent non-terminals.
15495
56c2cc9a
RS
154962011-06-23 Richard Stallman <rms@gnu.org>
15497
15498 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15499 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15500 (rmail-start-mail): Don't specify use of rmail-mail-return;
15501 that's done by mail-bury now.
15502 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15503
d59eb518
MA
155042011-06-23 Michael Albinus <michael.albinus@gmx.de>
15505
15506 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15507 SIZE is a number.
15508
02cfc6d6
MR
155092011-06-23 Martin Rudalics <rudalics@gmx.at>
15510
15511 * window.el (get-lru-window, get-mru-window)
15512 (get-largest-window): Never return a minibuffer window.
15513 (display-buffer-pop-up-window): Fix a bug that could lead to
15514 reusing the minibuffer window.
15515 (display-buffer): Pass original specifier argument to
15516 display-buffer-function instead of the normalized one.
15517 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15518
4e323265
LL
155192011-06-22 Leo Liu <sdl.web@gmail.com>
15520
15521 * minibuffer.el (completing-read-function)
15522 (completing-read-default): Move from minibuf.c
15523
7a70468f
RS
155242011-06-22 Richard Stallman <rms@gnu.org>
15525
50718fc2
RS
15526 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15527 to Rmail even if not started by a special Rmail command.
15528
7a70468f
RS
15529 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15530 Copy the buffer currently showing just one message.
15531
297dde5a
RW
155322011-06-22 Roland Winkler <winkler@gnu.org>
15533
15534 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15535 (bibtex-clean-entry): First delete the old key so that a
15536 customized algorithm for generating the new key does not get
15537 confused by the old key.
15538 (bibtex-url): Obey regexp of first step.
15539 (bibtex-search-entries): Do not use add-to-list with local
15540 list-var.
15541
97bb1093
LMI
155422011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15543
15544 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15545 stored a user name, then query for the password first, instead of
15546 waiting for SMTP to give an error message and the trying again.
15547
1c0f1a19
JD
155482011-06-22 Lawrence Mitchell <wence@gmx.li>
15549
15550 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15551 BUFFER in call-process.
15552
396f7c9d
LMI
155532011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15554
15555 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15556 QUIT twice.
ddb7ffee
LMI
15557 (smtpmail-try-auth-methods): Require user name and password from
15558 auth-source.
396f7c9d 15559
8998d1b3
MR
155602011-06-22 Martin Rudalics <rudalics@gmx.at>
15561
15562 * window.el (display-buffer-default-specifiers)
15563 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15564 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15565 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15566
15567 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15568 (special-display-frame-alist, special-display-popup-frame):
15569 Remove duplicate declarations. These are now in window.el.
15570
4ea31e07
LMI
155712011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15572
c9d29fb8
SM
15573 * mail/smtpmail.el (smtpmail-via-smtp):
15574 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15575 server supports it. SMTP servers that support STARTTLS commonly
15576 require it.
15577
15578 * net/network-stream.el (network-stream-open-starttls): Support
15579 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15580 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15581
95f41d9a
LMI
15582 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15583 upgrades with `open-network-stream', and rely solely on
15584 auth-source for all credentials. Big changes throughout the file,
15585 but in particular:
c9d29fb8
SM
15586 (smtpmail-auth-credentials): Remove.
15587 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15588 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15589 MAIL FROM, too.
95f41d9a 15590
c9d29fb8
SM
15591 * net/network-stream.el (network-stream-open-starttls):
15592 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15593 STARTTLS.
15594 (auth-source): Require.
15595 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15596 (network-stream-certificate): Change cert-cert to cert and
15597 cert-key to key.
4ea31e07 15598
065ec2c7
MA
155992011-06-21 Michael Albinus <michael.albinus@gmx.de>
15600
15601 * net/tramp-cache.el (top): Don't load the persistency file when
15602 "emacs -Q" has been called.
15603
cd93b359
DR
156042011-06-21 Tim Harper <timcharper@gmail.com>
15605
d8e4b68b
JB
15606 * term/ns-win.el (ns-initialize-window-system):
15607 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15608 resource to NO as it is not yet supported by the NS port.
15609
ae9c0411
JB
156102011-06-21 Juanma Barranquero <lekktu@gmail.com>
15611
15612 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15613 (list-dynamic-libraries): ...not here.
15614
7f3f739f
LL
156152011-06-21 Leo Liu <sdl.web@gmail.com>
15616
15617 * subr.el (sha1): Implement sha1 using secure-hash.
15618
327c8fb1
MR
156192011-06-21 Martin Rudalics <rudalics@gmx.at>
15620
15621 * window.el (display-buffer-alist): In default value do not
15622 enforce searching a window on any but the selected frame.
15623 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15624 (display-buffer-select-window): Remove function.
15625 (display-buffer-in-window): When a window on another frame gets
15626 reused, do not select it any more but just raise its frame if
15627 necessary (Bug#8851) and (Bug#8856).
15628 (display-buffer-normalize-options): Handle pop-up-frames related
15629 options more faithfully.
15630 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15631 window if it is on another frame.
c9d29fb8
SM
15632 (display-buffer-alist, display-buffer-default-specifiers):
15633 Don't make new frame unsplittable by default.
9e9de014
MR
15634 (display-buffer-normalize-argument): Fix doc-string typo and use
15635 'same-frame-other-window instead of 'other-window when associating
15636 with display-buffer-macro-specifiers.
327c8fb1 15637
7cf3f556
VB
156382011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15639
15640 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15641 New functions.
15642 (5x5-mode-map, 5x5-mode-menu): Bind them.
15643 (5x5-draw-grid): Tweak the solver's rendering.
15644
60a406cf
SM
156452011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15646
15647 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15648 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15649
d8e4b68b 156502011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15651
15652 * menu-bar.el: Use function variable instead of switch-to-buffer.
15653 (menu-bar-select-buffer-function): New variable.
60a406cf 15654 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15655
478d6f95
SM
156562011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15657
15658 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15659 variable's status.
15660
ca530739
JD
156612011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15662
15663 * x-dnd.el (x-dnd-version-from-flags)
15664 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15665 and long as number (Bug#8899).
15666 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15667
bcd70d97
SM
156682011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15669
60a406cf 15670 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15671 (completion-try-completion, completion-all-completions): Compute the
15672 metadata argument if it's missing; make it optional (bug#8795).
15673
60a406cf 15674 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15675 (widget-complete): Use new :completion-function property.
15676 (widget-completions-at-point): New function.
15677 (default): Use :completion-function instead of :complete.
60a406cf
SM
15678 (widget-default-completions): Rename from widget-default-complete;
15679 Rewrite.
bcd70d97
SM
15680 (widget-string-complete, widget-file-complete, widget-color-complete):
15681 Remove functions.
15682 (file, symbol, function, variable, coding-system, color):
15683 * international/mule-cmds.el (default-input-method, charset)
15684 (language-info-custom-alist):
15685 * cus-edit.el (face): Use new property :completions.
15686
15687 * progmodes/pascal.el (pascal-completions-at-point): New function.
15688 (pascal-mode): Use it.
15689 (pascal-mode-map): Use completion-at-point.
15690 (pascal-toggle-completions): Make obsolete.
15691 (pascal-complete-word, pascal-show-completions):
15692 * progmodes/octave-mod.el (octave-complete-symbol):
15693 Redefine as obsolete alias.
15694 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15695 Signal absence of completion info for old Octave,
15696 (inferior-octave-complete): Redefine as obsolete alias.
15697 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15698 (meta-completions-at-point): Rename from meta-complete-symbol and
15699 adapt it for use on completion-at-point-functions.
15700 (meta-common-mode): Use it.
15701 (meta-looking-at-backward, meta-match-buffer): Remove.
15702 (meta-complete-symbol): Redefine as obsolete alias.
15703 (meta-common-mode-map): Use completion-at-point.
15704 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15705 (makefile-mode-map): Use completion-at-point.
15706 (makefile-completions-at-point): Rename from makefile-complete and
15707 adapt it for use on completion-at-point-functions.
15708 (makefile-mode): Use it.
15709 (makefile-complete): Redefine as obsolete alias.
15710
aebf69c8
DD
157112011-06-20 Deniz Dogan <deniz@dogan.se>
15712
15713 * net/rcirc.el: Delete trailing whitespaces once and for all.
15714
bfbbb27d
DC
157152011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15716
15717 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15718
d264a46b
CY
157192011-06-19 Chong Yidong <cyd@stupidchicken.com>
15720
4ca009e5
CY
15721 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15722
d264a46b
CY
15723 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15724
fbf5b3ce
MR
157252011-06-19 Martin Rudalics <rudalics@gmx.at>
15726
15727 * window.el (display-buffer-other-window-means-other-frame):
15728 Call display-buffer-normalize-alist.
15729 (display-buffer-normalize-specifiers-1): Rename to
15730 display-buffer-normalize-argument. New argument other-frame.
15731 Rewrite.
15732 (display-buffer-normalize-specifiers-2): Rename to
15733 display-buffer-normalize-options.
15734 (display-buffer-normalize-alist-1): New function.
15735 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15736 display-buffer-normalize-alist.
15737 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15738 (display-buffer-normalize-options-inhibit): New variable.
15739 (display-buffer-normalize-specifiers): Rewrite calling
15740 display-buffer-normalize-alist,
15741 display-buffer-normalize-argument, and
15742 display-buffer-normalize-options. Don't call the latter if
15743 display-buffer-normalize-options-inhibit is non-nil.
15744 (frame-auto-delete): New option.
15745 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15746 (window-list-no-nils, window-state-ignored-parameters)
15747 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15748 (window-state-put-1, window-state-put-2, window-state-put):
15749 New functions.
9a028c23
MR
15750 (display-buffer-normalize-options): Move special-display-p group
15751 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15752
6d10d800
CY
157532011-06-18 Chong Yidong <cyd@stupidchicken.com>
15754
6420d28b
CY
15755 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15756 groups (Bug#8776).
15757 (rx-submatch-n): New function.
15758 (rx): Document it.
15759
ddb8b596
CY
15760 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15761 (Bug#8768).
15762
15763 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15764
77080289
CY
15765 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15766
61dfb316
CY
15767 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15768 anytime existing face settings are present (Bug#8889).
15769
6d10d800
CY
15770 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15771 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15772 Remove unused argument.
15773
be3fb2b8
MR
157742011-06-18 Martin Rudalics <rudalics@gmx.at>
15775
bcd70d97
SM
15776 * window.el (display-buffer-default-specifiers):
15777 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15778 pop-up-window-min-width, and another reuse-window specifier
15779 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15780 (display-buffer-normalize-specifiers-2):
15781 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15782 pop-up-windows is unset. Add a reuse-window specifier for the
15783 case popping up a new window fails.
15784 (special-display-popup-frame): Remove double quoting.
28dec25a 15785 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15786
1c6d8c76
SM
157872011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15790 according to comint-completion-addsuffix.
15791
15792 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15793 (pcomplete-suffix-list): Mark as obsolete.
15794 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15795 pcomplete-seen in the closure.
15796 (pcomplete-comint-setup): Setup completion-at-point as well.
15797 (pcomplete--entries): New function.
15798 (pcomplete--env-regexp): New var.
15799 (pcomplete-entries): Rewrite to work with partial-completion and
15800 without relying on pcomplete-suffix-list.
15801 (pcomplete-pare-list): Remove, unused.
15802
25aef8b8
MR
158032011-06-17 Martin Rudalics <rudalics@gmx.at>
15804
15805 * window.el (display-buffer-alist): Set pop-up-window-min-height
15806 and pop-up-window-min-width in default value. Reported by
15807 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15808 other-window-means-other-frame.
15809 (display-buffer-macro-specifiers): Comment out entry for
15810 other-window specifier.
15811 (display-buffer-other-window-means-other-frame): New function.
15812 (display-buffer-normalize-specifiers-1): New arguments
15813 buffer-name and label. Treat other-window case specially.
15814 (display-buffer-normalize-specifiers-2): Treat other-window case
15815 specially.
15816 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15817 (display-buffer-normalize-specifiers):
15818 Call display-buffer-normalize-specifiers-3.
25aef8b8 15819
dbad4f69
MR
158202011-06-17 Martin Rudalics <rudalics@gmx.at>
15821
15822 * window.el (same-window-p): Fix two typos introduced when
15823 adding with-no-warnings.
d1067961
MR
15824 (display-buffer-normalize-specifiers-1): Don't check
15825 pop-up-frames for 'unset initialization.
15826 (display-buffer-normalize-specifiers-2): Major rewrite using
15827 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15828 (pop-up-frames, display-buffer-reuse-frames)
15829 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15830 Suggested by David Engster <deng@randomsample.de>.
15831 (even-window-heights): Initialize to 'unset.
15832 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15833 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15834 other window case.
dbad4f69 15835
9b9c9e3a
MR
158362011-06-16 Martin Rudalics <rudalics@gmx.at>
15837
bcd70d97
SM
15838 * window.el (display-buffer-normalize-specifiers-1):
15839 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15840 second argument of display-buffer (Bug#8865).
981d5c09
MR
15841 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15842 (switch-to-buffer-other-window-same-frame)
15843 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15844 Adams (Bug#8875).
9c2755e9
MR
15845 (display-buffer): Don't check noninteractive when calling
15846 display-buffer-pop-up-frame.
15847 (display-buffer-pop-up-frame): Never pop up a frame in
15848 noninteractive mode (Bug#8857).
67222e1d
MR
15849 (enlarge-window, shrink-window): Don't report an error when the
15850 window can't be resized as requested (Bug#8862).
9b9c9e3a 15851
2b75be67
SM
158522011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15853
9ffdd3ba
SM
15854 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15855
cb581a67
SM
15856 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15857
2b75be67
SM
15858 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15859
8c0e3589
AM
158602011-06-15 Alan Mackenzie <acm@muc.de>
15861
cb581a67
SM
15862 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15863 for declarators, disable knr checking to speed up for normal files.
15864 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15865
b96e6cde
LMI
158662011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15867
4bba86e6
LMI
15868 * net/network-stream.el (open-network-stream): Add the keyword
15869 :always-query-capabilities for the case where you want to force a
15870 `plain' network connection, but the protocol still requires the
15871 capabilitiy command (i.e., SMTP and EHLO).
15872
2b75be67 15873 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15874 consistency with other `-live-p' functions.
15875
efdcdbf8
SM
158762011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15877
15878 * window.el (same-window-buffer-names, same-window-regexps)
15879 (special-display-frame-alist, special-display-popup-frame)
15880 (special-display-function, special-display-buffer-names)
15881 (special-display-regexps, pop-up-frame-alist)
15882 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15883 (pop-up-windows, split-window-preferred-function)
15884 (split-height-threshold, split-width-threshold, even-window-heights)
15885 (display-buffer-mark-dedicated): Don't encourage the use of
15886 display-buffer-alist from Elisp code.
15887
c5cde042
DN
158882011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15889
15890 * progmodes/python.el (python-mode): Derive from prog-mode.
15891 * progmodes/ps-mode.el (ps-mode):
15892 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15893 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15894 * progmodes/ld-script.el (ld-script-mode): Likewise.
15895
baa1c9ab
MR
158962011-06-15 Martin Rudalics <rudalics@gmx.at>
15897
15898 * window.el (display-buffer-alist): Trim default value to avoid
15899 popping up a new frame (Bug#8857) or reusing an arbitrary window
15900 on another frame.
15901 (display-buffer): Do not fall back on popping up a new frame in
15902 batch mode (Bug#8857).
15903
c5dd5a51
CY
159042011-06-14 Chong Yidong <cyd@stupidchicken.com>
15905
15906 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15907 (custom-theme-summary): New function.
15908 (customize-themes): Use it.
15909
d647b7c4
GM
159102011-06-13 Glenn Morris <rgm@gnu.org>
15911
15912 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15913
9481c002
MR
159142011-06-13 Martin Rudalics <rudalics@gmx.at>
15915
357f93d2
MR
15916 * help.el (help-window): Remove variable.
15917 (help-window-point-marker, temp-buffer-max-height)
15918 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15919 (help-print-return-message): Don't set help-window.
15920 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15921 (help-window-setup-finish): Remove.
15922 (help-window-display-message, help-window-setup)
15923 (with-help-window): Major rewrite based on new
15924 display-buffer-window variable.
15925
15926 * help-mode.el (help-mode-finish): Remove help-window related
15927 code.
15928
15929 * view.el (view-exits-all-viewing-windows): Remove reference to
15930 view-return-to-alist in doc-string.
15931 (view-return-to-alist): Make obsolete.
15932 (view-buffer): Call pop-to-buffer-same-window and remove
15933 undo-window code.
15934 (view-buffer-other-window): Call pop-to-buffer-other-window and
15935 simplify code. Ignore second argument.
15936 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15937 simplify code. Ignore second argument.
15938 (view-return-to-alist-update): Make obsolete.
15939 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15940 Rewrite using quit-restore window parameters.
2b75be67
SM
15941 (view-mode-exit): Rename second argument to EXIT-ONLY.
15942 Rewrite using quit-restore-window.
357f93d2
MR
15943 (View-exit, View-exit-and-edit, View-leave, View-quit)
15944 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15945 appropriate arguments.
15946 (view-end-message): Use quit-restore window parameter.
15947
9481c002
MR
15948 * window.el (display-buffer-function): Rewrite doc-string.
15949 (display-buffer-window, display-buffer-alist): New variables.
15950 (display-buffer-split-specifiers)
15951 (display-buffer-side-specifiers)
15952 (display-buffer-macro-specifiers): New constants.
15953 (display-buffer-even-window-sizes, display-buffer-set-height)
15954 (display-buffer-set-width, display-buffer-select-window)
15955 (display-buffer-in-window, display-buffer-reuse-window)
15956 (display-buffer-split-window-1, display-buffer-split-window)
15957 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15958 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15959 (display-buffer-in-side-window, normalize-buffer-to-display)
15960 (display-buffer-normalize-specifiers-1)
15961 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15962 (display-buffer-normalize-specifiers, display-buffer-frame):
15963 New functions.
9481c002
MR
15964 (display-buffer): Major rewrite.
15965 (display-buffer-other-window, display-buffer-other-frame)
15966 (pop-to-buffer, switch-to-buffer-other-window)
15967 (switch-to-buffer-other-frame): Rewrite.
15968 (display-buffer-same-window, display-buffer-same-frame)
15969 (display-buffer-same-frame-other-window)
15970 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15971 (pop-to-buffer-other-window)
15972 (pop-to-buffer-same-frame-other-window)
15973 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15974 (switch-to-buffer-other-window-same-frame): New functions.
15975 (same-window-p, special-display-p): Rewrite disabling warnings.
15976 Make obsolete.
15977 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15978 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15979 Make obsolete
15980 (same-window-buffer-names, same-window-regexps)
15981 (special-display-frame-alist, special-display-popup-frame)
15982 (special-display-function, special-display-buffer-names)
15983 (special-display-regexps, pop-up-frame-alist)
15984 (pop-up-frame-function, split-window-preferred-function)
15985 (split-height-threshold, split-width-threshold)
15986 (even-window-heights): Make obsolete.
15987
9db51aca
GM
159882011-06-12 Glenn Morris <rgm@gnu.org>
15989
15990 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15991 Misc simplifications.
9db51aca 15992
39cffb44
MR
159932011-06-12 Martin Rudalics <rudalics@gmx.at>
15994
15995 * window.el (window-safely-shrinkable-p): Restore function which
15996 was inadvertently removed in change from 2011-06-11. Declare as
15997 obsolete.
15998
2b75be67
SM
15999 * calendar/calendar.el (calendar-generate-window):
16000 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16001 window-safely-shrinkable-p.
16002
a8955be7
GM
160032011-06-12 Glenn Morris <rgm@gnu.org>
16004
16005 * progmodes/fortran.el (fortran-mode-syntax-table):
16006 * progmodes/f90.el (f90-mode-syntax-table):
16007 Set % to punctuation. (Bug#8820)
16008 (f90-find-tag-default): Remove, no longer needed.
16009
f0d4059d
DC
160102011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16011
16012 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16013
1100a63c
CY
160142011-06-11 Chong Yidong <cyd@stupidchicken.com>
16015
16016 * image.el (image-animated-p): Return animation delay in seconds.
16017 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16018 (image-animate-timeout): Remove DELAY argument. Don't assume
16019 every subimage has the same delay; get it from image-animated-p.
16020 (image-animate): Caller changed.
16021
def722bf
MA
160222011-06-11 Michael Albinus <michael.albinus@gmx.de>
16023
16024 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16025 to ignored backtrace functions.
16026
0a2bb1a9
GM
160272011-06-11 Glenn Morris <rgm@gnu.org>
16028
16029 * calendar/appt.el (appt-disp-window-function): Doc fix.
16030 (appt-check): Handle overlapping appointments. (Bug#8337)
16031
6198ccd0
MR
160322011-06-11 Martin Rudalics <rudalics@gmx.at>
16033
16034 * window.el (window-tree-1, window-tree): New functions, moving
16035 the latter to window.el.
16036 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16037 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16038 (bw-refresh-edges): Remove.
16039 (balance-windows-1, balance-windows-2): New functions.
16040 (balance-windows): Rewrite in terms of window tree functions,
16041 balance-windows-1 and balance-windows-2.
16042 (bw-adjust-window): Remove.
16043 (balance-windows-area-adjust): New function with functionality of
16044 bw-adjust-window but using resize-window.
2b75be67
SM
16045 (set-window-text-height): Rewrite doc-string.
16046 Use normalize-live-window and resize-window.
16047 (enlarge-window-horizontally, shrink-window-horizontally):
16048 Rename argument to DELTA.
6198ccd0
MR
16049 (window-buffer-height): New function.
16050 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16051 Rewrite using new window resize routines.
2b75be67
SM
16052 (kill-buffer-and-window, mouse-autoselect-window-select):
16053 Use ignore-errors instead of condition-case.
6198ccd0
MR
16054 (quit-window): Call delete-frame instead of delete-windows-on
16055 for the only buffer on frame.
16056
9397e56f
MR
160572011-06-10 Martin Rudalics <rudalics@gmx.at>
16058
16059 * loadup.el (top-level): Load window before files for the sake
16060 of replace-buffer-in-windows.
16061
16062 * files.el (read-buffer-to-switch)
16063 (switch-to-buffer-other-window)
2b75be67
SM
16064 (switch-to-buffer-other-frame, display-buffer-other-frame):
16065 Move to window.el.
9397e56f
MR
16066
16067 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16068 (previous-buffer): Move to window.el.
16069
16070 * bindings.el (unbury-buffer): Move to window.el.
16071
16072 * window.el (delete-other-windows-vertically): Move after
16073 definition of delete-other-windows.
16074 (other-window, delete-windows-on, replace-buffer-in-windows):
16075 Move here from window.c.
16076 (record-window-buffer, unrecord-window-buffer)
16077 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16078 (switch-to-next-buffer): New functions.
16079 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16080 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16081 (previous-buffer): Move here from simple.el.
16082 Call switch-to-prev-buffer.
9397e56f
MR
16083 (bury-buffer): Move here from buffer.c. Switch to previous
16084 buffer when window cannot be deleted.
16085 (unbury-buffer): Move here from bindings.el.
16086 (ctl-x-map): Move binding for other-window from window.c to
16087 here.
16088 (read-buffer-to-switch, switch-to-buffer-other-window)
16089 (switch-to-buffer-other-frame): Move here from files.el.
16090 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16091 (switch-to-buffer): Move here from buffer.c.
16092 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16093
562dd5e9
MR
160942011-06-10 Martin Rudalics <rudalics@gmx.at>
16095
16096 * window.el (window-min-height, window-min-width): Move here
16097 from window.c. Add defcustoms and rewrite doc-strings.
16098 (resize-mini-window, resize-window): New functions.
16099 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16100 Move here from window.c.
16101 (maximize-window, minimize-window): New functions.
16102 (delete-window, delete-other-windows, split-window): Move here
16103 from window.c.
16104 (window-split-min-size): New function.
16105 (split-window-keep-point): Mention split-window-above-each-other
16106 instead of split-window-vertically.
2b75be67 16107 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16108 Rename split-window-vertically to split-window-above-each-other
16109 and provide defalias for old definition.
16110 (split-window-side-by-side, split-window-horizontally):
16111 Rename split-window-horizontally to split-window-side-by-side
16112 and provide defalias for the old definition.
562dd5e9
MR
16113 (ctl-x-map): Move bindings for delete-window,
16114 delete-other-windows and enlarge-window here from window.c.
16115 Replace bindings for split-window-vertically and
16116 split-window-horizontally by bindings for
16117 split-window-above-each-other and split-window-side-by-side.
16118
16119 * cus-start.el (all): Remove entries for window-min-height and
16120 window-min-width. Add entries for window-splits and
16121 window-nest.
16122
f0da764a
GM
161232011-06-09 Glenn Morris <rgm@gnu.org>
16124
80675c21
GM
16125 * calendar/appt.el (appt-mode-line): New function.
16126 (appt-check, appt-disp-window): Use it.
16127
f0da764a
GM
16128 * files.el (hack-one-local-variable-eval-safep):
16129 Allow minor-modes with explicit +/-1 arguments.
16130
59f623b7
TZ
161312011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16132
16133 * term/xterm.el (xterm): Add defgroup.
16134 (xterm-extra-capabilities): Add defcustom to supply known xterm
16135 capabilities, skip querying them, or query them (default).
16136 (terminal-init-xterm): Use it.
16137 (terminal-init-xterm-modify-other-keys): New function to set up
16138 modifyOtherKeys support to simplify `terminal-init-xterm'.
16139
9aab8e0d
MR
161402011-06-09 Martin Rudalics <rudalics@gmx.at>
16141
16142 * window.el (resize-window-reset, resize-window-reset-1)
16143 (resize-subwindows-skip-p, resize-subwindows-normal)
16144 (resize-subwindows, resize-other-windows, resize-this-window)
16145 (resize-root-window, resize-root-window-vertically)
16146 (window-deletable-p, window-or-subwindow-p)
16147 (frame-root-window-p): New functions.
16148
e8b08aee
GM
161492011-06-09 Glenn Morris <rgm@gnu.org>
16150
16151 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16152 (ange-ftp-get-files): Use it.
16153
254c37a5
AK
161542011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16155
16156 * mail/sendmail.el (mail-recover-1, mail-recover):
16157 * files.el (recover-file, recover-session):
16158 Handle dired-listing-switches not being just a single short option.
16159
35d7dbd3
GM
161602011-06-09 Glenn Morris <rgm@gnu.org>
16161
16162 * calendar/appt.el (appt-display-message, appt-disp-window):
16163 Handle lists of appointments.
16164
387522b2
MR
161652011-06-08 Martin Rudalics <rudalics@gmx.at>
16166
2b75be67
SM
16167 * window.el (one-window-p): Move down in code.
16168 Rewrite doc-string.
16169 (window-current-scroll-bars): Rewrite doc-string.
16170 Normalize live window argument.
387522b2
MR
16171 (walk-windows, get-window-with-predicate, count-windows):
16172 Rewrite doc-string. Use window-list-1.
16173 (window-in-direction-2, window-in-direction, get-mru-window):
16174 New functions.
16175
d8e4b68b 161762011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16177
16178 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16179 Doc fix (Bug#8713).
16180
161812011-06-08 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16184
161852011-06-08 Juanma Barranquero <lekktu@gmail.com>
16186
16187 * loadhist.el (unload-feature-special-hooks):
16188 Add `comint-output-filter-functions'.
16189
0de12c52
IK
161902011-06-08 Ivan Kanis <gnu@kanis.fr>
16191
16192 * calendar/appt.el (appt-check): Move some initializations into the let.
16193
f3d1777e
MR
161942011-06-08 Martin Rudalics <rudalics@gmx.at>
16195
16196 * window.el (window-height): Defalias to window-total-height.
16197 (window-width): Defalias to window-body-width.
16198
18af70d0
CY
161992011-06-07 Chong Yidong <cyd@stupidchicken.com>
16200
16201 * image-mode.el (image-toggle-animation): New command.
16202 (image-mode-map): Bind it to RET.
16203 (image-mode): Update message.
16204 (image-toggle-display-image): Avoid a spurious cache flush.
16205 (image-transform-rotation): Doc fix.
16206 (image-transform-properties): Return quickly in the normal case.
16207 (image-animate-loop): Rename from image-animate-max-time.
16208
2b75be67 16209 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16210 (create-animated-image): Remove unnecessary function.
16211 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16212 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16213 (image-animate-timer): Use car-safe.
16214 (image-animate-timeout): Rename argument.
16215
190b47e6
MR
162162011-06-07 Martin Rudalics <rudalics@gmx.at>
16217
16218 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16219 window.c. Rename first argument to ALL-FRAMES.
16220 Rephrase doc-strings.
16221 (get-buffer-window-list): Rewrite using window-list-1.
16222 Rephrase doc-string.
a1511caf
MR
16223 (window-safe-min-height, window-safe-min-width): New constants.
16224 (window-size-ignore, window-min-size, window-min-size-1)
16225 (window-sizable, window-sizable-p, window-size-fixed-1)
16226 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16227 (window-max-delta-1, window-max-delta, window-resizable)
16228 (window-resizable-p, window-total-height, window-total-width)
16229 (window-body-width): New functions.
16230 (window-full-height-p, window-full-width-p): Rewrite using
16231 window-total-size.
16232 (window-body-height): Rewrite using window-body-size.
190b47e6 16233
85cc1f11
MR
162342011-06-06 Martin Rudalics <rudalics@gmx.at>
16235
16236 * window.el (window-right, window-left, window-child)
16237 (window-child-count, window-last-child, window-any-p)
16238 (normalize-live-buffer, normalize-live-frame)
16239 (normalize-any-window, normalize-live-window)
16240 (window-iso-combination-p, window-iso-combined-p)
16241 (window-iso-combinations)
16242 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16243 (windows-with-parameter, window-with-parameter)
16244 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16245 (window-atom-check, window-side-check, window-check):
16246 New functions.
85cc1f11
MR
16247 (ignore-window-parameters, window-sides, window-sides-vertical)
16248 (window-sides-slots): New variables.
16249 (window-size-fixed): Move down in code. Minor doc-string fix.
16250
e7156492
AS
162512011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16252
16253 * comint.el (comint-dynamic-complete-as-filename)
16254 (comint-dynamic-complete-filename): Correctly call
16255 completion-in-region.
16256
7e821d0d
DD
162572011-06-05 Deniz Dogan <deniz@dogan.se>
16258
16259 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16260 in last change.
16261
ac09b8a1
DD
162622011-06-05 Deniz Dogan <deniz@dogan.se>
16263
16264 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16265 (rcirc): Use it to prompt for encryption.
16266
34699b85
RW
162672011-06-05 Roland Winkler <winkler@gnu.org>
16268
16269 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16270 (bibtex-search-entries): New command bound to C-c C-a.
16271 (bibtex-display-entries): New function.
16272
004dedd3
RW
162732011-06-05 Roland Winkler <winkler@gnu.org>
16274
16275 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16276 (bibtex-insert-kill): After yanking insert newline if necessary.
16277 (bibtex-initialize): Call bibtex-string-files-init only once.
16278 (bibtex-mode): Do not call easy-menu-add.
16279 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16280 (bibtex-yank): Set arg properly if nil.
16281
022fe7ce
RW
162822011-06-05 Roland Winkler <winkler@gnu.org>
16283
2b75be67
SM
16284 * textmodes/bibtex.el (bibtex-search-entry-globally):
16285 New variable.
022fe7ce
RW
16286 (bibtex-search-entry): Use it.
16287
b7c3692a
RW
162882011-06-05 Roland Winkler <winkler@gnu.org>
16289
16290 * textmodes/bibtex.el (bibtex-entry-format): New option
16291 sort-fields.
16292 (bibtex-format-entry, bibtex-reformat): Honor this option.
16293 (bibtex-parse-entry): Return fields in proper order.
16294
8eda563d
JB
162952011-06-05 Juanma Barranquero <lekktu@gmail.com>
16296
16297 * doc-view.el (doc-view-remove-if): Move computation of result out
16298 of `dolist' to silence misleading lexical-binding warning.
16299
7dbe3dbc
CY
163002011-06-04 Chong Yidong <cyd@stupidchicken.com>
16301
16302 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16303 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16304
0c33dd17
MA
163052011-06-04 Michael Albinus <michael.albinus@gmx.de>
16306
16307 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16308 "SunOS 5.10".
16309
f8f91c2b
MA
163102011-06-04 Michael Albinus <michael.albinus@gmx.de>
16311
16312 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16313 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16314 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16315 (tramp-parse-putty):
16316 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16317 (tramp-completion-function-alist-ssh)
16318 (tramp-completion-function-alist-telnet)
16319 (tramp-completion-function-alist-su)
16320 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16321 cookie.
16322
16323 * net/tramp-ftp.el:
16324 * net/tramp-sh.el:
16325 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16326 load "tramp.el" `tramp-set-completion-function'.
16327
e17d9003
SM
163282011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16329
16330 * shell.el: Require and use pcomplete.
16331 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16332 (shell-completion-vars): Set pcomplete-default-completion-function.
16333
6c4cab03
DD
163342011-06-04 Deniz Dogan <deniz@dogan.se>
16335
16336 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16337 `memq' (Bug#8799).
16338
ea9fafe0
SM
163392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16340
16341 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16342
b3e945d3
JB
163432011-06-02 Juanma Barranquero <lekktu@gmail.com>
16344
16345 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16346 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16347 * vc/log-view.el (log-view-beginning-of-defun):
16348 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16349 (smerge-refine-forward, smerge-refine-chopup-region):
16350 Silence warning for unused `dotimes' counter variables.
16351
7d520089
SM
163522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16353
16354 * net/tramp.el (tramp-with-progress-reporter): Rename from
16355 with-progress-reporter. Use `declare'.
16356 * net/tramp-smb.el:
16357 * net/tramp-sh.el:
16358 * net/tramp-gvfs.el: Update all uses.
16359
a1c2400f
JB
163602011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16361
16362 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16363 buffer isn't killed before making it current.
16364
2403c841
SM
163652011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16366
16367 Silence various byte-compiler warnings.
16368 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16369 `access-type' and new obsolescence format.
16370 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16371 new format.
16372 (byte-compile-check-variable): New `access-type' argument.
16373 Only warn if the access-type is obsolete.
16374 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16375 (byte-compile-variable-set): Adjust callers.
16376 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16377 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16378 setting it as obsolete.
16379 * simple.el (minibuffer-completing-symbol):
16380 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16381 access as obsolete.
16382 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16383 obsolete yet.
16384 * international/quail.el (quail-mouse-choose-completion): Remove unused
16385 code referring to obsolete var.
16386 (quail-choose-completion-string): Remove.
16387 * server.el (server-clients-with, server-kill-buffer-query-function)
16388 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16389 * proced.el (proced-send-signal):
16390 * emacs-lisp/lisp.el (lisp-complete-symbol):
16391 Replace completion-annotate-function with completion-extra-properties.
16392
2462470b
SM
163932011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16394
fb5b2591
SM
16395 * simple.el (goto-line): Use read-number.
16396 (overriding-map-is-bound): Remove.
16397 (saved-overriding-map): Change default.
16398 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16399 Take the map as argument.
16400 (universal-argument, negative-argument, digit-argument): Use it.
16401 (restore-overriding-map): Adjust.
16402 (do-auto-fill): Use fill-forward-paragraph.
16403 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16404
fd6fa53f
SM
16405 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16406 (minibuffer-inactive-mode): New major mode.
16407 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16408 the *Messages* buffer" hack.
16409 (mouse-popup-menubar): Don't burp if the event is a normal key.
16410
2462470b
SM
16411 Miscellaneous tweaks.
16412 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16413 lexical scoping as in subr.el's dolist and dotimes.
16414 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16415 Silence compiler warning.
16416 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16417 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16418 * international/ccl.el (ccl-compile): Trivial simplification.
16419 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16420 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16421 `printflag' argument.
16422 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16423 Purecopy the whole obsolescence data.
16424
108bf785
LL
164252011-06-01 Leo Liu <sdl.web@gmail.com>
16426
16427 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16428 improve doc-string as suggested by Marco Pessotto
16429 <melmothx@gmail.com>.
16430 (rcirc-print): Fix last change.
16431
30a23501
SM
164322011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16433
16434 * minibuffer.el (complete-with-action): Return nil for the metadata and
16435 boundaries of non-functional tables.
16436 (completion-table-dynamic): Return nil for the metadata.
16437 (completion-table-with-terminator): Add default case, using
16438 complete-with-action.
16439 (completion--metadata): New function.
16440 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16441 to try and avoid pathological performance problems.
16442 (completion--embedded-envvar-table): Return `category' metadata.
16443
bcd54f83
LMI
164442011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16445
16446 * subr.el (process-alive-p): New tiny convenience function.
16447
e227544d
SM
164482011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16449
16450 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16451 content but also its previous major mode.
16452
e8296fdc
HE
164532011-05-31 Helmut Eller <eller.helmut@gmail.com>
16454
4d61f28d 16455 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16456 *Backtrace* buffer when we exit with C-M-c.
16457
620c53a6
SM
164582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16459
16460 * minibuffer.el: Add metadata method to completion tables.
16461 (completion-category-overrides): New defcustom.
16462 (completion-metadata, completion--field-metadata)
16463 (completion-metadata-get, completion--styles)
16464 (completion--cycle-threshold): New functions.
16465 (completion-try-completion, completion-all-completions):
16466 Add `metadata' argument to choose completion-styles.
16467 (completion--do-completion): Use metadata to choose cycling.
16468 (completion-all-sorted-completions): Use metadata for sorting.
16469 Remove :completion-cycle-penalty which is not needed any more.
16470 (completion--try-word-completion): Add `metadata' argument.
16471 (minibuffer-completion-help): Check metadata for annotation function
16472 and sorting.
16473 (completion-file-name-table): Return `category' metadata.
16474 (minibuffer-completing-file-name): Make obsolete.
16475 * simple.el (minibuffer-completing-symbol): Make obsolete.
16476 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16477 completion-try-completion.
16478
1257e755
SM
164792011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16480
16481 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16482
3767e706
LL
164832011-05-30 Leo Liu <sdl.web@gmail.com>
16484
16485 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16486 (rcirc-print): Decode all incoming messages (bug#8744).
16487 (rcirc-decode-coding-system): Allow value nil for automatic coding
16488 system detection.
3767e706 16489
d1a5d56a
GM
164902011-06-01 Glenn Morris <rgm@gnu.org>
16491
16492 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16493
e8cbec34
CY
164942011-05-29 Chong Yidong <cyd@stupidchicken.com>
16495
16496 * image.el (image-animate-max-time): Allow nil and t values.
16497 Default to nil.
16498 (create-animated-image): Doc fix.
16499 (image-animate-start): Remove second arg; just use
16500 image-animate-max-time.
16501 (image-animate-timeout): Doc fix. Args changed.
16502
16503 * image-mode.el (image-toggle-display-image): Ensure that the
16504 image spec passed to the animate timer is the same object as in
58179cce 16505 the buffer's display property (Bug#6981).
e8cbec34
CY
16506 (image-transform-properties): Doc fix.
16507
16508 * image.el (image-animate-max-time): Default to nil.
16509
159daf87
MR
165102011-05-29 Martin Rudalics <rudalics@gmx.at>
16511
16512 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16513 entire buffer list (Bug#8184).
16514
d66c4c7c
CY
165152011-05-29 Chong Yidong <cyd@stupidchicken.com>
16516
16517 * image.el (imagemagick-types-inhibit)
16518 (imagemagick-register-types): Doc fix.
16519
80aec780
DD
165202011-05-29 Deniz Dogan <deniz@dogan.se>
16521
16522 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16523 default.
16524
1dd3c2d9
CY
165252011-05-29 Chong Yidong <cyd@stupidchicken.com>
16526
16527 * select.el: Don't perform clipboard-manager saving in hooks;
16528 leave the hooks empty.
16529
60e56523
LL
165302011-05-28 Leo Liu <sdl.web@gmail.com>
16531
16532 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16533 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16534 (occur-edit-mode): New major mode (Bug#8463).
16535 (occur-after-change-function): New function.
16536 (occur-engine): Give Occur tags a read-only property.
16537
2b1e1a22
KR
165382011-05-28 Kevin Ryde <user42@zip.com.au>
16539
16540 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16541
5d344e88
CY
165422011-05-28 Chong Yidong <cyd@stupidchicken.com>
16543
8e6ca83d
CY
16544 * bindings.el (help-echo): Make the initial non-indicator dash
16545 empty on graphical terminals (Bug#7295).
16546
5d344e88
CY
16547 * files.el (auto-mode-alist): Move config rule after the
16548 in-stripping one (Bug#8547).
16549
bfbbace7
CY
16550 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16551
fbeba6e2
CY
16552 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16553 setting (Bug#8740).
16554
60ed8c72
AA
165552011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16556
4ac619f0
AA
16557 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16558 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16559 (Bug#8539).
60ed8c72 16560
23db196e
CY
165612011-05-28 Chong Yidong <cyd@stupidchicken.com>
16562
16563 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16564
5012f24c
DK
165652011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16566
16567 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16568 (hs-hide-block-at-point, hs-find-block-beginning)
16569 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16570 (Bug#8279).
16571
6a639b16
GM
165722011-05-28 Glenn Morris <rgm@gnu.org>
16573
16574 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16575
d43eaf2c
CY
165762011-05-28 Chong Yidong <cyd@stupidchicken.com>
16577
5199bde1
CY
16578 * help-fns.el (describe-function-1): If the function is a derived
16579 major mode, print the parent mode.
16580
d43eaf2c
CY
16581 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16582 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16583
423428a8
SM
165842011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16585
0ff8e1ba 16586 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16587 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16588 * progmodes/etags.el (tags-completion-at-point-function):
16589 * info-look.el (info-lookup-completions-at-point): Mark as
16590 non-exclusive.
16591 (info-complete): Adjust accordingly.
16592
423428a8
SM
16593 * info-look.el: Convert to lexical-binding and completion-at-point.
16594 (info-lookup-completions-at-point): New function.
16595 (info-complete): Use it and completion-in-region.
16596
b74aa22b
DA
165972011-05-28 Drew Adams <drew.adams@oracle.com>
16598
16599 * isearch.el: Let M-e start with point at the first mismatched char.
16600 (isearch-fail-pos): New function.
16601 (isearch-edit-string): Use it.
16602
66e2e71d
DK
166032011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16604
16605 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16606
b1890b0f 166072011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16608
16609 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16610 traversal functions for avl-trees.
16611 (avl-tree--stack): New struct.
16612 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16613 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16614 (avl-tree--do-enter): Add optional `updatefun' arg.
16615 Change return value.
eb95d01d 16616 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16617 (avl-tree--do-delete): Add `test' and `nilflag' args.
16618 Change return value.
eb95d01d
TC
16619 (avl-tree-member): Add optional `nilflag'
16620 (avl-tree-member-p): New function.
16621 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16622 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16623 (avl-tree-stack-empty-p): New functions.
16624
3769ddcf
TC
16625 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16626 avl-tree--del-balance1 and make it work both ways.
16627 (avl-tree--del-balance2): Remove.
16628 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16629 make it work both ways.
16630 (avl-tree--enter-balance2): Remove.
16631 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16632 New macros.
16633 (avl-tree--mapc, avl-tree-map): Add direction argument.
16634
eb95d01d 166352011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16636
16637 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16638
a9f737ee
CY
166392011-05-27 Chong Yidong <cyd@stupidchicken.com>
16640
16641 * select.el: Support clipboard managers with built-in function
16642 x-clipboard-manager-save, via delete-frame-functions and
16643 kill-emacs-hook.
16644 (xselect-convert-to-targets): Add MULTIPLE target to list.
16645 (xselect-convert-to-save-targets): New function.
16646
c92a1e54
KH
166472011-05-27 Kenichi Handa <handa@m17n.org>
16648
16649 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16650 let-binding rfc2047-encode-encoded-words to nil.
16651
e145f188
GM
166522011-05-27 Glenn Morris <rgm@gnu.org>
16653
5ec8a862
GM
16654 * mail/emacsbug.el: Don't require url-util.
16655
4b29d9fb
GM
16656 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16657
e145f188
GM
16658 * files.el (set-auto-mode):
16659 Also respect mode: entries at the end of the file. (Bug#8586)
16660
7d15102b
GM
166612011-05-26 Glenn Morris <rgm@gnu.org>
16662
98f593b8
GM
16663 * files.el (hack-local-variables-prop-line, hack-local-variables):
16664 Downcase mode names, as seems to be traditional.
27b48e63 16665 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16666
7d15102b
GM
16667 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16668 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16669
51d5b4ec
JD
166702011-05-25 Julien Danjou <julien@danjou.info>
16671
16672 * textmodes/rst.el (rst-define-level-faces): Do not define face
16673 symbol if it is already defined.
16674
91513f63
VB
166752011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16676
16677 * play/5x5.el (5x5-new-game, 5x5-randomize):
16678 Reset 5x5-solver-output to nil when a new grid is cast.
16679 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16680 these debugging traces, as defmacro breaks the compiled code.
16681
4d90d6d0
DK
166822011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16683
16684 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16685
e1b90ef6
LL
166862011-05-24 Leo Liu <sdl.web@gmail.com>
16687
16688 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16689 (vc-bzr-sha1): Adapt.
16690
d8e4b68b 16691 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16692
16693 * bindings.el: Provide sha1 feature.
16694
db0406bb 166952011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16696
16697 * mail/sendmail.el: Require `rfc2047'.
16698 (mail-insert-from-field): Do not perform RFC2047 encoding.
16699 (mail-encode-header): New function.
16700 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16701 buffer to the return value of select-message-coding-system.
16702 Call mail-encode-header.
b8d747b9
KH
16703
16704 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16705
db0406bb 167062011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16707
4d90d6d0
DK
16708 * mail/supercite.el (sc-default-cite-frame):
16709 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16710
eb8a5e9b
GM
167112011-05-24 Glenn Morris <rgm@gnu.org>
16712
f8630703
GM
16713 * progmodes/python.el (brm-menu): Declare.
16714
8831bbed
GM
16715 * emulation/viper.el (viper-set-hooks): Declare.
16716
eb8a5e9b
GM
16717 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16718 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16719 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16720 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16721 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16722 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16723
a2a25d24
SM
167242011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16725
16726 Add an :exit-function for completion-at-point.
16727
16728 * minibuffer.el (completion--done): New fun.
16729 (completion--do-completion): Use it. New arg `expect-exact'.
16730 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16731 since completion--do-completion does it for us now.
16732 (minibuffer-force-complete): Use completion--done and
16733 completion--replace. Handle sole-completion case with more care.
16734 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16735 (completion-extra-properties): New var.
16736 (completion-annotate-function): Make obsolete.
16737 (minibuffer-completion-help): Adjust accordingly.
16738 Use completion-list-insert-choice-function.
16739 (completion-at-point, completion-help-at-point):
16740 Bind completion-extra-properties.
16741 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16742 * simple.el (completion-list-insert-choice-function): New var.
16743 (completion-setup-function): Preserve it.
16744 (choose-completion): Pay attention to it, shuffle the code a bit.
16745 (choose-completion-string): New arg `insert-function'.
16746
16747 * textmodes/bibtex.el: Convert to lexical binding.
16748 (bibtex-mode-map): Use completion-at-point.
16749 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16750 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16751 (bibtex-complete): Define as obsolete alias.
16752 (bibtex-complete-internal): Remove.
16753 (bibtex-format-entry): Remove unused sub-group in regexp.
16754 * shell.el (shell--command-completion-data)
16755 (shell-environment-variable-completion):
16756 * pcomplete.el (pcomplete-completions-at-point):
16757 * comint.el (comint--complete-file-name-data): Use :exit-function
16758 instead of completion-table-with-terminator so it also works for
16759 choose-completion.
16760
e44e373d
SM
167612011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16762
4f91a816
SM
16763 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16764
782fc819
SM
16765 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16766 (bug#8710).
16767
e44e373d
SM
16768 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16769
381987c3
KM
167702011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16771
16772 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16773 customization variable and implement: If non-nil, auto-fill will
16774 be inhibited while on topic's header line.
16775
b776bc70
VB
167762011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16777
16778 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16779 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16780 always have a solution in grid size = 5 cases.
16781 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16782 (5x5-solver-output, 5x5-log-buffer): New vars.
16783 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16784 Make these variables buffer local to achieve 5x5 multi-session-ness.
16785 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16786 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16787 (5x5-solve-suggest): New funs.
16788 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16789 randomize a grid so that we ensure that there is always a solution.
16790 (5x5-make-random-grid): Allow other movement than flipping.
16791
7de88b6e
KR
167922011-05-23 Kevin Ryde <user42@zip.com.au>
16793
16794 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16795 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16796 advice and passes PREDICATE.
16797
b1ef1257
SM
167982011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16799
bbca48fe
SM
16800 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16801 byte-compile-lambda if it's actually a lambda.
16802
b1ef1257
SM
16803 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16804 Fix function quoting. Use backquote better.
16805
92a9cc65
YS
168062011-05-22 Yuanle Song <sylecn@gmail.com>
16807
16808 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16809 matching (Bug#8516).
16810
f0fb8059
JA
168112011-01-22 Jari Aalto <jari.aalto@cante.net>
16812
16813 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16814 different face (Bug#8178).
16815
d5b44c93
CY
168162011-05-22 Chong Yidong <cyd@stupidchicken.com>
16817
16818 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16819 defface (Bug#8144).
16820
79106a44
SM
168212011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16822
9c848d8a
SM
16823 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16824 funcall as well (bug#8712). Warn when performing those conversions.
16825 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16826
79106a44
SM
16827 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16828
88dfa756
GM
168292011-05-22 Glenn Morris <rgm@gnu.org>
16830
16831 * files.el (hack-local-variables-prop-line): Small simplifications.
16832 (hack-local-variables, hack-local-variables-prop-line):
16833 If MODE-ONLY, return the mode, rather than just `t'.
16834
b7cf2c79
SM
168352011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16836
16837 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16838
3f1a8558
GM
168392011-05-21 Glenn Morris <rgm@gnu.org>
16840
7e4ccca3
GM
16841 * files.el (hack-local-variables-prop-line, hack-local-variables):
16842 If only interested in the mode, don't bother doing the other stuff.
16843
637d46ca
GM
16844 * image-mode.el (image-after-revert-hook):
16845 Redraw all frames on which the image is visible. (Bug#8567)
16846
973d955b
GM
16847 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16848
3f1a8558
GM
16849 * wid-edit.el (widget-checklist-match-inline):
16850 Fix 2011-04-19 change. (Bug#8649)
16851
96479927
SM
168522011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16853
1dcf791f
SM
16854 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16855 Also allow singlespace after single-letter capitals followed by a dot.
16856
96479927
SM
16857 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16858 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16859
35fd0881
N
168602011-05-20 Nix <nix@esperi.org.uk>
16861
16862 * files.el (basic-save-buffer-2):
16863 Fix handling of break-hardlink-on-save with non-existent files.
16864
82745640
DD
168652011-05-19 Deniz Dogan <deniz@dogan.se>
16866
16867 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16868 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16869
4a720484
GM
168702011-05-19 Glenn Morris <rgm@gnu.org>
16871
d1f21341
GM
16872 * progmodes/f90.el (f90-type-def-re):
16873 Handle "type, bind(c)". (Bug#8691)
16874
4a720484
GM
16875 * emacs-lisp/autoload.el (batch-update-autoloads):
16876 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16877
2fb0a219
MA
168782011-05-18 Michael Albinus <michael.albinus@gmx.de>
16879
16880 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16881 property for the correct connection in case of multihops.
16882
e565dd37
GM
168832011-05-18 Glenn Morris <rgm@gnu.org>
16884
c2571358 16885 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16886 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16887
e565dd37
GM
16888 Rationalize calendar handling of day and month abbrev-arrays.
16889 * calendar/calendar.el (calendar-customized-p): New function.
16890 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16891 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16892 Add :set function.
16893 (calendar-abbrev-length, calendar-day-abbrev-array)
16894 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16895 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16896 Elements may no longer be nil.
16897 (calendar-day-name, calendar-month-name):
16898 Update for changed nature of abbrev arrays.
16899 * calendar/diary-lib.el (diary-name-pattern):
16900 Update for changed nature of abbrev arrays.
16901 (diary-mark-entries-1): Update calendar-make-alist calls.
16902 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16903 * calendar/cal-html.el (cal-html-day-abbrev-array):
16904 Simply inherit from calendar-day-abbrev-array.
16905
1d99a745
SM
169062011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16907
16908 * progmodes/grep.el (grep-mode): Disable default
16909 compilation-directory-matcher setting (bug#8684).
16910
7c1d9aa0
MA
169112011-05-17 Michael Albinus <michael.albinus@gmx.de>
16912
16913 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16914 instead of "head" and "tail". There were problems with SunOS 5.9,
16915 and it performs better.
16916
3952e9d8
GM
169172011-05-17 Glenn Morris <rgm@gnu.org>
16918
2dd12e7f
GM
16919 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16920
e4157b9c
GM
16921 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16922 Replace obsolete function.
16923
8e249bbd
GM
16924 * shell.el (pcomplete-parse-arguments-function): Declare.
16925
3952e9d8
GM
16926 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16927 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16928 (appt-check): Doc fixes.
16929 (appt-disp-window-function, appt-delete-window-function):
16930 Remove needless special case in custom :type.
16931 (appt-display-count): Default to 0, not nil.
16932 (appt-check): Reset appt-display-count to 0, not nil.
16933
c71a0d48 169342011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16935
c71a0d48
GM
16936 * progmodes/python.el (python-font-lock-keywords):
16937 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16938
31d55be9
SM
169392011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16940
16941 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16942
3bfacb2f
KR
169432011-05-16 Kevin Ryde <user42@zip.com.au>
16944
16945 * info-look.el (makefile-automake-mode): New setups, looking in
16946 automake manual, then makefile-mode.
16947 (makefile-mode): Remove automake manual, have it just in
16948 makefile-automake-mode since there's various things different or
16949 not relevant to plain make.
16950 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16951 believe a hypothetical automake-mode would go to makefile-mode,
16952 not the other way around.
16953
c8e83751
CY
169542011-05-15 Chong Yidong <cyd@stupidchicken.com>
16955
5e9e35cd
CY
16956 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16957 hunk-end tags (Bug#8672).
16958
c8e83751
CY
16959 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16960 vc-annotate-show-diff-revision-at-line (Bug#8671).
16961
50b23e5a
GM
169622011-05-14 Glenn Morris <rgm@gnu.org>
16963
7210a739
GM
16964 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16965 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16966 (change-log-font-lock-keywords): Also handle multiple author lines
16967 with leading tabs. (Bug#8644)
7210a739 16968
4691905a
GM
16969 * calendar/appt.el (appt-check): Rename some local variables.
16970 Some simplification/reordering.
16971
50b23e5a
GM
16972 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16973 (feedmail-sendmail-f-doesnt-sell-me-out)
16974 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16975 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16976 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16977 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16978 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16979 (feedmail-binmail-gnulinuxish-template):
16980 Rename from feedmail-binmail-linuxish-template.
16981 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16982 Use insert-buffer-substring.
16983
215cda7c
BC
169842011-05-14 Bill Carpenter <bill@carpenter.org>
16985
16986 * mail/feedmail.el (feedmail-patch-level): Increase.
16987 (feedmail-debug): New custom group.
16988 (feedmail-confirm-outgoing-timeout)
16989 (feedmail-sendmail-f-doesnt-sell-me-out)
16990 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16991 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16992 (feedmail-sender-line, feedmail-from-line)
16993 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16994 (feedmail-spray-this-address)
215cda7c
BC
16995 (feedmail-spray-address-fiddle-plex-list)
16996 (feedmail-queue-use-send-time-for-date)
16997 (feedmail-queue-use-send-time-for-message-id)
16998 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16999 (feedmail-buffer-eating-function):
17000 Doc fixes.
17001 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17002 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17003 (feedmail-message-action-scroll-down): New functions.
17004 (feedmail-queue-directory, feedmail-queue-draft-directory):
17005 Use expand-file-name.
17006 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17007 Remove C-v help entry.
17008 (feedmail-queue-buffer-file-name): New variable.
17009 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17010 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17011 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17012 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17013 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17014 (feedmail-message-action-toggle-spray)
17015 (feedmail-run-the-queue-no-prompts)
17016 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17017 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17018 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17019 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17020 (feedmail-envelope-deducer, feedmail-fiddle-from)
17021 (feedmail-fiddle-sender, feedmail-default-date-generator)
17022 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17023 (feedmail-fiddle-spray-address)
17024 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17025 (feedmail-fiddle-list-of-fiddle-plexes)
17026 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17027 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17028 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17029 Change default. Doc fix.
17030 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17031 (feedmail-binmail-linuxish-template): New constant.
17032 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17033 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17034 (feedmail-send-it): Add debug call.
17035 Use feedmail-queue-buffer-file-name, and
17036 feedmail-send-it-immediately-wrapper.
17037 (feedmail-message-action-send): Add debug call.
17038 Use feedmail-send-it-immediately-wrapper.
17039 (feedmail-queue-express-to-queue): Add debug call.
17040 Run feedmail-queue-express-hook.
17041 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17042 (feedmail-message-action-help-blat):
17043 Rename from feedmail-queue-send-edit-prompt-help-first.
17044 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17045 Check line-endings. Handle errors better.
17046 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17047 Doc fix. Add debug call.
17048 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17049 Use feedmail-queue-send-edit-prompt-inner.
17050 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17051 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17052 from feedmail-queue-send-edit-prompt.
17053 (feedmail-queue-send-edit-prompt-help)
17054 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17055 (feedmail-tidy-up-slug): Add debug call.
17056 Respect feedmail-queue-slug-suspect-regexp.
17057 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17058 (feedmail-dump-message-to-queue): Add debug call.
17059 Expand queue-directory.
17060 (feedmail-dump-message-to-queue): Change message slightly.
17061 Use feedmail-say-chatter.
17062 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17063 (feedmail-send-it-immediately-wrapper): New function.
17064 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17065 Insert empty string rather than newline. Handle full-frame case.
17066 Use catch/throw. Use feedmail-say-chatter.
17067 (feedmail-fiddle-from): Try mail-host-address.
17068 (feedmail-default-message-id-generator): Doc fix.
17069 Bind system-time-locale. Handle missing end.
17070 (feedmail-fiddle-x-mailer): Add debug call.
17071 Handle feedmail-x-mailer-line being nil.
17072 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17073 Add debug call. Use buffer-substring-no-properties.
17074 (feedmail-say-debug, feedmail-say-chatter): New functions.
17075 (feedmail-find-eoh): Give an explicit error.
17076
42c7e61e
UJ
170772011-05-13 Ulf Jasper <ulf.jasper@web.de>
17078
c2571358 17079 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17080 family from helvetica to sans.
c2571358 17081 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17082 etc/images/newsticker.
17083
c2571358 17084 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17085 family from helvetica to sans.
17086
17087 * net/newst-plainview.el (newsticker-new-item-face)
17088 (newsticker-old-item-face, newsticker-immortal-item-face)
17089 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17090 (newsticker-statistics-face): Change default family from
42c7e61e 17091 helvetica to sans.
c2571358 17092 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17093 etc/images/newsticker.
17094
5d3385a0
JB
17095 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17096 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17097 auto-marking.
17098
8497a297
DV
170992011-05-13 Didier Verna <didier@xemacs.org>
17100
17101 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17102 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17103 TODO entries.
8497a297
DV
17104 (lisp-lambda-list-keyword-parameter-indentation)
17105 (lisp-lambda-list-keyword-parameter-alignment)
17106 (lisp-lambda-list-keyword-alignment): New customizable user options.
17107 (lisp-indent-defun-method): Improve docstring.
17108 (extended-loop-p): Fix comment.
17109 (lisp-indent-lambda-list-keywords-regexp): New variable.
17110 (lisp-indent-lambda-list): New function.
17111 (lisp-indent-259): Use it.
17112 (lisp-indent-defmethod): Support for more than one
17113 method qualifier and properly indent methods lambda-lists.
17114 (defgeneric): Provide a missing common-lisp-indent-function property.
17115
f278f87f
SM
171162011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17117
17118 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17119 bounds for the empty string (bug#8667).
17120
5233edd7
GM
171212011-05-13 Glenn Morris <rgm@gnu.org>
17122
5237a44f
GM
17123 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17124
8340026c 17125 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17126 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17127
5233edd7 17128 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17129 (appt-time-msg-list): Doc fix.
a5464014 17130 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17131
92d10796
AS
171322011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17133
17134 * progmodes/ld-script.el (ld-script-keywords)
17135 (ld-script-builtins): Update keywords list.
17136
914a0ae1
SM
171372011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17138
c89be45f
SM
17139 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17140
914a0ae1
SM
17141 * shell.el (shell-completion-vars): New function.
17142 (shell-mode):
17143 * simple.el (read-shell-command): Use it.
17144 (blink-matching-open): No need for " [...]" in minibuffer-message.
17145
98dc3df3
GM
171462011-05-12 Glenn Morris <rgm@gnu.org>
17147
17148 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17149 (appt-check): Simplify.
17150
d2fc7e3d 171512011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17152
4d61f28d 17153 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17154 literal "/dev/null".
17155
d2fc7e3d 171562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17157
17158 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17159 Fix typo.
17160
d2fc7e3d 171612011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17162
3f254caa
SM
17163 * progmodes/which-func.el (which-function):
17164 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17165 which might not be defined (Bug#8260).
17166
d45885f7
GM
171672011-05-12 Glenn Morris <rgm@gnu.org>
17168
17169 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17170 Let byte-compile-initial-macro-environment always take precedence.
17171
488086f4
SM
171722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17173
17174 * net/rcirc.el: Add support for SSL/TLS connections.
17175 (rcirc-server-alist): New field `encryption'.
17176 (rcirc): Check `encryption' settings.
17177 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17178 Merge make-local-variable into `set'.
17179 (rcirc--connection-open-p): New function.
17180 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17181 the process is not a network process (e.g. running gnutls-cli).
17182 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17183 Make rcirc-(en|de)code-coding-system local here.
17184 (rcirc-mode): Merge make-local-variable into `set'.
17185 (rcirc-parent-buffer): Make permanent buffer-local.
17186 (rcirc-multiline-minor-mode): Don't do it here.
17187 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17188 there's no server buffer.
17189
7d3b9d44
GM
171902011-05-11 Glenn Morris <rgm@gnu.org>
17191
f64049c6
GM
17192 * newcomment.el (comment-kill): Prefix "unused" local.
17193
93c9df73
GM
17194 * term/w32console.el (get-screen-color): Declare.
17195
7d3b9d44
GM
17196 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17197 Handle symbol elements of byte-compile-initial-macro-environment.
17198
9e2dd53f
LL
171992011-05-10 Leo Liu <sdl.web@gmail.com>
17200
488086f4
SM
17201 * bookmark.el (bookmark-bmenu-mode-map):
17202 Bind bookmark-bmenu-search to `/'.
8b340240 17203
9e2dd53f 17204 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17205 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17206 (Footnote-unicode): New function.
17207 (footnote-style-alist): Add unicode style to the list.
17208 (footnote-style): Doc fix.
9e2dd53f 17209
79b70037
GM
172102011-05-10 Jim Meyering <meyering@redhat.com>
17211
17212 Fix doubled-word typos.
17213 * international/quail.el (quail-insert-kbd-layout): and and -> and
17214 * kermit.el: and and -> and
17215 * net/ldap.el (ldap-search-internal): to to -> to
17216 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17217 * progmodes/js.el (js-mode): and and -> and
17218 * textmodes/artist.el (artist-move-to-xy): at at -> at
17219 (artist-draw-region-trim-line-endings): if if -> if
17220 And Safetyc -> Safety.
17221 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17222
b8f82dc1 172232011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17224 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17225
17226 * files.el (hack-one-local-variable-eval-safep):
17227 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17228
4f99f44b
GM
172292011-05-10 Glenn Morris <rgm@gnu.org>
17230
17231 * calendar/diary-lib.el (diary-list-entries-hook)
17232 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17233 (diary-nongregorian-marking-hook, diary-list-entries)
17234 (diary-include-other-diary-files, diary-mark-entries)
17235 (diary-mark-included-diary-files): Doc fixes.
17236
84f29e6b
JB
172372011-05-09 Juanma Barranquero <lekktu@gmail.com>
17238
17239 * misc.el: Require tabulated-list.el during compilation.
17240
9bedd73a
CY
172412011-05-09 Chong Yidong <cyd@stupidchicken.com>
17242
488086f4
SM
17243 * progmodes/compile.el (compilation-start):
17244 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17245 (compilation-filter-hook): Doc fix.
17246
797c735c
DD
172472011-05-09 Deniz Dogan <deniz@dogan.se>
17248
17249 * wdired.el: Remove outdated installation comment. Fix usage
17250 comment.
17251
5f4b1dfe
JB
172522011-05-09 Juanma Barranquero <lekktu@gmail.com>
17253
17254 * misc.el: Implement new command `list-dynamic-libraries'.
17255 (list-dynamic-libraries--loaded-only-p): New variable.
17256 (list-dynamic-libraries--refresh): New function.
17257 (list-dynamic-libraries): New command.
17258
4c44026c
CY
172592011-05-09 Chong Yidong <cyd@stupidchicken.com>
17260
488086f4
SM
17261 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17262 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17263 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17264 higher priority to avoid clobbering by gnu.
17265
027f966d
CY
172662011-05-08 Chong Yidong <cyd@stupidchicken.com>
17267
17268 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17269 if the face has existing theme settings (Bug#8454).
17270
085f5d7d
CY
172712011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17272
488086f4
SM
17273 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17274 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17275
2a86a00c
RS
17276 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17277 special file names `.' and `..' (Bug#8259).
17278
d9c54a06
CY
172792011-05-08 Chong Yidong <cyd@stupidchicken.com>
17280
488086f4
SM
17281 * progmodes/grep.el (grep-mode-font-lock-keywords):
17282 Remove buffer-changing entries.
d9c54a06
CY
17283 (grep-filter): New function.
17284 (grep-mode): Add it to compilation-filter-hook.
17285
17286 * progmodes/compile.el (compilation-filter-hook)
17287 (compilation-filter-start): New defvars.
17288 (compilation-filter): Call compilation-filter-hook prior to
17289 updating the process mark.
17290
c4662635
SM
172912011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17292
17293 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17294
b0512a1d
EZ
172952011-05-07 Eli Zaretskii <eliz@gnu.org>
17296
605c9376
EZ
17297 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17298 mailclient-send-it even if window-system is nil. (Bug#8595)
17299
c4662635
SM
17300 * term/w32console.el (terminal-init-w32console):
17301 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17302 background-mode. (Bug#8597)
17303
d1dc2cc2
SM
173042011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17305
17306 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17307 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17308 New functions.
17309 (defgeneric, eieio--defmethod): Use them.
17310 (eieio-defgeneric): Remove.
17311 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17312
915d1300
GM
173132011-05-07 Glenn Morris <rgm@gnu.org>
17314
a3961c3e
GM
17315 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17316 Use let rather than let*.
17317 (timeclock-find-discrep): Remove unused local.
17318
314347b9
GM
17319 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17320
915d1300
GM
17321 * calendar/appt.el (appt-time-msg-list): Doc fix.
17322
275b59b0
NF
173232011-05-06 Noah Friedman <friedman@splode.com>
17324
17325 * apropos.el (apropos-print-doc): Only use
17326 emacs-lisp-docstring-fill-column when it is bound to an integer,
17327 per that variable's documentation.
17328
6c19f744
SM
173292011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17330
17331 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17332 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17333
60f884b2
GM
173342011-05-06 Glenn Morris <rgm@gnu.org>
17335
5006e634
GM
17336 * calendar/appt.el (appt-message-warning-time): Doc fix.
17337 (appt-warning-time-regexp): New option.
17338 (appt-make-list): Respect appt-message-warning-time.
17339
548d0a63
GM
17340 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17341 New options.
17342 (diary-add-to-list): Strip comments from the displayed string.
17343 (diary-mode): Set comment-start and comment-end.
17344
60f884b2
GM
17345 * vc/diff-mode.el (smerge-refine-subst): Declare.
17346 (diff-refine-hunk): Don't require smerge-mode when compiling.
17347
989681bb
JB
173482011-05-06 Juanma Barranquero <lekktu@gmail.com>
17349
17350 * simple.el (list-processes): Return nil as the docstring says.
17351
a6bc05e1
MA
173522011-05-05 Michael Albinus <michael.albinus@gmx.de>
17353
17354 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17355 to "".
17356 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17357 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17358 determining of binary transfer. (Bug#7383)
17359
23c22e9a
MA
173602011-05-05 Michael Albinus <michael.albinus@gmx.de>
17361
c4662635
SM
17362 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17363 Fix port computation bug. (Bug#8618)
23c22e9a 17364
0bff894f
GM
173652011-05-05 Glenn Morris <rgm@gnu.org>
17366
b8296902
GM
17367 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17368
1f522ce8
GM
17369 * simple.el (shell-dynamic-complete-functions)
17370 (comint-dynamic-complete-functions): Declare.
17371
cf5bee67
GM
17372 * net/network-stream.el (gnutls-negotiate):
17373 * simple.el (tabulated-list-print): Fix declarations.
17374
17375 * progmodes/gud.el (syntax-symbol, syntax-point):
17376 Remove unnecessary and incorrect declarations.
17377
0bff894f
GM
17378 * emacs-lisp/check-declare.el (check-declare-scan):
17379 Handle byte-compile-initial-macro-environment in bytecomp.el
17380
9869b3ae
SM
173812011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17382
17383 Fix earlier half-done eieio-defmethod change (bug#8338).
17384 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17385 Streamline and change calling convention.
17386 (defmethod): Adjust accordingly and simplify.
17387 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17388 new eieio--defmethod.
17389 (slot-boundp): Minor CSE simplification.
17390
9c1d5ac5
MZ
173912011-05-05 Milan Zamazal <pdm@zamazal.org>
17392
17393 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17394 (glasses-make-readable): Use glasses-separate-capital-groups.
17395
455c834e
JB
173962011-05-05 Juanma Barranquero <lekktu@gmail.com>
17397
17398 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17399 (warning-series): Doc fix.
17400 (display-warning): Don't try to create the buffer if we just found it.
17401
9ed7c8cb
CY
174022011-05-04 Chong Yidong <cyd@stupidchicken.com>
17403
17404 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17405 (autoload-find-generated-file): New function.
17406 (generate-file-autoloads): Bind generated-autoload-file to
17407 buffer-file-name.
9869b3ae
SM
17408 (update-file-autoloads, update-directory-autoloads):
17409 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17410 output file (Bug#7989).
17411 (batch-update-autoloads): Doc fix.
17412
0898ca10
JB
174132011-05-04 Juanma Barranquero <lekktu@gmail.com>
17414
17415 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17416
31dfb76c
GM
174172011-05-04 Glenn Morris <rgm@gnu.org>
17418
f330b642
GM
17419 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17420 function, so it follows changes in calendar-date-style.
17421 (diary-fancy-date-matcher): New function.
17422 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17423 (diary-fancy-font-lock-fontify-region-function):
17424 Use diary-fancy-date-pattern as a function.
17425
31dfb76c
GM
17426 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17427 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17428
48e79d6a
TZ
174292011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17430
17431 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17432 instead of positional arguments. Allow :keylist and :crlfiles
17433 arguments.
17434 (open-gnutls-stream): Call it.
17435
17436 * net/network-stream.el (network-stream-open-starttls): Adjust to
17437 call `gnutls-negotiate' with :process and :hostname arguments.
17438
dd5a5ee0
SM
174392011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17440
ef80fc09
SM
17441 * minibuffer.el (completion--message): New function.
17442 (completion--do-completion, minibuffer-complete)
17443 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17444 (completion--do-completion): Don't ignore completion-auto-help when in
17445 icomplete-mode.
17446
dd5a5ee0
SM
17447 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17448 internal encoding (e.g. tibetan zero is not whitespace).
17449 (global-whitespace-mode): Prefer save-current-buffer.
17450 (whitespace-trailing-regexp): Remove useless save-match-data.
17451 (whitespace-empty-at-bob-regexp): Minor simplification.
17452
b7d22a83
CY
174532011-05-03 Chong Yidong <cyd@stupidchicken.com>
17454
17455 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17456
5192af46
AM
174572011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17458
17459 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17460 Use `concat' to create string for insertion.
5192af46 17461
5767d190
SM
174622011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17463
17464 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17465 Avoid open-line which runs post-self-insert-hook.
17466 (bibtex-fill-entry): Remove unused `end' var.
17467
bf242939
AM
174682011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17469
5767d190
SM
17470 * textmodes/ispell.el (ispell-add-per-file-word-list):
17471 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17472
25666126
LL
174732011-05-03 Leo Liu <sdl.web@gmail.com>
17474
17475 * isearch.el (isearch-yank-pop): New command.
5767d190 17476 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17477 (isearch-forward): Mention it.
17478
52d3c2d0
SM
174792011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17480
1bcace58
SM
17481 * simple.el (minibuffer-complete-shell-command): Remove.
17482 (minibuffer-local-shell-command-map): Use completion-at-point.
17483 (read-shell-command): Setup completion vars here instead.
17484 (read-expression-map): Bind TAB to symbol completion.
17485
52d3c2d0
SM
17486 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17487 error directly rather via storing it into `results'.
17488
35813471
LL
174892011-05-02 Leo Liu <sdl.web@gmail.com>
17490
17491 * vc/diff.el: Fix description.
17492
e793a940
LMI
174932011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17494
17495 * server.el (server-eval-at): New function.
17496
8de66e05
LMI
174972011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17498
17499 * net/network-stream.el (open-network-stream): Take a :nowait
17500 parameter and pass it on to `make-network-process'.
17501 (network-stream-open-plain): Ditto.
17502
dcb79f20
AS
175032011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17504
17505 * faces.el (face-spec-set-match-display): Don't match toolkit
17506 options on terminal frames.
17507
14a7fbd8
SM
175082011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17509
7eabc1be
SM
17510 * progmodes/pascal.el: Use lexical binding.
17511 (pascal-mode-map): Remove author preferences.
17512
14a7fbd8
SM
17513 * pcomplete.el (pcomplete-std-complete): Don't abuse
17514 completion-at-point.
17515
50f84510
JB
175162011-04-28 Juanma Barranquero <lekktu@gmail.com>
17517
6e087a44
JB
17518 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17519 removing code that has been dead since 1991 or so.
17520
50f84510
JB
17521 * startup.el (command-line): When warning about "_emacs", use a
17522 delayed warning to allow the user to filter it out.
17523
0ba690bd
DD
175242011-04-28 Deniz Dogan <deniz@dogan.se>
17525
17526 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17527 user has not joined.
17528
08abfaad
SM
175292011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17530
17531 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17532 aren't any completions at point.
17533
638f053a
JB
175342011-04-28 Juanma Barranquero <lekktu@gmail.com>
17535
17536 * subr.el (display-delayed-warnings): New function.
17537 (delayed-warnings-hook): New variable.
17538
8fff8daa
SM
175392011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17540
08abfaad
SM
17541 * minibuffer.el (completion-at-point, completion-help-at-point):
17542 Don't presume that a given completion-at-point-function will always
17543 use the same calling convention.
17544
8fff8daa
SM
17545 * pcomplete.el (pcomplete-completions-at-point):
17546 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17547 pcomplete-seen is non-nil.
17548 (pcomplete-comint-setup): Also recognize the new comint/shell
17549 completion functions.
17550 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17551 pcomplete-seen is non-nil.
17552
841a1577 175532011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17554
841a1577 17555 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17556 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17557 the first character in the entry. This allows for code to add its
211ec907
UJ
17558 own uid to the entry.
17559 (icalendar--convert-float-to-ical): Add export of
17560 `diary-float'-entries save for those with the optional DAY
17561 argument.
17562
2a782793
DC
175632011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17564
17565 * subr.el (shell-quote-argument): Use alternate escaping strategy
17566 when we spot a variable reference in a string.
17567
0438ce91
DC
175682011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17569
17570 * cus-start.el (all): Define customization for debug-on-event.
17571
841a1577 175722011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17573
17574 * subr.el (shell-quote-argument): Escape correctly under Windows.
17575
d090ed6c
SM
175762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17577
17578 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17579
bfd31217
MA
175802011-04-25 Michael Albinus <michael.albinus@gmx.de>
17581
d090ed6c
SM
17582 * net/tramp.el (tramp-process-actions): Add POS argument.
17583 Delete region between POS and (pos).
bfd31217 17584
d090ed6c
SM
17585 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17586 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17587 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17588
17589 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17590 position in `tramp-process-actions' call.
17591
17592 * net/trampver.el: Update release number.
17593
e92f3bd3
SM
175942011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17595
850256b5
SM
17596 * custom.el (defcustom): Obey lexical-binding.
17597
e92f3bd3
SM
17598 Fix octave-inf completion problems reported by Alexander Klimov.
17599 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17600 Inherit from octave-mode-syntax-table.
17601 (inferior-octave-mode): Set info-lookup-mode.
17602 (inferior-octave-completion-at-point): New function.
17603 (inferior-octave-complete): Use it and completion-in-region.
17604 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17605 comint-filename-completion.
17606 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17607 symbol elements which shouldn't be word elements.
17608 (octave-font-lock-keywords, octave-beginning-of-defun)
17609 (octave-function-header-regexp): Adjust regexps accordingly.
17610 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17611
cd22b309
JB
176122011-04-25 Juanma Barranquero <lekktu@gmail.com>
17613
17614 * net/gnutls.el (gnutls-errorp): Declare before first use.
17615
8b492194
TZ
176162011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17617
17618 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17619 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17620 default trustfile exists before going to use it. Add missing
5a5fa834 17621 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17622 Reported by Claudio Bley <claudio.bley@gmail.com>.
17623 (open-gnutls-stream): Add usage example.
17624
17625 * net/network-stream.el (network-stream-open-starttls): Give host
17626 parameter to `gnutls-negotiate'.
17627 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17628 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17629
841a1577 176302011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17631
cd22b309
JB
17632 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17633 Use correct match group (bug#8438).
05842630 17634
3ba7869c
CY
176352011-04-24 Chong Yidong <cyd@stupidchicken.com>
17636
512e3ae1
CY
17637 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17638 (package-menu--generate): New arg specifying packages to show.
17639 (package-menu-refresh, package-menu-execute, list-packages):
17640 Callers changed.
17641 (package-show-package-list): New function, replacing deleted
17642 package--list-packages (renamed because it is non-internal).
17643
17644 * finder.el (finder-list-matches): Use package-show-package-list
17645 instead of deleted package--list-packages.
17646
e92f3bd3
SM
17647 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17648 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17649 (vc-annotate-mode-map): Bind it to RET.
17650
7031be6d
UR
176512011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17652
17653 * progmodes/etags.el (next-file): Don't use set-buffer to change
17654 buffers (Bug#8478).
17655
4ef177aa
CY
176562011-04-24 Chong Yidong <cyd@stupidchicken.com>
17657
c8d173eb
CY
17658 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17659
4ef177aa
CY
17660 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17661 (apropos-accumulator): Doc fix.
17662 (apropos-function, apropos-macro, apropos-command)
17663 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17664 (apropos-plist): Add face property.
17665 (apropos-symbols-internal): Fix indentation.
17666 (apropos-print): Simplify help, and recognize apropos-multi-type.
17667 (apropos-print-doc): Use button-type-get to extract the button's
17668 face property. Fill docstring (Bug#8352).
17669
4ffd0d6b 176702011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17671
17672 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17673
c6c32125 17674 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17675 (mpuz-mode-map): Use mapc.
c6c32125
JB
17676 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17677 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17678 Fix typos in docstrings.
17679
58d468b4
JB
17680 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17681 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17682
6470c3c6
JB
17683 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17684
4ffd0d6b 176852011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17686
17687 * minibuffer.el (completion--do-completion): Avoid the "Next char
17688 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17689
3ad8bad0
CY
17690 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17691 mouse-2 into unread-command-events, it is interpreted correctly.
17692
71d73c9c 17693 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17694 (image-toggle-display): Doc fix.
71d73c9c 17695
841a1577 176962011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17697
4ffd0d6b
GM
17698 * textmodes/page.el (what-page): Use line-number-at-pos to
17699 calculate line number (Bug#6825).
6e1dbaa9 17700
c2fb1b60
JB
177012011-04-22 Juanma Barranquero <lekktu@gmail.com>
17702
17703 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17704 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17705 Pass argument NO-DEFAULT to `find-tag-interactive'.
17706
e02f48d7
JB
177072011-04-22 Juanma Barranquero <lekktu@gmail.com>
17708
17709 Lexical-binding cleanup.
17710
17711 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17712 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17713 * progmodes/ada-prj.el (ada-prj-initialize-values)
17714 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17715 (ada-prj-show-value):
17716 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17717 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17718 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17719 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17720 * progmodes/bug-reference.el (bug-reference-push-button):
17721 * progmodes/fortran.el (fortran-line-length):
17722 * progmodes/glasses.el (glasses-change):
17723 * progmodes/octave-mod.el (octave-fill-paragraph):
17724 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17725 (python-pdbtrack-grub-for-buffer, python-sentinel):
17726 * progmodes/sql.el (sql-save-connection):
17727 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17728 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17729 Mark unused parameters.
17730
17731 * progmodes/compile.el (compilation--flush-directory-cache)
17732 (compilation--flush-parse, compile-internal): Mark unused parameters.
17733 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17734 (compilation-next-error-function): Remove unused variable `timestamp'.
17735
17736 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17737 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17738
17739 * progmodes/dcl-mode.el (dcl-end-of-command):
17740 Remove unused variable `start'.
17741 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17742 (dcl-option-value-basic, dcl-option-value-offset)
17743 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17744 Mark unused parameters.
17745 (dcl-save-local-variable): Remove unused variable `val'.
17746 (mode): Declare.
17747
17748 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17749 Mark unused parameters.
17750 (delphi-ignore-changes): Move before first use.
17751 (delphi-charset-token-at): Remove unused variable `start'.
17752 (delphi-else-start): Remove unused variable `if-count'.
17753 (delphi-comment-block-start, delphi-comment-block-end):
17754 Remove unused variable `kind'.
17755 (delphi-indent-line): Remove unused variable `new-point'.
17756
17757 * progmodes/ebrowse.el (ebrowse-files-list)
17758 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17759 Mark unused parameters. Don't quote `lambda'.
17760 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17761 Don't quote `lambda'.
17762 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17763 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17764 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17765 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17766 Use `ignore-errors'.
17767 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17768 (ebrowse-view/find-file-and-search-pattern)
17769 (ebrowse-view/find-member-declaration/definition):
17770 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17771 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17772 Rename parameter PREFIX-ARG to PREFIX.
17773 (ebrowse-tags-read-name): Remove unused variables `start' and
17774 `member-info'.
17775 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17776 to `tags-file'.
17777
17778 * progmodes/etags.el (local-find-tag-hook): Declare.
17779 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17780 Mark unused parameters.
17781
17782 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17783 (executable-interpret): Mark unused parameter.
17784
17785 * progmodes/flymake.el (flymake-process-sentinel)
17786 (flymake-after-change-function)
17787 (flymake-create-temp-with-folder-structure)
17788 (flymake-get-include-dirs-dot): Mark unused parameters.
17789 (flymake-safe-delete-directory): Remove unused variable `err'.
17790
17791 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17792 (speedbar-timer-fn, speedbar-line-text)
17793 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17794 (speedbar-center-buffer-smartly): Declare functions.
17795 (gdb-find-watch-expression): Remove unused variable `array'.
17796 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17797 (gdb-starting): Mark unused parameters.
17798 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17799 (gdb-table-string): Remove unused variable `res'.
17800 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17801 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17802 (gdb-display-buffer): Remove unused variable `cur-size'.
17803
17804 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17805 allow lexical-binding compilation.
17806 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17807 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17808 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17809 Mark unused parameters.
17810 (gud-gdb-marker-filter): Remove unused variable `match'.
17811 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17812 lambda expressions and funcall them, instead of using `fset'.
17813
17814 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17815 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17816
17817 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17818 variable `header-beg'; use `let'.
17819
17820 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17821 `restart', `last-sexp' and `at-do'.
17822
17823 * progmodes/js.el (js--debug): Mark unused parameter.
17824 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17825 (js--splice-into-items): Remove unused variable `item'.
17826 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17827
17828 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17829 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17830 (makefile-complete): Remove unused variable `try'.
17831 (makefile-fill-paragraph, makefile-match-function-end):
17832 Mark unused parameters.
17833
17834 * progmodes/octave-inf.el (inferior-octave-complete):
17835 Remove unused variable `proc'.
17836 (inferior-octave-output-digest): Mark unused parameter.
17837
17838 * progmodes/perl-mode.el (perl-calculate-indent):
17839 Remove unused variable `err'.
17840
17841 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17842 (prolog-indent-line): Mark unused parameters.
17843 (prolog-indent-line): Remove unused variable `beg'.
17844
17845 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17846 (reporter-dont-compact-list): Declare.
17847
17848 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17849 Remove unused variable `char'.
17850 (sh-debug): Mark unused parameter.
17851 (sh-get-indent-info): Remove unused variable `start'.
17852 (sh-calculate-indent): Remove unused variable `var'.
17853
17854 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17855 (simula-electric-keyword): Remove unused variable `null'.
17856 (simula-search-backward, simula-search-forward): Remove unused
17857 variables `begin' and `end'.
17858
17859 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17860 Remove unused variable `pos'.
17861 (vera-electric-tab, vera-comment-uncomment-region):
17862 Mark unused parameters.
17863 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17864
7ede3b65
CY
178652011-04-22 Chong Yidong <cyd@stupidchicken.com>
17866
17867 * emacs-lisp/package.el (package--builtins, package-alist)
17868 (package-load-descriptor, package-built-in-p, package-activate)
17869 (define-package, package-installed-p)
17870 (package-compute-transaction, package-buffer-info)
17871 (package--push): Doc fix. Distinguish more clearly between
17872 version strings and version lists.
17873
121656e9
JB
178742011-04-21 Juanma Barranquero <lekktu@gmail.com>
17875
17876 Lexical-binding cleanup.
17877
17878 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17879 (5x5-make-mutate-best):
17880 * play/fortune.el (fortune-in-buffer):
17881 * play/gomoku.el (gomoku-init-display):
17882 * play/solitaire.el (solitaire, solitaire-do-check):
17883 * play/tetris.el (tetris-default-update-speed-function):
17884 Mark unused parameters.
17885
17886 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17887 (bubbles--shift): Remove unused variable `char-org'.
17888 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17889 (bubbles--show-images): Remove unused variable `char'.
17890
17891 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17892 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17893 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17894 (decipher-analyze-buffer): Use ?\s.
17895 (decipher-make-checkpoint): Remove unused variable `mapping'.
17896
17897 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17898
17899 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17900 Remove unused variable `result'; use `let'.
17901
17902 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17903 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17904 (gametree-children-shown-p, gametree-compute-reduced-score):
17905 Use `ignore-errors'.
17906
17907 * play/handwrite.el (ps-lpr-switches): Declare.
17908 (handwrite): Remove unused variables `pmin' and `lastp'.
17909
17910 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17911
17912 * play/landmark.el (landmark-init-display)
17913 (landmark-update-naught-weights): Mark unused parameters.
17914 (landmark-y): Remove unused variable `noise'. Simplify.
17915 (landmark-human-plays): Remove unused variable `score'.
17916
17917 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17918 (mpuz-try-proposal): Remove unused variable `game'.
17919
17920 * play/zone.el (life-patterns): Declare.
17921
80f499c7
JB
179222011-04-20 Juanma Barranquero <lekktu@gmail.com>
17923
17924 * vc/vc.el (ediff-vc-internal): Declare function.
17925
024ff170
SM
179262011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17927
c0a193ea
SM
17928 * shell.el: Use lexical-binding and std completion UI.
17929 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17930 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17931 comint-preoutput-filter-functions rather than on
17932 comint-output-filter-functions.
17933 (shell-command-completion, shell--command-completion-data)
17934 (shell-filename-completion, shell-environment-variable-completion)
17935 (shell-c-a-p-replace-by-expanded-directory): New functions.
17936 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17937 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17938 (shell-dynamic-complete-environment-variable): Use them.
17939 (shell-dynamic-complete-as-environment-variable)
17940 (shell-dynamic-complete-as-command): Remove.
17941 (shell-match-partial-variable): Match past point.
17942 * comint.el: Clean up use of completion-at-point-functions.
17943 (comint-completion-at-point): New function.
17944 (comint-mode): Use it completion-at-point-functions.
17945 (comint-dynamic-complete): Make it obsolete.
17946 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17947 (comint-c-a-p-replace-by-expanded-history): New function.
17948 (comint-dynamic-complete-functions)
17949 (comint-replace-by-expanded-history): Use it.
17950 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17951 termination strings. Try harder to avoid second try-completion.
17952 (completion-in-region-mode-map): Disable bindings that don't work yet.
17953
2dbaa080
SM
17954 * comint.el: Use lexical-binding. Require CL.
17955 (comint-dynamic-complete-functions): Use comint-filename-completion.
17956 (comint-completion-addsuffix): Tweak custom type.
17957 (comint-filename-completion, comint--common-suffix)
17958 (comint--common-quoted-suffix, comint--table-subvert)
17959 (comint--complete-file-name-data): New functions.
17960 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17961 (comint-dynamic-list-filename-completions): Use them.
17962 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17963
2dbaa080
SM
17964 * minibuffer.el (completion-in-region-mode):
17965 Keep completion-in-region-mode--predicate global.
17966 (completion-in-region--postch):
17967 Assume completion-in-region-mode--predicate is not null.
17968
c79a6f38
SM
17969 * progmodes/flymake.el (flymake-start-syntax-check-process):
17970 Obey `dir'. Simplify.
17971
024ff170
SM
17972 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17973 we're in VC after all.
17974
1c6c854e
CS
179752011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17976
17977 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17978 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17979 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17980
bed7f140
SM
179812011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17982
332e62ab
SM
17983 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17984 add sanity check.
17985
bed7f140
SM
17986 * obsolete/erc-hecomplete.el: Make obsolete.
17987 * obsolete/: Standardize obsolescence info in the header.
17988
f195c582
GM
179892011-04-20 Glenn Morris <rgm@gnu.org>
17990
17991 * calendar/solar.el (solar-horizontal-coordinates):
17992 Use the longitude argument rather than `calendar-longitude'.
17993 (solar-date-next-longitude): Remove unused locals.
17994
cb79b8c0
VJL
179952011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17996
17997 * whitespace.el: New version 13.2.1.
17998
179992011-04-20 felix <EmacsWiki> (tiny change)
18000
d8e4b68b 18001 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18002 switching between major modes on a file.
18003
602ea69d
SM
180042011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18005
18006 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18007 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18008 multi-line comments as well.
18009
06b60517
JB
180102011-04-19 Juanma Barranquero <lekktu@gmail.com>
18011
18012 Lexical-binding cleanup.
18013
18014 * arc-mode.el (archive-mode-revert):
18015 * cmuscheme.el (scheme-interactively-start-process):
18016 * custom.el (custom-initialize-delay):
18017 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18018 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18019 * emacs-lock.el (emacs-lock-clear-sentinel):
18020 * ezimage.el (defezimage):
18021 * follow.el (follow-avoid-tail-recenter):
18022 * fringe.el (set-fringe-mode-1):
18023 * generic-x.el (bat-generic-mode-compile):
18024 * help-mode.el (help-info-variable, help-do-xref)
18025 (help-mode-revert-buffer):
18026 * help.el (view-emacs-todo):
18027 * iswitchb.el (iswitchb-completion-help):
18028 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18029 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18030 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18031 * locate.el (locate-update):
18032 * longlines.el (longlines-encode-region)
18033 (longlines-after-change-function):
18034 * outline.el (outline-isearch-open-invisible):
18035 * ps-def.el (declare-function, charset-dimension, char-width)
18036 (encode-char):
18037 * ps-mule.el (ps-mule-plot-string):
18038 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18039 (recentf-edit-list-select, recentf-edit-list-validate)
18040 (recentf-open-files-action):
18041 * rect.el (delete-whitespace-rectangle-line)
18042 (rectangle-number-line-callback):
18043 * register.el (window-configuration-to-register)
18044 (frame-configuration-to-register):
18045 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18046 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18047 (xselect-convert-to-targets, xselect-convert-to-delete)
18048 (xselect-convert-to-filename, xselect-convert-to-charpos)
18049 (xselect-convert-to-lineno, xselect-convert-to-colno)
18050 (xselect-convert-to-os, xselect-convert-to-host)
18051 (xselect-convert-to-user, xselect-convert-to-class)
18052 (xselect-convert-to-name, xselect-convert-to-integer)
18053 (xselect-convert-to-atom, xselect-convert-to-identity):
18054 * subr.el (declare, ignore, process-kill-without-query)
18055 (text-clone-maintain):
18056 * terminal.el (te-get-char, te-tic-sentinel):
18057 * tool-bar.el (tool-bar-make-keymap):
18058 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18059 * type-break.el (type-break-mode, type-break-noninteractive-query):
18060 * view.el (View-back-to-mark):
18061 * wid-browse.el (widget-browse-action, widget-browse-widget)
18062 (widget-browse-widgets, widget-browse-sexp):
18063 * widget.el (define-widget-keywords):
18064 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18065 Mark unused parameters.
18066
18067 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18068 (align-areas): Remove unused variable `look'.
18069 (align-region): Remove unused variables `real-end' and `pos-list'.
18070
18071 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18072
18073 * bindings.el (mode-line-modified, mode-line-remote):
18074 Mark unused parameters.
18075 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18076
18077 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18078 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18079
18080 * comint.el (comint-history-isearch-pop-state)
18081 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18082 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18083 (comint-substitute-in-file-name): Doc fix.
18084
18085 * completion.el (cmpl-statistics-block): Mark unused parameter.
18086 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18087 (save-completions-to-file, load-completions-from-file):
18088 Remove unused local variable `e'.
18089
18090 * composite.el (compose-chars): Remove unused variable `len'.
18091 (lgstring-insert-glyph): Remove unused variable `g'.
18092 (compose-glyph-string): Remove unused variables `ascent',
18093 `descent', `lbearing' and `rbearing'.
18094 (compose-glyph-string-relative): Remove unused variables
18095 `lbearing', `rbearing' and `wadjust'.
18096 (compose-gstring-for-graphic): Remove unused variables `header',
18097 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18098 (compose-gstring-for-terminal): Remove unused variables `header'
18099 and `nchars'. Use `let', not `let*'.
18100
18101 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18102 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18103 (Custom-buffer-done, custom-buffer-create-internal)
18104 (custom-browse-visibility-action, custom-browse-group-tag-action)
18105 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18106 (widget-magic-mouse-down-action, custom-toggle-parent)
18107 (custom-add-parent-links, custom-toggle-hide-variable)
18108 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18109 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18110 (custom-face-menu-create, custom-variable-menu-create, get)
18111 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18112 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18113 (customize-apropos): Remove unused variable `tests'.
18114 (custom-group-value-create): Remove unused variable `hidden-p'.
18115 (sort-fold-case): Declare.
18116
18117 * cus-theme.el (custom-reset-standard-faces-list)
18118 (custom-reset-standard-variables-list): Declare.
18119 (customize-create-theme, custom-theme-revert, custom-theme-write)
18120 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18121 Mark unused parameters.
18122
18123 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18124
18125 * delim-col.el (delimit-columns-max): Move defvar before first use.
18126
18127 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18128 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18129
18130 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18131 (auto-insert): Declare.
18132 (desktop-restore-file-buffer): Rename desktop-* parameters;
18133 mark unused ones.
18134 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18135 (desktop-buffer): Rename desktop-* parameters.
18136
18137 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18138 (dframe-reposition-frame-xemacs, dframe-help-echo)
18139 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18140 Mark unused parameters.
18141
18142 * dired-aux.el (backup-extract-version-start, overwrite-query)
18143 (overwrite-backup-query, rename-regexp-query)
18144 (rename-non-directory-query): Declare.
18145 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18146 (dired-add-entry): Remove unused variable `orig-file-name'.
18147 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18148 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18149 `dired-copy-preserve-time' directly.
18150 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18151 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18152
18153 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18154 (dired-virtual-revert, dired-make-relative-symlink):
18155 Mark unused parameters.
18156 (manual-program): Declare.
18157 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18158 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18159 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18160
18161 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18162
18163 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18164
18165 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18166 Declare.
18167
18168 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18169
18170 * electric.el (Electric-command-loop): Rename parameter
18171 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18172
18173 * expand.el (expand-in-literal): Remove unused variable `here'.
18174
18175 * facemenu.el (facemenu-add-new-color):
18176 Remove unused variable `docstring'.
18177
18178 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18179 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18180 (face-attr-construct): Mark unused parameter. Doc fix.
18181 (read-color): Remove unused variable `hex-string'.
18182
18183 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18184 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18185 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18186 (display-buffer-other-frame): Remove unused variable `old-window'.
18187 (kill-buffer-hook): Declare.
18188 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18189 Mark unused parameters.
18190 (after-find-file): Pass 1 to `auto-save-mode', not t.
18191
18192 * files-x.el (auto-insert): Declare.
18193 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18194
18195 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18196 variable `buf'. Mark unused parameter.
06b60517
JB
18197 (find-lisp-insert-directory): Mark unused parameter.
18198
18199 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18200 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18201 (format-common-tail): Remove, unused.
18202 (format-deannotate-region): Remove unused variable `loc'.
18203 (format-annotate-region): Remove unused variable `p'.
18204 (format-annotate-single-property-change): Remove unused variables
18205 `default' and `tail'.
18206
18207 * forms.el (read-file-filter): Declare.
18208 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18209
18210 * frame.el (frame-creation-function-alist): Mark unused parameter.
18211 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18212
18213 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18214 Remove unused parameters.
18215 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18216 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18217
18218 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18219 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18220 (hfy-prepare-tag-map): Mark unused parameters.
18221 (htmlfontify-buffer): Use `called-interactively-p'.
18222
18223 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18224 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18225 (ibuffer-do-occur): Mark unused parameters.
18226 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18227 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18228
18229 * ibuffer.el: Don't quote `lambda'.
18230 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18231 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18232 Mark unused parameters.
18233
18234 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18235 (ido-completing-read): Mark unused parameters.
18236 (ido-copy-current-word): Mark unused parameters;
18237 remove unused variable `name'.
18238 (ido-sort-merged-list): Remove unused parameter `dirs'.
18239
18240 * ielm.el (ielm-input-sender): Mark unused parameter.
18241 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18242 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18243 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18244 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18245 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18246
18247 * image-dired.el (image-dired-display-thumbs): Remove unused
18248 variables `curr-file' and `count'.
18249 (image-dired-remove-tag): Remove unused variable `start'.
18250 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18251 variable `curr-file'
18252 (image-dired-rotate-original): Remove unused variable `temp-file'.
18253 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18254 Remove unused variable `file'.
18255 (image-dired-gallery-generate): Remove unused variable `curr'.
18256 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18257
18258 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18259
18260 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18261
18262 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18263
18264 * isearch.el (minibuffer-history-symbol): Declare.
18265 (isearch-edit-string): Remove unused variable `err'.
18266 (isearch-message-prefix, isearch-message-suffix):
18267 Mark unused parameters.
18268
18269 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18270
18271 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18272
18273 * makesum.el (double-column): Remove unused variable `cnt'.
18274
18275 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18276 (ido-ignore-item-temp-list): Declare.
18277
18278 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18279 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18280 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18281 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18282 `mouse-col-delta'.
18283
18284 * mouse-sel.el (mouse-extend-internal):
18285 Remove unused variable `orig-window-frame'.
18286
18287 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18288 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18289 Move declarations before first use.
18290 (pcomplete-opt): Mark unused parameters; doc fix.
18291
18292 * proced.el (proced-revert): Mark unused parameter.
18293 (proced-send-signal): Remove unused variable `err'.
18294
18295 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18296 Rename parameter PREFIX-ARG to ARG.
18297 (ps-basic-plot-string, ps-basic-plot-whitespace):
18298 Mark unused parameters.
18299
18300 * replace.el (replace-count): Define.
18301 (occur-revert-function): Mark unused parameters.
18302 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18303 (isearch-case-fold-search, isearch-string): Declare.
18304 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18305 bind `case-fold-search'. Remove unused variables `beg' and `end',
18306 and simplify.
18307 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18308 COUNT and bind `replace-count'.
18309 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18310 to COUNT.
18311
18312 * savehist.el (print-readably, print-string-length): Declare.
18313
18314 * shadowfile.el (shadow-expand-cluster-in-file-name):
18315 Remove unused variable `cluster'.
18316 (shadow-copy-file): Remove unused variable `i'.
18317 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18318 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18319 (shadow-define-literal-group, shadow-define-regexp-group)
18320 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18321
18322 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18323 (shell): Use `called-interactively-p'.
18324 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18325
18326 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18327 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18328 (delete-backward-char): Remove unused variable `ocol'.
18329 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18330 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18331 (event-apply-hyper-modifier, event-apply-shift-modifier)
18332 (event-apply-control-modifier, event-apply-meta-modifier):
18333 Mark unused parameters.
18334 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18335 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18336
18337 * speedbar.el (speedbar-ignored-directory-expressions)
18338 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18339 (speedbar-find-file, speedbar-dir-follow)
18340 (speedbar-directory-buttons-follow, speedbar-tag-find)
18341 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18342 (speedbar-buffers-line-directory, speedbar-buffer-click):
18343 Mark unused parameters.
18344 (speedbar-tag-file): Remove unused variable `mode'.
18345 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18346
18347 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18348
18349 * talk.el (talk): Remove unused variable `display'.
18350
18351 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18352 (tar-write-region-annotate): Mark unused parameter.
18353
18354 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18355 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18356 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18357 warning by another.
18358
18359 * time-stamp.el (time-stamp-string-preprocess):
18360 Remove unused variable `require-padding'.
18361
18362 * tree-widget.el (widget-glyph-enable): Declare.
18363 (tree-widget-action): Mark unused parameter.
18364
18365 * w32-fns.el (x-get-selection): Mark unused parameter.
18366 (autoload-make-program, generated-autoload-file): Declare.
18367
18368 * wdired.el (wdired-revert): Mark unused parameters.
18369 (wdired-xcase-word): Remove unused variable `err'.
18370
18371 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18372 (whitespace-help-scroll): Remove unused variable `data-help'.
18373
18374 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18375 (widget-image-insert, widget-after-change, default)
18376 (widget-default-format-handler, widget-default-notify)
18377 (widget-default-prompt-value, widget-info-link-action)
18378 (widget-url-link-action, widget-function-link-action)
18379 (widget-variable-link-action, widget-file-link-action)
18380 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18381 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18382 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18383 (widget-insert-button-action, widget-delete-button-action, visibility)
18384 (widget-documentation-link-action, widget-documentation-string-action)
18385 (widget-const-prompt-value, widget-regexp-match, symbol)
18386 (widget-coding-system-prompt-value)
18387 (widget-key-sequence-value-to-external, sexp)
18388 (widget-sexp-value-to-internal, character, vector, cons)
18389 (widget-choice-prompt-value, widget-boolean-prompt-value)
18390 (widget-color--choose-action): Mark unused parameters.
18391 (widget-item-match-inline, widget-choice-match-inline)
18392 (widget-checklist-match, widget-checklist-match-inline)
18393 (widget-group-match): Rename parameter VALUES to VALS.
18394 (widget-field-value-set): Remove unused variable `size'.
18395 (widget-color-action): Remove unused variables `value' and `start'.
18396
18397 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18398 variable `dir'. Doc fix.
06b60517
JB
18399 (windmove-find-other-window): Don't pass it.
18400
18401 * window.el (count-windows): Mark unused parameter.
18402 (bw-adjust-window): Remove unused variable `err'.
18403
18404 * woman.el (woman-file-name): Remove unused variable `default'.
18405 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18406 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18407 (global-font-lock-mode): Declare.
18408 (woman-decode-region): Mark unused parameter.
18409 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18410
18411 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18412 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18413 (x-dnd-handle-moz-url): Remove unused variable `title'.
18414 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18415
18416 * xml.el (xml-parse-tag, xml-parse-attlist):
18417 Remove unused variable `pos'.
18418
bc4f7f3d
GM
184192011-04-19 Glenn Morris <rgm@gnu.org>
18420
18421 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18422 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18423 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18424 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18425 * calendar/cal-html.el (cal-html-insert-minical):
18426 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18427 (calendar-mark-date-pattern):
18428 Prefix "unused" locals.
18429
18430 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18431 optional argument `style'.
18432
18433 * calendar/appt.el (appt-make-list):
18434 * calendar/cal-china.el (calendar-chinese-date-string):
18435 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18436 (diary-hebrew-yahrzeit):
18437 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18438 * calendar/calendar.el (calendar-generate-window):
18439 * calendar/time-date.el (time-to-days):
18440 Remove unused local variables.
18441
16a43933
CY
184422011-04-18 Chong Yidong <cyd@stupidchicken.com>
18443
18444 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18445 glyphless-char-display table.
18446 (tabulated-list-glyphless-char-display): New var.
18447
7eed1860
SS
184482011-04-18 Sam Steingold <sds@gnu.org>
18449
18450 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18451 to acknowledgments.
18452
4d2d1ccd
GM
184532011-04-17 Glenn Morris <rgm@gnu.org>
18454
18455 * calendar/diary-lib.el (diary-sexp-entry):
18456 * calendar/holidays.el (holiday-sexp):
18457 Set debug-on-error rather than the removed stack-trace-on-error.
18458
239da61d
GM
184592011-04-16 Glenn Morris <rgm@gnu.org>
18460
18461 * progmodes/f90.el: Use lexical-binding.
18462 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18463
8b05752a
SM
184642011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18465
daca8ba5
SM
18466 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18467 (mail-mode): Setup mailalias completion here instead.
18468 * mail/mailalias.el: Use lexical-binding.
18469 (pattern, mailalias-done): Declare dynamic.
18470 (mail-completion-at-point-function): New function, from mail-complete.
18471 (mail-complete): Use it.
18472 (mail-completion-expand): New function.
18473 (mail-get-names): Use it.
18474 (mail-directory, mail-directory-process, mail-directory-stream):
18475 Don't use `pattern' for lexically bound arg.
18476
6f542485
SM
18477 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18478
037e7c3f
SM
18479 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18480 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18481 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18482
8b05752a
SM
18483 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18484 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18485 (byte-interactive-p): Define them again, for use when inlining
18486 old code.
18487
49093f60
JB
184882011-04-15 Juanma Barranquero <lekktu@gmail.com>
18489
18490 * loadup.el: Use `string-to-number', not `string-to-int'.
18491
b5b8e7de
SM
184922011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18493
18494 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18495 gud-gdb-complete-command.
18496 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18497 (gud-gdb-completion-at-point): New function.
18498 (gud-gdb-completions): Remove.
18499
f42efeb5
MA
185002011-04-14 Michael Albinus <michael.albinus@gmx.de>
18501
49093f60
JB
18502 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18503 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18504 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18505 whether `executable-find' is bound.
f42efeb5
MA
18506
18507 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18508
e240cc21
SM
185092011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18510
18511 * minibuffer.el (completion-in-region-mode-predicate)
18512 (completion-in-region-mode--predicate): New vars.
18513 (completion-in-region, completion-in-region--postch)
18514 (completion-in-region-mode): Use them.
18515 (completion--capf-wrapper): Also return the hook function.
18516 (completion-at-point, completion-help-at-point):
18517 Adjust and provide a predicate.
c2bd2ab0
SM
18518
18519 Preserve arg names for advice of subr and lexical functions (bug#8457).
18520 * help-fns.el (help-function-arglist): Consolidate the subr and
18521 new-byte-code cases. Add argument `preserve-names' to extract names
18522 from the docstring when needed.
18523 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18524 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18525 (ad-arglist): Use help-function-arglist's new arg.
18526 (ad-definition-type): Use cond.
18527
c183f693
JB
185282011-04-13 Juanma Barranquero <lekktu@gmail.com>
18529
06641a47
JB
18530 * autorevert.el (auto-revert-handler):
18531 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18532 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18533 Don't quote lambda.
18534
c183f693
JB
18535 * image-mode.el (image-transform-set-scale):
18536 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18537
1e3b6001
G
185382011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18539
18540 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18541 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18542 Upgrades via gnutls-cli are too slow to be done opportunistically.
18543
2d6af8dd
JB
185442011-04-12 Juanma Barranquero <lekktu@gmail.com>
18545
18546 * dframe.el (dframe-current-frame): Remove spurious quote.
18547
c0749a51
GM
185482011-04-12 Glenn Morris <rgm@gnu.org>
18549
088d0d61
GM
18550 * calendar/cal-tex.el (cal-tex-end-document):
18551 Try to automatically use latin1 input if needed.
18552
c0749a51
GM
18553 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18554 Don't try to cons a mark onto an empty element.
18555
5c90fde0
LL
185562011-04-11 Leo Liu <sdl.web@gmail.com>
18557
18558 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18559 buffers.
18560 (ido-kill-buffer-at-head): Support killing virtual buffers.
18561
369e974d
CY
185622011-04-10 Chong Yidong <cyd@stupidchicken.com>
18563
18564 * minibuffer.el (completion-show-inline-help): New var.
18565 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18566 (minibuffer-force-complete, minibuffer-complete-word):
18567 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18568
18569 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18570 to avoid interference from inline help (Bug#5849).
18571
37f1c930
LL
185722011-04-10 Leo Liu <sdl.web@gmail.com>
18573
099c39a4
JB
18574 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18575 Fix typo.
37f1c930 18576
a32d4040
CY
185772011-04-09 Chong Yidong <cyd@stupidchicken.com>
18578
18579 * image-mode.el (image-toggle-display-image): Signal an error if
18580 not in Image mode.
18581 (image-transform-mode, image-transform-resize)
18582 (image-transform-set-rotation): Doc fix.
daca8ba5 18583 (image-transform-set-resize): Delete.
a32d4040
CY
18584 (image-transform-set-scale, image-transform-fit-to-height)
18585 (image-transform-fit-to-width): Handle image-toggle-display-image
18586 and image-transform-resize directly.
18587
099c39a4 185882011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18589
18590 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18591 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18592 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18593 (doc-view-mode-map): Add bindings for the new functions.
18594
099c39a4 185952011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18596
4d61f28d 18597 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18598 Fix typo in docstring.
18599
3726838a
EZ
186002011-04-08 Eli Zaretskii <eliz@gnu.org>
18601
04f33f1e
EZ
18602 * files.el (file-size-human-readable): Produce one digit after
18603 decimal, like "ls -lh" does.
18604
18605 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18606 the file size representation.
18607
3726838a
EZ
18608 * simple.el (list-processes): If async subprocesses are not
18609 available, error out with a clear error message.
18610
cbb59342
CY
186112011-04-08 Chong Yidong <cyd@stupidchicken.com>
18612
18613 * help.el (help-form-show): New function, to be called from C.
18614 Put help-form output in a buffer named differently than *Help*.
18615
e3971c44
EZ
186162011-04-08 Eli Zaretskii <eliz@gnu.org>
18617
18618 * files.el (file-size-human-readable): New function.
18619
18620 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18621 computing the representation inline. Don't require `cl'.
18622
12544bbe
GM
186232011-04-08 Glenn Morris <rgm@gnu.org>
18624
a1de6c6a
GM
18625 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18626
3c4671f4
GM
18627 * net/browse-url.el (browse-url-firefox):
18628 Test system-type, not system-configuration.
18629
b605679c
GM
18630 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18631 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18632 Use log-edit-empty-buffer-p. (Bug#7598)
18633
56442f0c
GM
18634 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18635 (rlogin-mode-map): Initialize in the defvar.
18636 (rlogin): Use ignore-errors.
18637
12544bbe
GM
18638 * replace.el (occur-mode-map): Some fixes for menu items.
18639
eb237b0f
AH
186402011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18641
18642 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18643
7d668f2c
CY
186442011-04-06 Chong Yidong <cyd@stupidchicken.com>
18645
e67a13ab
CY
18646 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18647 issuing unused warnings.
18648
18649 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18650 macro directly.
18651
7d668f2c
CY
18652 * simple.el: Lisp reimplement of list-processes. Based on an
18653 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18654 (process-menu-mode): New major mode.
18655 (list-processes--refresh, list-processes):
18656 (process-menu-visit-buffer): New functions.
18657
18658 * files.el (save-buffers-kill-emacs): Don't assume any return
18659 value of list-processes, which is undocumented anyway.
18660
a83ec3c9
CY
186612011-04-06 Chong Yidong <cyd@stupidchicken.com>
18662
18663 * emacs-lisp/tabulated-list.el: New file.
18664
e91a96fe
CY
18665 * emacs-lisp/package.el: Use Tabulated List mode.
18666 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18667 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18668 table format using Tabulated List mode variables.
18669 (package--push): New macro, replacing package-list-maybe-add.
18670 (package-menu--generate): Use package--push. Renamed from
18671 package--generate-package-list.
18672 (package-menu-refresh, list-packages): Use it.
daca8ba5 18673 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18674 Return insertion data instead of inserting it directly.
099c39a4
JB
18675 (package-menu-describe-package, package-menu-execute):
18676 Use tabulated-list-get-id.
e91a96fe
CY
18677 (package-menu-mark-delete, package-menu-mark-install)
18678 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18679 (package-menu-mark-obsolete-for-deletion):
18680 Use tabulated-list-put-tag.
e91a96fe
CY
18681 (package--list-packages, package-menu-revert)
18682 (package-menu-get-package, package-menu-get-version)
18683 (package-menu-sort-by-column): Functions deleted.
18684 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18685 (package-menu--status-predicate, package-menu--version-predicate)
18686 (package-menu--name-predicate)
18687 (package-menu--description-predicate): Handle arguments in the
18688 Tabulated List format.
18689 (package-list-packages-no-fetch): Call list-packages.
18690
3e214b50
JB
186912011-04-06 Juanma Barranquero <lekktu@gmail.com>
18692
18693 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18694 (after-find-file): Don't bind it.
3e214b50
JB
18695 (revert-buffer-in-progress-p): New variable.
18696 (revert-buffer): Bind it.
18697 Pass nil for `after-find-file-from-revert-buffer'.
18698
18699 * saveplace.el (save-place-find-file-hook): Use new variable
18700 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18701
3f0f1700
GM
187022011-04-06 Glenn Morris <rgm@gnu.org>
18703
c0274801
GM
18704 * Makefile.in (AUTOGEN_VCS): New variable.
18705 (autoloads): Use $AUTOGEN_VCS.
18706
3f0f1700
GM
18707 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18708 * calendar/calendar.el (calendar-mode-map):
18709 Check for toolkit scroll bars. (Bug#8305)
18710
41ea9e48
CY
187112011-04-05 Chong Yidong <cyd@stupidchicken.com>
18712
18713 * minibuffer.el (completion-in-region--postch)
18714 (completion-in-region-mode): Remove unnecessary messages.
18715
6194c800
JB
187162011-04-05 Juanma Barranquero <lekktu@gmail.com>
18717
33256f14
JB
18718 * font-lock.el (font-lock-refresh-defaults):
18719 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18720 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18721
6194c800
JB
18722 * info.el (Info-directory-list, Info-read-node-name-2)
18723 (Info-split-parameter-string): Doc fixes.
18724 (Info-virtual-nodes): Reflow docstring.
18725 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18726 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18727 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18728 Fix typos in docstrings.
18729 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18730 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18731 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18732 (Info-restore-desktop-buffer): Mark unused parameters.
18733 (Info-directory-find-file, Info-directory-find-node)
18734 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18735 (Info-virtual-index-find-node, Info-apropos-find-file)
18736 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18737 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18738 (Info-virtual-index): Remove unused local variable `nodename'.
18739
b87a8200 187402011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18741
b87a8200
DD
18742 * net/rcirc.el: Update my e-mail address.
18743 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18744
3b2ff876
CY
187452011-04-05 Chong Yidong <cyd@stupidchicken.com>
18746
18747 * startup.el (command-line): Save the cursor's theme-face
18748 directly, instead of using face-override-spec.
18749
18750 * custom.el (load-theme): Minor optimization in assigning faces.
18751
8d17e7ca
JB
187522011-04-04 Juanma Barranquero <lekktu@gmail.com>
18753
18754 * help-fns.el (describe-variable): Complete all variables having
18755 documentation, including keywords.
18756 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18757
2fbc1934
JB
187582011-04-04 Juanma Barranquero <lekktu@gmail.com>
18759
18760 Convert to lexical-binding.
18761
18762 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18763 (bs--get-marked-string, bs--get-modified-string)
18764 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18765 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18766 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18767
18768 * ehelp.el (electric-help-execute-extended)
18769 (electric-help-ctrl-x-prefix):
18770 * hexl.el (hexl-revert-buffer-function):
18771 * linum.el (linum-after-change, linum-after-scroll):
18772 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18773
18774 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18775
74f50695
DU
187762011-04-04 Daiki Ueno <ueno@unixuser.org>
18777
18778 * epa-dired.el:
18779 * epa-mail.el:
18780 * epa-hook.el:
18781 * epa-file.el:
18782 * epa.el:
18783 * epg.el: Use lexical binding.
18784
c11325f7
CY
187852011-04-03 Chong Yidong <cyd@stupidchicken.com>
18786
0d9e9a12
CY
18787 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18788
c11325f7 18789 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18790 dictionary case for flyspell-mark-duplications-exceptions.
18791 Use regexp matching for languages.
c11325f7
CY
18792 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18793 default dictionary (Bug#7926).
18794
da91b5f2
CY
187952011-04-02 Chong Yidong <cyd@stupidchicken.com>
18796
099c39a4
JB
18797 * emacs-lisp/package.el (package--with-work-buffer):
18798 Recognize https URLs.
da91b5f2 18799
099c39a4
JB
18800 * net/network-stream.el: Move from gnus/proto-stream.el.
18801 Change prefix to network-stream throughout.
da91b5f2
CY
18802 (open-protocol-stream): Merge into open-network-stream, leaving
18803 open-protocol-stream as an alias. Handle nil BUFFER args.
18804
18805 * subr.el (open-network-stream): Move to net/network-stream.el.
18806
afa8e9f6
GM
188072011-04-02 Glenn Morris <rgm@gnu.org>
18808
1d2e369d
GM
18809 * find-dired.el (find-exec-terminator): New option.
18810 (find-ls-option): Test for -ls support.
18811 (find-ls-subdir-switches): Test for -b in find-ls-option.
18812 (find-dired, find-grep-dired): Doc fixes.
18813 (find-dired): Use find-exec-terminator.
18814
8abb7da8 18815 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18816 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18817 (find-name-arg): Remove purecopy.
8abb7da8 18818
f3ca7378
GM
18819 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18820 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18821 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18822 accordingly. Don't add the null-device if not needed.
18823
afa8e9f6
GM
18824 * files.el (save-some-buffers): Doc fix.
18825
35eae264
EZ
188262011-04-02 Eli Zaretskii <eliz@gnu.org>
18827
18828 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18829
26b51db5
JB
188302011-04-01 Juanma Barranquero <lekktu@gmail.com>
18831
18832 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18833 Use `dolist' rather than `mapcar'.
18834
7200d79c
SM
188352011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18836
03408648 18837 Add lexical binding.
7200d79c 18838
03408648
SM
18839 * subr.el (apply-partially): Use new closures rather than CL.
18840 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18841 (dolist, dotimes): Use slightly different expansion for lexical code.
18842 (functionp): Move to C.
18843 (letrec): New macro.
18844 (with-wrapper-hook): Use it and apply-partially instead of CL.
18845 (eval-after-load): Preserve lexical-binding.
18846 (save-window-excursion, with-output-to-temp-buffer): Turn them
18847 into macros.
7200d79c 18848
03408648
SM
18849 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18850
18851 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18852 than the arglist.
18853 (help-add-fundoc-usage): Don't add `Not documented'.
18854 (help-function-arglist): Handle closures, subroutines, and new
18855 byte-code-functions.
18856 (help-make-usage): Remove leading underscores.
18857 (describe-function-1): Handle closures.
18858 (describe-variable): Use special-variable-p for completion.
18859
18860 * files.el (lexical-binding): Declare safe.
f488fb65 18861
03408648
SM
18862 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18863 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18864 (pcase): Add `let' pattern.
18865 Change memoization so it actually works.
18866 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18867 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18868 <let>: New case.
f488fb65 18869
03408648
SM
18870 * emacs-lisp/macroexp.el: Use lexical binding.
18871 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18872 Don't convert ' to #' without checking that it's indeed quoting
18873 a lambda.
18874
18875 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18876 Use eval-sexp-add-defvars.
03408648
SM
18877 (eval-sexp-add-defvars): New fun.
18878
18879 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18880
18881 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18882 Don't autoload.
18883 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18884 than the internal `byte-compile-lambda'.
18885 (defmethod): Don't hide code under quotes.
18886 (eieio-defmethod): New `code' argument.
18887
18888 * emacs-lisp/eieio-comp.el: Remove.
18889
18890 * emacs-lisp/edebug.el (edebug-eval-defun)
18891 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18892 (edebug-toggle): Avoid `eval'.
18893
18894 * emacs-lisp/disass.el (disassemble-internal): Handle new
18895 `closure' objects.
18896 (disassemble-1): Handle new byte codes.
18897
18898 * emacs-lisp/cl.el (pushnew): Silence warning.
18899
18900 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18901 (cl-byte-compile-throw): Remove.
18902 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18903
18904 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18905 closures.
18906
18907 * emacs-lisp/cconv.el: New file.
18908
18909 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18910 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18911 (byte-compile-initial-macro-environment):
18912 Handle declare-function here.
18913 (byte-compile--lexical-environment): New var.
18914 (byte-stack-ref, byte-stack-set, byte-discardN)
18915 (byte-discardN-preserve-tos): New lap codes.
18916 (byte-interactive-p): Don't use any more.
18917 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18918 New macros.
18919 (byte-compile-lapcode): Use them and handle new lap codes.
18920 (byte-compile-obsolete): Remove.
18921 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18922 (byte-compile-arglist-warn): Check late def of inlinable funs.
18923 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18924 since they should have been expanded by now.
18925 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18926 (byte-compile-from-buffer): Remove unused second arg.
18927 (byte-compile-preprocess): New function.
18928 (byte-compile-toplevel-file-form): New function to distinguish
18929 file-form calls from outside from file-form calls from hunk-handlers.
18930 (byte-compile-file-form): Simplify.
18931 (byte-compile-file-form-defsubst): Remove.
18932 (byte-compile-file-form-defmumble): Simplify now that
18933 byte-compile-lambda always returns a byte-code-function.
18934 (byte-compile): Preprocess.
18935 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18936 Remove, not used any more.
18937 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18938 (byte-compile-make-args-desc): New funs.
18939 (byte-compile-lambda): Handle lexical functions. Always return
18940 a byte-code-function.
18941 (byte-compile-reserved-constants): New var, to make up room for
18942 closed-over variables.
18943 (byte-compile-constants-vector): Obey it.
18944 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18945 (byte-compile-macroexpand-declare-function): New function.
18946 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18947 byte-code-functions.
18948 (byte-compile-form): Check obsolescence here.
18949 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18950 (byte-compile-variable-ref): Remove.
18951 (byte-compile-dynamic-variable-op): New fun.
18952 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18953 (byte-compile-variable-set): New funs.
18954 (byte-compile-discard): Add 2 args.
18955 (byte-compile-stack-ref, byte-compile-stack-set)
18956 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18957 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18958 macroexpand-all instead.
18959 (byte-compile-quote-form): Remove.
18960 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18961 (byte-compile-bind, byte-compile-unbind): New funs.
18962 (byte-compile-let): Handle let* and lexical binding.
18963 (byte-compile-let*): Remove.
18964 (byte-compile-catch, byte-compile-unwind-protect)
18965 (byte-compile-track-mouse, byte-compile-condition-case):
18966 Handle a new :fun-body form, used for lexical scoping.
18967 (byte-compile-save-window-excursion)
18968 (byte-compile-with-output-to-temp-buffer): Remove.
18969 (byte-compile-defun): Simplify.
18970 (byte-compile-stack-adjustment): New fun.
18971 (byte-compile-out): Use it.
18972 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18973
18974 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18975 handler any more.
18976
18977 * emacs-lisp/byte-opt.el: Use lexical binding.
18978 (byte-inline-lapcode): Remove (to bytecomp).
18979 (byte-compile-inline-expand): Pay attention to inlining to/from
18980 lexically bound code.
18981 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18982 any more.
18983 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18984 any more and don't call compiler-macros.
18985 (byte-compile-splice-in-already-compiled-code): Remove.
18986 (byte-code): Don't inline any more.
18987 (disassemble-offset): Receive `bytes' as argument rather than via
18988 dynamic scoping.
18989 (byte-compile-tag-number): Declare before first use.
18990 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18991 `return' even if make-spliceable.
18992 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18993 obsolete interactive-p.
18994 (byte-optimize-lapcode): Optimize new lap-codes.
18995 Don't trip up on new form of `byte-constant' lap code.
18996
18997 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18998
18999 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19000
19001 * custom.el (custom-initialize-default, custom-declare-variable):
19002 Use `defvar'.
19003
19004 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19005 New variables.
19006 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19007 (COMPILE_FIRST): Add macroexp and cconv.
19008 * makefile.w32-in: Mirror changes in Makefile.in.
19009
19010 * vc/cvs-status.el:
19011 * vc/diff-mode.el:
19012 * vc/log-edit.el:
19013 * vc/log-view.el:
19014 * vc/smerge-mode.el:
19015 * textmodes/bibtex-style.el:
090bd7cb 19016 * textmodes/css-mode.el:
03408648
SM
19017 * startup.el:
19018 * uniquify.el:
da91b5f2
CY
19019 * minibuffer.el:
19020 * newcomment.el:
19021 * reveal.el:
19022 * server.el:
19023 * mpc.el:
19024 * emacs-lisp/smie.el:
19025 * doc-view.el:
19026 * dired.el:
03408648
SM
19027 * abbrev.el: Use lexical binding.
19028
0f0c1f27
EZ
190292011-04-01 Eli Zaretskii <eliz@gnu.org>
19030
19031 * info.el (info-display-manual): New function.
19032
c82b2579
SM
190332011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19034
19035 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19036
221ddf68
TH
190372011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19038
19039 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19040 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19041
cba6e77e
GM
190422011-03-31 Glenn Morris <rgm@gnu.org>
19043
e040639f
GM
19044 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19045
cba6e77e
GM
19046 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19047
6d0f1c9e
CS
190482011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19049
19050 * progmodes/python.el (python-default-interpreter)
19051 (python-python-command-args, python-jython-command-args)
19052 (python-which-shell, python-which-args, python-which-bufname)
19053 (python-file-queue, python-comint-output-filter-function)
19054 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19055 variables and functions.
19056
3e2d70fd
SM
190572011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19058
19059 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19060 (completion-in-region-mode): New minor mode.
19061 (completion-in-region): Use it.
19062 (completion-in-region--data, completion-in-region-mode-map): New vars.
19063 (completion-in-region--postch): New function.
19064 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19065 New vars.
19066 (completion--capf-wrapper): New function.
19067 (completion-at-point): Use it to track well-behavedness of
19068 hook functions.
19069 (completion-help-at-point): New command.
19070
f3e4086c
JM
190712011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19072
19073 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19074 syntax class to search for whitespace on a single line
19075 (Message-ID: <4D938140.4030905@redhat.com>).
19076
eb7ffc14
LL
190772011-03-30 Leo Liu <sdl.web@gmail.com>
19078
19079 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19080 New commands.
19081 (edit-abbrevs-map): Bind them here.
19082 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19083
d806ab68
KM
190842011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19085
19086 * allout.el (allout-hide-by-annotation, allout-flag-region):
19087 Reduce possibility of overlay leakage by making them volatile.
19088
19089 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19090 hash is not shared between buffers. Mode initialization is
19091 responsible for giving it a useful starting value.
19092 (allout-item-span): Reduce possibility of overlay leakage by
19093 making them volatile.
19094 (allout-widgets-count-buttons-in-region): Add diagnostic function
19095 for tracking down button overlay leaks.
19096
ea622834
LL
190972011-03-29 Leo Liu <sdl.web@gmail.com>
19098
19099 * ido.el (ido-read-internal): Use the default history var
19100 minibuffer-history if no HISTORY is specified.
19101
b62f8267
G
191022011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19103
03408648
SM
19104 * net/imap.el (imap-shell-open, imap-process-connection-type):
19105 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19106 Kerberos, SSL, other subprocesses.
19107
947b6566
LL
191082011-03-28 Leo Liu <sdl.web@gmail.com>
19109
19110 * abbrev.el (abbrev-table-empty-p): New function.
19111 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19112 nonempty ones. (Bug#5937)
19113
5ffb62aa
JD
191142011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19115
19116 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19117
7a097943
LL
191182011-03-27 Leo Liu <sdl.web@gmail.com>
19119
19120 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19121 for foreground and background colors.
19122 (ansi-color-make-color-map): Adapt.
19123
c5b40130
LL
191242011-03-25 Leo Liu <sdl.web@gmail.com>
19125
1f48f7d2
LL
19126 * midnight.el (midnight-time-float): Remove. Note it calculates
19127 the microsecond component incorrectly and seconds-to-time does the
19128 same job.
625897ec 19129 Remove redundant (require 'timer).
1f48f7d2 19130
c5b40130
LL
19131 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19132 (ido-completions): Remove unused arguments. (Bug#8329)
19133
d86d2721
SM
191342011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19135
19136 * minibuffer.el (completion--flush-all-sorted-completions):
19137 Remove itself from hook.
19138 (completion-at-point): Let the functions perform the completion
19139 immediately and return nil or t.
19140 * comint.el (comint-dynamic-complete-functions): Now identical to
19141 completion-at-point-functions.
19142 (comint-dynamic-list-input-ring): Remove unused var `index'.
19143 (comint--match-partial-filename, comint--unquote&expand-filename):
19144 New funs, split from comint-match-partial-filename.
19145 (comint-dynamic-complete): Use completion-at-point.
19146 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19147
e8974c48
DA
191482011-03-24 Drew Adams <drew.adams@oracle.com>
19149
19150 * thingatpt.el: Support `defun'.
19151
def71b5e
LL
191522011-03-23 Leo Liu <sdl.web@gmail.com>
19153
cb5af48e
LL
19154 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19155
def71b5e
LL
19156 * help-mode.el (help-mode-finish): Tweak regexp.
19157
927c53e7
GM
191582011-03-23 Glenn Morris <rgm@gnu.org>
19159
18d05bed
GM
19160 * eshell/esh-opt.el (eshell-eval-using-options):
19161 Do not bind unused local variable `eshell-option-stub'.
19162
927c53e7
GM
19163 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19164
9d0da923
JB
191652011-03-22 Juanma Barranquero <lekktu@gmail.com>
19166
19167 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19168 keymap variable in `with-no-warnings' to avoid a warning when the
19169 keymap has been already `defconst'ed.
19170
4b978a67
LL
191712011-03-22 Leo Liu <sdl.web@gmail.com>
19172
19173 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19174 encode all chars in abbrevs; otherwise use emacs-mule or
19175 utf-8-emacs. (Bug#8308)
19176
5fd62452
JB
191772011-03-22 Juanma Barranquero <lekktu@gmail.com>
19178
0b1596c6
JB
19179 * simple.el (backward-delete-char-untabify):
19180 Avoid warning about using `delete-backward-char'.
19181
5fd62452
JB
19182 * image.el (image-type-file-name-regexps): Make it variable.
19183 `imagemagick-register-types' modifies it, and the user may want
19184 to add new extensions for known image types.
19185 (imagemagick-register-types): Throw error if not using ImageMagick.
19186
0b4e93f1
LL
191872011-03-22 Leo Liu <sdl.web@gmail.com>
19188
19189 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19190 located before rcirc-prompt-end-marker.
19191 (rcirc-complete): Error if point is not after rcirc prompt.
19192 Handle the case when table is nil.
9882e214 19193 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19194
fccee4ab
CY
191952011-03-22 Chong Yidong <cyd@stupidchicken.com>
19196
19197 * custom.el (custom--inhibit-theme-enable): Make it affect only
19198 custom-theme-set-variables and custom-theme-set-faces.
19199 (provide-theme): Ignore custom--inhibit-theme-enable.
19200 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19201 (custom-enabling-themes): Delete variable.
d86d2721
SM
19202 (enable-theme): Accept only loaded themes as arguments.
19203 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19204 (custom-enabled-themes): Forbid themes from setting this.
19205 Eliminate use of custom-enabling-themes.
19206 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19207
af896da6
LL
192082011-03-21 Leo Liu <sdl.web@gmail.com>
19209
19210 * ido.el (ido-read-internal): Add ido-selected to history instead
19211 of user input.
19212
78f64af0
SM
192132011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19214
19215 * subr.el (deferred-action-list, deferred-action-function):
19216 Mark obsolete.
19217
b16ac1ec
LL
192182011-03-21 Leo Liu <sdl.web@gmail.com>
19219
810f7698
LL
19220 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19221 change on 2011-02-13 (bug#8309).
19222
b16ac1ec
LL
19223 * minibuffer.el (read-file-name-function): Change default value.
19224 (read-file-name--defaults): Rename from read-file-name-defaults.
19225 (read-file-name-default): Rename from read-file-name.
19226 (read-file-name): Call read-file-name-function.
19227
4e05e67e
GM
192282011-03-21 Glenn Morris <rgm@gnu.org>
19229
19230 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19231 Doc fixes.
19232
4359915b
CY
192332011-03-21 Chong Yidong <cyd@stupidchicken.com>
19234
19235 * cus-theme.el: Add missing provide statement.
19236 (customize-create-theme): Extract theme value correctly.
19237 (custom-theme-visit-theme): Autoload.
19238 (customize-create-theme): Prompt before inserting default faces.
19239
1fe275ee
JB
192402011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19241
19242 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19243 units and musical notes.
19244
cd394be1 192452011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19246
19247 * ido.el (ido-read-internal): Use completing-read-default.
19248 (ido-completing-read): Fix compatibility with completing-read.
19249
7d476bde
CO
192502011-03-20 Christian Ohler <ohler@gnu.org>
19251
19252 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19253 (ert-delete-all-tests): Use `called-interactively-p' rather than
19254 `interactive-p'.
19255 (ert--make-xrefs-region): Respect END.
19256
fe0fb33e
CY
192572011-03-19 Chong Yidong <cyd@stupidchicken.com>
19258
ff854b0b
CY
19259 * dired-aux.el (dired-create-directory): Signal an error if the
19260 directory already exists (Bug#8246).
19261
fe0fb33e
CY
19262 * facemenu.el (list-colors-display): Call list-faces-display
19263 inside with-help-window.
19264 (list-colors-print): Use display property to align the final
19265 column, instead of checking window-width.
19266
576bce32
EZ
192672011-03-19 Eli Zaretskii <eliz@gnu.org>
19268
4d61f28d 19269 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19270 windows-nt systems.
19271 (emerge-protect-metachars): Quote correctly for ms-dos and
19272 windows-nt systems.
19273
89c41d68 192742011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19275
19276 * info.el (info-initialize): Replace all uses of `:' with
19277 path-separator for compatibility with non-Unix systems.
19278 Cache quoting of path-separator. (Bug#8258)
19279
b14e3e21 192802011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19281
19282 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19283 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19284 (mouse-avoidance-mode): Fix typos in docstrings.
19285
4525ce3e
CY
192862011-03-19 Chong Yidong <cyd@stupidchicken.com>
19287
19288 * startup.el (package-subdirectory-regexp): Move from package.el.
19289 Omit \\` and \\', and let callers add them.
19290
19291 * emacs-lisp/package.el (package-strip-version)
19292 (package-load-all-descriptors): Add \\` and \\' to
19293 package-subdirectory-regexp before using it.
19294 (package-untar-buffer): New arg DIR; ensure that file untars only
19295 into this expected directory. Remove superfluous delete-region.
19296 (package-unpack): Caller changed.
19297 (package-tar-file-info): Use package-subdirectory-regexp.
19298
a904a09a 192992011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19300
a904a09a
SM
19301 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19302 diff-mode-shared-map (bug#8284).
19303 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19304
193052011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19306
19307 * calendar/time-date.el (format-seconds): Use assoc instead of
19308 assoc-string, since assoc-string doesn't exist in XEmacs.
19309
171fc304
JB
193102011-03-17 Juanma Barranquero <lekktu@gmail.com>
19311
19312 * custom.el (custom-known-themes): Reflow docstring.
19313 (custom-theme-load-path): Fix typo in docstring.
19314 (load-theme): Fix typo in error message.
19315 (custom-available-themes, custom-variable-theme-value):
19316 Use `let', not `let*'.
19317
d71990a1
JB
193182011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19319
19320 * calc/README: Mention inclusion of musical notes.
19321
19322 * calc/calc-units.el (calc-lu-quant): Rename from
19323 `calc-logunits-quantity'.
19324 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19325 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19326 (calc-db): Rename from `calc-dblevel'.
19327 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19328 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19329 (calc-np): Rename from `calc-nplevel'.
19330 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19331 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19332 (calc-lu-plus): Rename from `calc-logunits-add'.
19333 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19334 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19335 (calc-lu-minus): Rename from `calc-logunits-sub'.
19336 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19337 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19338 (calc-lu-times): Rename from `calc-logunits-mul'.
19339 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19340 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19341 (calc-lu-divide): Rename from `calc-logunits-div'.
19342 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19343 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19344
19345 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19346 functions being autoloaded.
19347
19348 * calc/calc.el (calc-lu-power-reference): Rename from
19349 `calc-logunits-power-reference'.
19350 (calc-lu-field-reference): Rename from
19351 `calc-logunits-field-reference'.
19352
7a71b18d
GM
19353 * calc/calc-help.el (calc-l-prefix-help):
19354 Mention musical note functions.
d71990a1 19355
40c2934b
SM
193562011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19357
19358 * minibuffer.el (completion-all-sorted-completions):
19359 Use :completion-cycle-penalty text property if present.
19360
b0911414
KM
193612011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19362
19363 * allout.el (allout-yank-processing): Adjust for new rebulleting
19364 regime so bullet being yanked is used without prompting the user
19365 for a choice.
19366
8a05b668
JB
193672011-03-16 Juanma Barranquero <lekktu@gmail.com>
19368
19369 * startup.el (command-line): Warn the user that _emacs is deprecated.
19370
5ba5fb81
JB
193712011-03-16 Juanma Barranquero <lekktu@gmail.com>
19372
19373 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19374 (delphi-verbose, delphi-comment-face, delphi-string-face)
19375 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19376 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19377 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19378 (delphi-new-comment-line, delphi-font-lock-defaults)
19379 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19380 Fix typos in docstrings.
19381
2dab465b
KM
193822011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19383
5ba5fb81 19384 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19385 Invert the roles of character and string values for INSTEAD, so a
19386 string is used for the more common case of a defaulting prompt.
19387
0adf5618
SM
193882011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19389
19390 * progmodes/ruby-mode.el (ruby-backward-sexp):
19391 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19392 * play/gamegrid.el (gamegrid-make-face):
19393 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19394 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19395 * notifications.el (notifications-notify):
19396 * net/xesam.el (xesam-search-engines):
19397 * net/quickurl.el (quickurl-list-insert):
19398 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19399
d72700e5
CY
194002011-03-15 Chong Yidong <cyd@stupidchicken.com>
19401
19402 * startup.el (command-line): Update package subdirectory regexp.
19403
49c5410a
SM
194042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19405
c6eee9aa
SM
19406 * allout.el (allout-abbreviate-flattened-numbering)
19407 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19408
49c5410a
SM
19409 * subr.el (read-char-choice): Only show the cursor after the prompt,
19410 not after the answer.
19411
047b2bb9
KR
194122011-03-15 Kevin Ryde <user42@zip.com.au>
19413
19414 * help-fns.el (variable-at-point): Skip leading quotes, if any
19415 (bug#8253).
19416
0a57d256
SM
194172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19418
19419 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19420 warning message.
19421
77c992bc
MA
194222011-03-14 Michael Albinus <michael.albinus@gmx.de>
19423
19424 * shell.el (shell): When called interactively, offer to change the
19425 shell file name on remote hosts.
19426
eebc475d
TZ
194272011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19428
19429 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19430 integration for LDAP parameters. The host, base, user or binddn,
19431 and secret tokens can be specified in a netrc file, for instance.
19432 This is optional because an `auth-source' parameter must be
19433 specified in the search attributes.
19434
9d05d1ba
JB
194352011-03-13 Juanma Barranquero <lekktu@gmail.com>
19436
19437 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19438
09d9db2c
GM
194392011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19440
19441 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19442 into declaration. Remove redundant and harmful binding.
19443
194442011-03-12 Eli Zaretskii <eliz@gnu.org>
19445
19446 * files.el (file-ownership-preserved-p): Pass `integer' as an
19447 explicit 2nd argument to `file-attributes'. If the file's owner
19448 is the Administrators group on Windows, and the current user is
19449 Administrator, consider that a match.
19450
19451 * server.el (server-ensure-safe-dir): Consider server directory
19452 safe on MS-Windows if its owner is the Administrators group while
19453 the current Emacs user is Administrator. Use `=' to compare
19454 numerical UIDs, since they could be integers or floats.
19455
219bd536
JB
194562011-03-12 Juanma Barranquero <lekktu@gmail.com>
19457
19458 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19459
f3afd36b
MA
194602011-03-12 Michael Albinus <michael.albinus@gmx.de>
19461
19462 Sync with Tramp 2.2.1.
19463
19464 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19465
19466 * net/trampver.el: Update release number.
19467
3aaaa6f1
SM
194682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19469
94642599
SM
19470 * progmodes/compile.el (compilation--previous-directory): Fix up
19471 various nil/dead-marker mismatches (bug#8014).
19472 (compilation-directory-properties, compilation-error-properties):
19473 Don't call it at a position past the one we're about to change.
19474
3aaaa6f1
SM
19475 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19476 Disable obsolescence warnings in the file that declares it.
19477
14239447
KM
194782011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19479
099c39a4
JB
19480 * allout-widgets.el (allout-widgets-tally):
19481 Initialize allout-widgets-tally as a hash table rather than nil to
19482 prevent mode-line redisplay warnings. Also, clarify the module
19483 description and fix a comment typo.
14239447 19484
135e287c
JB
194852011-03-11 Juanma Barranquero <lekktu@gmail.com>
19486
19487 * help-fns.el (describe-variable): Don't complete keywords.
19488 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19489
ffbf300e
CY
194902011-03-10 Chong Yidong <cyd@stupidchicken.com>
19491
ba08b241
CY
19492 * emacs-lisp/package.el (package-version-join): Impose a standard
19493 string representation for pre/alpha/beta version lists.
19494 (package-unpack-single): Standardize the directory name by passing
19495 it through package-version-join.
19496 (package-strip-rcs-id): Accept any version string that does not
19497 signal an error in version-to-list.
ffbf300e 19498
f346fd6b
MA
194992011-03-10 Michael Albinus <michael.albinus@gmx.de>
19500
19501 * simple.el (delete-trailing-whitespace): Return nil for the
19502 benefit of `write-file-functions'.
19503
ccb55d27
GM
195042011-03-10 Glenn Morris <rgm@gnu.org>
19505
5ceaac0c
GM
19506 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19507
02da65ff
GM
19508 * vc/vc-git.el (vc-git-program): New option.
19509 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19510 (vc-git--call): Use it.
19511
b2f603cc
GM
19512 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19513
5772caab
GM
19514 * cus-edit.el (Custom-newline): If no button at point, look
19515 for a subgroup button at start-of-line. (Bug#2298)
19516
ccb55d27
GM
19517 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19518
ec6ecaed
JD
195192011-03-10 Julien Danjou <julien@danjou.info>
19520
19521 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19522 `cursor-type' is nil.
19523
9d5aa01d
JB
195242011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19525
19526 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19527
b6a5875b
KM
195282011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19529
7a71b18d 19530 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19531 preserves the existing header prefix, rebulleting it if necessary,
19532 rather than replacing it. This is necessary for proper operation
19533 of cooperative addons like allout-widgets.
1154d12e
JB
19534 (allout-make-topic-prefix, allout-rebullet-heading):
19535 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19536 value as alternate bullet to be used, instead of prompting the user
19537 for a bullet character.
b6a5875b 19538
ee545c35
MA
195392011-03-09 Michael Albinus <michael.albinus@gmx.de>
19540
d86d2721
SM
19541 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19542 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19543 `tramp-default-port'.
19544
c47971d7
DD
195452011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19546
19547 * net/rcirc.el (rcirc-handler-001): Remove useless
19548 with-rcirc-process-buffer.
19549 (rcirc-check-auth-status): Swap arguments to string-match.
19550
13522cb4
GM
195512011-03-09 Glenn Morris <rgm@gnu.org>
19552
0be6f4f1
GM
19553 * shell.el (shell-mode):
19554 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19555
13522cb4
GM
19556 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19557 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19558
515de2e3
CY
195592011-03-08 Chong Yidong <cyd@stupidchicken.com>
19560
19561 * emacs-lisp/package.el (package-refresh-contents)
19562 (package-menu-execute): Use condition-case-no-debug.
19563
b511b994
MA
195642011-03-08 Michael Albinus <michael.albinus@gmx.de>
19565
19566 * simple.el (shell-command-to-string): Use `process-file'.
19567
19568 * emacs-lisp/package.el (package-tar-file-info): Handle also
19569 remote files.
19570
d86d2721
SM
19571 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19572 Use `equal' for upload base check.
b511b994 19573
25bbfb31
AM
195742011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19575
19576 * textmodes/texinfo.el (texinfo-environments):
19577 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19578
be996521
GM
195792011-03-08 Glenn Morris <rgm@gnu.org>
19580
e9c8529f
GM
19581 * cus-start.el (cursor-in-non-selected-windows):
19582 Fix :set quoting oddness. (Bug#8192)
19583
be996521
GM
19584 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19585 in some setf expressions. (Bug#2159)
19586
2bb5649e
CY
195872011-03-08 Chong Yidong <cyd@stupidchicken.com>
19588
19589 * custom.el (custom-available-themes): Return themes in
19590 alphabetical order.
19591
33383987 19592See ChangeLog.15 for earlier changes.
e3d51b27
MR
19593
19594;; Local Variables:
19595;; coding: utf-8
e3d51b27
MR
19596;; End:
19597
acaf905b 19598 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19599
19600 This file is part of GNU Emacs.
19601
19602 GNU Emacs is free software: you can redistribute it and/or modify
19603 it under the terms of the GNU General Public License as published by
19604 the Free Software Foundation, either version 3 of the License, or
19605 (at your option) any later version.
19606
19607 GNU Emacs is distributed in the hope that it will be useful,
19608 but WITHOUT ANY WARRANTY; without even the implied warranty of
19609 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19610 GNU General Public License for more details.
19611
19612 You should have received a copy of the GNU General Public License
19613 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.