* lisp/vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
98a5e33b
SM
12012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2
02661b3a
SM
3 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
4 chose face.
5 (log-edit-empty-buffer-p): Don't require a space after a header.
6
43711d4b
SM
7 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8
38a30d64
SM
9 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
10
4ffb41a9
SM
11 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
12 a proper minor-mode.
13
98a5e33b
SM
14 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
15
de82e29b
GM
162012-09-29 Glenn Morris <rgm@gnu.org>
17
5cc2e639
GM
18 * winner.el (winner-mode): Remove variable (let define-minor-mode
19 handle it).
20 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
21 Doc fixes.
22 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
23 (winner-mode): Use define-minor-mode.
24
7bd302eb
GM
25 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
26 the full definition in loaddefs, rather than duplicating it.
27
2923922f 28 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 29
0e3e4156
GM
30 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
31 (inferior-lisp-program, inferior-lisp-load-command)
32 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 33 No need to autoload defcustoms.
0e3e4156 34
de82e29b
GM
35 * hippie-exp.el (hippie-expand-try-functions-list)
36 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
37 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
38 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 39 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
40 * progmodes/vhdl-mode.el (vhdl-line-expand):
41 Explicitly load hippie-exp, so it does not get autoloaded
42 while hippie-expand-try-functions-list is let-bound.
43
e60b51ab
GM
442012-09-28 Glenn Morris <rgm@gnu.org>
45
277f0cfa
GM
46 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
47
e60b51ab
GM
48 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
49 Only "cl.el" counts as cl these days.
50
53baf48a
JL
512012-09-28 Juri Linkov <juri@jurta.org>
52
53 Display archive errors in the echo area instead of inserting
54 to the file buffer.
55
56 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
57 to STDERR-TEST that can be a regexp matching a successful output.
58 Create a temporary file and redirect stderr to it. Search for
59 STDERR-TEST in the stderr output and display it in the echo area
60 if no match is found.
61 (archive-extract-by-file): New function like
62 `archive-extract-by-stdout' but extracting archives to files
63 and looking for successful matches in stdout. Function body is
64 mostly copied from `archive-rar-extract'.
65 (archive-rar-extract): Use `archive-extract-by-file'.
66 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
67
9c1228c3
LL
682012-09-28 Leo Liu <sdl.web@gmail.com>
69
147c0425
LL
70 * pcomplete.el (pcomplete-show-completions): Use
71 minibuffer-message to make pcomplete usable in minibuffer.
72
9c1228c3
LL
73 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
74
7f457c06
SM
752012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
76
3df749b0
SM
77 * type-break.el: Use lexical-binding.
78 (type-break-mode): Use define-minor-mode.
79
7f457c06
SM
80 * emacs-lisp/pcase.el (pcase--mark-used): New.
81 (pcase--u1): Use it (bug#12512).
82
83 * custom.el (load-theme): Set buffer-file-name so the load is recorded
84 in load-history with the right file name.
85
c00ebc98
TH
862012-09-28 Tassilo Horn <tsdh@gnu.org>
87
88 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
89 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
90 (doc-view-get-bounding-box): Make bounding box slicing work for
91 ODF and DVI documents.
92
96fb7170
GM
932012-09-28 Glenn Morris <rgm@gnu.org>
94
95 * type-break.el (type-break-mode, type-break-interval)
96 (type-break-good-rest-interval, type-break-keystroke-threshold):
97 No need to autoload.
98 (type-break-good-rest-interval, type-break-keystroke-threshold):
99 Add :set-after.
100
5bc93c67
CY
1012012-09-28 Chong Yidong <cyd@gnu.org>
102
103 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
104 Add :version tag.
105
9cad61d6
SM
1062012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
107
e28e67b3 108 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 109
daee954c
GM
1102012-09-27 Glenn Morris <rgm@gnu.org>
111
a88324d4
GM
112 * faces.el (x-display-name): Declare (for without-x builds).
113
8e5064e5
GM
114 * linum.el (linum-format): Don't autoload it. Improve :type.
115
cc1783c2
GM
116 * progmodes/tcl.el: Don't require outline when compiling.
117 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
118 * textmodes/sgml-mode.el: Don't require outline when compiling.
119 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
120
48c339f2
GM
121 * term.el (term-ansi-reset):
122 Try setting term-ansi-face-already-done to nil. (Bug#11785)
123
daee954c
GM
124 * vc/vc.el (vc-next-action): Only gripe about committing read-only
125 files for RCS and SCCS. (Bug#9781)
126
b7f42161
CY
1272012-09-27 Chong Yidong <cyd@gnu.org>
128
129 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
130 change; value should be t.
131
a2e770db
SM
1322012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
133
83600dc8
SM
134 * image-mode.el: Use lexical-binding.
135 (image-mode-winprops): Use t to stand for the window of
136 a buffer that's not displayed.
137 * doc-view.el (doc-view-new-window-function): Handle the new
138 t in winprops.
139 (doc-view-enlarge): Make it a real nop if the size is not changed.
140 (doc-view-display): Handle the case where the buffer is not (yet?)
141 displayed in any window.
142 (doc-view-saved-settings): New var.
143 (doc-view-mode): Use it.
144 (doc-view-fallback-mode): Set it.
145
a2e770db
SM
146 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
147 Set lexical-binding.
148 (minibuffer-eldef-shorten-default): New var.
149 (minibuffer-default-in-prompt-regexps): Use it for new default.
150 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
151
e3b60857
JB
1522012-09-26 Juanma Barranquero <lekktu@gmail.com>
153
154 * international/uni-bidi.el:
155 * international/uni-category.el:
156 * international/uni-name.el:
157 * international/uni-numeric.el: Regenerate.
158
3a880af4
SM
1592012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
160 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * profiler.el: New file.
163
07b1a5fb
SM
1642012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
167 (testcover-reinstrument): Simplify with CSE.
168
42019c2e
JB
1692012-09-26 Juanma Barranquero <lekktu@gmail.com>
170
171 * window.el (temp-buffer-window-setup): Fix typo in docstring.
172
179f044b
WS
1732012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
174
175 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
176 (verilog-auto-input, verilog-auto-insert-lisp)
177 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
178 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
179 (verilog-auto-unused, verilog-auto-wire)
180 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
181 newline. Reported by Andrew Jones.
182 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
183 Reported by Brad Dobbie.
07b1a5fb
SM
184 (verilog-batch-delete-trailing-whitespace):
185 Create verilog-batch-delete-trailing-whitespace.
186 Reported by Brad Dobbie.
179f044b
WS
187 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
188 parameters from another module. Reported by Dan Katz.
189 (verilog-auto, verilog-auto-assign-modport)
190 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
191 AUTOINOUTMODPORT for UVM interface module shell generation.
192 Reported by Brad Dobbie.
193 (verilog-auto-inst-interfaced-ports): Make default nil, as more
194 standard behavior.
195 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
196 Reported by Matt Martin.
197
9c52dd5a
MR
1982012-09-25 Martin Rudalics <rudalics@gmx.at>
199
200 * window.el (window--resize-child-windows): When resizing child
201 windows proportionally, process them in reverse order to
202 preserve the "when splitting a window the new one gets the odd
203 line" behavior.
204 (window--resize-root-window-vertically): When resizing the
205 minibuffer window try to affect only windows at the bottom of the
206 frame. (Bug#12419)
207
863666eb
CY
2082012-09-25 Chong Yidong <cyd@gnu.org>
209
210 * subr.el (declare): Doc fix.
211
212 * help-fns.el (help-fns--obsolete): Handle macros properly.
213
59f7af81
CY
2142012-09-25 Chong Yidong <cyd@gnu.org>
215
216 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
217 this function obsolete.
218
219 * calendar/cal-x.el (calendar-two-frame-setup)
220 (calendar-only-one-frame-setup, calendar-one-frame-setup):
221 * calendar/calendar.el (american-calendar, european-calendar)
222 (calendar-for-loop):
223 * comint.el (comint-dynamic-simple-complete)
224 (comint-dynamic-complete-as-filename, comint-unquote-filename):
225 * desktop.el (desktop-load-default):
226 * dired-x.el (dired-omit-here-always)
227 (dired-hack-local-variables, dired-default-directory):
228 * emacs-lisp/derived.el (derived-mode-class):
229 * emacs-lisp/timer.el (timer-set-time-with-usecs):
230 * emacs-lock.el (toggle-emacs-lock):
231 * epa.el (epa-display-verify-result):
232 * epg.el (epg-sign-keys, epg-start-sign-keys)
233 (epg-passphrase-callback-function):
234 * eshell/esh-util.el (eshell-for):
235 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
236 (eshell-add-to-window-buffer-names):
237 * files.el (locate-file-completion):
238 * imenu.el (imenu-example--create-c-index)
239 (imenu-example--create-lisp-index)
240 (imenu-example--lisp-extract-index-name)
241 (imenu-example--name-and-position):
242 * international/mule-cmds.el (princ-list):
243 * international/mule-diag.el (decode-codepage-char):
244 * international/mule-util.el (detect-coding-with-priority):
245 * iswitchb.el (iswitchb-read-buffer):
246 * mail/mailalias.el (mail-complete):
247 * mail/sendmail.el (mail-sent-via):
248 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
249 (mouse-major-mode-menu):
250 * password-cache.el (password-read-and-add):
251 * pcomplete.el (pcomplete-parse-comint-arguments):
252 * progmodes/sh-script.el (sh-maybe-here-document):
253 * replace.el (query-replace-regexp-eval):
254 * savehist.el (savehist-load):
255 * simple.el (choose-completion-delete-max-match):
256 * term.el (term-dynamic-simple-complete):
257 * vc/ediff-init.el (ediff-check-version):
258 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
259 * vc/vc.el (vc-diff-switches-list):
260 * view.el (view-return-to-alist-update): Likewise.
261
262 * subr.el (eval-next-after-load, makehash, insert-string)
263 (assoc-ignore-representation, assoc-ignore-case): Use declare to
264 mark obsolete.
265 (mode-line-inverse-video): Variable deleted.
266
267 * international/mule-util.el (string-to-sequence): Remove.
268
269 * calendar/calendar.el (calendar-version):
270 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
271 (icalendar-convert-diary-to-ical):
272 * cus-edit.el (custom-mode):
273 * ansi-color.el (ansi-color-unfontify-region):
274 * international/latin1-disp.el (latin1-char-displayable-p):
275 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
276 * progmodes/which-func.el (which-func-update-1):
277 Use define-obsolete-function-alias.
59f7af81
CY
278
279 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
280 * net/newst-treeview.el (newsticker-groups-filename):
281 Fix incorrect obsolescence declaration.
59f7af81
CY
282
283 * allout.el (allout-passphrase-hint-string): Likewise.
284 (allout-init): Use a declare form to mark obsolete.
285
286 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
287 this applies to functions.
288
289 * iswitchb.el (iswitchb-read-buffer): Move code of
290 iswitchb-define-mode-map here, and delete that obsolete function.
291
292 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
293 font-lock-reference-face.
294
cca96c97
GM
2952012-09-25 Glenn Morris <rgm@gnu.org>
296
b06eeda8
GM
297 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
298 Doc fixes.
299
cca96c97
GM
300 * eshell/em-term.el (eshell-term-name):
301 Default to term-term-name. (Bug#12485)
302
dc4f818b
FEG
3032012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
304
cca96c97
GM
305 * progmodes/python.el (python-shell-send-buffer): Better handling
306 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 307
289c24bd
GM
3082012-09-24 Glenn Morris <rgm@gnu.org>
309
310 * eshell/esh-cmd.el (eshell-find-alias-function):
311 Tighten up file-name regexp. (Bug#12499)
312
8fb8b88f
FEG
3132012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
314
315 Enhancements for triple-quote string syntax.
316 * progmodes/python.el (python-quote-syntax): Remove.
317 (python-syntax-propertize-function): New value.
07b1a5fb
SM
318 (python-syntax-count-quotes, python-syntax-stringify):
319 New functions.
8fb8b88f 320
6c27f0f8
CY
3212012-09-24 Chong Yidong <cyd@gnu.org>
322
a5f2b6ec
CY
323 * mail/supercite.el (sc-version): Remove obsolete function.
324 (sc-describe): Don't mark as obsolete, since it is bound.
325 (sc-submit-bug-report): Remove.
326
327 * vc/log-edit.el (cvs-changelog-full-paragraphs)
328 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
329 (log-edit-require-final-newline)
330 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
331
332 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
333 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
334 * vc/vc.el (vc-checkout-carefully): Likewise.
335
336 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
337 (emerge-version): Remove.
338
339 * progmodes/compile.el (compile-internal): Remove.
340 (compilation-parse-errors-function): Fix typo.
341
342 * international/mule.el (set-char-table-default): Remove.
343 (set-coding-priority, make-coding-system, generic-char-p)
344 (charset-list, charset-bytes, charset-id): Use declare to mark
345 functions as obsolete.
346
347 * vc/pcvs-defs.el (cvs-buffer-name-alist)
348 (cvs-invert-ignore-marks): Remove references to obsolete vars.
349 * vc/vc-hooks.el (vc-default-registered): Don't use
350 vc-master-templates.
351
07b1a5fb
SM
352 * font-lock.el (font-lock-reference-face):
353 Use define-obsolete-variable-alias.
6c27f0f8
CY
354
355 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
356 * calendar/calendar.el (calendar-font-lock-keywords):
357 * calendar/diary-lib.el (diary-font-lock-keywords)
358 (diary-fancy-font-lock-keywords):
359 * textmodes/reftex-sel.el (reftex-insert-docstruct):
360 * textmodes/reftex-index.el (reftex-insert-index):
361 * textmodes/reftex-cite.el (reftex-format-bib-entry):
362 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
363 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
364 * progmodes/prolog.el (prolog-font-lock-keywords):
365 * progmodes/idlwave.el (idlwave-idl-keywords):
366 * progmodes/ada-mode.el (ada-font-lock-keywords):
367 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
368
bcc0adbf
GM
3692012-09-24 Glenn Morris <rgm@gnu.org>
370
371 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
372
095bb823
FEG
3732012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
374
375 * progmodes/python.el (python-indent-line): More consistent cursor
376 movement behavior.
377
70efc5c9
SM
3782012-09-23 Stefan Merten <smerten@oekonux.de>
379
380 * textmodes/rst.el: Fix compiler warning.
381
2f438239
RW
3822012-09-23 Roland Winkler <winkler@gnu.org>
383
07b1a5fb
SM
384 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
385 Transcribe also LaTeX hyphenation.
2f438239
RW
386 (bibtex-reformat): Bug fix. Do not quote twice the elements of
387 bibtex-reformat-previous-options.
388
936ad041
RW
3892012-09-23 Roland Winkler <winkler@gnu.org>
390
391 * proced.el (proced-renice-command): New variable.
392 (proced-marked-processes): New function.
393 (proced-with-processes-buffer): New macro.
394 (proced-send-signal): Use them.
395 (proced-renice): New command bound to r.
396
6fab0274
RW
3972012-09-23 Roland Winkler <winkler@gnu.org>
398
399 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
400 ibuffer-saved-filter-groups has one element, shortcut the call of
401 completing-read. (Bug#12331)
402
9a930676
CY
4032012-09-23 Chong Yidong <cyd@gnu.org>
404
405 * bindings.el (mode-line-toggle-read-only):
406 * bs.el (bs-toggle-readonly):
407 * buff-menu.el (Buffer-menu-toggle-read-only):
408 * dired.el (dired-toggle-read-only):
409 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
410
d07ff9db
CY
4112012-09-23 Chong Yidong <cyd@gnu.org>
412
413 * image.el (image-type-available-p): Adapt to init-image-library
414 argument changes.
415
51c4474e
JL
4162012-09-22 Juri Linkov <juri@jurta.org>
417
418 * dired.el (dired-mode-map): Add [remap read-only-mode] for
419 `dired-toggle-read-only'. (Bug#12462)
420
43bf5e8e
MR
4212012-09-22 Martin Rudalics <rudalics@gmx.at>
422
423 * subr.el (temp-output-buffer-show): New function.
424 (with-output-to-temp-buffer): Call temp-output-buffer-show
425 instead of internal-temp-output-buffer-show.
426
c88b867f
CY
4272012-09-22 Chong Yidong <cyd@gnu.org>
428
3df47cd5
CY
429 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
430 (Bug#12462).
431
c88b867f
CY
432 * repeat.el (repeat): Doc fix (Bug#12348).
433
434 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
435 (Bug#10909).
436
437 * simple.el (shell-command-on-region): Doc fix.
3171e303 438 (read-only-mode): Doc fix.
c88b867f 439
df9685f3
EZ
4402012-09-22 Eli Zaretskii <eliz@gnu.org>
441
442 * emacs-lisp/timer.el (run-with-idle-timer)
443 (timer-activate-when-idle): Warn against reinvoking an idle timer
444 from within its own timer action. (Bug#12447)
445
8e17c9ba
MR
4462012-09-22 Martin Rudalics <rudalics@gmx.at>
447
448 * cus-start.el (window-combination-limit): Add new optional
449 values.
450 * window.el (temp-buffer-window-show)
451 (window--try-to-split-window): Handle new values of
452 window-combination-limit (Bug#1806).
453 (split-window): Test window-combination-limit for t instead of
454 non-nil.
455 (display-buffer-at-bottom): New buffer display action function.
456 * help.el (temp-buffer-resize-regexps): New option.
457 (temp-buffer-resize-mode): Rewrite doc-string.
458 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 459 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 460
48a24920
SM
4612012-09-22 Stefan Merten <smerten@oekonux.de>
462
70efc5c9 463 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
464 (rst-official-version)
465 (rst-package-emacs-version-alist): Sync with official version
466 V1.4.0.
467 (rst-faces-defaults, rst-set-level-default)
468 (rst-level-face-max, rst-level-face-base-color)
469 (rst-level-face-base-light, rst-level-face-format-light)
470 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
471 (rst-adornment-faces-alist): Match new setup.
472 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
473 (rst-level-5, rst-level-6): New faces.
474
82f8cd94
CY
4752012-09-22 Chong Yidong <cyd@gnu.org>
476
477 * simple.el (undo): Handle indirect buffers (Bug#8207).
478
acfa068f 4792012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
480
481 IDO: Disable match re-ordering for buffer switching.
2bc9406c 482 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
483 (ido-set-matches-1): Use it. (Bug#2042)
484
acfa068f 4852012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
486
487 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
488 Fix 2011-05-17 change. (Bug#12418)
489
acfa068f 4902012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
491
492 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
493
acfa068f 4942012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
495
496 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
497 Be more robust about locating simple.el.
498
acfa068f 4992012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
500
501 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
502
acfa068f
CY
5032012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
504
505 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
506
41a97e6f
JL
5072012-09-20 Juri Linkov <juri@jurta.org>
508
eb2deaff
JL
509 * replace.el (query-replace-read-from): Use `read-regexp' instead
510 of `read-from-minibuffer' when `regexp-flag' is non-nil.
511 (occur-read-primary-args): Use `read-regexp' instead of
512 `read-string'.
513 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
514 `read-from-minibuffer'.
515 * isearch.el (isearch-occur): Use `read-regexp' instead of
516 `read-string'.
517 * dired.el (dired-read-regexp): Use `read-regexp' instead of
518 `read-from-minibuffer'.
519 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
520 of `read-string'. (Bug#7567)
521
5825610b
JL
522 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
523 and allow accepting a list of strings prepended to a list of
524 standard default values. Doc fix. (Bug#12321)
525
eebbf404
JL
526 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
527
41a97e6f
JL
528 * replace.el (read-regexp): Don't add ": " when PROMPT already
529 ends with a colon and space. (Bug#12321)
530
c9e452d3
TH
5312012-09-20 Tassilo Horn <tsdh@gnu.org>
532
533 * doc-view.el (doc-view-display): Better fix for the cl-assertion
534 error.
535
ee97deee
SM
5362012-09-20 Stefan Merten <smerten@oekonux.de>
537
70efc5c9 538 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
539 Fixes feature request bug#11711.
540 (rst-mode): Create `imenu-create-index-function'.
541 (rst-get-stripped-line): Delete after refactoring.
542 (rst-section-tree, rst-section-tree-rec)
543 (rst-section-tree-point): Refactor and document properly.
544 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
545 (rst-imenu-convert-cell, rst-imenu-create-index):
546 New function.
ee97deee 547
f490dab9
SM
5482012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
549
95b9712e
SM
550 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
551 (macroexp--expand-all): Use it.
552 (macroexp--funcall-and-return): Remove by folding it into its sole
553 caller (macroexp--warn-and-return).
554 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
555 Use macroexp--obsolete-warning.
556
f490dab9
SM
557 * calc/calc.el: Fix last change by removing the whole chunk, since it
558 was only needed back when Calc was not bundled.
559
96e8d411
MR
5602012-09-20 Martin Rudalics <rudalics@gmx.at>
561
562 * emacs-lisp/debug.el (debug): Restore assignment to
563 debugger-old-buffer removed on 2012-09-08.
564
0876a82d
JL
5652012-09-20 Juri Linkov <juri@jurta.org>
566
567 * dired-aux.el (dired-diff): Remove (require 'diff) since
568 `diff-latest-backup-file' is now autoloaded.
569
9f7c28f0
CY
5702012-09-20 Chong Yidong <cyd@gnu.org>
571
572 * vc/diff.el (diff-latest-backup-file): Autoload.
573
7a04bee9
SM
5742012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
575
e6f0a80d
SM
576 * calc/calc.el: Remove redundant autoload shape check.
577 (sel-mode): Don't defvar.
578 (calc-get-stack-element): Add `sel-mode' arg instead.
579 (calc-top, calc-top-list): Pass it this additional argument.
580 * calc/calc-store.el (calc-store-map):
581 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
582 (calc-map-equation, calc-outer-product, calc-inner-product):
583 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
584
7a04bee9
SM
585 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
586
12734222
JL
5872012-09-19 Juri Linkov <juri@jurta.org>
588
589 * dired-aux.el (dired-diff): Add (require 'diff) because
590 `diff-latest-backup-file' is not autoloaded.
591 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
592 of `dired-get-filename' to t to not report error when there is
593 no default file on the current line.
594
46624b4f
SM
5952012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
596
ce97595b
SM
597 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
598 macroexp--eval-if-compile.
599 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
600 (macroexp--expand-all): Use them (bug#12371).
601
46624b4f
SM
602 * doc-view.el (doc-view-guess-paper-size)
603 (doc-view-scale-bounding-box): Fix unbound `caddr'.
604
db8a5a18
TH
6052012-09-19 Tassilo Horn <tsdh@gnu.org>
606
607 New feature: set optimal slice from BoundingBox information.
608 * doc-view.el (doc-view-mode-map): Add keybinding.
609 (doc-view-menu): Add menu entry.
610 (doc-view-set-slice): Adapt docstring.
611 (doc-view-get-bounding-box, doc-view-guess-paper-size)
612 (doc-view-scale-bounding-box)
613 (doc-view-set-slice-from-bounding-box): New functions.
614 (doc-view-paper-sizes): New defvar.
615
69f6644c
GM
6162012-09-19 Glenn Morris <rgm@gnu.org>
617
35f5b19d
GM
618 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
619 (byte-compile-log-warning): Autoload. (Bug#12371)
620
69f6644c
GM
621 * calendar/calendar.el (calendar-american-month-header)
622 (calendar-european-month-header, calendar-iso-month-header)
623 (calendar-month-header): New options.
624 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
625 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
626
e543ae91
JD
6272012-09-19 Jan Djärv <jan.h.d@swipnet.se>
628
629 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
630
2fd5e67d
JL
6312012-09-18 Juri Linkov <juri@jurta.org>
632
633 * dired-aux.el (dired-diff): Restore original functionality of
634 getting the default value, but keep new feature of using the
635 latest existing backup file (`diff-latest-backup-file').
636
42917e79
JL
6372012-09-18 Juri Linkov <juri@jurta.org>
638
639 * dired.el (dired-mark): If the region is active in Transient Mark
640 mode, mark all files in the active region. Doc fix.
641 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
642 Doc fix. (Bug#10624)
643
20f70ede
JL
6442012-09-18 Juri Linkov <juri@jurta.org>
645
646 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
647 attributes for M-n are pulled from the file at point.
648 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
649 Suggested by Drew Adams. (Bug#10624)
650
32fb8162
DG
6512012-09-18 Dmitry Gutov <dgutov@yandex.ru>
652
653 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
654 whitespace after "end".
655 (ruby-do-end-to-brace): Collapse block to one line if it fits
656 within fill-column.
657
37ab5092
MR
6582012-09-18 Martin Rudalics <rudalics@gmx.at>
659
660 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
661 value.
662 (debug): Don't remove debugger window when debugger is expected
663 to be back.
664
ed1f0bd3
CY
6652012-09-18 Chong Yidong <cyd@gnu.org>
666
667 * custom.el (defface): Doc fix.
668
669 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
670
a11035b8
MB
6712012-09-18 Martin Blais <blais@furius.ca> (tiny change)
672
673 * progmodes/compile.el (compilation-start): Use compilation-always-kill
674 to initialize query-on-exit; then test that instead (bug#12288).
675
64f6a736
SM
6762012-09-17 Stefan Merten <smerten@oekonux.de>
677
70efc5c9 678 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
679 (rst-defcustom-testcover, rst-testcover-add-compose)
680 (rst-testcover-add-1value): New functions.
681 (rst-portable-mark-active-p): Replace by `use-region-p'.
682 (rst-update-section, rst-classify-adornment)
683 (rst-find-title-line): Mark `1value' forms.
684 (rst-classify-adornment): Remove superfluous form.
685 (rst-update-section, rst-get-adornments-around)
686 (rst-adornment-complete-p, rst-get-next-adornment)
687 (rst-adjust, rst-promote-region)
688 (rst-display-adornments-hierarchy, rst-straighten-adornments)
689 (rst-find-pfx-in-region, rst-section-tree-rec)
690 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
691 (rst-toc-node, rst-toc, rst-forward-section)
692 (rst-iterate-leftmost-paragraphs)
693 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
694 (rst-bullet-list-region)
695 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
696 (rst-compile-find-conf, rst-compile)
697 (rst-repeat-last-character): Fix style.
698
580bd868
CY
6992012-09-17 Chong Yidong <cyd@gnu.org>
700
701 * comint.el (comint--complete-file-name-data): Don't add a space
702 if the status is `sole'; that adds a gratuitous space in the
703 completion-cycling case (Bug#12092).
704
705 * pcomplete.el (pcomplete-completions-at-point): Likewise.
706
69de3ec6
RS
7072012-09-17 Richard Stallman <rms@gnu.org>
708
0dee970c
RS
709 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
710 only in the mime-shown mode, not in raw mode.
711 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 712 mime processing. (Bug#12305)
0dee970c 713
6b250df6
GM
714 * mail/rmail.el (rmail-retry-failure):
715 Turn off mime processing first. (Bug#12037)
acb1c47b 716
69de3ec6
RS
717 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
718
d079ee5f
CY
7192012-09-17 Chong Yidong <cyd@gnu.org>
720
721 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
722 (shell-dynamic-complete-functions): Convert to defcustom.
723 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
724
865fe16f
CY
725 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
726 * comint.el (comint-prompt-read-only):
727 * custom.el (defcustom):
728 * hi-lock.el (hi-lock-mode):
729 * ibuffer.el (ibuffer-formats):
730 * ielm.el (ielm-prompt-read-only):
731 * novice.el (disable-command):
732 * saveplace.el (toggle-save-place):
733 * speedbar.el (speedbar-supported-extension-expressions):
734 * startup.el (auto-save-list-file-prefix, init-file-user)
735 (after-init-hook, inhibit-startup-echo-area-message):
736 * strokes.el (strokes-help):
737 * time-stamp.el (time-stamp):
738 * calendar/calendar.el (calendar, diary-file):
739 * calendar/diary-lib.el (diary-mail-entries, diary)
740 (diary-list-entries-hook):
741 * calendar/holidays.el (holidays, calendar-holidays):
742 * calendar/lunar.el (lunar-phases):
743 * calendar/solar.el (sunrise-sunset):
744 * emulation/edt.el (edt-load-keys):
745 * emulation/viper.el (viper-mode):
746 * eshell/em-alias.el (eshell-command-aliases-list):
747 * eshell/esh-util.el (eshell-convert-numeric-arguments):
748 * international/ogonek.el (ogonek-information):
749 * net/tramp-cmds.el (tramp-bug):
750 * net/quickurl.el (quickurl-reread-hook-postfix):
751 * play/decipher.el (decipher-font-lock-keywords):
752 * progmodes/cc-styles.el (c-set-style):
753 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
754 * progmodes/inf-lisp.el (inferior-lisp-prompt):
755 * progmodes/octave-mod.el (octave-mode):
756 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
757 * progmodes/verilog-mode.el (verilog-read-defines):
758 * textmodes/two-column.el (2C-mode): Likewise.
759
48093eb9
KY
7602012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
761
762 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
763 that holds many addresses.
764
c584eaf9
CY
7652012-09-16 Chong Yidong <cyd@gnu.org>
766
40d70ecb
CY
767 * align.el (align-areas): Call the indication function with
768 positions instead of markers for arguments (Bug#12343).
769
1667e065
CY
770 * files.el (parse-colon-path): Use split-string (Bug#12351).
771
fdc2806d 772 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 773 (display-buffer-function): Mark as obsolete.
fdc2806d 774
f1be615c 775 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
776 values similar to font-lock-keywords (Bug#12136).
777 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
778 (compilation-error-regexp-alist): Doc fix.
779
f40a9709
GM
7802012-09-15 Glenn Morris <rgm@gnu.org>
781
72aa16e1
GM
782 * version.el (emacs-bzr-version-bzr): New function.
783 (emacs-bzr-get-version): Add optional EXTERNAL argument.
784
82375160
GM
785 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
786 checkouts, check the parent dirstate matches the branch.
787 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
788 empty string.
789
f40a9709
GM
790 * version.el (emacs-bzr-version): Doc fix.
791 (emacs-bzr-version-dirstate): New function.
792 (emacs-bzr-get-version): For lightweight checkouts, if the parent
793 is local try and check that it matches the branch. If not, just
794 use dirstate information. (Bug#12441)
795
cb26b7f5
JL
7962012-09-14 Juri Linkov <juri@jurta.org>
797
798 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
799 (Bug#12399)
800
2de39f08
SM
8012012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
802
0fb3cb7c
SM
803 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
804
2de39f08
SM
805 * emacs-lisp/edebug.el: Miscellaneous cleanup.
806 Remove obsolete byte-compiler hack that tried to silence some warnings.
807 (edebug-submit-bug-report): Remove.
808 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
809 Remove aliases, use the un-prefixed name instead.
810 (edebug-pop-to-buffer): Consider other frames.
811 (edebug-original-read):: Make it more obvious that it's always defined.
812 (edebug--make-form-data-entry, edebug--form-data-name)
813 (edebug--form-data-begin, edebug--form-data-end): Rename from the
814 single-dashed name, and implement with cl-defstruct.
815 (edebug-set-form-data-entry): Use the standard accessors.
816 (edebug-make-top-form-data-entry): Use push.
817 (edebug-no-match): Drop useless `funcall'.
818 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
819 to functions.
820 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
821 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
822 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
823 (easy-menu-define, with-custom-print): Remove redundant specs.
824 (edebug-outside-overriding-local-map)
825 (edebug-outside-overriding-terminal-local-map): Remove, unused.
826 (edebug--display): Bind unread-command-events directly to nil rather
827 than binding it to unread-command-events and later setting it to nil.
828 (edebug--display): Kill edebug-eval-buffer here...
829 (edebug--recursive-edit): ...rather than here.
830 Bind standard-output and standard-input.
831 (edebug-eval): Check cl-macroexpand-all is fboundp.
832 (edebug-temp-display-freq-count): Fix last change.
833
834 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
835 * subr.el (noreturn, 1value): Add `debug' spec.
836 * emacs-lisp/advice.el: Require cl-lib.
837 (ad-copy-tree): Remove, use copy-tree instead.
838 (ad-dolist): Remove use dolist or cl-dolist instead.
839 (ad-do-return): Remove, use cl-return instead.
840 (defadvice): Add `debug' spec.
841
5b68b333
JL
8422012-09-13 Juri Linkov <juri@jurta.org>
843
844 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
845 (Bug#12399)
846
b9800ec4
GM
8472012-09-13 Glenn Morris <rgm@gnu.org>
848
6a2e6868
GM
849 * calc/calc.el (math-compose-expr):
850 * calc/calc-ext.el (math-compose-expr):
851 * progmodes/cc-defs.el (cl-macroexpand-all):
852 * progmodes/cc-langs.el (delete-duplicates, mapcan)
853 (cl-macroexpand-all): Update declarations.
854
b9800ec4
GM
855 * vc/vc.el: No need to require ediff.
856 (ediff-load-version-control): Declare.
857 (ediff-vc-internal): Fix declaration.
858 (vc-version-ediff): Require ediff.
859
c18e885b
PE
8602012-09-13 Paul Eggert <eggert@cs.ucla.edu>
861
862 Use a more backwards-compatible timer format (Bug#12430).
863 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
864 being right after USECS, as that better supports old code that
865 inadvisedly looked directly at the timer vector.
866
d607d303
KH
8672012-09-13 Kenichi Handa <handa@gnu.org>
868
869 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
870 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
871 `coding-priority' property of these language environment.
872
72eac303
PE
8732012-09-13 Paul Eggert <eggert@cs.ucla.edu>
874
875 Fix glitches caused by addition of psec to timers (Bug#12430).
876 * image.el (image-animate-timer):
877 * time.el (display-time-world-timer):
878 Use timer--function and timer--args rather than raw access to
879 timer vector.
880
2168fe4f
GM
8812012-09-13 Glenn Morris <rgm@gnu.org>
882
883 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
884 If not compiling a file, try using load-file-name.
885
bd8d6108
SM
8862012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
887
c0c54fbd
SM
888 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
889 Fix last change.
890 (edebug-update-eval-list): Use `push'.
891
bd8d6108
SM
892 * emacs-lisp/edebug.el: Use lexical-binding.
893 Remove the "edebug-" prefix from non-dynamically-scoped variables.
894 Mark unused args with underscore.
895 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
896 (edebug-form-data): Use defvar-local.
897 (edebug-make-before-and-after-form, edebug-make-after-form):
898 Use backquote.
899 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
900 Not dynamically scoped any more.
901 (edebug--enter-trace): Add arguments `function' and `args'.
902 Rename from edebug-enter-trace.
903 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
904 (edebug--update-coverage): Add `after-index' and `value' args.
905 Rename from edebug-update-coverage.
906 (edebug-slow-after): Call it accordingly.
907 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
908 edebug-recursive-edit.
909 (edebug--display): Call it accordingly. Add args `value',
910 `offset-index', and `arg-mode'. Rename from edebug-display.
911 (edebug-debugger, edebug): Call it accordingly.
912 (edebug-eval-display-list): Use dolist.
913
a9f9d9de
JL
9142012-09-12 Juri Linkov <juri@jurta.org>
915
916 * info.el (Info-search): Don't check for isearch-mode and
917 isearch-regexp before let-binding search-spaces-regexp to
918 Info-search-whitespace-regexp.
919 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
920 search-whitespace-regexp if isearch-lax-whitespace or
921 isearch-regexp-lax-whitespace is non-nil.
922 (Info-mode): Don't set local variable search-whitespace-regexp.
923 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
924
bfeae2cf
SM
9252012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
928 (debugger-env-macro): Remove support for unread-command-char.
929
930 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
931 the temporary map re-appearing on emulation-mode-map-alists.
932
933 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
934 since 22.1.
935
936 * ehelp.el (with-electric-help): Accept functions in
937 electric-help-form-to-execute.
938 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
939 And replace unread-command-char -> unread-command-events.
940
fbbcaf1b
MA
9412012-09-12 Michael Albinus <michael.albinus@gmx.de>
942
943 Sync with Tramp 2.2.6.
944
945 * net/tramp.el (tramp-accept-process-output): Don't use
946 JUST-THIS-ONE in the XEmacs case.
947
948 * net/trampver.el: Update release number.
949
4dece104
MR
9502012-09-12 Martin Rudalics <rudalics@gmx.at>
951
bfeae2cf
SM
952 * emacs-lisp/debug.el (debugger-previous-window-height):
953 New variable.
4dece104
MR
954 (debug): When debugger-jumping-flag is non-nil try to restore
955 height of debugger window. (Bug#8789)
956
45b82ad0
SM
9572012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
958
60c49c0f
SM
959 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
960 overriding-local-map and pre/post-command-hook here.
961 (edebug-recursive-edit): Do it here instead (bug#12345).
962 (edebug-outside-unread-command-char): Remove all uses of
963 unread-command-char.
964
45b82ad0
SM
965 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
966 inhibit-debugger is bound instead.
967
baa26ea0
BG
9682012-09-11 Bastien Guerry <bzg@gnu.org>
969
970 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 971 (Bug#12346)
baa26ea0 972
04e8abfa
BG
9732012-09-11 Bastien Guerry <bzg@gnu.org>
974
96d03571 975 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 976 (Bug#12347)
96d03571
BG
977
9782012-09-11 Bastien Guerry <bzg@gnu.org>
979
fc0c31f8 980 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 981
04e082b0
MM
9822012-09-10 Michael R. Mauger <mmaug@yahoo.com>
983
984 * progmodes/sql.el: Version 3.1
985 (sql-db2-escape-newlines): New variable.
986 (sql-escape-newlines-filter): Use it.
987
399a361b
JB
9882012-09-10 Juanma Barranquero <lekktu@gmail.com>
989
990 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
991
0780c517
DN
9922012-09-10 Dan Nicolaescu <dann@gnu.org>
993
45b82ad0
SM
994 * vc/diff-mode.el (diff-mode-menu):
995 Bind diff-remove-trailing-whitespace.
0780c517 996
9b851e25
SM
9972012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1000 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1001 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1002 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1003 (eval-defun-2): Remove bogus interactive spec.
1004 (lisp-indent-line): Remove redundant whole-exp code, now done in
1005 indent-according-to-mode.
1006 (save-match-data): Remove redundant indent data.
1007
1008 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1009 Use `declare'.
1010
3231d532
JL
10112012-09-09 Juri Linkov <juri@jurta.org>
1012
1013 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1014 (replace-lax-whitespace, query-replace-regexp)
1015 (query-replace-regexp-eval, replace-regexp): Doc fix.
1016 (perform-replace, replace-highlight): Let-bind
1017 isearch-lax-whitespace to replace-lax-whitespace and
1018 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1019
1020 * isearch.el (isearch-query-replace): Let-bind
1021 replace-lax-whitespace to isearch-lax-whitespace and
1022 replace-regexp-lax-whitespace to
1023 isearch-regexp-lax-whitespace. (Bug#10885)
1024
70fe8236
SM
10252012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1028
8ed43f15
AM
10292012-09-09 Alan Mackenzie <acm@muc.de>
1030
70fe8236
SM
1031 * progmodes/cc-engine.el (c-state-cache-init):
1032 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1033 (c-record-parse-state-state):
1034 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1035
bfabf70a
AS
10362012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1037
1038 * register.el (register-separator): Rename from
1039 separator-register. All uses changed. Doc fix.
1040 (register): Fix version.
1041
011474aa
CY
10422012-09-09 Chong Yidong <cyd@gnu.org>
1043
1044 * replace.el (query-replace-map): Bind four new symbols for
1045 requesting window scrolling.
1046
1047 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1048 query-replace-map (Bug#8948).
1049
1050 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1051
1052 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1053 since they are now in query-replace-map.
1054
1055 * window.el (scroll-other-window-down): Make the arg optional.
1056
a8b7cd8d
CY
10572012-09-09 Chong Yidong <cyd@gnu.org>
1058
1059 * files.el (hack-local-variables-confirm): Use quit-window to kill
1060 the *Local Variables* buffer.
1061
c3268831
DG
10622012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1063
1064 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1065 not just expect to be at its beginning. Adjust callees.
1066 Succeed when do-end block has no space before the pipe character.
1067 (ruby-brace-to-do-end): When the original block is one-liner,
1068 convert to multiline. Reindent the result.
1069
0979429b
J
10702012-09-08 Jambunathan K <kjambunathan@gmail.com>
1071
1072 * register.el (register): New group.
1073 (register-separator): New user option.
1074 (increment-register): Route it to `append-to-register', if
1075 register contains text. Implication is that `C-x r +' can now be
1076 used for appending to a text register (bug#12217).
1077 (append-to-register, prepend-to-register): Add separator based on
1078 `register-separator.
1079
ace2989a
AM
10802012-09-08 Alan Mackenzie <acm@muc.de>
1081
1082 AWK Mode: make auto-newline work when there's "==" in the pattern.
1083 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1084 correctly.
0979429b
J
1085 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1086 Test more rigorously for "=" token.
ace2989a 1087
616c6c36
DG
10882012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1089
0979429b
J
1090 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1091 Only fail when reached LIMIT.
616c6c36 1092
35d98877
CY
10932012-09-08 Chong Yidong <cyd@gnu.org>
1094
1095 * dired.el (dired-mode-map): Don't bind M-=.
1096
1097 * dired-aux.el (dired-diff): Use backup file as default.
1098
1715f2db
DA
10992012-09-08 Drew Adams <drew.adams@oracle.com>
1100
1101 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1102
6dcef6ec
CY
11032012-09-08 Chong Yidong <cyd@gnu.org>
1104
1105 * subr.el (syntax-after, syntax-class): Doc fix.
1106
fa2bcf43
MR
11072012-09-08 Martin Rudalics <rudalics@gmx.at>
1108
1109 * window.el (display-buffer-in-previous-window): New buffer
1110 display action function.
1111
1112 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1113 (debugger-previous-window): New variable.
1114 (debug): Rewrite using display-buffer-in-previous-window,
1115 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1116
daac280a
SM
11172012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1120
9dd40b00
MM
11212012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1122
daac280a
SM
1123 * progmodes/python.el (python-shell-send-string):
1124 When default-directory is remote, create temp file on remote
9dd40b00
MM
1125 filesystem.
1126 (python-shell-send-file): When file is remote, pass local view of
1127 file paths to remote Python interpreter. (Bug#12340)
1128
145823ec
CY
11292012-09-07 Chong Yidong <cyd@gnu.org>
1130
cee2e90d
CY
1131 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1132
0d7eb2ea
CY
1133 * files.el (after-find-file): Don't fail on a read-only buffer if
1134 require-final-newline is `visit' or `visit-save' (Bug#11156).
1135
145823ec
CY
1136 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1137
daac280a
SM
1138 * userlock.el (ask-user-about-supersession-threat):
1139 Use read-char-choice (Bug#12093).
145823ec 1140
74c582e6
CY
11412012-09-07 Chong Yidong <cyd@gnu.org>
1142
e5c2edf7
CY
1143 * subr.el (buffer-narrowed-p): New function.
1144
1145 * ses.el (ses-widen):
1146 * simple.el (count-words--buffer-message):
1147 * net/browse-url.el (browse-url-of-buffer): Use it
1148
1149 * simple.el (count-words-region): Don't signal an error if there
1150 is a non-nil prefix arg and the mark is not set.
c640e87d 1151
74c582e6
CY
1152 * help.el (describe-key-briefly): Allow the message to be seen
1153 when invoked from the minibuffer (Bug#7014).
1154
d81ceaaf
DG
11552012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1156
1157 * progmodes/ruby-mode.el (ruby-end-of-defun)
1158 (ruby-beginning-of-defun): Simplify, allow indentation before
1159 block beginning and end keywords.
8f06acce
DG
1160 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1161 (ruby-end-of-defun): Expect that the point is at the beginning of
1162 the defun.
d81ceaaf 1163
d458ef98
SM
11642012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1165
1166 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1167 (bug#12367).
1168 (cl--make-usage-args): Strip _ from argument names.
1169
20367d28
RS
11702012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1171
1172 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1173 obsolete alias speedbar-key-map.
1174 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1175 (vhdl-index-menu-init): Don't use obsolete variable
1176 font-lock-maximum-size.
1177
3424a4f6
CY
11782012-09-06 Chong Yidong <cyd@gnu.org>
1179
1180 * frame.el (window-system-version): Mark as obsolete.
1181
fcbfbdea
CY
1182 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1183 of obsolete variable speedbar-key-map.
1184
826b3235
JL
11852012-09-06 Juri Linkov <juri@jurta.org>
1186
1187 * replace.el (replace-lax-whitespace): New defcustom.
1188 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1189 (replace-string, replace-regexp): Mention it in docstrings.
1190 (perform-replace, replace-highlight): Let-bind
1191 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1192 to the values of replace-lax-whitespace and regexp-flag.
1193 Don't let-bind search-whitespace-regexp. (Bug#10885)
1194
1195 * isearch.el (isearch-query-replace): Let-bind
1196 replace-lax-whitespace instead of let-binding
1197 replace-search-function and replace-re-search-function.
1198 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1199 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1200 (isearch-toggle-symbol): Set isearch-regexp to nil
1201 in isearch-word mode (like in isearch-toggle-word).
1202
1ec5e41d
JL
12032012-09-06 Juri Linkov <juri@jurta.org>
1204
1205 * replace.el (replace-search-function)
1206 (replace-re-search-function): Set default values to nil.
1207 (perform-replace): Let-bind isearch-related variables based on
1208 replace-related values, call `isearch-search-fun' and let-bind
1209 the result to `search-function'. Remove code that sets
1210 `search-function' and `search-string' separately for
1211 `delimited-flag'.
1212 (replace-highlight): Add new argument `delimited-flag' and
1213 rename other arguments to the names used in `perform-replace'.
1214 Let-bind `isearch-word' to the argument `delimited-flag'.
1215 (Bug#10885, bug#10887)
1216
0ba2d4b6
DG
12172012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1218
1219 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1220 ruby-beginning-of-indent, simplify, allow all keywords to have
1221 indentation before them.
1222 (ruby-beginning-of-indent): Adjust for above. Search until the
1223 found point is not inside a string or comment.
1224 (ruby-font-lock-keywords): Allow symbols to start with "@"
1225 character, give them higher priority than variables.
1226 (ruby-syntax-propertize-function)
1227 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1228 matchers. Expression expansions are not comments when inside a
1229 string, and there comment syntax status is irrelevant.
1230 (ruby-match-expression-expansion): New function. Check that
1231 expression expansion is inside a string, and it's not escaped.
1232 (ruby-font-lock-keywords): Use it.
1233
ef654460
MR
12342012-09-05 Martin Rudalics <rudalics@gmx.at>
1235
1236 * help.el (temp-buffer-max-height): New default value.
1237 (temp-buffer-resize-frames): New option.
1238 (resize-temp-buffer-window): Optionally resize frame.
1239
1240 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1241 (fit-frame-to-buffer): New function.
1242
7e570fbf 12432012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1244
1245 * emulation/cua-rect.el (cua--init-rectangles):
1246 * textmodes/picture.el (picture-mode-map):
1247 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1248 like forward-char and backward-char. (Bug#12317)
1249
7e570fbf 12502012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1251
1252 * progmodes/flymake.el (flymake-warning-re): New variable.
1253 (flymake-parse-line): Use it.
1254
7e570fbf 12552012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1256
1257 * calendar/holidays.el (holiday-christian-holidays):
1258 Rename an entry. (Bug#12289)
1259
7e570fbf 12602012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1261
1262 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1263 (bug#12222).
1264
972debf2
SM
12652012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * loadup.el: Load macroexp. Remove hack.
1268 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1269 (macroexp--expand-all): Use it to get better warnings.
1270 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1271 (internal-macroexpand-for-load): New functions.
1272 (macroexp--pending-eager-loads): New var.
1273 (emacs-startup-hook): New hack to replace one in loadup.el.
1274 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1275 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1276 (cl-psetf): Simplify.
1277 (cl-defstruct): Add indent rule.
1278
8ce192e3
LI
12792012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1280
1281 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1282 over `user-mail-address' for the SMTP MAIL FROM envelope.
1283 (smtpmail-via-smtp): Ditto.
1284
6578b4d8
DG
12852012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 * progmodes/ruby-mode.el: Clean up keybindings.
1288 (ruby-mode-map): Don't bind ruby-electric-brace,
1289 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1290 backward-kill-word, reindent-then-newline-and-indent.
1291 (ruby-mark-defun): Remove.
1292 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1293 (ruby-mode): Set local beginning-of-defun-function and
1294 end-of-defun-function values.
1295
c5e28e39
MR
12962012-09-03 Martin Rudalics <rudalics@gmx.at>
1297
1298 * window.el (temp-buffer-window-setup-hook)
1299 (temp-buffer-window-show-hook): New hooks.
1300 (temp-buffer-window-setup, temp-buffer-window-show)
1301 (with-temp-buffer-window): New functions.
972debf2
SM
1302 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1303 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1304
1305 * help.el (temp-buffer-resize-mode): Fix doc-string.
1306 (resize-temp-buffer-window): New optional argument WINDOW.
1307
1308 * files.el (recover-file, save-buffers-kill-emacs):
1309 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1310
73406194
MA
13112012-09-02 Michael Albinus <michael.albinus@gmx.de>
1312
1313 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1314 remote definition of `default-directory', ensure we can connect.
1315
63dd1c6f
JL
13162012-09-02 Juri Linkov <juri@jurta.org>
1317
1318 Toggle whitespace matching mode with M-s SPC.
1319 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1320
1321 * isearch.el (search-whitespace-regexp): Doc fix.
1322 Remove cons cell customization.
1323 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1324 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1325 New variables.
1326 (isearch-forward, isearch-forward-regexp): Doc fix.
1327 (isearch-toggle-lax-whitespace): New command.
1328 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1329 (re-search-forward-lax-whitespace)
1330 (re-search-backward-lax-whitespace): New functions.
1331 (isearch-whitespace-regexp): Remove function.
1332 (isearch-query-replace): Let-bind replace-search-function and
1333 replace-re-search-function.
1334 (isearch-occur): Let-bind search-spaces-regexp according to the
1335 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1336 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1337 condition for C-q SPC.
1338 (isearch-search-fun-default): Use new functions mentioned above.
1339 (isearch-search-forward, isearch-search-backward): Remove functions.
1340 (isearch-search): Don't let-bind search-spaces-regexp.
1341 (isearch-lazy-highlight-space-regexp): Remove variable.
1342 (isearch-lazy-highlight-lax-whitespace)
1343 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1344 (isearch-lazy-highlight-new-loop): Use them.
1345 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1346
af7dda05
CY
13472012-09-02 Chong Yidong <cyd@gnu.org>
1348
1349 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1350
d67d3afd
GM
13512012-09-02 Glenn Morris <rgm@gnu.org>
1352
1353 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1354
69678719
GM
13552012-09-01 Glenn Morris <rgm@gnu.org>
1356
1357 * term.el: Tidy up menu definitions.
1358 (term-mode-map): Use easymenu for In/Out, Complete menus.
1359 (term-pager-break-map): Initialize in the defvar.
1360 (term-terminal-menu, term-signals-menu): Define with easymenu.
1361 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1362 (term-pager-menu): New, extracted from term-process-pager.
1363 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1364 (term-update-mode-line): Propertize line/char and page items.
1365 (term-process-pager): Move keymap initialization elsewhere.
1366
78dd6ab1
MR
13672012-09-01 Martin Rudalics <rudalics@gmx.at>
1368
1369 * window.el (switch-to-prev-buffer): Handle additional values of
1370 BURY-OR-KILL argument. Don't switch in minibuffer window.
1371 (switch-to-next-buffer): Don't switch in minibuffer window.
1372 (quit-restore-window): New function based on quit-window.
1373 Handle additional values of former KILL argument.
1374 (quit-window): Call quit-restore-window with appropriate
1375 interpretation of KILL argument.
1376 (display-buffer-below-selected): New buffer display action
1377 function.
1378
3d10e134
SM
13792012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * minibuffer.el (completion-at-point-functions): Complete docstring
1382 (bug#12254).
1383
0e23ef9d
PE
13842012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1385
1386 Better seed support for (random).
1387 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1388 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1389 * play/mpuz.el, play/tetris.el, play/zone.el:
1390 * calc/calc-comb.el (math-init-random-base):
1391 * play/blackbox.el (bb-init-board):
1392 * play/life.el (life):
1393 * server.el (server-use-tcp):
1394 * type-break.el (type-break):
1395 Remove unnecessary call to (random t).
1396 * net/sasl.el (sasl-unique-id-function):
1397 Change (random t) to (random), now that the latter is more random.
1398 * play/life.el (life-initialized): Remove no-longer-needed var.
1399
862382df
MR
14002012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1401
1402 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1403 Consider frame's buffer predicate when choosing the buffer.
1404 (Bug#12081)
1405
262a66e1
RS
14062012-08-30 Richard Stallman <rms@gnu.org>
1407
1408 * simple.el (special-mode-map): Delete binding for `z'.
1409
f17e1d00
AS
14102012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1411
1412 * progmodes/compile.el (compilation-always-kill): Doc fix.
1413
24777832
CY
14142012-08-30 Chong Yidong <cyd@gnu.org>
1415
1416 * window.el (display-buffer-reuse-frames): Make the obsolescence
1417 message more informative.
1418
69ba1f04
GM
14192012-08-30 Glenn Morris <rgm@gnu.org>
1420
1421 * paren.el (show-paren-delay):
1422 Add a :set function. Doc fix. (Bug#12297)
1423
f0019ede
MB
14242012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1425
1426 * progmodes/compile.el (compilation-always-kill): New var.
1427 (compilation-start): Use it.
1428
35e62fc9
SM
14292012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1430
af070a1c
SM
1431 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1432 * files.el (read-only-mode): Move to simple.el.
1433
35e62fc9
SM
1434 * files.el (read-only-mode): New minor mode.
1435 (toggle-read-only): Use it and mark obsolete.
1436 (find-file--read-only):
1437 * vc/vc.el (vc-next-action, vc-checkout):
1438 * vc/vc-cvs.el (vc-cvs-checkout):
1439 * obsolete/vc-mcvs.el (vc-mcvs-update):
1440 * ffap.el (ffap--toggle-read-only): Update callers.
1441
c2c43c23
MA
14422012-08-29 Michael Albinus <michael.albinus@gmx.de>
1443
1444 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1445 remote shell scripts.
1446 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1447
1448 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1449 "/usr/local/sbin".
1450
9fba804b
SM
14512012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1454
eada0861 14552012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1456
806f0cc7
LL
1457 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1458 completion-at-point. (Bug#12220)
1459
3bb213b9
LL
1460 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1461
22ab32ef
LL
1462 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1463
eada0861 14642012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1465
19c17fc1
CY
1466 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1467 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1468
eada0861 14692012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1470
1471 * progmodes/hideif.el (hif-compress-define-list):
1472 Fix typo. (Bug#11951)
1473
eada0861 14742012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1475
1476 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1477 buffer local setting.
1478
27d6c5a8
LL
1479 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1480 rcirc-encode-coding-system.
1481
eada0861 14822012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1483
1484 * net/rcirc.el (rcirc-split-message): New function.
1485 (rcirc-send-message): Use it. (Bug#12051)
1486
d44688e4
JL
14872012-08-28 Juri Linkov <juri@jurta.org>
1488
1489 * info.el (Info-fontify-node): Hide empty lines at the end of
1490 the node. (Bug#12272)
1491
34f10d41
MR
14922012-08-27 Drew Adams <drew.adams@oracle.com>
1493
1494 * dired.el (dired-pop-to-buffer): Make window start at beginning
1495 of buffer (Bug#12281).
1496
77f1f99c
CY
14972012-08-26 Chong Yidong <cyd@gnu.org>
1498
1499 * window.el (special-display-regexps, special-display-frame-alist)
1500 (special-display-buffer-names, special-display-function)
1501 (display-buffer-reuse-frames): Mark as obsolete.
1502
1503 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1504
1505 * help.el (help-print-return-message): Don't treat
1506 display-buffer-reuse-frames specially.
1507
d97af5a0
CY
15082012-08-26 Chong Yidong <cyd@gnu.org>
1509
9fba804b
SM
1510 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1511 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1512 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1513 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1514 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1515 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1516 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1517 the functions directly with gdb-display-buffer-other-frame-action.
1518 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1519 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1520 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1521 (gdb-display-registers-buffer): Define directly.
1522 (def-gdb-display-buffer): Macro deleted.
1523 (gdb-display-buffer): Remove second and third args, callers don't
1524 use them. Defer to the default display-buffer behavior, apart
1525 from making windows dedicated.
1526 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1527
1528 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1529
1530 * window.el (display-buffer-pop-up-frame): Handle a
1531 pop-up-frame-parameters alist entry.
1532 (display-buffer): Document it.
1533
dd7ffad6
CY
15342012-08-26 Chong Yidong <cyd@gnu.org>
1535
1536 * isearch.el (search-whitespace-regexp): Make string and nil
1537 values apply to both ordinary and regexp search. Allow a cons
1538 cell value to distinguish between the two.
1539 (isearch-whitespace-regexp, isearch-search-forward)
1540 (isearch-search-backward): New functions.
1541 (isearch-occur, isearch-search-fun-default, isearch-search)
1542 (isearch-lazy-highlight-new-loop): Use them.
1543 (isearch-forward, isearch-forward-regexp): Doc fix.
1544
4c47bd1e
CY
15452012-08-26 Chong Yidong <cyd@gnu.org>
1546
1547 * faces.el (help-argument-name): Always inherit from italic
1548 (Bug#12213).
1549
9aba119d
MR
15502012-08-25 Martin Rudalics <rudalics@gmx.at>
1551
1552 * window.el (window--even-window-heights): Even heights when
1553 WINDOW and the selected window form a vertical combination.
1554 (display-buffer-use-some-window): Provide that window used gets
1555 sized back by quit-window. (Bug#11880) and (Bug#12091)
1556
ca5256ad
PE
15572012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1558
1559 Fix file time stamp problem with bzr and CVS (Bug#12001).
1560 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1561 in the file's time stamp, since the version control system loses
1562 that information.
1563
d1c0d176
JL
15642012-08-22 Juri Linkov <juri@jurta.org>
1565
1566 * info.el (Info-fontify-node): Hide the suffix of the
1567 Info file name in the header line. (Bug#12187)
1568
141562ff
GM
15692012-08-22 Glenn Morris <rgm@gnu.org>
1570
1571 * calendar/cal-tex.el (cal-tex-weekly-common):
1572 Restore leading blank page.
1573
61a48e19 15742012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1575
1576 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1577 the region under `shift-select-mode'. (Bug#12231)
1578
15792012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1580
1581 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1582 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1583 gives details on why the space is never needed.
1584
ea95074e
MR
15852012-08-22 Martin Rudalics <rudalics@gmx.at>
1586
9fba804b
SM
1587 * window.el (walk-window-tree, window-with-parameter):
1588 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1589 should run on the minibuffer window.
1590 (window-at-side-list): Don't operate on minibuffer window.
1591 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1592 (window--size-ignore): Rename to window--size-ignore-p.
1593 Update callers.
caceae25
MR
1594 (display-buffer-in-atom-window, window--major-non-side-window)
1595 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1596 (delete-side-window, display-buffer-in-side-window):
1597 New functions.
caceae25
MR
1598 (window--side-check, window-deletable-p, delete-window)
1599 (delete-other-windows, split-window): Handle side windows and
1600 atomic windows appropriately.
1601 (window--display-buffer): Call display-buffer-record-window also
1602 when the window buffer did not change.
ea95074e 1603
80a51fa0
CS
16042012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1605
1606 * help-fns.el (help-fns--key-bindings):
1607 Abbreviate non-symbol remap targets. (Bug#12174)
1608
fbb6300b
MR
16092012-08-22 Martin Rudalics <rudalics@gmx.at>
1610
1611 * dired.el (dired-mark-remembered): Don't clobber point.
1612 (Bug#11795)
1613
2b2c0794
GM
16142012-08-22 Glenn Morris <rgm@gnu.org>
1615
1616 * progmodes/bug-reference.el (bug-reference): New custom group.
1617 (bug-reference-bug-regexp): Make it a defcustom.
1618
37219830
DU
16192012-08-22 Daiki Ueno <ueno@unixuser.org>
1620
1621 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1622 (js-paren-indent-offset, js-square-indent-offset)
1623 (js-curly-indent-offset): Add :safe (Bug#12257).
1624
94e0e559
EC
16252012-08-22 Edward O'Connor <hober0@gmail.com>
1626
1627 * json.el (json-key-format): Add error properties.
1628 (json-encode-key): New function.
1629 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1630 Use json-encode-key.
1631
da485f5e
GM
16322012-08-22 Glenn Morris <rgm@gnu.org>
1633
1634 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1635 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1636 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1637 Update for above change.
1638
c6cc78b8
AS
16392012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1640
1641 * cus-face.el (custom-face-attributes): Fix customize type for the
1642 :underline attribute. (Bug#11805)
1643
5481664a
MR
16442012-08-21 Martin Rudalics <rudalics@gmx.at>
1645
1646 * window.el (window-point-1, set-window-point-1): Remove.
1647 (window-in-direction, record-window-buffer)
1648 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1649 (window--state-get-1, display-buffer-record-window):
1650 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1651 window-point and set-window-point respectively.
1652
6d74698e
GM
16532012-08-21 Glenn Morris <rgm@gnu.org>
1654
b7fa2691
GM
1655 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1656 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1657 Use it.
1658
52f56d5a
GM
1659 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1660 (cal-tex-shortday): New function.
1661 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1662 (cal-tex-cursor-filofax-daily): Use the above.
1663
9f1ee09e
GM
1664 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1665 New functions.
1666 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1667 (cal-tex-cursor-filofax-week): Use them.
1668
79858159
GM
1669 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1670 New constants.
1671 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1672 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1673
d346b2b4
GM
1674 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1675 (cal-tex-end-document): Don't rely on buffer name.
1676
b2403709
GM
1677 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1678 Use cal-tex-vspace.
1679 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1680 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1681 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1682 Use cal-tex-arg.
b2403709 1683
1cebb5c0
GM
1684 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1685 (cal-tex-cursor-week, cal-tex-cursor-week2)
1686 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1687 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1688 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1689 (cal-tex-insert-preamble, cal-tex-b-document)
1690 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1691 Improve cal-tex-cmd usage.
1692
c68cd5d4
GM
1693 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1694 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1695 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1696 (cal-tex-weekly-paper): New function.
1697 (cal-tex-cursor-week, cal-tex-cursor-week2)
1698 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1699 (cal-tex-cursor-day): Use it.
1700
9dca4801
GM
1701 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1702 (cal-tex-cursor-filofax-week): Remove leading blank page.
1703
1941e134
GM
1704 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1705 Add autoload cookie. For now at least, don't use color, since
1706 no other cal-tex function does.
1707
6d74698e
GM
1708 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1709 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1710 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1711
64cde199
JL
17122012-08-21 Juri Linkov <juri@jurta.org>
1713
1714 * info.el (Info-file-attributes): New variable.
1715 (info-insert-file-contents): Add file attributes to
1716 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1717 `Info-toc-nodes' when previous modtime of the Info file is less
1718 than new modtime.
1719 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1720 of info.el. (Bug#12230)
1721
32757648
GM
17222012-08-20 Glenn Morris <rgm@gnu.org>
1723
1724 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1725 * calendar/holidays.el (calendar-holiday-list):
1726 Report errors with display-warning rather than beep'n'sleep.
1727
a32fbbcf
MA
17282012-08-20 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * net/tramp.el (tramp-accept-process-output): Accept only output
1731 from PROC. Otherwise, process filters and sentinels might be
1732 confused. (Bug#12145)
1733
a05731a0
CY
17342012-08-20 Chong Yidong <cyd@gnu.org>
1735
1736 * descr-text.el (describe-text-properties-1): Use overlays-in to
1737 report on empty overlays (Bug#3322).
1738
36e8d1eb
GM
17392012-08-20 Glenn Morris <rgm@gnu.org>
1740
3d300447
GM
1741 * mail/rmailout.el (rmail-output-read-file-name):
1742 Trap and report errors in rmail-output-file-alist elements.
1743
36e8d1eb
GM
1744 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1745 since most non-font-lock faces are not also variables).
1746
b96e5814
ER
17472012-08-20 Edward Reingold <reingold@iit.edu>
1748
1749 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1750 New function. (Bug12160)
1751
7cef3569
GM
17522012-08-19 Glenn Morris <rgm@gnu.org>
1753
1754 * mail/rmailout.el (rmail-output-read-file-name):
1755 Fix previous change (when the alist is nil or does not match).
1756
17975d7f
CY
17572012-08-19 Chong Yidong <cyd@gnu.org>
1758
1759 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1760 (Bug#12228).
1761
2170b1bd
CY
17622012-08-18 Chong Yidong <cyd@gnu.org>
1763
1764 * simple.el (yank-handled-properties): New defcustom.
1765 (yank-excluded-properties): Add font-lock-face and category.
1766 (yank): Doc fix.
1767
9fba804b
SM
1768 * subr.el (remove-yank-excluded-properties):
1769 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1770 and category is now done this way, instead of being hard-coded.
1771 (insert-for-yank-1): Remove font-lock-face handling.
1772 (yank-handle-font-lock-face-property)
1773 (yank-handle-category-property): New function.
1774
ee218151
GM
17752012-08-17 Glenn Morris <rgm@gnu.org>
1776
1777 * mail/rmailout.el (rmail-output-read-file-name):
1778 Check rmail-output-file-alist against the full message body
1779 in the correct rmail buffer. (Bug#12214)
1780
4a6bc3fd
MA
17812012-08-17 Michael Albinus <michael.albinus@gmx.de>
1782
9fba804b
SM
1783 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1784 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1785
383dcbf9
CY
17862012-08-17 Chong Yidong <cyd@gnu.org>
1787
1788 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1789 font spec, set the font directly (Bug#3228).
1790
998c4a6a
MR
17912012-08-17 Martin Rudalics <rudalics@gmx.at>
1792
1793 * window.el (delete-window): Fix last fix.
1794
52162052
MR
17952012-08-16 Martin Rudalics <rudalics@gmx.at>
1796
1797 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1798 (window-child, window-child-count, window-last-child)
1799 (window-normalize-window, window-combined-p)
1800 (window-combinations, window-atom-root, window-min-size)
1801 (window-sizable, window-sizable-p, window-size-fixed-p)
1802 (window-min-delta, window-max-delta, window--resizable)
1803 (window--resizable-p, window-resizable, window-total-size)
1804 (window-full-height-p, window-full-width-p, window-body-size)
1805 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1806 (minimize-window, window-deletable-p, delete-window)
1807 (delete-other-windows, set-window-buffer-start-and-point)
1808 (next-buffer, previous-buffer, split-window, balance-windows-2)
1809 (set-window-text-height, window-buffer-height)
1810 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1811 (truncated-partial-width-window-p): Minor code adjustments.
1812 In doc-strings state whether the argument window has to denote a
85c2386b 1813 live, valid or any window.
52162052 1814
1c308380
PS
18152012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1816
1817 * progmodes/subword.el (subword-forward-function)
1818 (subword-backward-function, subword-forward-regexp)
1819 (subword-backward-regexp): New variables.
1820 (subword-forward, subword-forward-internal, subword-backward-internal):
1821 Use new variables, eg so that different "word" definitions
1822 can be easily used. (Bug#11411)
1823
94c9ece1
SM
18242012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1827 for composite selectors.
1828 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1829 operation just because we can't find a previous revision.
1830
f2045622
CY
18312012-08-15 Chong Yidong <cyd@gnu.org>
1832
1833 * frame.el (set-frame-font): Accept font objects.
1834
582db660
SM
18352012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1838
2f29c200
WJ
18392012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1840
456e62c2
WJ
1841 * man.el (Man-overstrike-face, Man-underline-face)
1842 (Man-reverse-face): Remove variables.
1843 (Man-overstrike, Man-underline, Man-reverse): New faces.
1844 (Man-fontify-manpage): Use them instead of the variables.
1845 (Man-cleanup-manpage): Comment change.
1846 (Man-ansi-color-map): New variable.
1847 (Man-fontify-manpage): Use it.
1848 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1849
2f29c200
WJ
1850 Implement ANSI SGR parameters 22-27 (bug#12146).
1851 * ansi-color.el (ansi-colors): Doc fix.
1852 (ansi-color-context, ansi-color-context-region): Doc fix.
1853 (ansi-color--find-face): New function.
1854 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1855 Rename the local variable `face' to `codes' since it is now a list of
1856 ansi codes. Doc fix.
1857 (ansi-color-get-face): Remove.
1858 (ansi-color-parse-sequence): New function, derived from
1859 ansi-color-get-face.
1860 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1861 codes 22-27.
1862
b4f5e9df
SM
18632012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * subr.el (read-passwd): Allow use from a minibuffer.
1866
ba025fbd
EZ
18672012-08-14 Eli Zaretskii <eliz@gnu.org>
1868
1869 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1870 inside comments and strings as identifiers.
1871
1872 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1873 expression to evaluate. This allows to evaluate expressions with
1874 embedded whitespace.
1875 (gud-tooltip-tips): Add a blank before the newline in the
1876 message-box text, for the benefit of message-box emulation on
1877 MS-Windows.
1878
1879 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1880 messages from GDB, pop them up in a tooltip to give feedback to
1881 user.
b4f5e9df
SM
1882 (gdb-tooltip-print-1): Quote the expression to evaluate.
1883 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1884 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1885 if the TTY name is nil or empty (which happens when communicating
1886 with the inferior via pipes, e.g. on MS-Windows).
1887 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1888 don't send that to the GUD buffer.
1889
c548f821
GM
18902012-08-14 Glenn Morris <rgm@gnu.org>
1891
1892 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1893 Optimize away setq-default with no args, as for setq. (Bug#12195)
1894
55802e4a
CY
18952012-08-14 Chong Yidong <cyd@gnu.org>
1896
4abcdac8
CY
1897 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1898
55802e4a
CY
1899 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1900 (Bug#12085).
1901
3c3cda1a
GM
19022012-08-14 Glenn Morris <rgm@gnu.org>
1903
1904 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1905
e1873bd0
MA
19062012-08-14 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1909 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1910 Use cached shell name.
1911
925411b4
FEG
19122012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1913
1914 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1915 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1916
e636fafe
DG
19172012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1918
1919 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1920 (ruby-percent-literal-beg-re): New constant.
1921 (ruby-syntax-general-delimiters-goto-beg): Rename to
1922 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1923 (ruby-syntax-propertize-general-delimiters): Rename to
1924 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1925 popular term. Adjust comments everywhere.
1926 (ruby-syntax-propertize-percent-literal): Only propertize when not
1927 inside a simple string or comment. When the literal is unclosed,
1928 leave the text after it unpropertized.
f063063a
DG
1929 (ruby-syntax-methods-before-regexp): New constant.
1930 (ruby-syntax-propertize-function): Use it to recognize regexps.
1931 Don't look at the text after regexp, just use the whitelist.
e636fafe 1932
e5b19827
AS
19332012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1934
1935 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1936 non-nil always load the compiled file if it exists. (Bug#12197)
1937
a9f6f311
CY
19382012-08-14 Chong Yidong <cyd@gnu.org>
1939
1940 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1941 (hi-lock-set-pattern): When deciding whether to use font lock or
1942 overlays, look at font-lock-mode instead of font-lock-fontified
1943 (Bug#12168).
1944 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1945 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1946
7d806b1e
DU
19472012-08-14 Daiki Ueno <ueno@unixuser.org>
1948
1949 * subr.el (internal--after-with-selected-window): Fix typo
1950 (Bug#12193).
1951
5beed586
FEG
19522012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1953
1954 Use `completion-table-dynamic' for completion functions.
1955 * progmodes/python.el
1956 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1957 (python-shell-completion--get-completions):
1958 Remove functions.
5beed586
FEG
1959 (python-shell-completion-complete-at-point): New function.
1960 (python-completion-complete-at-point): Use it.
1961
92cb3b04
J
19622012-08-13 Jambunathan K <kjambunathan@gmail.com>
1963
1964 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1965 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1966
89660017
SM
19672012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1968
3c98c962
SM
1969 * subr.el (function-get): Refine `autoload' arg so it can also
1970 autoload functions for gv.el (bug#12191).
1971 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1972 autoloads macros.
1973
aa7c6dbe
SM
1974 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1975 Prefer pcase-let over destructuring-bind.
1976 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1977 Also, remove whitespace as we go, rather than after accumulating the
1978 various places.
1979
89660017
SM
1980 * subr.el (internal--before-with-selected-window)
1981 (internal--after-with-selected-window): Fix typo seleted->selected.
1982 (with-selected-window): Adjust callers.
1983 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1984
31cd32c9
BG
19852012-08-13 Bastien Guerry <bzg@gnu.org>
1986
0fcd3d9f 1987 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1988 enhancement. (Bug#12172)
1989
1b15d8ad
AS
19902012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1991
31e54db0
AS
1992 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1993 type 1-6.
1994 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1995 extended headers.
1996
1b15d8ad
AS
1997 * files.el (hack-local-variables-filter): Remove useless eval.
1998
35cb9c06
MR
19992012-08-13 Martin Rudalics <rudalics@gmx.at>
2000
2001 * subr.el (with-selected-window): Fix last change.
2002
1439443b
SM
20032012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * subr.el (internal--before-with-seleted-window)
2006 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2007 (with-selected-window): Use them, to replace dependency on
2008 tty-top-frame.
1439443b 2009
0d9e2599
NN
20102012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2011
2012 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2013 binding for `newline'.
2014 (ruby-move-to-block): When moving backward, stop at block opening,
2015 not indentation.
2016 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2017 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2018 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2019 `ruby-toggle-block'.
2020
ba10c48c
SM
20212012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * ibuffer.el (ibuffer-do-toggle-read-only):
2024 * dired.el (dired-toggle-read-only):
2025 * buff-menu.el (Buffer-menu-toggle-read-only):
2026 * bindings.el (mode-line-toggle-read-only):
2027 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2028
9229c658
AS
20292012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2030
2031 * descr-text.el (describe-char): Put the overlays over the
2032 "displayed as" character.
2033
0fd09128
JB
20342012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2035
2036 * calc/calc-units.el (math-default-units-table): Give an
2037 initial value.
2038 (math-put-default-units): Add options to put composite units and
2039 unit systems in the default units table.
2040 (calc-convert-units): Send composite units to
2041 `math-put-default-units' when appropriate.
2042
9ff9402d 20432012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2044
fbb5e336
GM
2045 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2046
7aacaf15
GM
2047 * tutorial.el (help-with-tutorial):
2048 * emacs-lisp/copyright.el (copyright-update-directory):
2049 * emacs-lisp/autoload.el (autoload-find-generated-file)
2050 (autoload-find-file): Disable local eval: (for insurance).
2051
f40b9f10
GM
2052 * files.el (hack-local-variables-filter): If an eval: form is not
2053 known to be safe, and enable-local-variables is :safe, then ignore
2054 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2055 This is CVE-2012-3479.
f40b9f10 2056
daa9f1a6
SM
20572012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2060 (rx-form): Simplify.
2061
9cd80478
DG
20622012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2063
0d9e2599
NN
2064 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2065 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2066 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2067 (ruby-syntax-propertize-function): Adjust for changes in
2068 `ruby-syntax-propertize-heredoc'.
2069
20702012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2071
9cd80478
DG
2072 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2073 binding (use `M-;' instead).
9cd80478 2074 (ruby-singleton-class-p): New function.
0d9e2599 2075 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2076
d301b413
SM
20772012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2080
1530c98e
CY
20812012-08-10 Chong Yidong <cyd@gnu.org>
2082
2083 * progmodes/python.el (python-shell-get-process-name): Don't mess
2084 with same-window-buffer-names.
2085
2086 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2087 (eshell-remove-from-window-buffer-names): Make obsolete.
2088 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2089 (eshell): Just use pop-to-buffer-same-window instead.
2090
e1293765
CY
20912012-08-10 Chong Yidong <cyd@gnu.org>
2092
2093 * bindings.el: Bind M-= back to count-words-region.
2094
2095 * simple.el (count-words-region): Accept a prefix arg for acting
2096 on the entire buffer.
2097 (count-words--buffer-message): New helper function.
2098
e1894109
SM
20992012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2102 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2103 (event-start, event-end): Use posn-at-point to return a more
2104 informative posn.
2105 (posnp): New function.
2106 * mouse.el (popup-menu-normalize-position): Use it.
2107
c69f56a2
MY
21082012-08-10 Masatake YAMATO <yamato@redhat.com>
2109
2110 * mouse.el (popup-menu-normalize-position): New function.
2111 (popup-menu): Use `popup-menu-normalize-position' to normalize
2112 the form for POSITION argument.
2113
2114 * term/x-win.el (x-menu-bar-open):
2115 Use the value returend from (posn-at-point) as position
2116 passed to `popup-menu'.
2117
31673780
JB
21182012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2119
2120 * calc/calccomp.el (math-compose-expr): Add extra argument
2121 indicating that parentheses should be put around products in
2122 denominators. Give multiplication precedence over division during
2123 composition.
2124
dab7711b
CY
21252012-08-09 Chong Yidong <cyd@gnu.org>
2126
dee4ef93
CY
2127 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2128 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2129 (Man-untabify-command, manual-program): Convert to defcustom
2130 (Bug#10429).
2131
73e2bbc5
CY
2132 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2133
3e861c8a
CY
2134 * descr-text.el (describe-char): Don't insert extra newlines
2135 (Bug#10127).
2136
a9f5a649
CY
2137 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2138 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2139
dab7711b
CY
2140 * align.el (align-region): Delete temporary markers (Bug#10047).
2141 Plus some code cleanups.
2142
e0cc4efa
FEG
21432012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2144
2145 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2146 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2147 (python-shell-internal-last-output): Use make-local-variable
2148 instead of make-variable-buffer-local.
2149
489af14f
FEG
21502012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2151
2152 * progmodes/python.el: Enhancements to forward-sexp.
2153 (python-nav-forward-sexp): Rename from
2154 python-nav-forward-sexp-function.
c69f56a2
MY
2155 (python-nav--forward-sexp, python-nav--backward-sexp):
2156 New functions.
489af14f 2157
0fc50303
JB
21582012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2159
2160 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2161 modes and simplification modes.
2162
5d65606a
SM
21632012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * delsel.el (delete-selection-pre-hook): Don't propagate the
2166 file-supersession signals (bug#12161).
2167
4250fdf5
SM
21682012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2171 (cl-map-extents): Add compatibility aliases (bug#12135).
2172
d9f9b465
MA
21732012-08-08 Michael Albinus <michael.albinus@gmx.de>
2174
2175 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2176 tests by `ignore-error'.
2177 (tramp-find-shell): Open also a new shell, when cache is already
2178 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2179
ce0fcefa
JL
21802012-08-08 Juri Linkov <juri@jurta.org>
2181
2182 * bookmark.el: Add `defaults' property to the bookmark record.
2183 (bookmark-current-buffer): Doc fix.
2184 (bookmark-make-record): Add `defaults' property with default values
2185 to the bookmark record.
2186 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2187 with `bookmark-insert-current-bookmark'.
2188 (bookmark-set): Get `defaults' property from the bookmark record
2189 and use it in `read-from-minibuffer'.
2190 (bookmark-insert-current-bookmark): Remove function.
2191
2192 * info.el (Info-bookmark-make-record): Add `defaults' property
2193 with values of canonical Info node name, the current Info file
2194 name and the current Info node name. (Bug#12107)
2195
53fa8652
JL
21962012-08-08 Juri Linkov <juri@jurta.org>
2197
2198 * files.el (basic-save-buffer): Use `buffer-name' as the default
2199 of `read-file-name' when buffer is not visiting a file (bug#12128).
2200
242c0a95
JL
22012012-08-08 Juri Linkov <juri@jurta.org>
2202
2203 * info.el (Info-isearch-search): Doc fix.
2204 (Info-search): Change search-failed message from "initial node" to
2205 "end of node" (bug#12078).
2206 (Info-isearch-search): Change `isearch-string-state' to
2207 `isearch--state-string'.
2208
32ac3a6b
GM
22092012-08-08 Glenn Morris <rgm@gnu.org>
2210
2211 * language/persian.el: Remove file.
f8c1afd5 2212 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2213 * loadup.el: Remove language/persian.
2214
2c2d9c9c
OF
22152012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2216
2217 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2218
2d79ec42
FEG
22192012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2220
2221 * progmodes/python.el Fixed defsubst warning.
2222 (python-syntax-context) Rename from python-info-ppss-context.
2223 (python-syntax-context-type): Rename from
2224 python-info-ppss-context-type.
2225 (python-syntax-comment-or-string-p): Rename from
2226 python-info-ppss-comment-or-string-p.
2227
2bd255dd
JB
22282012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2229
2230 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2231
c395097f
AS
22322012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2233
6125983e
AS
2234 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2235 a defcustom that is quoted with backquote.
2236
4250fdf5
SM
2237 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2238 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2239 (math-do-arg-check, math-define-function-body): Use backquote forms.
2240 * calc/calc-ext.el (math-defcache): Likewise.
2241 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2242 * allout.el (allout-new-exposure): Likewise.
2243 * calc/calcalg2.el (math-tracing-integral): Likewise.
2244 * info.el (Info-last-menu-item): Likewise.
2245 * emulation/vip.el (vip-loop): Likewise.
2246 * textmodes/artist.el (artist-funcall): Likewise.
2247 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2248 Construct menu-item directly.
2249
4250fdf5
SM
2250 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2251 Don't declare.
c395097f 2252
5fb50dd3
CY
22532012-08-07 Chong Yidong <cyd@gnu.org>
2254
2255 * simple.el (deactivate-mark): Preserve text properties when
2256 saving the primary selection (Bug#8384).
2257
54eea618
KR
22582012-08-07 Kevin Ryde <user42@zip.com.au>
2259
2260 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2261 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2262 and continue processing (Bug#12110).
2263
638eaeb9
SM
22642012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2267 syntax-propertize-function (bug#10095).
2268
ea376861
SM
22692012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2270
f91b35be
SM
2271 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2272 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2273 describe-function-1.
2274 (describe-function-1): Use them. Move compiler macro after sig.
2275 (help-fns--compiler-macro): Use function-get. Assume we're already in
2276 standard-output. Adjust layout to new call order.
2277
ea376861
SM
2278 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2279 re-binding a symbol that has a symbol-macro (bug#12119).
2280
d5be7bd0
MB
22812012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2282
2283 * language/persian.el: New file. (Bug#11812)
2284 * loadup.el: Add language/persian.el.
2285
90749b53
CY
22862012-08-06 Chong Yidong <cyd@gnu.org>
2287
2288 * window.el (window--maybe-raise-frame): New function.
2289 (window--display-buffer): Split off from here.
2290 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2291 (display-buffer-pop-up-window, display-buffer-use-some-window):
2292 Obey an inhibit-switch-frame action alist entry.
2293 (display-buffer): Update doc.
2294
2295 * replace.el (occur-after-change-function): Avoid losing focus by
2296 using the inhibit-switch-frame display parameter (Bug#12139).
2297
ba7b0154
FEG
22982012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2299
2300 Make internal shell process buffer names start with space.
2301 * progmodes/python.el (python-shell-make-comint): Add optional
2302 argument INTERNAL.
2303 (run-python-internal): Use it.
2304 (python-shell-internal-get-or-create-process): Check for new
2305 internal buffer names.
2306
5eaeacb5
GM
23072012-08-06 Glenn Morris <rgm@gnu.org>
2308
e296d94b 2309 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2310 Do less getting and setting of environment variables.
2311
b7ccbdc2
CY
23122012-08-05 Chong Yidong <cyd@gnu.org>
2313
777fe95e
CY
2314 * proced.el (proced): Add substitution string to docstring to
2315 trigger autoloading of the proced library on C-h f (Bug#1768).
2316
4250fdf5
SM
2317 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2318 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2319
2320 * imenu.el (imenu-generic-expression): Move documentation here
2321 from imenu--generic-function.
2322 (imenu--generic-function): Refer to imenu-generic-expression.
2323
9e3b7800 23242012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2325
2326 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2327 indentation declaration.
2328 (viper-loop): Add indentation declaration (Bug#7025).
2329
e5d9c0d1
CY
23302012-08-05 Chong Yidong <cyd@gnu.org>
2331
f0422feb
CY
2332 * help-fns.el (describe-variable): Add hyperlink for
2333 directory-local variables files. Improve buffer-local and
2334 permanent-local reporting; suggested by MON KEY (Bug#6644).
2335
2336 * help-mode.el (help-dir-local-var-def): New button type.
2337
e5d9c0d1
CY
2338 * files.el (kill-buffer-hook): Provide a defvar.
2339
a4f2deaa
GM
23402012-08-05 Glenn Morris <rgm@gnu.org>
2341
2342 * eshell/esh-ext.el (eshell/addpath):
2343 Also update eshell-path-env. (Bug#12013)
2344
a9dd5754
CY
23452012-08-05 Chong Yidong <cyd@gnu.org>
2346
a4f2deaa 2347 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2348
d014c740
CY
2349 * fringe.el (fringe-styles): Add docstring.
2350 (fringe--check-mode): New function.
2351 (set-fringe-mode, set-fringe-style): Use it.
2352 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2353
a9dd5754
CY
2354 * files.el (set-auto-mode): Fix invalid setq call.
2355
7c2dc8bd
SM
23562012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * isearch.el: Misc simplification; use defstruct.
2359 (isearch-mode-map): Dense maps now work like sparse ones.
2360 (isearch--state): New defstruct.
2361 (isearch-string-state, isearch-message-state, isearch-point-state)
2362 (isearch-success-state, isearch-forward-state)
2363 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2364 (isearch-wrapped-state, isearch-barrier-state)
2365 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2366 replaced by defstruct's accessors.
2367 (isearch--set-state): Rename from isearch-top-state and change
2368 calling convention.
2369 (isearch-push-state): Use new isearch--get-state.
2370 (isearch-toggle-word): Disable regexp when enabling word.
2371 (isearch-message-prefix): Remove unused arg _c-q-hack.
2372 (isearch-message-suffix): Remove unused arg _ellipsis.
2373
7fcc0070
AS
23742012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2375
2376 * simple.el (list-processes--refresh): For a server use :host or
2377 :local as the address.
97ad0769 2378 (list-processes): Doc fix.
7fcc0070 2379
a11035b8 23802012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2381
2382 * lisp/mpc.el: Support password in host argument.
2383 (mpc--proc-connect): Parse and use new password element.
2384 Set mpc-proc variable instead of returning process.
2385 (mpc-proc): Adjust accordingly.
2386
6dad7178
EZ
23872012-08-03 Eli Zaretskii <eliz@gnu.org>
2388
18949c2f
EZ
2389 * whitespace.el (whitespace-display-mappings): Use Unicode
2390 codepoints, instead of emacs-mule codepoints. See
2391 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2392 for the details.
2393
6dad7178
EZ
2394 * files.el (file-truename): Don't skip symlink-chasing part on
2395 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2396 Windows into the loop that recursively chases symlinks.
2397 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2398 MS-DOS.
2399
385b0198
CY
24002012-08-03 Chong Yidong <cyd@gnu.org>
2401
6200f3c4
CY
2402 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2403
385b0198
CY
2404 * sort.el (sort-regexp-fields): Doc fix.
2405
b9e74744
TH
24062012-08-03 Tassilo Horn <tsdh@gnu.org>
2407
2408 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2409 labels regex position point at the expected place.
2410
41013cb4
MK
24112012-08-03 MON KEY <monkey@sandpframing.com>
2412
2413 * net/imap.el (imap-interactive-login, imap-authenticate)
2414 (imap-mailbox-lsub, imap-mailbox-list)
2415 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2416 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2417 (imap-parse-response): Doc fix.
2418
0ffee616
JT
24192012-08-03 João Távora <joaotavora@gmail.com>
2420
2421 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2422 if sexp scanning does not move point (Bug#5734).
2423
cfcc9cc8
TH
24242012-08-02 Tassilo Horn <tsdh@gnu.org>
2425
2426 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2427 Add listings, minted, and ctable packages.
2428 (reftex-label-alist-builtin): Move listings, minted, and ctable
2429 entries before LaTeX.
a01bbb84 2430 (reftex-label-alist): Docfix.
cfcc9cc8 2431
66ec2442
BG
24322012-08-02 Bastien Guerry <bzg@gnu.org>
2433
2434 * replace.el (occur): Fix docstring (bug#12122).
2435
837b365b
GM
24362012-08-02 Glenn Morris <rgm@gnu.org>
2437
2438 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2439
e098de97
PE
24402012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2441
2442 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2443 * international/mule-cmds.el: Create
2444 inactivate-current-input-method-function as an obsolete alias for
2445 deactivate-current-input-method-function. See Katsumi Yamaoka in
2446 <http://bugs.gnu.org/10150#46>.
2447
a0f95636
JB
24482012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2449
2450 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2451 of nested `if's.
2452
0d26d7c4
GM
24532012-08-01 Glenn Morris <rgm@gnu.org>
2454
2455 * progmodes/autoconf.el (autoconf-definition-regexp):
2456 Add AH_TEMPLATE, adjust submatch numbering.
2457 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2458 (autoconf-current-defun-function): Update for above change.
2459 (autoconf-current-defun-function): First skip to end of current word.
2460
b686ba06
RS
24612012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2462
2463 * calendar/cal-html.el (cal-html-insert-agenda-days):
2464 Fix typo. (Bug#12018)
2465
0d49da68
FEG
24662012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2467
2468 Shell processes: enhancements to startup and CEDET compatibility.
2469 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2470 (python-shell-make-comint): accept-process-output at startup.
2471 (run-python-internal): Set inferior-python-mode-hook to nil.
2472 (python-shell-internal-get-or-create-process): call sit-for.
2473 (python-preoutput-result): Add obsolete alias.
2474 (python-shell-internal-send-string): Use it.
2475 (python-shell-send-setup-code): Remove call to
2476 accept-process-output.
2477
f1a71c6e
AS
24782012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2479
2480 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2481 (Bug#12108)
2482
d2605269
JB
24832012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2484
2485 * calc-mode.el (calc-basic-simplification-mode): Rename from
2486 `calc-limited-simplification-mode'.
2487 (calc-alg-simplification-mode): New function.
fc0c31f8 2488 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2489
d2605269
JB
2490 * calc.el (calc-set-mode-line): Adjust mode line display for
2491 basic simplification mode.
2492
2493 * calc-help.el (calc-m-prefix-help): Update help message.
2494
2495 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2496 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2497
a3827a43
BG
24982012-07-31 Bastien Guerry <bzg@gnu.org>
2499
2500 * man.el (man): Fix comment. (bug#12101)
2501
502e3f89
MR
25022012-07-31 Martin Rudalics <rudalics@gmx.at>
2503
2504 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2505 Don't return a non-nil value when no suitable buffer was found.
2506
d7714961
FEG
25072012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2508
2509 * progmodes/python.el (run-python-internal): Disable font lock for
2510 internal shells.
2511
1f45e27e
SM
25122012-07-30 Stefan Merten <smerten@oekonux.de>
2513
70efc5c9 2514 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2515 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2516 (rst-official-version, rst-official-cvs-rev)
2517 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2518 (rst-mode-map): New key binding.
2519
0aee6912
PE
25202012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2521
2522 Update .PHONY listings in makefiles.
2523 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2524 autoloads, update-subdirs, updates, bzr-update, update-authors,
2525 compile-onefile, compile-calc, backup-compiled-files,
2526 compile-after-backup, compile-one-process, mh-autoloads,
2527 bootstrap-clean, distclean, maintainer-clean.
2528
9052f9f0
JB
25292012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2530
1823ac5a
JB
2531 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2532 (calc-set-mode-line): Don't display "AlgSimp ".
2533
2534 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2535 (calc-lim-simplify-mode): New function.
2536 (calc-set-simplify-mode): Default to 'alg.
2537 (calc-default-simplify-mode): Make algebraic simplifications
2538 the default.
2539
2540 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2541 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2542
8d7c7eed 2543 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2544 indicate new simplification modes.
2545
1823ac5a
JB
2546 * calc/README: Mention new default simplification mode.
2547
9052f9f0
JB
2548 * calc/calc.el (math-normalize-error): New variable.
2549 (math-normalize): Set `math-normalize-error' to t
2550 when there's an error.
2551
2552 * calc/calc-alg.el (math-simplify): Don't simplify when
2553 `math-normalize' returns an error.
2554
20ba0cb4
EZ
25552012-07-29 Eli Zaretskii <eliz@gnu.org>
2556
2557 * international/mule-cmds.el (set-locale-environment): Revert last
2558 change, since display-graphic-p returns nil when this function is
2559 called during startup. Instead...
2560
2561 * term/w32console.el (terminal-init-w32console): ...setup the
2562 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2563
a5dcc929
JL
25642012-07-29 Juri Linkov <juri@jurta.org>
2565
2566 * simple.el (goto-line): Don't display default line number in the
2567 prompt because it should be displayed by `read-number' (bug#9952).
2568 Add the current line number to the defaults of `goto-line' to
2569 allow its easier modification by users with `M-n' (bug#9201).
2570
2571 * subr.el (read-number): Support multiple default values like in
2572 other minibuffer reading functions. Replace `read' with
2573 `string-to-number' for consistency with `number-to-string'.
2574
72b255c7
PE
25752012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2576
2577 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2578 * emulation/viper-init.el (viper-deactivate-input-method-action):
2579 Rename from viper-inactivate-input-method-action.
2580 (viper-deactivate-input-method):
2581 Rename from viper-inactivate-input-method.
2582 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2583 * international/mule-cmds.el (deactivate-input-method):
2584 Rename from inactivate-input-method.
2585 Also run input-method-deactivate-hook.
2586 (deactivate-current-input-method-function):
2587 Rename from inactivate-current-input-method-function.
2588 (input-method-deactivate-hook): New hook.
2589 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2590 (inactivate-input-method): Mark obsolete.
2591
72b255c7
PE
2592 * international/quail.el (quail-activate):
2593 Also run quail-deactivate-hook.
2594 (quail-deactivate): Rename from quail-inactivate.
2595 * international/robin.el (robin-activate):
2596 Also run robin-deactivate-hook.
2597 (robin-deactivate): Rename from robin-inactivate.
2598
2549c068
CY
25992012-07-29 Chong Yidong <cyd@gnu.org>
2600
2601 * simple.el (indicate-copied-region): New function.
2602 (kill-ring-save): Split off from here.
2603
2604 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2605 (kill-rectangle): Set deactivate-mark to t on read-only error.
2606
2607 * register.el (copy-to-register, copy-rectangle-to-register):
2608 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2609 (append-to-register, prepend-to-register):
2610 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2611
2612 * simple.el (async-shell-command-buffer): New defcustom.
2613 (shell-command): Use it. (Bug#4719)
2614
01bd1b0d
EZ
26152012-07-28 Eli Zaretskii <eliz@gnu.org>
2616
2617 * international/mule-cmds.el (set-locale-environment): In a
2618 console session on MS-Windows, set up keyboard and terminal
2619 encoding from the OEM codepage, not the ANSI codepage.
2620 (Bug#12055)
2621
a55739d3
CY
26222012-07-28 Chong Yidong <cyd@gnu.org>
2623
2624 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2625 gdb-get-location.
2626
0e1a094f 26272012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2628
2629 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2630 the alist (bug#12029).
2631
20329d73
EZ
26322012-07-28 Eli Zaretskii <eliz@gnu.org>
2633
2634 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2635 (compile-always, compile-first)
2636 ($(lisp)/calendar/cal-loaddefs.el)
2637 ($(lisp)/calendar/diary-loaddefs.el)
2638 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2639 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2640 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2641 instead of on update-subdirs.
2642 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2643
345a2258
CY
26442012-07-28 Chong Yidong <cyd@gnu.org>
2645
1eee6341
CY
2646 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2647 directory if vc-deduce-backend returns nil (Bug#7350).
2648
345a2258
CY
2649 * simple.el (delete-trailing-lines): New option.
2650 (delete-trailing-whitespace): Obey it (Bug#11879).
2651
049a0936
DE
26522012-07-28 David Engster <deng@randomsample.de>
2653
2654 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2655 Explanation of new 'symbol-qnames feature in doc-strings.
2656 (xml-maybe-do-ns): Return expanded names as plain symbols if
2657 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2658 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2659
aa81af71
FEG
26602012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2661
2662 Consistent completion in inferior python with emacs -nw.
2663 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2664 binding in inferior-python-mode-map with "\t".
2665 (python-shell-completion-complete-at-point)
2666 (python-completion-complete-at-point): Remove interactive spec.
2667
e827b1eb
JB
26682012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2669
2670 * calc/calccomp.el (math-compose-expr): Undo previous change.
2671
a90dfb95
FEG
26722012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2673
4250fdf5 2674 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2675 run-python.
2676 (python-shell-make-comint): Fix pop-to-buffer call.
2677 (run-python): Autoload. New arg SHOW.
2678 (python-shell-get-or-create-process): Do not pop python process
2679 buffer.
2680
32770973 26812012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2682
2683 * notifications.el (notifications-on-action-signal)
2684 (notifications-on-closed-signal): Use also the bus address for the map.
2685 (notifications-notify, notifications-close-notification)
fc0c31f8 2686 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2687
86332df2
TH
26882012-07-27 Tassilo Horn <tsdh@gnu.org>
2689
4250fdf5
SM
2690 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2691 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2692 ctable macro.
2693 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2694 labels written in keyvals syntax.
2695
ca1302a4
JB
26962012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2697
2698 * calc/calccomp.el (math-compose-expr): Use parentheses when
2699 there is a product in the denominator of a fraction.
2700
f8b91036
EZ
27012012-07-26 Eli Zaretskii <eliz@gnu.org>
2702
2703 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2704 ($(lisp)/calendar/diary-loaddefs.el)
2705 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2706 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2707 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2708 rewritten while the autoload files are built at the same time,
2709 which needs to load subdirs.el.
2710
c8e5a42c
MR
27112012-07-26 Martin Rudalics <rudalics@gmx.at>
2712
2713 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2714 (mouse-drag-line): Don't exit tracking when a switch-frame or
2715 switch-window event occurs (Bug#12006).
2716
670d85ea
SM
27172012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * mouse.el (popup-menu): Fix last change.
2720
7abaf5cc
SM
27212012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 Autoload from Lisp with more care. Follow aliases when looking for
2724 function properties.
2725 * subr.el (autoloadp): New function.
2726 (symbol-file): Use it.
2727 (function-get): New function.
2728 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2729 autoload-do-load.
2730 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2731 (lisp-indent-function):
2732 * emacs-lisp/gv.el (gv-get):
2733 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2734 * emacs-lisp/byte-opt.el (byte-optimize-form):
2735 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2736 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2737 Use function-get.
2738 * emacs-lisp/cl.el: Don't propagate function properties any more.
2739
2740 * speedbar.el (speedbar-add-localized-speedbar-support):
2741 * emacs-lisp/disass.el (disassemble-internal):
2742 * desktop.el (desktop-load-file):
2743 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2744 (describe-function-1):
2745 * emacs-lisp/find-func.el (find-function-noselect):
2746 * emacs-lisp/elp.el (elp-instrument-function):
2747 * emacs-lisp/advice.el (ad-has-proper-definition):
2748 * apropos.el (apropos-safe-documentation, apropos-macrop):
2749 * emacs-lisp/debug.el (debug-on-entry):
2750 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2751 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2752 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2753
b1364986
AA
27542012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2755
2756 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2757 function, not an obsolete variable (Bug#12046).
2758
67ada220
AS
27592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2760
2761 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2762
f08088e3
CS
27632012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2764
2765 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2766 window only if it is still live (Bug#12034).
2767
8137e7b3
MR
27682012-07-25 Martin Rudalics <rudalics@gmx.at>
2769
2770 * subr.el (redirect-frame-focus): Add advertised calling
2771 convention (Bug#12030).
2772
09ae5da1
PE
27732012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2774
2775 Prefer typical American spelling for "acknowledgment".
2776 * vc/add-log.el (change-log-acknowledgment): Rename from
2777 change-log-acknowledgement, with an alias for the old name.
2778
3cc5a3a8
JB
27792012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2780
2781 * calc-alg.el (math-simplify-divide): Don't cross multiply
2782 in an equation when the lhs is a variable.
2783
b7af7f62
JD
27842012-07-24 Julien Danjou <julien@danjou.info>
2785
2786 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2787 Remove, unused.
2788
ec1b09b1
EZ
27892012-07-23 Eli Zaretskii <eliz@gnu.org>
2790
2791 * startup.el (command-line): Don't display an empty user name in
2792 the error message about non-existent home directory, when
2793 init-file-user was set to an empty string. See
2794 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2795 for the details and context.
2796
b525fd8a
VB
27972012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2798
2799 * ses.el (ses-cell-formula-aset): New macro.
2800 (ses-cell-references-aset): New macro.
2801 (ses-cell-p): New function.
2802 (ses-rename-cell): Do no longer rely on complex operations like
2803 ses-cell-set-formula or ses-set-cell to change the cell and handle
2804 the undo at the same time, but rather use lower level new macros
2805 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2806 the undo directly. Refresh the mode line.
b525fd8a 2807
2c73e345
LL
28082012-07-21 Leo Liu <sdl.web@gmail.com>
2809
670d85ea
SM
2810 * progmodes/cc-cmds.el (c-defun-name):
2811 Use match-string-no-properties instead for consistency.
2c73e345 2812
542dfbde
LL
28132012-07-20 Leo Liu <sdl.web@gmail.com>
2814
3646bcd6
LL
2815 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2816 (Bug#7879)
2817
542dfbde
LL
2818 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2819
25721031
CY
28202012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2823 * progmodes/bug-reference.el, misearch.el: Provide themselves
2824 (bug#11915).
2825
2826 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2827 of narrowed buffer (bug#11966).
2828
316e68a7
VB
28292012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2830
2831 * ses.el (ses-rename-cell): Set new name also in reference list of
2832 cells of which the renamed cell depends.
2833
bbf0e7d9
MY
28342012-07-20 Masatake YAMATO <yamato@redhat.com>
2835
2836 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2837 to check whether menu-bar is shown or not. If not shown,
2838 show the menu-bar as a popup menu instead of using tmm.
2839 * mouse.el (popup-menu): Accept `point' as `position' argument.
2840
c28662a8
DG
28412012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2842
2843 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2844 up inside string symbol literal (bug#11923).
2845
87ab808f
EZ
28462012-07-20 Eli Zaretskii <eliz@gnu.org>
2847
2848 * startup.el (fancy-startup-text): Read the whole tutorial, not
2849 just its first 256 bytes. Prevents gibberish in display of the
2850 tutorial title.
2851
89dea803
DA
28522012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2853
2854 Drop idle buffer compaction due to an absence of the
2855 proved efficiency.
2856 * compact.el: Remove.
2857
8a4e6db8
SS
28582012-07-19 Sam Steingold <sds@gnu.org>
2859
2860 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2861 vc-bzr-pull & vc-bzr-merge-branch.
2862 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2863 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2864 for consistency with compilation-error-regexp-alist.
2865 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2866 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2867 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2868 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2869
5db81e33
SM
28702012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2871
2872 * emacs-lisp/chart.el: Use lexical-binding.
2873 (chart-emacs-storage): Don't hardcode the list of entries.
2874
5b835e1d
DA
28752012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2876
2877 Next round of tweaks caused by Fgarbage_collect changes.
2878 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2879
9cd47b72
DA
28802012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2881
2882 Compact buffers when idle.
2883 * compact.el: New file.
2884
1d6fc0df
SM
28852012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2886
2887 * subr.el (eventp): Presume that if it looks vaguely like an event,
2888 it's an event (bug#10190).
2889
1d29cc7d
FEG
28902012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2891
2892 Enhancements to ppss related code (thanks Stefan).
2893 * progmodes/python.el (python-indent-context)
2894 (python-indent-calculate-indentation, python-indent-dedent-line)
2895 (python-indent-electric-colon, python-nav-forward-block)
2896 (python-mode-abbrev-table)
1d6fc0df 2897 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2898 for ppss context.
2899 (python-info-continuation-line-p): Cleanup.
2900 (python-info-ppss-context): Do not catch 'quote.
2901 (python-info-ppss-context-type)
2902 (python-info-ppss-comment-or-string-p): Simplify.
2903
d583cbe6
FEG
29042012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2905
2906 * progmodes/python.el: Enhancements to eldoc support.
2907 (python-info-current-symbol): New function.
2908 (python-eldoc-at-point): Use python-info-current-symbol.
2909 (python-info-current-defun): Fix cornercase on first defun scan.
2910 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2911 and signal error when no inferior python process is available.
2912
eceb6feb
DG
29132012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2914
2915 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2916 assume it's always t.
2917 (vc-git-registered): Remove caching, the function is only called
2918 once.
2919 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2920
4c8ff0fe
CY
29212012-07-18 Chong Yidong <cyd@gnu.org>
2922
19fb7186
CY
2923 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2924
9587c688
CY
2925 * simple.el (count-words): Report on narrowing (Bug#9959).
2926
0fe776a1
CY
2927 * bindings.el: Bind M-= to count-words.
2928
4c8ff0fe
CY
2929 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2930
7f5331cc
MY
29312012-07-18 Masatake YAMATO <yamato@redhat.com>
2932
2933 * progmodes/sh-script.el (sh-imenu-generic-expression):
2934 Capture a function with `function' keyword and without parentheses
2935 like "function FOO" (bug#11856).
2936
2dc2a609
TH
29372012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2938
2939 * window.el (split-window-sensibly): Make WINDOW argument
2940 optional.
2941
439f7677
CY
29422012-07-18 Chong Yidong <cyd@gnu.org>
2943
9aeb25a6
CY
2944 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2945
439f7677
CY
2946 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2947 and make C-x 8 RET exit isearch (Bug#11439).
2948
2949 * international/iso-transl.el: Move isearch-mode-map key
2950 definitions to isearch.el.
2951
12999ea8
SM
29522012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2955 (eieio-defclass): Use gv-define-setter when possible.
2956
3ab6e069
DA
29572012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2958
2959 Reflect recent changes in Fgarbage_collect.
2960 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2961 reflect new format of data returned by Fgarbage_collect.
2962
0a60bc10
FEG
29632012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2964
2965 New utility functions + python-info-ppss-context fix (Bug#11910).
2966 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2967 (python-info-ppss-comment-or-string-p): New functions.
2968 (python-info-ppss-context): Small fix for string check.
2969
6dafa0d5
JL
29702012-07-17 Juri Linkov <juri@jurta.org>
2971
2972 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2973 (dired-do-async-shell-command): Don't add `*' at the end of the
2974 command (Bug#11815).
2975 (dired-do-shell-command): Doc fix.
2976 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2977 Join the individual commands using either "&" or ";" as the
2978 separator depending on the values of these trailing characters.
2979 At the end re-add the trailing "&". (Bug#10598)
2980
2981 * simple.el (async-shell-command): Sync the interactive spec with
2982 `shell-command'. Doc fix.
2983 (shell-command): Doc fix.
2984
b19dd9d1
JL
29852012-07-17 Juri Linkov <juri@jurta.org>
2986
2987 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2988
bcdc27d7 29892012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2990
bcdc27d7 2991 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2992 * progmodes/python.el (python-nav-beginning-of-statement):
2993 Rename from python-nav-statement-start.
bcdc27d7
FEG
2994 (python-nav-end-of-statement): Rename from
2995 python-nav-statement-end.
2996 (python-nav-beginning-of-block): Rename from
2997 python-nav-block-start.
2998 (python-nav-end-of-block): Rename from python-nav-block-end.
2999
191da00e
FEG
30002012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3001
7f5331cc
MY
3002 * progmodes/python.el (python-shell-send-string-no-output):
3003 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3004 future interactions (Bug#11868).
3005
4dc7c8d5 30062012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3007
88ecaf8f
SM
3008 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3009
ef501ef0
SM
3010 * emacs-lisp/elint.el (elint-find-args-in-code):
3011 Use help-function-arglist, so as to handle lexical byte-code.
3012
aa7aaf8f
SM
3013 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3014 change (bug#11826).
3015
45fd731c
SM
30162012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3017
2143fa32
SM
3018 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3019 Avoid spuriously marking the buffer as modified because of c-is-sws.
3020
efc26dbe
SM
3021 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3022 as not-a-comment (bug#11946).
3023
f5695c9a
SM
3024 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3025 for uninterned vars.
3026
3027 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3028 Use read-event since we don't really want to read chars but bytes.
3029
45fd731c
SM
3030 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3031 $$..$$ but also $..$ using regexps (bug#11953).
3032 Use tex-verbatim for \url and \path.
3033 (tex-font-lock-keywords): Define as defconst like the others.
3034 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3035
ddfc8813
RK
30362012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3037
3038 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3039 alias for insert-char.
3040
758e556a
FEG
30412012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3042
3043 * progmodes/python.el: Simplified imenu implementation.
3044 (python-nav-jump-to-defun): Remove command.
3045 (python-mode-map): Use `imenu' instead.
3046 (python-nav-list-defun-positions-cache)
3047 (python-imenu-include-defun-type, python-imenu-make-tree)
3048 (python-imenu-subtree-root-label, python-imenu-index-alist):
3049 Remove vars.
3050 (python-nav-list-defun-positions, python-nav-read-defun)
3051 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3052 (python-imenu-make-tree, python-imenu-create-index):
3053 Remove functions.
758e556a
FEG
3054 (python-mode): Update to interact with imenu by setting
3055 `imenu-extract-index-name-function' only.
3056
032d23ab
FEG
30572012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3058
3059 * progmodes/python.el: Enhancements to navigation commands.
3060 (python-nav-backward-sentence)
3061 (python-nav-forward-sentence): Remove.
3062 (python-nav-backward-statement, python-nav-forward-statement)
3063 (python-nav-statement-start, python-nav-statement-end)
3064 (python-nav-backward-block, python-nav-forward-block)
3065 (python-nav-block-start, python-nav-block-end)
3066 (python-nav-forward-sexp-function)
3067 (python-info-current-line-comment-p)
3068 (python-info-current-line-empty-p): New functions.
3069 (python-indent-context): Use `python-nav-statement-start'.
3070
01795a1b
MA
30712012-07-16 Michael Albinus <michael.albinus@gmx.de>
3072
9328d9aa
MA
3073 * eshell/em-ls.el (eshell/ls): Use `apply'.
3074
3075 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3076 multi-hops, instead of Tramp internals.
3077
01795a1b
MA
3078 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3079
3080 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3081 when F1 and F2 are located on different hosts.
3082
63408057
CY
30832012-07-14 Chong Yidong <cyd@gnu.org>
3084
3085 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3086 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3087 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3088 (xterm-mouse--read-event-sequence-1000)
3089 (xterm-mouse--read-event-sequence-1006): New functions. For old
3090 mouse protocol, handle M-mouse-X events correctly.
3091 (xterm-mouse-event): New arg specifying mouse protocol.
3092 (turn-on-xterm-mouse-tracking-on-terminal)
3093 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3094 sequence to toggle extended coordinates on newer XTerms.
3095 This appears to be harmless on terminals which do not support this.
63408057 3096
cd276f6e
LL
30972012-07-14 Leo Liu <sdl.web@gmail.com>
3098
28ca98ac
LL
3099 Add fringe bitmap indicators for flymake. (Bug#11253)
3100 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3101 (flymake-make-overlay): New arg BITMAP.
3102 (flymake-error-bitmap, flymake-warning-bitmap)
3103 (flymake-fringe-indicator-position): New user variables.
3104
cd276f6e
LL
3105 * fringe.el: New bitmap exclamation-mark.
3106
04408072
JD
31072012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3108
3109 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3110 also (Bug#7879).
3111
b5cf7fc4
CY
31122012-07-14 Chong Yidong <cyd@gnu.org>
3113
3114 * electric.el (electric-pair-post-self-insert-function): Fix pair
3115 insertion in empty-region case (Bug#11520).
3116
be755c79
RT
31172012-07-14 Chong Yidong <cyd@gnu.org>
3118
45fd731c
SM
3119 * bindings.el: Consolidate ctl-x-r-map bindings.
3120 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3121
3122 * rect.el, register.el: Move bindings to bindings.el.
3123
31242012-07-14 Reuben Thomas <rrt@sc3d.org>
3125
3126 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3127
7f5b3198
AS
31282012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3129
3130 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3131
97662200
JB
31322012-07-13 Juanma Barranquero <lekktu@gmail.com>
3133
80185fed
JB
3134 * bindings.el (top): Use `mapc' instead of `mapcar'.
3135
97662200
JB
3136 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3137
2bb1ae55
MA
31382012-07-13 Michael Albinus <michael.albinus@gmx.de>
3139
3140 * progmodes/sql.el (sql-comint): Suppress the check for program on
3141 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3142 (Bug#11908)
3143
dea31bd3
CY
31442012-07-13 Chong Yidong <cyd@gnu.org>
3145
3146 * bindings.el: Assign a non-nil permanent-local property to
3147 per-buffer variables which lack a default value (Bug#11930).
3148
3149 * help-fns.el (describe-variable): In the "automatically becomes
3150 local" notice, take note of permanent-local variables.
3151
b68b3337
CY
31522012-07-13 Chong Yidong <cyd@gnu.org>
3153
3154 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3155 to allow printing the message when called from Lisp.
3156
3157 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3158 Remove toggle-read-only.
3159
3160 * bs.el (bs-toggle-readonly):
45fd731c
SM
3161 * buff-menu.el (Buffer-menu-toggle-read-only):
3162 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3163
3164 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3165 Remove with-no-warnings around toggle-read-only.
3166 (ffap-read-only, ffap-read-only-other-window)
3167 (ffap-read-only-other-frame): Callers changed.
3168
3169 * help-mode.el: Don't require view package.
3170 (help-mode-finish): Set buffer-read-only instead of calling
3171 toggle-read-only.
3172
3173 * bindings.el (mode-line-toggle-read-only):
3174 * dired.el (dired-toggle-read-only):
3175 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3176 with non-nil second arg.
3177
3178 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3179 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3180 directly.
3181
56bc1586
EZ
31822012-07-12 Eli Zaretskii <eliz@gnu.org>
3183
3184 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3185 not incf.
3186
a464a6c7
SM
31872012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 More CL cleanups and reduction of use of cl.el.
3190 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3191 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3192 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3193 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3194 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3195 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3196 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3197 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3198 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3199 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3200 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3201 * eshell/em-cmpl.el, eshell/em-banner.el:
3202 * calendar/parse-time.el: Use cl-lib.
3203 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3204 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3205 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3206 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3207 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3208 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3209 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3210 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3211 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3212 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3213 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3214 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3215 `lambda' rather than with `quote'.
3216 (eshell-do-opt): Adjust accordingly.
3217 (eshell-process-option): Simplify.
3218 * eshell/esh-var.el:
3219 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3220 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3221 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3222 to `pcase--dontcare'.
3223 * emacs-lisp/cl.el (labels): Mark obsolete.
3224 (cl--letf, letf): Move to cl-lib.
3225 (cl--letf*, letf*): Remove.
3226 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3227 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3228 (cl-progv): Rewrite.
3229 (cl--letf, cl-letf): Move from cl.el.
3230 (cl-letf*): New macro.
3231 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3232
7ad4afe1
MA
32332012-07-11 Michael Albinus <michael.albinus@gmx.de>
3234
3235 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3236
9af57756
CY
32372012-07-11 Chong Yidong <cyd@gnu.org>
3238
3239 * vc/log-edit.el (log-edit-vc-backend): New variable.
3240 (log-edit): Doc fix.
3241
3242 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3243 argument of log-edit to set up all local variables.
3244 (vc-start-logentry): New optional arg specifying VC backend.
3245
3246 * vc/vc.el (vc-checkin): Use it.
3247 (vc-deduce-fileset): Handle Log Edit buffers.
3248 (vc-diff): Make first argument optional too.
3249
3250 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3251
8477cc7a
MA
32522012-07-10 Michael Albinus <michael.albinus@gmx.de>
3253
3254 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3255 command, just in case. The function is not needed anymore.
3256 (eshell-external-command): Do not call `eshell-remote-command'.
3257
19faa8e8
SM
32582012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3259
f58e0fd5
SM
3260 Reduce use of (require 'cl).
3261 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3262 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3263 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3264 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3265 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3266 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3267 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3268 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3269 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3270 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3271 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3272 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3273 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3274 (byte-compile-unfold-bcf, byte-compile-check-variable):
3275 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3276 (byte-compile-nilconstp):
3277 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3278 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3279
2519d43a
SM
3280 * emacs-lisp/gv.el (cond): Make it a valid place.
3281 (if): Simplify slightly.
3282
19faa8e8
SM
3283 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3284 (pcase--self-quoting-p): New function.
3285 (pcase--u1): Use it.
3286
c4907a5e
GM
32872012-07-10 Glenn Morris <rgm@gnu.org>
3288
3289 * emacs-lisp/authors.el (authors-fixed-entries):
3290 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3291
c4444d16
PE
32922012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3293
3294 Rename configure.in to configure.ac (Bug#11603).
3295 * emacs-lisp/authors.el (authors-canonical-file-name):
3296 * progmodes/autoconf.el (autoconf-mode):
3297 Prefer configure.ac to configure.in.
3298
d75be97d
CY
32992012-07-08 Chong Yidong <cyd@gnu.org>
3300
01ac65bd
CY
3301 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3302 Implement the mouse-1-click-follows-link handling properly.
3303
3304 * info.el (Info-link-keymap): Use follow-link mechanism for
3305 header-line links (Bug#374).
3306
d75be97d
CY
3307 * simple.el (deactivate-mark): Do not set the primary selection
3308 if another program has acquired it (Bug#11772).
3309
87a92845 33102012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3311
3312 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3313 (woman-decode-region): Replace escaped-escapes without destroying
3314 bold or underline (Bug#11552).
87a92845 3315 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3316
621b9d6c
CY
33172012-07-07 Chong Yidong <cyd@gnu.org>
3318
3319 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3320 (interprogram-cut-function, interprogram-paste-function):
3321 Mention that we typically mean the clipboard.
621b9d6c 3322
133a11fc
GM
33232012-07-06 Glenn Morris <rgm@gnu.org>
3324
0d27a45e
GM
3325 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3326
133a11fc
GM
3327 * files.el (toggle-read-only): Restrict message to interactive use.
3328
07b151f1
MA
33292012-07-06 Michael Albinus <michael.albinus@gmx.de>
3330
3331 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3332
3333 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3334
211b896b
GM
33352012-07-06 Glenn Morris <rgm@gnu.org>
3336
50394322
GM
3337 * Makefile.in (compile-one-process): Rename from "recompile".
3338
211b896b
GM
3339 * Makefile.in (bzr-update): "compile" is the same as "recompile
3340 autoloads", but parallelizable, so use that instead.
3341
4737eec9
DG
33422012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3343
3344 * window.el (quit-window): Always restore window height when
8137e7b3 3345 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3346
226c3633 33472012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3348
3349 * simple.el (kill-whole-line): Doc tweak.
3350
226c3633 33512012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3352
3353 * files.el (file-relative-name): Compare file names
3354 case-insensitively if on MS-Windows or MS-DOS, or if
3355 read-file-name-completion-ignore-case is non-nil. Don't use
3356 case-fold-search for this purpose. (Bug#11827)
3357
4dc7c8d5
SM
33582012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3359
3360 * calendar/cal-dst.el (calendar-current-time-zone):
3361 Return calendar-current-time-zone-cache if non-nil.
3362
33632012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 33642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3365
19faa8e8
SM
3366 * calendar/cal-dst.el (calendar-current-time-zone):
3367 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3368
60198fc9
GM
33692012-07-06 Glenn Morris <rgm@gnu.org>
3370
3371 * Makefile.in (cvs-update): Remove old alias.
3372
957b3189
MA
33732012-07-05 Michael Albinus <michael.albinus@gmx.de>
3374
3375 Sync with Tramp 2.2.6-pre.
3376
3377 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3378 compatible declaration.
3379
19faa8e8
SM
3380 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3381 Protect `list-load-path-shadows' call.
957b3189
MA
3382
3383 * net/tramp-compat.el (top): Require packages, which aren't
3384 autoloaded anymore for XEmacs. Protect call of
3385 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3386 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3387 it hurts at least for SXEmacs.
3388 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3389 standard-value for `temporary-file-directory'.
3390
3391 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3392 Redirect stderr to /dev/null.
3393 (tramp-sh-handle-write-region): uid and gid can be floats.
3394 Reported by Russell Sim <russell.sim@gmail.com>.
3395 (tramp-sh-handle-vc-registered): Hide errors.
3396 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3397 and `start-file-process'.
3398 (tramp-maybe-open-connection): Check also whether `non-essential'
3399 is bound.
3400
566df3fc
CY
34012012-07-04 Chong Yidong <cyd@gnu.org>
3402
3403 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3404 (xml-parse-tag): Likewise, and avoid changing entity tables.
3405 (xml-syntax-table): Define from scratch, making sure not to give
3406 x2000 and other Unicode spaces whitespace syntax, since those are
3407 not spaces in XML.
3408 (xml-parse-fragment): Delete unused function.
3409 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3410 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3411 (xml-entity-ref, xml-pe-reference-re)
3412 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3413 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3414 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3415 (xml-entity-value-re): Use syntax references in regexps where
3416 possible; no need to define inside a let-binding.
3417 (xml-parse-dtd): Use xml-pe-reference-re.
3418 (xml-entity-or-char-ref-re): New defconst.
3419 (xml-parse-string, xml-substitute-special): Use it.
3420
30eabd7a
SM
34212012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3422
0781098a
SM
3423 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3424 (find-file--read-only): New function.
3425 (find-file-read-only, find-file-read-only-other-window)
3426 (find-file-read-only-other-frame): Use it.
3427 (insert-file-contents-literally): Don't `fset'.
3428 (get-free-disk-space): Use locate-dominating-file.
3429
b5771c0d
SM
3430 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3431 function is already compiled.
3432
30eabd7a
SM
3433 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3434
b4886f6e
MA
34352012-07-03 Michael Albinus <michael.albinus@gmx.de>
3436
3437 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3438 files on the same host.
3439
b9d82339
AS
34402012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3441
3442 * help-fns.el (describe-function-1): Only call
3443 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3444
a76e6535
CY
34452012-07-03 Chong Yidong <cyd@gnu.org>
3446
3447 * xml.el: Protect parser against XML bombs.
3448 (xml-entity-expansion-limit): New variable.
3449 (xml-parse-string, xml-substitute-special): Use it.
3450 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3451
b544fef2
GM
34522012-07-03 Glenn Morris <rgm@gnu.org>
3453
3454 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3455 Allow linking to specific messages in debbugs reports (eg 123#5).
3456
a7aef6f5
CY
34572012-07-02 Chong Yidong <cyd@gnu.org>
3458
3459 * xml.el: Fix entity and character reference expansion, allowing
3460 them to expand into markup as per XML spec.
3461 (xml-default-ns): New variable.
3462 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3463 (xml-parse-region): Make first two arguments optional.
3464 Discard text properties.
3465 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3466 All callers changed.
a7aef6f5
CY
3467 (xml-parse-tag): Call xml-parse-tag-1. For backward
3468 compatibility, this function should not modify buffer contents.
3469 (xml-parse-tag-1): Fix opening-tag regexp.
3470 (xml-parse-string): Rewrite, handling entity and character
3471 references properly.
3472 (xml--entity-replacement-text): Signal an error if a parameter
3473 entity is undefined.
3474
3df31c9f
SM
34752012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3476
2b5208f1
SM
3477 * comint.el (comint-output-filter): Filter out repeated prompts.
3478
3df31c9f
SM
3479 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3480 and file-name-absolute-p.
3481 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3482 internal calls.
3483
e3ac1281
PE
34842012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3485
3486 Spelling fixes.
3487 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3488 Rename from byte-compile--refiy-function. All uses changed.
3489
fbf2e7ad
CY
34902012-07-01 Chong Yidong <cyd@gnu.org>
3491
3492 * xml.el (xml--parse-buffer): New function. Move most of
3493 xml-parse-region here.
3494 (xml-parse-region): Copy region into a temporary buffer, since
3495 parameter entity substitution requires changing buffer contents.
3496 Use xml--parse-buffer.
3497 (xml-parse-file): Use xml--parse-buffer.
3498 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3499 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3500
9bf0aa15
GM
35012012-06-30 Glenn Morris <rgm@gnu.org>
3502
bbce2853
GM
3503 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3504
9bf0aa15
GM
3505 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3506 Remove outdated and unnecessary dbus declarations.
3507
0d23c240
EZ
35082012-06-30 Eli Zaretskii <eliz@gnu.org>
3509
3510 * emacs-lisp/timer.el (timer-until): Subtract results of
3511 float-time, instead of taking float-time of the result of
3512 time-subtract, since float-time signals an error for negative time
3513 arguments.
3514
b3218de1
CY
35152012-06-30 Chong Yidong <cyd@gnu.org>
3516
3517 * xml.el (xml-*-re): Convert defvars into defconsts, and
3518 eval-and-compile them so eval-and-compile works on derivatives.
3519 (xml--entity-replacement-text): Use eval-and-comple.
3520
a40c87a0
MA
35212012-06-30 Michael Albinus <michael.albinus@gmx.de>
3522
3523 * vc/vc-git.el (vc-git-registered): Use cache property
3524 `git-registered'.
3525 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3526 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3527 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3528
ac87de97
DG
35292012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3530
3531 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3532 removed (likely outside Emacs). (Bug#11757)
ac87de97 3533
ac10fe06
SM
35342012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3df31c9f 3536 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3537
7f3fbd5d
CY
35382012-06-30 Chong Yidong <cyd@gnu.org>
3539
3540 * xml.el: Implement XML parameter entities.
3541 (xml-parameter-entity-alist): New variable.
3542 (xml-parse-region, xml-parse-fragment): Preserve previous values
3543 of xml-entity-alist and xml-parameter-entity-alist, so that
3544 repeated calls on different documents do not change them.
3545 (xml-parse-tag): Fix doctype regexp.
3546 (xml--entity-replacement-text): New function.
3547 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3548 properly requires url retrieval which is unimplemented.
3549 (xml-escape-string): Doc fix.
3550
3cfbebba
SM
35512012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3554
2af3565e
DA
35552012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3556
3557 * fringe.el (fringe-mode): Doc fix.
3558
929df0e7
MA
35592012-06-29 Michael Albinus <michael.albinus@gmx.de>
3560
3561 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3562 is non-nil.
3563 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3564 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3565
c8d3a25c 35662012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3567
c8d3a25c
GM
3568 * calendar/cal-dst.el (calendar-current-time-zone):
3569 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3570
c8d3a25c 35712012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3572
3573 * progmodes/which-func.el (which-func-format):
3574 Add mouse-face. (Bug#11698)
3575
c8d3a25c
GM
35762012-06-29 Leo Liu <sdl.web@gmail.com>
3577
3578 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3579
35802012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 * minibuffer.el (minibuffer-confirm-exit-commands):
3583 Add completion-at-point (bug#11725).
3584
35852012-06-29 Glenn Morris <rgm@gnu.org>
3586
3587 * progmodes/f90.el (f90-font-lock-keywords-2):
3588 Add some preprocessor elements. (Bug#10499)
3589
35902012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3593 Use syntax-propertize (bug#11739).
3594
2badeec4
JB
35952012-06-28 Juanma Barranquero <lekktu@gmail.com>
3596
3597 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3598
ae4969c2
JD
35992012-06-28 Julien Danjou <julien@danjou.info>
3600
3601 * term.el (term-handle-colors-array): Use a set of new faces to
3602 color the terminal. Also uses :inverse-video property.
3603 (term-default-fg-color): Set to nil by default, deprecate in favor
3604 of `term-face'.
3605 (term-default-bg-color): Set to nil by default, deprecate in favor
3606 of `term-face'.
3607 (term-current-face): Use `term-face' by default.
3608 (term-bold-attribute): Variable deleted.
3609
1c9bd870
GM
36102012-06-28 Glenn Morris <rgm@gnu.org>
3611
3612 * simple.el (completion-list-mode-finish):
3613 Don't use toggle-read-only. (Since completion-list-mode has
3614 a special mode-class, it wasn't doing anything extra anyway.)
3615
c207708c
SM
36162012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 Make inlining of other-mode interpreted functions work (bug#11799).
3619 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3620 (byte-compile): Use it to fix compilation of lexical-binding closures.
3621 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3622 function, if needed.
3623
3fd56834
SM
36242012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3625
04901786
SM
3626 * help-mode.el (help-make-xrefs): Don't just withstand
3627 cyclic-variable-indirection but any error in documentation-property.
3628
1ec4b7b2
SM
3629 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3630 memory use.
3631 * bindings.el (bindings--define-key): New function.
3632 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3633 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3634 * bindings.el: Use it to purecopy define-key bindings.
3635
e309e2a5
SM
3636 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3637
d5c6faf9
SM
3638 * emacs-lisp/cl.el (flet): Mark obsolete.
3639 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3640 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3641 * progmodes/js.el (js-c-fill-paragraph):
3642 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3643 (ebrowse-switch-member-buffer-to-derived-class):
3644 * play/5x5.el (5x5-solver): Use cl-flet.
3645
6e9590e2
SM
3646 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3647 (cl--symbol-function): New macro.
3648 (cl--letf, cl--letf*): Use it.
3649
3fd56834
SM
3650 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3651 Strip "toggle-" if any.
3652
35ff222c
GM
36532012-06-27 Glenn Morris <rgm@gnu.org>
3654
1ba6038a
GM
3655 * info.el (Info-default-directory-list): Move here from paths.el.
3656 * paths.el: Remove file, which is now empty.
3657 * loadup.el: No longer load "paths".
3658
0ea0e51b
GM
3659 * custom.el (custom-initialize-delay): Doc fix.
3660
35ff222c
GM
3661 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3662 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3663 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3664 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3665 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3666 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3667 * eshell/eshell.el (eshell-defgroup): Remove alias.
3668
c89926a5
CY
36692012-06-27 Chong Yidong <cyd@gnu.org>
3670
3671 * help.el (help-enable-auto-load): New variable.
3672
3673 * help-fns.el (help-fns--autoloaded-p): New function.
3674 (describe-function-1): Refer to a function as "autoloaded" if it
3675 was autoloaded at any time in the past. Perform autoloading if
3676 help-enable-auto-load is non-nil.
3677
cc06e7e7
EZ
36782012-06-26 Eli Zaretskii <eliz@gnu.org>
3679
3680 * makefile.w32-in (compile, compile-always): Depend on
3681 update-subdirs, not on subdirs.el. Otherwise, several different
3682 sub-targets of 'bootstrap' running in parallel could
3683 simultaneously write to subdirs.el, producing a garbled file.
3684
d2c32364
SS
36852012-06-26 Sam Steingold <sds@gnu.org>
3686
3687 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3688 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3689 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3690 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3691 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3692 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3693 * textmodes/tex-mode.el: Use it.
3694 Did not touch cedet and org because they are maintained elsewhere.
3695
5cf983b2
MR
36962012-06-26 Martin Rudalics <rudalics@gmx.at>
3697
3698 * calendar/calendar.el (calendar-exit): Don't try to delete or
3699 iconify last frame. See:
3700 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3701
8c4f2952
JD
37022012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3703
3704 * server.el (server-process-filter): Remember dir in the
3705 process's `server-client-directory' properties.
3706
772b2e2c
CY
37072012-06-24 Chong Yidong <cyd@gnu.org>
3708
3709 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3710 non-tag text.
3711
711b11e1
JB
37122012-06-23 Juanma Barranquero <lekktu@gmail.com>
3713
3714 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3715
dc5d230c
SM
37162012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * help-fns.el (describe-variable): Don't croak when doc is not found.
3719 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3720 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3721 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3722 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3723 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3724 ((lambda ..) ..).
3725 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3726
136e1c1d
CY
37272012-06-23 Chong Yidong <cyd@gnu.org>
3728
e8c1cabf
CY
3729 * info.el (Info-mouse-follow-link): Accept symbol values of
3730 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3731 (Info-fontify-node): Use Info-link-keymap for all navigation
3732 buttons, with link-args property to perform the desired action.
3733 (Info-link-keymap): Doc fix.
3734 (Info-next-link-keymap, Info-prev-link-keymap)
3735 (Info-up-link-keymap): Delete now-unused keymaps.
3736
0e9e6c6a
CY
37372012-06-23 Chong Yidong <cyd@gnu.org>
3738
05e89fea
CY
3739 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3740
0e9e6c6a
CY
3741 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3742 system abbrevs.
3743
3744 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3745
e33c6771
SM
37462012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3747
b68581e2
SM
3748 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3749 (bug#11719).
3750
e33c6771
SM
3751 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3752 the requote function doesn't work properly (bug#11714).
3753
7117e105
GM
37542012-06-23 Glenn Morris <rgm@gnu.org>
3755
3756 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3757
36cec983
SM
37582012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 Further GV/CL cleanups.
3761 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3762 gv-expander.
3763 (gv--defun-declaration): New function.
3764 (defun-declarations-alist): Use it.
3765 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3766 (gv-place): Autoload.
3767 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3768 original definition of dotimes and dolist.
3769 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3770 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3771 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3772 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3773 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3774 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3775 to the function's definition.
3776 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3777 * window.el:
3778 * files.el:
3779 * faces.el:
3780 * env.el: Don't use CL.
3781
d35af63c
PE
37822012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3783
3784 Support higher-resolution time stamps (Bug#9000).
3785
3786 * calendar/time-date.el (with-decoded-time-value): New arg
3787 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3788 (encode-time-value): New optional arg PICO. New type 3.
3789 (time-to-seconds) [!float-time]: Support the new picoseconds
3790 component if it's used.
3791 (seconds-to-time, time-subtract, time-add):
3792 Support ps-resolution time stamps as well.
3793
3794 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3795 (timerp): Timer vectors now have length 9, not 8.
3796 (timer--time): Support new-style (4-part) time stamps.
3797 (timer-next-integral-multiple-of-time): Time stamps now have
3798 picosecond resolution, so take a bit more care about rounding.
3799 (timer-relative-time, timer-inc-time): New optional arg psecs.
3800 (timer-set-time-with-usecs): Set psecs to 0.
3801 (timer--activate): Check psecs component, too.
3802
3803 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3804
ac77b21a
SM
38052012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3806
f143bfe3
SM
3807 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3808 Move the non-essential binding to the post/pre-command-hook where it is
3809 more obviously correct.
3810
ac77b21a
SM
3811 * subr.el (read-passwd): Don't use a history at all.
3812 * savehist.el (savehist-save): Remove password saved accidentally
3813 because of the above bug.
3814
76386c5a
BG
38152012-06-22 Bastien Guerry <bzg@gnu.org>
3816
3817 * files.el (toggle-read-only): Display a message telling whether
3818 the buffer is read-only or not (bug#11726).
3819
2ee3d7f0
SM
38202012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * emacs-lisp/gv.el: New file.
3823 * subr.el (push, pop): Extend to generalized variables.
3824 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3825 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3826 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3827 gv-define-simple-setter, and gv-define-expander.
3828 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3829 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3830 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3831 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3832 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3833 gv-letplace.
3834 (cl-defstruct): Don't define setf-method any more.
3835 * emacs-lisp/cl.el (flet): Don't autoload.
3836 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3837 (define-setf-expander, defsetf, define-modify-macro)
3838 (cl-struct-setf-expander): Move from cl-lib.el.
3839 * emacs-lisp/syntax.el:
3840 * emacs-lisp/ewoc.el:
3841 * emacs-lisp/smie.el:
3842 * emacs-lisp/cconv.el:
3843 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3844 (timer--time): Use gv-define-simple-setter.
3845 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3846 to avoid coding-system problems in subr.el. Adjust all users.
3847 (macroexp--maxsize, macroexp-small-p): New functions.
3848 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3849 * scroll-bar.el (scroll-bar-mode):
3850 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3851 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3852 * winner.el (winner-configuration, winner-make-point-alist)
3853 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3854 * files.el (locate-file-completion-table): Avoid list*.
3855
c5695d1d
CY
38562012-06-22 Chong Yidong <cyd@gnu.org>
3857
3858 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3859 (dired-create-files): Doc fix (Bug#11329).
3860 (dired-do-copy): Doc fix (Bug#11334).
3861 (dired-mark-read-string): Doc fix (Bug#11553).
3862
2ee3d7f0
SM
3863 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3864 Doc fix (Bug#11326).
c5695d1d
CY
3865 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3866 (dired-dwim-target): Doc fix.
3867
3868 * wdired.el (wdired-mode): Doc fix.
3869
89b5595a
GM
38702012-06-22 Glenn Morris <rgm@gnu.org>
3871
575db3f1
GM
3872 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3873 (pcmpl-rpm-cache-stamp-file): New constant.
3874 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3875 (pcmpl-rpm-packages): Optionally cache list of packages.
3876
a4c8dd51
GM
3877 * pcmpl-rpm.el (pcmpl-rpm): New group.
3878 (pcmpl-rpm-query-options): New option.
3879 (pcmpl-rpm-packages): No need to inline it.
3880 Use pcmpl-rpm-query-options.
3881
89b5595a
GM
3882 * calendar/calendar.el (calendar-in-read-only-buffer):
3883 Avoid some needless mode changes.
3884
e76f0800
CY
38852012-06-21 Chong Yidong <cyd@gnu.org>
3886
3887 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3888 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3889 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3890
297a8f1d
CY
38912012-06-20 Chong Yidong <cyd@gnu.org>
3892
3893 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3894
d34c18b1
DR
38952012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3896
3897 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3898 (bug#11201).
3899
32f7f28e
CY
39002012-06-20 Chong Yidong <cyd@gnu.org>
3901
3902 * term.el (term-window-width): Handle the case of a missing right
3903 fringe (Bug#8837).
3904 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3905 (term-mode): Use define-derived-mode. Minor cleanups.
3906 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3907 (term-move-columns, term-insert-char, term-emulate-terminal)
3908 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3909
493c6688
MA
39102012-06-20 Michael Albinus <michael.albinus@gmx.de>
3911
d34c18b1
DR
3912 * net/ange-ftp.el (ange-ftp-get-passwd):
3913 Bind `enable-recursive-minibuffers'.
493c6688
MA
3914 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3915
3f06ecf4
DR
39162012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3917
3918 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3919
68f12411
GM
39202012-06-19 Glenn Morris <rgm@gnu.org>
3921
3922 * progmodes/python.el (python-mode): Derive from prog-mode.
3923
b3820318
KG
39242012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3925
3926 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3927 (edt-user-menu-bar-update-buffers): New functions.
3928 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3929
c6bf3022
CY
39302012-06-19 Chong Yidong <cyd@gnu.org>
3931
3932 * subr.el (with-selected-window): Preserve the selected window's
3933 terminal's top-frame (Bug#4702).
3934
3935 * window.el (save-selected-window): Likewise.
3936
25f09295
SM
39372012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3938
3939 * progmodes/python.el (python-rx-constituents): Move backquote.
3940 (python-skeleton-define, python-define-auxiliary-skeleton):
3941 Use `declare'.
3942
6b11952a
MA
39432012-06-18 Michael Albinus <michael.albinus@gmx.de>
3944
3945 * minibuffer.el (read-file-name-default): Revert the patch from
3946 2012-06-17.
3947
ee4b1330
SM
39482012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3951 (pcase--u1, pcase--q1): Don't use apply-partially.
3952
35647f79
GM
39532012-06-18 Glenn Morris <rgm@gnu.org>
3954
3955 * progmodes/python.el (python-proc, python-buffer)
3956 (python-send-receive, python-send-string): Fix obsolete versions.
3957
24b0cff0
MR
39582012-06-18 Martin Rudalics <rudalics@gmx.at>
3959
3960 * window.el (special-display-p): Completely remove stringp
3961 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3962
29855149
MA
39632012-06-17 Michael Albinus <michael.albinus@gmx.de>
3964
3965 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3966
3967 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3968
3969 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3970 * net/tramp-sh.el (tramp-maybe-open-connection):
3971 Throw if `non-essential' is non-nil.
3972
07463363
MR
39732012-06-17 Martin Rudalics <rudalics@gmx.at>
3974
3975 * window.el (special-display-p): Signal an error if BUFFER-NAME
3976 is not a string (Bug#11713).
3977
48d1354e
PE
39782012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3979
3980 * progmodes/python.el (python-info-beginning-of-backslash):
3981 Rename from python-info-beginning-of-backlash, as a spelling fix.
3982
eb4a8a9a
CY
39832012-06-17 Chong Yidong <cyd@gnu.org>
3984
3985 * term.el (term-emulate-terminal): If term-check-size is called,
3986 move point to the process mark without resetting point (Bug#4635).
3987
ddfbf826 39882012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3989
3990 * international/mule-cmds.el (mule-menu-keymap)
3991 (set-language-environment, set-locale-environment): Doc tweaks.
3992
9b0e3eba
AA
39932012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3994
3995 * cus-face.el (custom-face-attributes): Add wave-style underline
3996 attribute.
3997 * faces.el (set-face-attribute): Update docstring to describe
3998 wave-style underline attribute.
3999
771e3eae
CY
40002012-06-16 Chong Yidong <cyd@gnu.org>
4001
4002 * term/xterm.el (terminal-init-xterm): Discard input before
4003 querying background mode (Bug#10959).
4004
7ae2ea10
SM
40052012-06-16 Stefan Merten <smerten@oekonux.de>
4006
4007 * textmodes/rst.el: Added and corrected some comments.
4008 (rst-re-alist-def): Improve symbol syntax.
4009 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4010 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4011 (rst-official-version, rst-official-cvs-rev): Update version
4012 information.
7ae2ea10 4013
b6974efa
JB
40142012-06-15 Juanma Barranquero <lekktu@gmail.com>
4015
4016 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4017 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4018
8826d473
GM
40192012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4020
4021 * progmodes/python.el: New python.el merge.
4022 (python-guess-indent): Obsolete var.
4023 (python-indent-guess-indent-offset): New defcustom.
4024 (python-indent): Obsolete var.
4025 (python-indent-offset): New defcustom.
4026 (python-python-command, python-jython-command): Delete var.
4027 (python-shell-interpreter): New defcustom.
4028 (python-pdbtrack-do-tracking-p): Delete var.
4029 (python-pdbtrack-activate): New defcustom.
4030 (python-use-skeletons): Obsolete var.
4031 (python-skeleton-autoinsert): New defcustom.
4032 (inferior-python-filter-regexp, python-continuation-offset)
4033 (python-honour-comment-indentation, python-indent-string-contents)
4034 (python-jython-packages, python-mode-hook)
4035 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4036 (python-shell-prompt-alist)
4037 (python-source-modes): Delete defcustoms.
4038 (python-check-buffer-name, python-eldoc-setup-code)
4039 (python-eldoc-string-code, python-ffap-setup-code)
4040 (python-ffap-string-code, python-fill-comment-function)
4041 (python-fill-decorator-function, python-fill-paren-function)
4042 (python-fill-string-function, python-imenu-include-defun-type)
4043 (python-imenu-make-tree, python-imenu-subtree-root-label)
4044 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4045 (python-shell-compilation-regexp-alist)
4046 (python-shell-completion-module-string-code)
4047 (python-shell-completion-pdb-string-code)
4048 (python-shell-completion-setup-code)
4049 (python-shell-completion-string-code)
4050 (python-shell-enable-font-lock, python-shell-exec-path)
4051 (python-shell-extra-pythonpaths)
4052 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4053 (python-shell-process-environment)
4054 (python-shell-prompt-block-regexp)
4055 (python-shell-prompt-output-regexp)
4056 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4057 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4058 (python-shell-virtualenv-path): New defcustoms.
4059 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4060 (inferior-python-mode-syntax-table, python--prompt-regexp)
4061 (python-buffer, python-command python-python-command)
4062 (python-default-template, python-imports, python-indent-index)
4063 (python-indent-list, python-indent-list-length)
4064 (python-mode-running, python-pdbtrack-is-tracking-p)
4065 (python-preoutput-continuation, python-preoutput-leftover)
4066 (python-preoutput-result, python-preoutput-skip-next-prompt)
4067 (python-prev-dir/file, python-recursing)
4068 (python-saved-check-command, python-version-checked)
4069 (python-which-func-length-limit)
4070 (view-return-to-alist): Delete vars.
4071 (python-check-custom-command, python-dotty-syntax-table)
4072 (python-imenu-index-alist, python-indent-current-level)
4073 (python-indent-dedenters, python-indent-levels)
4074 (python-nav-beginning-of-defun-regexp)
4075 (python-nav-list-defun-positions-cache)
4076 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4077 (python-shell-internal-buffer)
4078 (python-skeleton-available): New vars.
4079 (def-python-skeleton): Delete macro.
4080 (python-skeleton-define): New macro.
4081 (python-define-auxiliary-skeleton, python-rx): New macros.
4082 (python-insert-class): Delete command.
4083 (python-skeleton-class): New command.
4084 (python-insert-def): Delete command.
4085 (python-skeleton-def): New command.
4086 (python-insert-for): Delete command.
4087 (python-skeleton-for): New command.
4088 (python-insert-if): Delete command.
4089 (python-skeleton-if): New command.
4090 (python-insert-try/except, python-insert-try/finally): Delete commands.
4091 (python-skeleton-try): New command.
4092 (python-insert-while): Delete command.
4093 (python-skeleton-while): New command.
4094 (python-backspace): Delete command.
4095 (python-indent-dedent-line-backspace): New command.
4096 (python-electric-colon): Delete command.
4097 (python-indent-electric-colon): New command.
4098 (python-guess-indent): Delete command.
4099 (python-indent-guess-indent-offset): New command.
4100 (python-shift-left): Delete command.
4101 (python-indent-shift-left): New command.
4102 (python-shift-right): Delete command.
4103 (python-indent-shift-right): New command.
4104 (python-find-function): Delete command.
4105 (python-nav-jump-to-defun): New command.
4106 (python-next-statement): Delete command.
4107 (python-nav-forward-sentence): New command.
4108 (python-previous-statement): Delete command.
4109 (python-nav-backward-sentence): New command.
4110 (python-fill-paragraph): Delete command.
4111 (python-fill-paragraph-function): New command.
4112 (python-send-buffer): Delete command.
4113 (python-shell-send-buffer): New command.
4114 (python-send-defun): Delete command.
4115 (python-shell-send-defun): New command.
4116 (python-send-region, python-send-region-and-go): Delete commands.
4117 (python-shell-send-region)
4118 (python-shell-switch-to-shell): New commands.
4119 (python-send-string): Delete command.
4120 (python-shell-send-string): New command.
4121 (python-switch-to-python): Delete command.
4122 (python-shell-switch-to-shell): New command.
4123 (python-describe-symbol): Delete command.
4124 (python-eldoc-at-point): New command.
4125 (python--set-prompt-regexp, python-args-to-list)
4126 (python-after-info-look, python-check-version)
4127 (python-check-comint-prompt, python-find-imports)
4128 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4129 (python-unload-function, python-expand-template)
4130 (python-maybe-jython, python-preoutput-filter)
4131 (python-pdbtrack-get-source-buffer)
4132 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4133 (python-pdbtrack-toggle-stack-tracking)
4134 (python-pdbtrack-track-stack-file, python-initial-text)
4135 (python-first-word, python-comment-line-p, python-send-command)
4136 (python-setup-brm, python-sentinel, python-set-proc)
4137 (python-skip-out, python-input-filter, python-outdent-p)
4138 (python-outline-level, python-backslash-continuation-line-p)
4139 (python-end-of-block, python-end-of-statement, python-mark-block)
4140 (python-beginning-of-block, python-beginning-of-statement)
4141 (python-blank-line-p, python-beginning-of-string)
4142 (python-open-block-statement-p): Delete functions.
4143 (python-indent-line, python-indent-line-1): Delete functions.
4144 (python-indent-line): New function.
4145 (python-indentation-levels): Delete function.
4146 (python-indent-calculate-levels): New function.
4147 (python-proc): Delete function.
4148 (python-shell-get-process): New function.
4149 (python-send-receive): Delete function.
4150 (python-shell-send-string-no-output): New function.
4151 (python-module-path): Delete function.
4152 (python-ffap-module-path): New function.
4153 (python-completion-at-point)
4154 (python-symbol-completions): Delete functions.
4155 (python-completion-complete-at-point): New function.
4156 (python-load-file): Delete function.
4157 (python-shell-send-file): New function.
4158 (python-calculate-indentation): Delete function.
4159 (python-indent-calculate-indentation): New function.
4160 (python-skip-comments/blanks): Delete function.
4161 (python-util-forward-comment): New function.
4162 (python-continuation-line-p): Delete function.
4163 (python-info-continuation-line-p): New function.
4164 (python-which-func, python-current-defun): Delete function.
4165 (python-info-current-defun): New function.
4166 (python-beginning-of-defun): Delete function.
4167 (python-nav-beginning-of-defun): New function.
4168 (python-close-block-statement-p)
4169 (python-block-end-p): Delete function.
4170 (python-info-closing-block): New function.
4171 (python-comint-output-filter-function)
4172 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4173 (python-fill-comment, python-fill-decorator, python-fill-paren)
4174 (python-fill-string, python-imenu-make-element-tree)
4175 (python-imenu-make-tree, python-imenu-tree-assoc)
4176 (python-indent-context, python-indent-dedent-line)
4177 (python-indent-line-function)
4178 (python-indent-post-self-insert-function)
4179 (python-indent-toggle-levels)
4180 (python-info-assignment-continuation-line-p)
4181 (python-info-beginning-of-backlash)
4182 (python-info-block-continuation-line-p)
4183 (python-info-closing-block-message)
4184 (python-info-line-ends-backslash-p)
4185 (python-info-looking-at-beginning-of-defun)
4186 (python-info-ppss-context, python-info-ppss-context-type)
4187 (python-nav-list-defun-positions, python-nav-read-defun)
4188 (python-nav-sentence-end, python-nav-sentence-start)
4189 (python-pdbtrack-comint-output-filter-function)
4190 (python-pdbtrack-set-tracked-buffer)
4191 (python-shell-calculate-exec-path)
4192 (python-shell-calculate-process-environment)
4193 (python-shell-completion--do-completion-at-point)
4194 (python-shell-completion--get-completions)
4195 (python-shell-completion-complete-at-point)
4196 (python-shell-completion-complete-or-indent)
4197 (python-shell-get-or-create-process)
4198 (python-shell-get-process-name)
4199 (python-shell-internal-get-or-create-process)
4200 (python-shell-internal-get-process-name)
4201 (python-shell-internal-send-string, python-shell-make-comint)
4202 (python-shell-parse-command, python-shell-send-setup-code)
4203 (python-skeleton-add-menu-items)
4204 (python-util-clone-local-variables, python-util-position)
4205 (run-python-internal, python-indentation-levels)
4206 (python-nav-beginning-of-defun)
4207 (python-completion-complete-at-point): New functions.
4208 (run-python): Change arguments. New API requirements.
4209
4302f5ba
SM
42102012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4211
f38ea36d
SM
4212 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4213 (bug#11649).
4214
4215 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4216 (macroexp--expand-all): Use it.
4217
4302f5ba
SM
4218 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4219 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4220 Use `cl-function' instead.
4221
33377562
JB
42222012-06-14 Juanma Barranquero <lekktu@gmail.com>
4223
4224 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4225 Suggested by Stefan Monnier while discussing bug#11657.
4226
54c5ba1a
SS
42272012-06-14 Sam Steingold <sds@gnu.org>
4228
4229 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4230
f9f1b1fe
AS
42312012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4232
4233 * play/doctor.el (doctor-doc): Remove parameter and use
4234 doctor-sent instead of sent.
4235 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4236
a81068ba
SM
42372012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4238
5a315f9c
SM
4239 * files.el: Require cl-lib.
4240 (file-name-non-special): Replace case -> cl-case.
4241
4242 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4243
a81068ba
SM
4244 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4245 mapping from #' to function*.
4246
8cca9703
CY
42472012-06-13 Chong Yidong <cyd@gnu.org>
4248
4249 * mouse.el (mouse-drag-track): Do not set the mark if the user
4250 releases the mouse without selecting anything (Bug#11588).
4251
a12ac9d7
SM
42522012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4253
ccf1dc18
SM
4254 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4255 as well (bug#11646).
4256
ef62b23d
SM
4257 * loadup.el: Count byte-code functions as well.
4258
c4c8444a
SM
4259 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4260 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4261
a12ac9d7
SM
4262 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4263 (bug#11649). Add cl-defun and cl-defmacro.
4264
87e6e64f
DA
42652012-06-13 Drew Adams <drew.adams@oracle.com>
4266
4267 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4268 Fix last change.
4269
682cefaf
MA
42702012-06-13 Michael Albinus <michael.albinus@gmx.de>
4271
4272 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4273 Otherwise, it blocks in batch mode.
4274
773e1f08
JB
42752012-06-13 Juanma Barranquero <lekktu@gmail.com>
4276
4277 * help-mode.el (bookmark-make-record-default): Declare.
4278
60057926
CY
42792012-06-13 Chong Yidong <cyd@gnu.org>
4280
4281 * emacs-lisp/package.el (list-packages): Compute a list of
4282 packages that are newly-available since the last list-packages
4283 invocation.
4284 (package-menu--new-package-list): New var.
4285 (package-menu--generate, package-menu--print-info)
4286 (package-menu--status-predicate, package-menu-mark-install):
4287 Handle new status label "new".
4288
ad4d226c
SM
42892012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4292 conversion to backquotes.
4293
f1a4e679
CY
42942012-06-12 Chong Yidong <cyd@gnu.org>
4295
4296 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4297 Rename from gud-inhibit-global-bindings.
4298
4299 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4300
4301 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4302 hook from nxml-glyph-set-hook.
4303
4304 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4305 declaration.
4306
4307 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4308
4309 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4310 Convert to defcustom.
4311
0c9e42b5
DA
43122012-06-12 Drew Adams <drew.adams@oracle.com>
4313
4314 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4315 New functions.
4316 (help-mode): Use them.
4317
09e06855
GM
43182012-06-11 Glenn Morris <rgm@gnu.org>
4319
4320 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4321 Use preprocessor face for directives.
4322 (fortran-directive-re): Doc fix.
4323
71adb94b
SM
43242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4325
2eb87922
SM
4326 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4327 conversion to backquotes (bug#11652).
4328
71adb94b
SM
4329 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4330 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4331 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4332 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4333 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4334 (cl-ninth, cl-tenth): Mark them as inlinable.
4335 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4336 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4337 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4338 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4339 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4340 (cl-list*, cl-adjoin): Don't put an autoload manually.
4341 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4342 (cl--compiler-macro-list*): Add autoload cookie.
4343 (cl--compiler-macro-cXXr): New function.
2eb87922 4344
71adb94b
SM
4345 * help-fns.el (help-fns--compiler-macro): New function extracted from
4346 describe-function-1; follow aliases and use `compiler-macro' property.
4347 (describe-function-1): Use it.
4348
a6674402
CY
43492012-06-11 Chong Yidong <cyd@gnu.org>
4350
4351 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4352 is uninstalled, if imagemagick is installed.
4353
bb3faf5b
SM
43542012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/cl-lib.el: Use lexical-binding.
4357 (cl-map-extents, cl-maclisp-member): Remove.
4358 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4359 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4360 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4361 * emacs-lisp/cl-extra.el: Use lexical-binding.
4362 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4363 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4364 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4365 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4366 * emacs-lisp/cl-seq.el: Use lexical-binding.
4367 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4368 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4369 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4370 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4371 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4372 CL's internals.
4373
2fe4b125
MA
43742012-06-11 Michael Albinus <michael.albinus@gmx.de>
4375
4376 Sync with Tramp 2.2.6-pre.
4377
4378 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4379 `print-length' and `print-level' to nil, in order to avoid
4380 truncation. Reported by Christopher Schmidt
4381 <christopher@ristopher.com>.
4382
4383 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4384
4385 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4386 New defmacro.
4387 (tramp-compat-copy-directory): Add optional argument
4388 COPY-CONTENTS. It is not handled yet.
4389
4390 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4391 (tramp-ftp-file-name-p): Simplify.
4392
4393 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4394 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4395 connection vector.
4396
4397 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4398 (tramp-methods): Do not use `tramp-password-end-of-line'.
4399 (tramp-completion-function-alist-putty): Handle UNIX case.
4400 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4401 (tramp-do-file-attributes-with-stat)
4402 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4403 gid as real numbers. They could run out of integer range on cygwin.
4404 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4405 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4406 (tramp-open-connection-setup-interactive-shell):
4407 Use `tramp-cleanup'. Move check for busyboxes ...
4408 (tramp-find-shell): ... here. Simplify implementation.
4409 Set "remote-shell" property also for alternative shells.
4410 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4411 If failing, a regular file would be written otherwise.
4412 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4413 (tramp-find-inline-encoding): Cache the coding commands in the
4414 process cache. Apply test command on the remote side, if defined.
4415 (tramp-find-inline-compress): Cache the compress commands in the
4416 process cache.
4417 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4418 when requested. Handle hops.
4419 (tramp-current-connection): New defvar.
87e6e64f
DA
4420 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4421 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4422 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4423 (tramp-get-inline-compress, tramp-get-inline-coding):
4424 Read connection properties from the process cache.
2fe4b125
MA
4425
4426 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4427 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4428 New defconsts.
2fe4b125
MA
4429 (tramp-smb-prompt): Extend for powershell prompt.
4430 (tramp-smb-file-name-handler-alist): Add handlers for
4431 `process-file', `shell-command' and `start-file-process'.
4432 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4433 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4434 (tramp-smb-file-name-p): Simplify.
4435 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4436 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4437 (tramp-smb-shell-quote-argument): New defuns.
4438 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4439 Implement using "tar". By this, time-stamps are preserved.
4440 (tramp-smb-handle-copy-file): Handle also the case of directories.
4441 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4442 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4443 Use `tramp-get-connection-buffer').
2fe4b125
MA
4444 (tramp-smb-handle-rename-file): Use "rename", when source and
4445 target are on the same share.
87e6e64f
DA
4446 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4447 Use `tramp-smb-server-version'.
2fe4b125
MA
4448 (tramp-smb-wait-for-output): Remove prompt.
4449
4450 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4451 (tramp-methods, tramp-rsh-end-of-line):
4452 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4453 (tramp-save-ad-hoc-proxies): New defcustom.
4454 (tramp-completion-function-alist): Adapt docstring.
4455 (tramp-default-password-end-of-line): Remove defcustom.
4456 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4457 (tramp-user-regexp, tramp-file-name-regexp-unified)
4458 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4459 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4460 (tramp-remote-file-name-spec-regexp): New defconst.
4461 (tramp-file-name-structure): Extend structure for hops.
4462 (tramp-get-method-parameter): Move up.
4463 (tramp-file-name-p, tramp-dissect-file-name)
4464 (with-parsed-tramp-file-name): Handle hops.
4465 (tramp-file-name-hop): New defun.
4466 (tramp-make-tramp-file-name): New optional arg HOP.
4467 (tramp-message-show-progress-reporter-message): New defvar.
4468 (tramp-with-progress-reporter): Use it. We cannot use
4469 `tramp-message-show-message' here, because this suppresses also
4470 error buffers.
4471 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4472 `tramp-message-show-message' is nil.
4473 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4474 (tramp-cleanup): New defun.
4475 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4476 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4477 an error unchanged.
4478 (tramp-completion-handle-file-name-all-completions): Handle hops.
4479 Fix an error when called from ido.
4480 (tramp-completion-dissect-file-name): Use better local variable
4481 name. Add hop to the vector.
4482 (tramp-handle-insert-file-contents): Use progress-reporter for the
4483 whole scenario.
4484 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4485 to `t'.
4486 (tramp-check-for-regexp): Simplify search.
4487 (tramp-enter-password): Remove it. Move implementation ...
4488 (tramp-action-password): ... here.
4489 (tramp-mode-string-to-int, tramp-local-host-p)
4490 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4491 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4492 Set tramp-autoload cookie.
2fe4b125
MA
4493
4494 * net/trampver.el: Update release number.
4495
44962012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4497 Michael Albinus <michael.albinus@gmx.de>
4498
4499 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4500 (tramp-parse-group, tramp-parse-file)
4501 (tramp-parse-shostkeys-sknownhosts): New defuns.
4502 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4503 (tramp-parse-shosts-group, tramp-parse-sconfig)
4504 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4505 (tramp-parse-sknownhosts, tramp-parse-hosts)
4506 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4507 Use them.
4508 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4509 (tramp-parse-putty-group): Don't narrow.
4510 (tramp-parse-putty): Make a loop.
4511 (tramp-file-name-handler): Catch the `suppress' signal.
4512
72834e10
CY
45132012-06-11 Chong Yidong <cyd@gnu.org>
4514
4515 * image.el (imagemagick-register-types): Put the ImageMagick entry
4516 at the end of image-type-file-name-regexps.
4517
a4712e11
JB
45182012-06-11 Johan Bockgård <bojohan@gnu.org>
4519
4520 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4521 (pcase, pcase-let*, pcase-dolist): Use them.
4522
82ad98e3
SM
45232012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4524
4525 * emacs-lisp/pcase.el (pcase--let*): New function.
4526 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4527 (pcase--expand): Use macroexp-let².
4528
f80efb86
SM
45292012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4532 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4533 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4534 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4535 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4536 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4537
31ca4639 45382012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4539
31ca4639
CY
4540 * mail/rmail.el (rmail-yank-current-message): Leave point at
4541 correct position. (Bug#11660)
94f0aa34 4542
31ca4639 45432012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4544
31ca4639 4545 * allout-widgets.el: Fix code header.
9e1b8ec4 4546
31ca4639 45472012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4548
f80efb86
SM
4549 * cus-edit.el (customize-changed-options-previous-release):
4550 Bump to 24.1.
31ca4639 4551
642b6d30
AS
45522012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4553
4554 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4555
4f5d2ba1
CY
45562012-06-09 Chong Yidong <cyd@gnu.org>
4557
4558 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4559
e75852fd
MR
45602012-06-09 Martin Rudalics <rudalics@gmx.at>
4561
4562 * window.el (special-display-popup-frame): Don't use
4563 window--display-buffer (Bug#11651).
4564
1e48e282
EZ
45652012-06-09 Eli Zaretskii <eliz@gnu.org>
4566
8a26b487
EZ
4567 Fix parallel builds: make sure loaddefs.el is not being written
4568 while Lisp files are compiled.
4569 (compile): Don't depend on 'mh-autoloads'.
4570 (compile-CMD, compile-SH): Depend on 'autoloads'.
4571 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4572
1e48e282
EZ
4573 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4574
6175e34b
CY
45752012-06-09 Chong Yidong <cyd@gnu.org>
4576
4577 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4578 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4579 Doc fixes (Bug#11225).
4580
d9857e53
SM
45812012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4582
4583 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4584 a function if there's a clear indication that it has a compiler-macro.
4585 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4586 (macro-declarations-alist): Add arglist to declaration functions.
4587 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4588 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4589 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4590 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4591 Also add autoload to find the compiler macro.
4592 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4593 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4594 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4595 (cl--compiler-macro-get): New functions, replacing calls to
4596 cl-define-compiler-macro.
4597 (cl-typep) [compiler-macro]: Use macroexp-let².
4598
f81298f8 45992012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4600
4601 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4602 string properly, fixes Bug#11473.
4603
4b56d0fe
CY
46042012-06-08 Chong Yidong <cyd@gnu.org>
4605
4606 * faces.el (set-face-attribute): Doc fix.
4607 (modify-face): Don't use :bold and :italic.
4608 (error, warning, success): Tweak definitions.
4609
4610 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4611 (custom-modified, custom-set, custom-changed, custom-themed)
4612 (custom-saved, custom-button, custom-button-mouse)
4613 (custom-button-pressed, custom-state, custom-comment-tag)
4614 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4615 (custom-group-subtitle): Use new-style face specs.
4616 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4617 (custom-set-face, custom-changed-face, custom-saved-face)
4618 (custom-button-face, custom-button-pressed-face)
4619 (custom-documentation-face, custom-state-face)
4620 (custom-comment-face, custom-comment-tag-face)
4621 (custom-variable-tag-face, custom-variable-button-face)
4622 (custom-face-tag-face, custom-group-tag-face-1)
4623 (custom-group-tag-face): Remove obsolete face alias.
4624
4625 * epa.el (epa-validity-high, epa-validity-medium)
4626 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4627 (epa-field-name, epa-field-body):
4628 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4629 (font-lock-keyword-face, font-lock-builtin-face)
4630 (font-lock-function-name-face, font-lock-variable-name-face)
4631 (font-lock-type-face, font-lock-constant-face):
4632 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4633 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4634 * speedbar.el (speedbar-button-face, speedbar-file-face)
4635 (speedbar-directory-face, speedbar-tag-face)
4636 (speedbar-selected-face, speedbar-highlight-face)
4637 (speedbar-separator-face):
4638 * whitespace.el (whitespace-newline, whitespace-space)
4639 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4640 (whitespace-line, whitespace-space-before-tab)
4641 (whitespace-space-after-tab, whitespace-indentation)
4642 (whitespace-empty):
4643 * emulation/cua-base.el (cua-global-mark):
4644 * eshell/em-prompt.el (eshell-prompt):
4645 * net/newst-plainview.el (newsticker-new-item-face)
4646 (newsticker-old-item-face, newsticker-immortal-item-face)
4647 (newsticker-obsolete-item-face, newsticker-date-face)
4648 (newsticker-statistics-face, newsticker-default-face):
4649 * net/newst-reader.el (newsticker-feed-face)
4650 (newsticker-extra-face, newsticker-enclosure-face):
4651 * net/newst-treeview.el (newsticker-treeview-face)
4652 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4653 (newsticker-treeview-immortal-face)
4654 (newsticker-treeview-obsolete-face)
4655 (newsticker-treeview-selection-face):
4656 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4657 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4658 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4659 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4660 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4661 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4662 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4663 (mpuz-text):
4664 * progmodes/vera-mode.el (vera-font-lock-number)
4665 (vera-font-lock-function, vera-font-lock-interface):
4666 * textmodes/table.el (table-cell): Use new-style face specs, and
4667 don't use the old :bold and :italic attributes.
4668
4669 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4670 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4671 (ebrowse-member-class, ebrowse-progress): Likewise.
4672 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4673 (ebrowse-file-name-face, ebrowse-default-face)
4674 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4675 (ebrowse-progress-face): Remove obsolete faces.
4676
4677 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4678 Inherit from error and warning faces respectively.
4679
4680 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4681 Likewise.
f80efb86
SM
4682 (flyspell-incorrect-face, flyspell-duplicate-face):
4683 Remove obsolete aliases.
4b56d0fe 4684
03310646
MA
46852012-06-08 Michael Albinus <michael.albinus@gmx.de>
4686
4687 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4688 Avoid infloop.
4689
513749ee
SM
46902012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * startup.el (argv, argi): Make lexically scoped.
4693 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4694 * emacs-lisp/cl-macs.el: Use lexical-binding.
4695 Rename cl-bind-* to cl--bind-*.
4696 * files.el: Don't require `cl' since it doesn't use it.
4697 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4698
595ef4ad
JB
46992012-06-08 Juanma Barranquero <lekktu@gmail.com>
4700
4701 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4702 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4703 instead of calling external sort utility.
4704 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4705
e9f66fcb
EZ
47062012-06-08 Eli Zaretskii <eliz@gnu.org>
4707
4708 * descr-text.el (describe-char): Mention how to insert the
4709 character, if the current input method doesn't support it.
4710 See the discussion in this thread for the details:
4711 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4712
3d10db47
SS
47132012-06-08 Sam Steingold <sds@gnu.org>
4714
4715 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4716 XF86Back to previous-buffer.
4717 (minibuffer-local-map): Bind them to next-history-element and
4718 previous-history-element respectively.
4719 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4720 help-go-back respectively.
4721 * info.el (Info-mode-map): Bind them to Info-history-forward and
4722 Info-history-back respectively.
4723 These are the keys next to Up on the ThinkPad keyboard.
4724
de7e2b36
SM
47252012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4728 * emacs-lisp/cl-macs.el: Provide itself.
4729 (cl--labels-convert-cache): New var.
4730 (cl--labels-convert): New function.
4731 (cl-flet, cl-labels): New implementation with new semantics, relying on
4732 lexical-binding.
4733 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4734 (cl-closure-vars, cl--function-convert-cache)
4735 (cl--function-convert): Move from cl-macs.el.
4736 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4737 rename by removing the "cl-" prefix.
4738 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4739
6fa6c4ae
SM
47402012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4743 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4744 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4745 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4746 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4747 (cl-hash-table-count): Add old compatibility aliases.
4748
4749 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4750 Use macroexpand-all-environment instead.
4751 (cl--old-macroexpand): New var.
4752 (cl--sm-macroexpand): New function.
4753 (cl-symbol-macrolet): Use it during macro expansion.
4754 (cl--function-convert-cache): New var.
4755 (cl--function-convert): New function, extracted from
4756 cl-macroexpand-all.
4757 (cl-lexical-let): Use it.
4758
4759 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4760 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4761 (cl-member): Remove old alias.
4762
4763 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4764 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4765 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4766 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4767 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4768 (cl-macroexpand-cmacs): Remove var.
4769 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4770 Use macroexpand-all instead.
4771
4dd1c416
SM
47722012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4775 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4776 (macroexp-copyable-p): New functions and macros.
4777 * emacs-lisp/edebug.el (edebug-unwrap):
4778 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4779 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4780 (pcase--let*): Remove.
4781 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4782 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4783 macroexp-const-p instead.
4784 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4785
4786 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4787 instead of "cl-" for internal definitions. Use macroexp-const-p.
4788 (cl-old-bc-file-form): Remove var.
4789 (cl-const-exprs-p): Remove fun.
4790 (cl-labels, cl-macrolet): Use backquote.
4791 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4792 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4793 (cl-define-setf-expander): Rename from cl-define-setf-method.
4794 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4795
4796 * international/mule-cmds.el: Don't require CL.
4797 (view-hello-file): Don't use `letf'.
4798
ed8bd4d7
SM
47992012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4800
7287f2f3
SM
4801 * tmm.el (tmm-prompt): Use string-prefix-p.
4802 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4803 (tmm-add-prompt): Use minibuffer-completion-help.
4804 (tmm-delete-map): Remove.
4805
ed8bd4d7
SM
4806 * subr.el (kbd): Make it its own function.
4807
7b4cdbf4
SM
48082012-06-07 Stefan Merten <smerten@oekonux.de>
4809
4810 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4811 Silence compiler warnings. Fix versions.
ed8bd4d7 4812 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4813 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4814 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4815 (rst-package-emacs-version-alist): Correct Emacs version to
4816 represent major merge with upstream.
ed8bd4d7 4817 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4818
2b48d721
GM
48192012-06-06 Glenn Morris <rgm@gnu.org>
4820
4821 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4822 Only print environment variables if set.
4823
fa779ab0
SM
48242012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4825
4826 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4827 (macroexp--cons): Rename from maybe-cons.
4828 (macroexp--accumulate): Rename from macroexp-accumulate.
4829 (macroexp--all-forms): Rename from macroexpand-all-forms.
4830 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4831 (macroexp--expand-all): Rename from macroexpand-all-1.
4832
628299e0
SS
48332012-06-06 Sam Steingold <sds@gnu.org>
4834
4835 * calendar/calendar.el (calendar-in-read-only-buffer):
4836 Call `special-mode' to enable the standard read-only keybindings.
4837
b7bb5838
SM
48382012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4841 with "loading" messages (bug#11635).
4842
dfb308ba
MA
48432012-06-06 Michael Albinus <michael.albinus@gmx.de>
4844
4845 * files.el (enable-remote-dir-locals): New option.
4846 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4847
0372ee92
MA
4848 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4849 Ensure, that the temp directory is local.
4850
4851 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4852 `temporary-file-directory'.
4853
eed0bb91
MA
4854 * progmodes/python.el (python-send-region): Ensure, that the
4855 temporary file is created also in the remote case.
4856
7a58f64d
GM
48572012-06-06 Glenn Morris <rgm@gnu.org>
4858
f7dd4e98
GM
4859 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4860 (vc-rcs-update-changelog): Use it.
4861
090bd7cb 4862 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4863
7a58f64d
GM
4864 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4865 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4866 (vc-sccs-diff): Replace use of the external vcdiff script.
4867
daed4003
GM
48682012-06-05 Glenn Morris <rgm@gnu.org>
4869
4870 * ledit.el: Move to obsolete/.
4871
48c455c7
SS
48722012-06-05 Sam Steingold <sds@gnu.org>
4873
ed9265fc 4874 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4875 patch (Bug#11140).
4876
57a7d507
SM
48772012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4878
090bd7cb 4879 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4880
53aacf21
SM
4881 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4882 compiler-macro expansion.
4883
57a7d507
SM
4884 Add native compiler-macro support.
4885 * emacs-lisp/macroexp.el (macroexpand-all-1):
4886 Support compiler-macros directly. Properly follow aliases and apply
4887 the compiler macros more thoroughly.
4888 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4889 macroexpand now properly follows aliases.
4890 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4891 (cl-compiler-macroexpand): Use new prop.
4892 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4893
4894 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4895
51a5f9d8
MR
48962012-06-05 Martin Rudalics <rudalics@gmx.at>
4897
4898 * window.el (get-lru-window, get-mru-window, get-largest-window):
4899 New argument NOT-SELECTED to avoid picking the selected window.
4900 (window--display-buffer-1, window--display-buffer-2): Replace by
4901 new function window--display-buffer
4902 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4903 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4904 Use window--display-buffer.
51a5f9d8
MR
4905 (display-buffer-use-some-window): Remove temporary dedication
4906 hack by calling get-lru-window and get-largest-window with
4907 NOT-SELECTED argument non-nil. Call window--display-buffer.
4908
08f9f738
GM
49092012-06-05 Glenn Morris <rgm@gnu.org>
4910
4911 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4912 Replace external vcdiff script.
4913
e364a2b7
SM
49142012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4917
041df390
CY
49182012-06-04 Chong Yidong <cyd@gnu.org>
4919
e364a2b7
SM
4920 * image.el (imagemagick-types-inhibit): Revert last change.
4921 Add INFO and M.
47b36b94 4922 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4923
7c1898a7
SM
49242012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * emacs-lisp/cl-lib.el: Rename from cl.el.
4927 * emacs-lisp/cl.el: New compatibility file.
4928 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4929 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4930 to obey the "cl-" prefix.
4931 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4932
0c3461de
GM
49332012-06-03 Glenn Morris <rgm@gnu.org>
4934
1e266c88
GM
4935 * emacs-lisp/authors.el (authors-aliases): Addition.
4936
0c3461de
GM
4937 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4938 Fix :version.
4939
d8a52e15
SM
49402012-06-03 Stefan Merten <smerten@oekonux.de>
4941
4942 * textmodes/rst.el: Add comments.
4943 (rst-transition, rst-adornment): New faces.
4944 (rst-adornment-faces-alist): Make default safe to reevaluate.
4945 Fixes
4946 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4947 Improve customization tags.
4948 (rst-define-level-faces): Clarify meaning.
4949
5205d6f6
CY
49502012-06-03 Chong Yidong <cyd@gnu.org>
4951
4952 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4953 (compilation-mode-line-run, compilation-mode-line-exit):
4954 New faces.
5205d6f6
CY
4955 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4956
757ee657
JD
49572012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4958
7c1898a7
SM
4959 * progmodes/which-func.el (which-func-update-ediff-windows):
4960 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4961
5f2c76c6
CY
49622012-06-03 Chong Yidong <cyd@gnu.org>
4963
4964 * bindings.el: Remove explicit help text from format-mode-line.
4965 It is now supplied by mode-line-default-help-echo.
4966 (mode-line-front-space, mode-line-end-spaces)
4967 (mode-line-misc-info): New variables.
4968 (mode-line-modes, mode-line-position): Move the default value to
4969 the variable definition.
4970 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4971 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4972 (mode-line-modified-help-echo): New functions.
4973 (mode-line-mule-info, mode-line-modified): Use them.
4974 (mode-line-eol-desc, propertized-buffer-identification):
4975 Consistency fixes for help text.
cbe46e5f
CY
4976 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4977 set-buffer-file-coding-system (Bug#289).
4978 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4979
f2d6a3df
SM
49802012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * simple.el (execute-extended-command): Set real-this-command
4983 (bug#11506).
4984
37269466
CY
49852012-06-02 Chong Yidong <cyd@gnu.org>
4986
4987 Remove incorrect uses of "modeline" in comments, docstrings, and
4988 function/variable names (Bug#10329).
4989
4990 * cus-edit.el (mode-line):
4991 * dframe.el (dframe-mouse-hscroll):
4992 * emacs-lisp/re-builder.el:
4993 * emacs-lisp/easy-mmode.el (define-minor-mode):
4994 * frame.el (set-frame-name):
4995 * help.el (lookup-minor-mode-from-indicator):
4996 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4997 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4998 (c-toggle-hungry-state):
4999 * progmodes/antlr-mode.el (antlr-language-alist):
5000 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5001 * progmodes/vhdl-mode.el (vhdl-mode):
5002 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5003 * term/ns-win.el (ns-face-at-pos):
5004 * term/sup-mouse.el (sup-mouse-report):
5005 * textmodes/flyspell.el (flyspell-mode-line-string):
5006 * textmodes/ispell.el (ispell-highlight-face):
5007 * textmodes/reftex-global.el:
5008 * vc/vc-arch.el (vc-arch-mode-line-string):
5009 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5010 * vc/vc-git.el (vc-git-mode-line-string):
5011 * vc/vc-hooks.el (vc-display-status)
5012 (vc-default-mode-line-string):
5013 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5014
5015 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5016
5017 * dired.el (dired-sort-set-mode-line): Rename from
5018 dired-sort-set-modeline. All callers changed.
5019
5020 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5021 eshell-status-in-modeline.
5022
5023 * foldout.el (foldout-mode-line-string): Rename from
5024 foldout-modeline-string. All callers changed.
5025 (foldout-update-mode-line): Rename from foldout-update-modeline.
5026
5027 * subr.el (redraw-modeline): Make into obsolete alias.
5028
5029 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5030 timeclock-modeline-display. Make old name an alias.
5031 (timeclock-update-mode-line): Likewise. All callers changed.
5032 (timeclock-mode-line-display): No need to check before using
5033 add-hook.
5034 (timeclock-relative, timeclock-day-over-hook)
5035 (timeclock-use-elapsed, timeclock-mode-string)
5036 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5037
5038 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5039 crisp-mode-modeline-string.
5040
5041 * play/solitaire.el (solitaire-build-mode-line): Rename from
5042 solitaire-build-modeline. All callers changed.
5043
5044 * play/zone.el (zone-hiding-mode-line): Rename from
5045 zone-hiding-modeline. All callers changed.
5046 (zone): Remove unusued `modeline-hidden-level' property.
5047
5048 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5049 xscheme-modeline-initialize. All callers changed.
5050
5051 * strokes.el (strokes-lighter): Rename from
5052 strokes-modeline-string.
5053
5054 * textmodes/sgml-mode.el (html-face-tag-alist)
5055 (html-tag-face-alist): Use mode-line face instead of obsolete
5056 alias modeline.
5057
42152ee4
SM
50582012-06-02 Stefan Merten <smerten@oekonux.de>
5059
5060 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5061 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5062
95f520b5
CY
50632012-06-02 Chong Yidong <cyd@gnu.org>
5064
5065 * image.el (imagemagick-enabled-types): Rename from
5066 imagemagick-types-enable. Add many more types.
5067 (imagemagick-types-inhibit): Change default to nil.
5068 (imagemagick-filter-types): Caller changed.
5069
4a5f187a
SM
50702012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5071
03fef3e6
SM
5072 * emacs-lisp/cl-macs.el: Use backquotes.
5073 (cl-transform-function-property): Use eval-and-compile rather than
5074 abusing `require'.
5075 (defstruct): Use declare-function instead of with-no-warnings.
5076
4a5f187a
SM
5077 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5078 (byte-compile-output-docform): Re-add the print-circle bindings.
5079 (byte-compile-fix-header): Use #$ just because it's shorter.
5080 (byte-compile-output-file-form): Remove defun/defmacro.
5081
bd56924f
MR
50822012-06-01 Martin Rudalics <rudalics@gmx.at>
5083
5084 * simple.el (choose-completion): Remove now obsolete binding for
5085 owindow.
5086
046e38ce
MA
50872012-06-01 Michael Albinus <michael.albinus@gmx.de>
5088
5089 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5090 in order to avoid "Stack overflow in regexp matcher".
5091
32d72c2f
GM
50922012-05-31 Glenn Morris <rgm@gnu.org>
5093
5094 * image.el: For clarity, call imagemagick-register-types at
5095 top-level, rather than relying on a custom :initialize.
5096 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5097 (imagemagick-filter-types): New function. (Bug#7406)
5098 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5099 If disabling support, remove elements altogether rather
5100 than using an impossible regexp.
5101 (imagemagick-types-inhibit): Give it the default init function.
5102
dd41169b
SM
51032012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5104
4a5f187a
SM
5105 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5106 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5107
efc00ab1 51082012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5109
5110 * desktop.el (desktop-read): Clear previous and next buffers for
5111 all windows and bury *Messages* buffer (bug#11556).
5112
500fcedc
SM
51132012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 Add `declare' for `defun'. Align `defmacro's with it.
5116 * emacs-lisp/easy-mmode.el (define-minor-mode)
5117 (define-globalized-minor-mode): Don't autoload the var definitions.
5118 * emacs-lisp/byte-run.el: Use lexical-binding.
5119 (defun-declarations-alist, macro-declarations-alist): New vars.
5120 (defmacro, defun): Use them.
5121 (make-obsolete, define-obsolete-function-alias)
5122 (make-obsolete-variable, define-obsolete-variable-alias):
5123 Use `declare'.
5124 (macro-declaration-function): Mark obsolete.
5125 * emacs-lisp/autoload.el: Use lexical-binding.
5126 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5127
6e8a1786
AM
51282012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5129
5130 * textmodes/ispell.el (ispell-with-no-warnings):
5131 Define as a macro.
500fcedc
SM
5132 (ispell-kill-ispell, ispell-change-dictionary):
5133 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5134 `interactive-p'.
5135
61b108cc
SM
51362012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5139 (macro-declaration-function): Move var from C code.
5140 (macro-declaration-function): Define function with defalias.
5141 * emacs-lisp/macroexp.el (macroexpand-all-1):
5142 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5143 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5144 defun/defmacro any more.
5145 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5146 Provide fallback for unknown arglist.
5147 (byte-compile-arglist-warn): Change calling convention.
5148 (byte-compile-output-file-form): Move print-vars binding.
5149 (byte-compile-output-docform): Simplify accordingly.
5150 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5151 (byte-compile-defmacro-declaration): Remove.
5152 (byte-compile-file-form-defmumble): Generalize to defalias.
5153 (byte-compile-output-as-comment): Return byte-positions.
5154 Simplify callers accordingly.
5155 (byte-compile-lambda): Use `assert'.
5156 (byte-compile-defun, byte-compile-defmacro): Remove.
5157 (byte-compile-file-form-defalias):
5158 Use byte-compile-file-form-defmumble.
5159 (byte-compile-defalias-warn): Remove.
5160
6d3f7c2f
SM
51612012-05-29 Stefan Merten <smerten@oekonux.de>
5162
5163 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5164 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5165
5166 (rst-mode-abbrev-table): Merge definition.
5167 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5168 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5169
6dbaa1c7
UJ
51702012-05-29 Ulf Jasper <ulf.jasper@web.de>
5171
5172 * calendar/icalendar.el
5173 (icalendar-export-region): Export UID properly.
5174
d209e2fb 51752012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5176 * calendar/icalendar.el (icalendar-import-format):
5177 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5178 (icalendar-import-format-uid): New.
5179 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5180 Export UID.
5181
6876a58d
SM
51822012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5185 different alternative patterns.
5186 (pcase-codegen): Be more careful to preserve identity.
5187 (pcase--u1): Don't forget to mark vars as used.
5188
5189 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5190 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5191 (byte-compile-from-buffer): ...rather than here.
5192
5193 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5194 functions from byte-compile-function-environment.
5195
46b7967e
TN
51962012-05-29 Troels Nielsen <bn.troels@gmail.com>
5197
5198 * window.el (window-deletable-p): Avoid deleting the root window
5199 of a frame with an active minibuffer.
5200
69d565e2
MR
52012012-05-29 Martin Rudalics <rudalics@gmx.at>
5202
5203 * simple.el (choose-completion): Use quit-window (Bug#11567).
5204
a149fa51
CY
52052012-05-29 Chong Yidong <cyd@gnu.org>
5206
5207 * whitespace.el (whitespace-cleanup): Fix usage of
5208 whitespace-empty-at-bob-regexp (Bug#11492).
5209
2b311310
AH
52102012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5211
5212 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5213 revert (Bug#11488).
5214
b9cb2387
JL
52152012-05-29 Juri Linkov <juri@jurta.org>
5216
5217 * isearch.el (isearch-mode-map): Bind `M-s _' to
5218 `isearch-toggle-symbol'. Bind `M-s c' to
5219 `isearch-toggle-case-fold'.
5220 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5221 (isearch-forward): Add `M-s _' to the docstring.
5222 (isearch-forward-symbol, isearch-toggle-case-fold)
5223 (isearch-symbol-regexp): New functions. (Bug#11381)
5224
d5e61c1c
JL
52252012-05-29 Juri Linkov <juri@jurta.org>
5226
5227 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5228 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5229 a function, call it to get the regexp.
5230 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5231 property `isearch-message-prefix' instead of the string "word ".
5232 (isearch-search-fun-default): For the case of `isearch-word',
5233 return a lambda that calls re-search-forward/re-search-backward
5234 with a regexp returned by `word-search-regexp' or by the function
5235 in `isearch-word'.
5236
8cbd80f7
JL
52372012-05-29 Juri Linkov <juri@jurta.org>
5238
5239 * isearch.el (isearch-search-fun-default): New function.
5240 (isearch-search-fun): Move default part to the new function
5241 `isearch-search-fun-default'.
5242 (isearch-search-fun-function): Set the default value to
5243 `isearch-search-fun-default'. (Bug#11381)
5244
5245 * comint.el (comint-history-isearch-end):
5246 Use `isearch-search-fun-default'.
5247 (comint-history-isearch-search): Use `isearch-search-fun-default'
5248 and remove spacial case for `isearch-word'.
5249 (comint-history-isearch-wrap): Remove spacial case for
5250 `isearch-word'.
5251
5252 * hexl.el (hexl-isearch-search-function):
5253 Use `isearch-search-fun-default'.
5254
5255 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5256 Use `word-search-regexp' for `isearch-word'.
5257
5258 * misearch.el (multi-isearch-search-fun):
5259 Use `isearch-search-fun-default'.
5260
5261 * simple.el (minibuffer-history-isearch-search):
5262 Use `isearch-search-fun-default' and remove spacial case for
5263 `isearch-word'.
5264 (minibuffer-history-isearch-wrap): Remove spacial case for
5265 `isearch-word'.
5266
5267 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5268 Remove spacial case for `isearch-word'.
5269 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5270
85c8c5b6
AM
52712012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5272
5273 Decrease XEmacs incompatibilities.
5274 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5275 Use `string-match'.
5276 (flyspell-delete-region-overlays): Use alternative definition for
5277 XEmacs.
5278 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5279 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5280 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5281 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5282 `define-obsolete-face-alias' under XEmacs, but old method.
5283
5284 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5285 `with-no-warnings' definition or Emacs alias.
5286 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5287 (ispell-word): Do not use `region-p' if XEmacs.
5288
8cab9efc
AM
52892012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5290
5291 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5292 Check for `ispell-dictionary-base-alist' instead of full
5293 `ispell-dictionary-alist'.
5294 (ispell-init-process): Show spellchecker when starting new Ispell
5295 process.
5296
fda91268
RZ
52972012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5300 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5301
694ea8e3
JB
53022012-05-27 Juanma Barranquero <lekktu@gmail.com>
5303
5304 * version.el (motif-version-string, gtk-version-string)
5305 (ns-version-string): Declare.
5306
e4d4f539
JL
53072012-05-27 Juri Linkov <juri@jurta.org>
5308
5309 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5310 after the `eval-defun-1' specialcaseing
5311 like in `edebug-eval-defun' (bug#10181).
5312
5313 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5314 like in `eval-defun-1'.
5315
33017faf 53162012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5317
fda91268
RZ
5318 * mail/sendmail.el (mail-yank-region):
5319 Recognize rmail-yank-current-message in addition to insert-buffer.
5320 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5321 a *mail* buffer created through rmail-start-mail with sendmail as
5322 mail-user-agent.
5323
33017faf
GM
53242012-05-27 Chong Yidong <cyd@gnu.org>
5325
5326 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5327 Default to 256 (Bug#11267).
5328
5329 * help.el (describe-mode): Doc fix.
5330
04188bb9
GM
53312012-05-26 Glenn Morris <rgm@gnu.org>
5332
38264cc9
GM
5333 * w32-fns.el (w32-init-info): Remove.
5334 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5335
eb7afdad
GM
5336 * info.el (info-initialize): For self-contained NS builds, put the
5337 included info/ directory at the front. (Bug#2791)
5338
04188bb9
GM
5339 * paths.el (Info-default-directory-list): Make it a defcustom,
5340 mainly so that we can use custom-initialize-delay.
5341
a179e3f7
SM
53422012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5343
43416392
SM
5344 * subr.el (buffer-has-markers-at): Mark obsolete.
5345
a179e3f7 5346 * subr.el (lambda): Use declare.
43416392 5347
a179e3f7
SM
5348 * emacs-lisp/lisp-mode.el (lambda):
5349 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5350
34a008d9
AH
53512012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5352
5353 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5354
0a3b289f
GM
53552012-05-26 Glenn Morris <rgm@gnu.org>
5356
5357 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5358
758c81e8
GM
53592012-05-25 Glenn Morris <rgm@gnu.org>
5360
f9f334f0
GM
5361 * paths.el: Remove no-byte-compile.
5362 * loadup.el: No need to load paths.el uncompiled.
5363
87eb79c2
GM
5364 * image.el (imagemagick-types-inhibit): Doc fix.
5365
758c81e8
GM
5366 * version.el: Remove no-byte-compile and associated formatting.
5367 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5368 is ancient code from when there was an "inc-vers.el".
5369
e7e85dc0
SM
53702012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * progmodes/gdb-mi.el: Minor style changes.
5373 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5374 Turn into minor modes.
5375 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5376 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5377 (gdb-shell): Remove unneeded let-binding.
5378 (gdb-get-many-fields): Eliminate O(n²) behavior.
5379
f31237a4
EZ
53802012-05-25 Eli Zaretskii <eliz@gnu.org>
5381
5382 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5383 platforms that don't link in fontset.c.
5384
bc1b21bb
JL
53852012-05-25 Juri Linkov <juri@jurta.org>
5386
5387 Use the same diff color scheme as in modern VCSes (bug#10181).
5388
5389 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5390 to avoid confusion with `diff-added' that now uses green colors.
5391 (diff-removed): Use shades of red.
5392 (diff-added): Use shades of green.
5393 (diff-changed): Leave just the yellow color.
5394 (diff-use-changed-face): New variable.
5395 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5396 how to highlight context diff changes.
5397 (diff-refine-change): Use shades of yellow.
5398 (diff-refine-removed): New face that uses shades of red.
5399 (diff-refine-added): New face that uses shades of green.
5400 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5401 `diff-refine-removed' in the call to `smerge-refine-subst'
5402 depending on the value of `diff-use-changed-face'.
5403
5404 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5405 (smerge-other): Use shades of green.
5406 (smerge-base): Use shades of yellow.
5407 (smerge-refined-change): Empty face.
5408 (smerge-refined-removed): New face that uses shades of red.
5409 (smerge-refined-added): New face that uses shades of green.
5410 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5411 args `props-r' and `props-a', and use them. Doc fix.
5412 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5413 on its value use different faces `smerge-refined-change',
5414 `smerge-refined-removed', `smerge-refined-added' in the call to
5415 `smerge-refine-subst'.
5416
5417 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5418 Add face condition `min-colors 88' with shades of red.
5419 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5420 `min-colors 88' with shades of green.
5421 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5422 `min-colors 88' with shades of yellow.
5423
6df9112c
GM
54242012-05-24 Glenn Morris <rgm@gnu.org>
5425
ead5edc0
GM
5426 * paths.el (prune-directory-list, remote-shell-program): Move to...
5427 * files.el (prune-directory-list, remote-shell-program): ...here.
5428 For the latter, delay initialization, prefer ssh, just search PATH.
5429
f18b81e6
GM
5430 * paths.el (term-file-prefix): Move to faces.el (the only user).
5431 * faces.el (term-file-prefix): Move here, make it a defcustom.
5432
ee2f89a6
GM
5433 * paths.el (news-directory, news-path, news-inews-program):
5434 Move to gnus/nnspool.el.
61a583ca 5435
f8815e4c
GM
5436 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5437
c8f3b42c
GM
5438 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5439 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5440 Make the latter a defcustom, with a delayed initialization.
5441
6df9112c
GM
5442 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5443 These were deleted from Gnus itself late 2010.
5444
5dadff36
JB
54452012-05-22 Juanma Barranquero <lekktu@gmail.com>
5446
9e1701c6
JB
5447 * progmodes/which-func.el (which-func-ff-hook):
5448 Check against user-error, not error.
5449
bd7239f5 5450 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5451 cl-specs.el, which no longer exists.
5452
3290526d
GM
54532012-05-22 Glenn Morris <rgm@gnu.org>
5454
5455 * info.el (info-emacs-bug): New command.
5456 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5457 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5458
ff0c3cfb
GM
54592012-05-21 Glenn Morris <rgm@gnu.org>
5460
5461 * makefile.w32-in (update-subdirs-SH):
5462 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5463
5814f126
SM
54642012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5465
a52c0aa0
SM
5466 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5467
5814f126
SM
5468 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5469 Simplify Maven regexp, and make sure the file can't start with a space
5470 (bug#11517).
5471
b847032c
GM
54722012-05-21 Glenn Morris <rgm@gnu.org>
5473
5474 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5475 Scrap superfluous subshells.
5476
3858bfe7
SM
54772012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5480 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5481
d14b0029
JB
54822012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5483
5484 * calc/calc.el (calc-ensure-consistent-units): New variable.
5485
a52c0aa0
SM
5486 * calc/calc-units.el (math-consistent-units-p)
5487 (math-check-unit-consistency): New functions.
5488 (calc-quick-units, calc-convert-units):
5489 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5490 is non-nil.
d14b0029
JB
5491 (calc-extract-units): Fix typo.
5492
60c4db3a
SM
54932012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5494
77f3b62e
SM
5495 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5496
60c4db3a
SM
5497 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5498 (flyspell-default-deplacement-commands): Don't spell check after
5499 repeated window/frame switches (e.g. triggered by mouse-movement).
5500 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5501 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5502 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5503 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5504 Remove unused vars.
5505 (flyspell-get-casechars, flyspell-get-not-casechars):
5506 Simplify; Don't bother removing a ] just to add it back.
5507 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5508
d209e2fb 55092012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5510
5511 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5512 New functions.
bd7239f5 5513 (math-function-table): Add support for more C functions.
b1a10716 5514
3f1b25b5
AM
55152012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5516
090bd7cb
JB
5517 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5518 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5519 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5520
b581bb5c
SM
55212012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5522
5523 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5524 their respective macro declarations.
5525 * skeleton.el (define-skeleton):
5526 * progmodes/compile.el (define-compilation-mode):
5527 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5528 (define-ibuffer-filter):
5529 * emacs-lisp/generic.el (define-generic-mode):
5530 * emacs-lisp/easy-mmode.el (define-minor-mode)
5531 (define-globalized-minor-mode):
5532 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5533 * emacs-lisp/byte-run.el (defsubst):
5534 * custom.el (deftheme): Add doc-string metadata.
5535
70b8ef8f
SM
55362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5539
b1198e17
SM
55402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5541
9abdc45d
SM
5542 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5543
b1198e17
SM
5544 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5545 * emacs-lisp/cl-macs.el: Idem.
5546 * emacs-lisp/cl-specs.el: Remove.
5547
4735906a
SM
55482012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 Minor renaming of internal CL functions and variables.
5551 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5552 (cl--position): Rename from cl-position.
5553 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5554 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5555 (cl--random-state): Rename from *random-state*.
5556
ac348012
SM
55572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5560 parens around the arg list (bug#11499).
5561
a0a79cde
JL
55622012-05-17 Juri Linkov <juri@jurta.org>
5563
5564 * isearch.el (word-search-regexp, word-search-backward)
5565 (word-search-forward, word-search-backward-lax)
5566 (word-search-forward-lax): Move functions from search.c
5567 (bug#10145, bug#11381).
5568
65034a51
AM
55692012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5570
090bd7cb
JB
5571 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5572 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5573 Delay for otherchars as for normal word components.
65034a51 5574
1a72a195
SM
55752012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * minibuffer.el (completion--sifn-requote): Fix last change.
5578 (minibuffer-local-must-match-filename-map):
5579 Move define-obsolete-variable-alias before its var.
5580
fdb058c2
SM
55812012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5582
c41045e6
SM
5583 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5584
036dfb8b
SM
5585 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5586 behavior.
5587 (completion--string-equal-p): New function.
5588 (completion--twq-all): Use it to get better assertion failure data.
5589
2473256d
SM
5590 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5591 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5592 (shell--requote-argument): New functions.
5593 (shell-completion-vars): Use them.
5594 (shell--parse-pcomplete-arguments): Rename from
5595 shell-parse-pcomplete-arguments.
5596 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5597 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5598 Obey comint-file-name-quote-list.
5599
fdb058c2
SM
5600 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5601 (smie-indent-keyword): Use it.
5602
51fa99f1
SM
56032012-05-14 Stefan Merten <smerten@oekonux.de>
5604
5605 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5606
e18afed7 56072012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5608
5609 * net/rlogin.el (rlogin-mode-map): Fix last change.
5610
e18afed7 56112012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5612
5613 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5614 the following \r\n using a single `process-send-string', since the
5615 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5616 with two `process-send-string's (Bug#11444).
8633b1f4 5617
e18afed7 56182012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5619
fdb058c2
SM
5620 * shell.el (shell-parse-pcomplete-arguments):
5621 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5622
2d21d7f6
WJ
56232012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5624
e18afed7 5625 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5626 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5627 (image-transform-width, image-transform-fit-width): New functions.
5628 (image-transform-properties): Use them.
5629 (image-transform-check-size): New function.
5630 (image-toggle-display-image): Use it (for testing).
5631 (image-transform-set-rotation): Reduce angle mod 360.
5632 Delete obsolete comment.
5633
7102e6d0
WJ
56342012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5635
5636 * image-mode.el: Fix scaling (bug#11399).
5637 (image-transform-resize): Doc fix.
5638 (image-transform-properties): Default scale is 1 and height should
5639 be an integer.
5640
06bc5e6e
SM
56412012-05-13 Johan Bockgård <bojohan@gnu.org>
5642
5643 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5644 than hard-coding `car', to fix misbehavior when moving forward.
5645
0ae03b6a
CY
56462012-05-13 Chong Yidong <cyd@gnu.org>
5647
5648 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5649 (tabulated-list-entries, tabulated-list-padding)
5650 (tabulated-list-sort-key): Make permanent-local.
5651
5652 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5653 (electric-buffer-list): Put electric buffer menu
5654 command descriptions in this docstring, instead of the docstring
5655 of electric-buffer-menu-mode. Code cleanups.
5656 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5657 Electric-buffer-menu-mode.
5658 (electric-buffer-update-highlight): Minor code cleanup.
5659
205a7391
MA
56602012-05-13 Michael Albinus <michael.albinus@gmx.de>
5661
5662 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5663 (Bug#11447)
5664
e5bd0a28
SM
56652012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 Move define-obsolete-variable-alias before the var's definition.
5668 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5669 * tooltip.el (tooltip-hook):
5670 * textmodes/reftex-toc.el (reftex-toc-map):
5671 * textmodes/reftex-sel.el (reftex-select-label-map)
5672 (reftex-select-bib-map):
5673 * textmodes/reftex-index.el (reftex-index-map)
5674 (reftex-index-phrases-map):
5675 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5676 * progmodes/meta-mode.el (meta-mode-map):
5677 * novice.el (disabled-command-hook):
5678 * loadhist.el (unload-hook-features-list):
5679 * frame.el (blink-cursor):
5680 * files.el (find-file-not-found-hooks, write-file-hooks)
5681 (write-contents-hooks):
5682 * emulation/tpu-edt.el (GOLD-map):
5683 * emacs-lock.el (emacs-lock-from-exiting):
5684 * emacs-lisp/generic.el (generic-font-lock-defaults):
5685 * emacs-lisp/chart.el (chart-map):
5686 * dos-fns.el (register-name-alist):
5687 * dired-x.el (dired-omit-files-p):
5688 * desktop.el (desktop-enable):
5689 * cus-edit.el (custom-mode-hook):
5690 * buff-menu.el (buffer-menu-mode-hook):
5691 * bookmark.el (bookmark-read-annotation-text-func)
5692 (bookmark-exit-hooks):
5693 * allout.el (allout-mode-deactivate-hook)
5694 (allout-exposure-change-hook, allout-structure-added-hook)
5695 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5696 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5697 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5698 comes before the corresponding variable's definition.
5699
ac59c2f6
CY
57002012-05-12 Chong Yidong <cyd@gnu.org>
5701
5702 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5703 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5704 (Buffer-menu-mode-map): Bind it.
5705 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5706
dee6c9a3
SM
57072012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5708
2171cea5
SM
5709 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5710 (prolog-upper-case-string, prolog-lower-case-string)
5711 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5712 (prolog-use-smie, prolog-smie-grammar): New vars.
5713 (prolog-smie-forward-token, prolog-smie-backward-token)
5714 (prolog-smie-rules): New funs.
5715 (prolog-comment-indent): Remove.
5716 (prolog-mode-variables): Use default comment indentation instead.
5717 Setup SMIE.
5718 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5719 (prolog-mode): Don't call them any more.
5720 (prolog-electric-colon, prolog-electric-dash)
5721 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5722
aa0382bd
SM
5723 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5724
dbacb4bd
SM
5725 * minibuffer.el (completion--twq-all): Again, allow case differences.
5726
13bdd94c
SM
5727 * term.el: Move keymap initialization code to be more idiomatic.
5728 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5729 (term-terminal-menu): Move initialization into declaration.
5730 (term-escape-char): Let the user set it in her .emacs.
5731
ff46c759
SM
5732 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5733 Provide SMIE-based indentation (not enabled by default yet).
5734 (sh-mode-map): Don't bind electric keys.
5735 Use electric-pair-mode instead of skeleton-pair.
5736 (sh-assignment-regexp): Fit within 80 columns.
5737 (sh-indent-supported): Specify actual shell name instead of boolean.
5738 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5739 (sh-maybe-here-document): Use it. Make obsolete.
5740 (sh-electric-here-document-mode) New minor mode.
5741 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5742 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5743 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5744 (sh-smie-rc-grammar, sh-use-smie): New vars.
5745 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5746 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5747 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5748 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5749 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5750 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5751 (sh-set-shell): Use smie-setup if requested.
5752
dee6c9a3
SM
5753 * term.el (term-set-escape-char): Properly set term-escape-char.
5754 See http://stackoverflow.com/questions/10524656.
5755
9f9aa044
CY
57562012-05-10 Chong Yidong <cyd@gnu.org>
5757
5758 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5759 Use url-generic-parse-url, and handle host names and Windows
5760 filenames properly.
5761 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5762 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5763 URL schemes to work on.
5764 (ffap--toggle-read-only): New function.
5765 (ffap-read-only, ffap-read-only-other-window)
5766 (ffap-read-only-other-frame): Use it.
5767 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5768 necessary for ffap-url-unwrap-remote.
5769
836d29b3
DA
57702012-05-10 Dave Abrahams <dave@boostpro.com>
5771
5772 * cus-start.el (create-lockfiles): Add it.
5773
00fd78ed
CY
57742012-05-09 Chong Yidong <cyd@gnu.org>
5775
5776 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5777 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5778
666b903b 57792012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5780
5781 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5782
666b903b 57832012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5784
5785 * ansi-color.el (ansi-color-process-output): Check for validity of
5786 comint-last-output-start before using it. This avoids a bad
5787 interaction with gdb-mi's input/output buffer.
5788
666b903b 57892012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5790
5791 * files.el (dir-locals-read-from-file):
5792 Mention dir-locals in any error message.
5793
666b903b 57942012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5795
5796 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5797 package (Bug#11410).
5798
f677562b
CY
5799 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5800 variables into description.
5801
666b903b 58022012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5803
5804 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5805 shell-delimiter-argument-list (bug#11348).
5806 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5807
b499d8d0
JB
58082012-05-09 Juanma Barranquero <lekktu@gmail.com>
5809
8f6b6da8
JB
5810 * textmodes/rst.el: Silence byte-compiler warnings.
5811 (rst-re-alist, rst-reset-section-caches): Move around.
5812 (rst-re): Use `characterp', not `char-valid-p'.
5813 (font-lock-beg, font-lock-end): Declare.
5814
4824146a
JB
5815 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5816 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5817
b499d8d0
JB
5818 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5819
ad89bb83
GM
58202012-05-08 Glenn Morris <rgm@gnu.org>
5821
5822 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5823
8bba5a75
SM
58242012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5825
49ed9c8e
SM
5826 * vc/log-edit.el: Add GNU coding standards highlighting.
5827 (log-edit-font-lock-gnu-style)
5828 (log-edit-font-lock-gnu-keywords): New vars.
5829 (log-edit-font-lock-keywords): New fun.
5830 (log-edit-mode): Don't fold case in font-lock.
5831 (log-edit-font-lock-keywords): Do not assume case-folding.
5832
07d00b56
SM
5833 * imenu.el: Misc cleanup. Make docstrings out of comments.
5834 Use lexical-binding.
5835 (imenu--index-alist, imenu--last-menubar-index-alist)
5836 (imenu-menubar-modified-tick): Use defvar-local.
5837 (imenu--split-menu): Remove unused var.
5838 (imenu--cleanup-seen): Declare as global.
5839 (imenu--cleanup): Use dolist.
5840
8bba5a75
SM
5841 * subr.el (defvar-local): Add debug spec and doc-string position.
5842
5075bdb5
GM
58432012-05-08 Glenn Morris <rgm@gnu.org>
5844
090bd7cb 5845 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5846 * language/english.el, language/georgian.el, language/greek.el:
5847 * language/japanese.el, language/khmer.el, language/korean.el:
5848 * language/lao.el, language/misc-lang.el, language/romanian.el:
5849 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5850 * language/thai.el, language/utf-8-lang.el:
5851 Remove no-byte-compile setting.
5852
5075bdb5
GM
5853 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5854
06f679a7
AH
58552012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5856
5857 * progmodes/make-mode.el (makefile-browse):
5858 Remove unnecessary interactive. (Bug#11324)
5859
03794570
GM
58602012-05-07 Glenn Morris <rgm@gnu.org>
5861
af8630f4
GM
5862 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5863
03794570
GM
5864 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5865
f0809a9d
SM
58662012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5867
28be5ce7
SM
5868 * loadup.el: Preload newcomment.el.
5869 * newcomment.el: Move autoload-only code to toplevel.
5870
f0809a9d
SM
5871 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5872 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5873 Handle new :right-align column property.
5874 (tabulated-list-print-col): Idem, plus use `display' text-property to
5875 try and preserve alignment for variable pitch fonts.
5876
1241b724
CY
58772012-05-07 Chong Yidong <cyd@gnu.org>
5878
5879 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5880 (tabulated-list-use-header-line): New var.
5881 (tabulated-list-init-header): Use it.
5882 (tabulated-list-print-fake-header): New function.
5883 (tabulated-list-print): Use it.
5884 (tabulated-list-sort-button-map): Add non-header-line commands.
5885 (tabulated-list-init-header): Add column name property to basic
5886 labels as well.
5887 (tabulated-list-col-sort): Handle non-header-line button case.
5888 (tabulated-list--sort-by-column-name): Fix a corner case.
5889
f0809a9d
SM
5890 * buff-menu.el (list-buffers--refresh):
5891 Handle Buffer-menu-use-header-line.
1241b724 5892
e5f9458f
CY
58932012-05-06 Chong Yidong <cyd@gnu.org>
5894
5895 * buff-menu.el: Convert to Tabulated List mode.
5896 (Buffer-menu-buffer+size-width): Make obsolete.
5897 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5898 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5899 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5900 documentation into docstring of buffer-menu.
5901 (Buffer-menu-toggle-files-only): Add an informative message.
5902 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5903 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5904 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5905 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5906 (Buffer-menu-execute, Buffer-menu-select)
5907 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5908 (Buffer-menu-bury): Use Tabulated List machinery.
5909 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5910 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5911 Delete.
e5f9458f
CY
5912 (list-buffers--refresh): New function.
5913 (list-buffers-noselect): Use it.
5914 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5915 (Buffer-menu--pretty-file-name): New helper functions.
5916
5917 * loadup.el: Preload tabulated-list.
5918
5919 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5920 tabulated-list-sort-column.
5921 (tabulated-list-init-header): Add the initial aligning space even
5922 if tabulated-list-padding is zero.
5923
e129292c
CS
59242012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5925
5926 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5927 whose cdr is not a cons cell correctly (bug#11038).
5928
6632d361
CY
59292012-05-06 Chong Yidong <cyd@gnu.org>
5930
e129292c
CS
5931 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5932 Accept additional plist in column descriptors.
6632d361
CY
5933 (tabulated-list-init-header): Obey it.
5934 (tabulated-list-get-entry): New function.
5935 (tabulated-list-put-tag): Use it. Use string-width instead of
5936 length.
5937 (tabulated-list--column-number): New function.
5938 (tabulated-list-print): Use it.
e129292c
CS
5939 (tabulated-list-print-col): New function.
5940 Set `tabulated-list-column-name' property on each column's text.
6632d361 5941 (tabulated-list-print-entry): Use it.
e129292c
CS
5942 (tabulated-list-delete-entry, tabulated-list-set-col):
5943 New functions.
6632d361
CY
5944 (tabulated-list-sort-column): New command (Bug#11337).
5945
3cc99f68
CY
5946 * buff-menu.el (list-buffers): Move C-x C-b binding from
5947 buff-menu.el to bindings.el.
5948
5949 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5950 :advertised-binding feature.
5951
52b61776
TN
59522012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5953
5954 * progmodes/compile.el (compilation-internal-error-properties):
5955 Calculate start position correctly when end-col is set but
5956 end-line is not (Bug#11382).
5957
ebfe2597
WJ
59582012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5959
5960 * man.el (Man-unindent): Use text-property-default-nonsticky to
5961 prevent untabify from inheriting face properties (Bug#11408).
5962
6d3f7c2f
SM
59632012-05-05 Stefan Merten <smerten@oekonux.de>
5964
5965 * textmodes/rst.el: Major merge with upstream development up to
5966 Docutils SVN r7399 / rst.el V1.2.1.
5967
5968 Clarify maintainership and authors.
5969
5970 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5971 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5972 (rst-official-version, rst-official-cvs-rev, rst-version)
5973 (rst-package-emacs-version-alist): New functions and variables
5974 for version information.
5975
5976 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5977 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5978 (rst-mode-syntax-table, rst-mode): New and corrected functions
5979 and variables representing reStructuredText features.
5980
5981 (rst-re): New function for reStructuredText regexes. Use in
5982 many places.
5983
5984 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5985 (rst-mode-map): Rebind keys.
5986
5987 (rst-mode-lazy, rst-font-lock-keywords)
5988 (rst-font-lock-extend-region)
5989 (rst-font-lock-extend-region-internal)
5990 (rst-font-lock-extend-region-extend)
5991 (rst-font-lock-find-unindented-line-limit)
5992 (rst-font-lock-find-unindented-line-match)
5993 (rst-adornment-level, rst-font-lock-adornment-level)
5994 (rst-font-lock-adornment-match)
5995 (rst-font-lock-handle-adornment-pre-match-form)
5996 (rst-font-lock-handle-adornment-matcher): Major revision of
5997 font-locking. Integrate with other code. Use `jit-lock-mode'.
5998
5999 (rst-preferred-adornments, rst-adjust-hook)
6000 (rst-new-adornment-down, rst-preferred-bullets)
6001 (rst-preferred-bullets, rst-indent, rst-indent-width)
6002 (rst-indent-field, rst-indent-literal-normal)
6003 (rst-indent-literal-minimized, rst-indent-comment): Change,
6004 extend and improve customization.
6005
6006 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6007 (rst-normalize-cursor-position, rst-get-decoration)
6008 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6009 (rst-rstrip, rst-toc-insert-find-delete-contents)
6010 (rst-shift-fill-region, rst-compute-bullet-tabs)
6011 (rst-debug-print-tabs, rst-debug-mark-found)
6012 (rst-shift-region-guts, rst-shift-region-right)
6013 (rst-shift-region-left, rst-use-char-classes)
6014 (rst-font-lock-keywords-function)
6015 (rst-font-lock-indentation-point)
6016 (rst-font-lock-find-unindented-line-begin)
6017 (rst-font-lock-find-unindented-line-end)
6018 (rst-font-lock-find-unindented-line)
6019 (rst-font-lock-adornment-point, rst-font-lock-level)
6020 (rst-adornment-level-alist): Remove functions and variables.
6021
6022 (rst-compare-adornments, rst-get-adornment-match)
6023 (rst-suggest-new-adornment, rst-get-adornments-around)
6024 (rst-adornment-complete-p, rst-get-next-adornment)
6025 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6026 (rst-straighten-adornments): Standardize function names to
6027 use "adornment" instead of "decoration". Correct callers.
6028 Similar standardizing in many places.
6029
6030 (rst-update-section, rst-adjust, rst-promote-region)
6031 (rst-enumerate-region, rst-bullet-list-region)
6032 (rst-repeat-last-character): Correct use of `interactive'.
6033
6034 (rst-classify-adornment, rst-find-all-adornments)
6035 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6036 (rst-find-leftmost-column, rst-repeat-last-character):
6037 Refactor functions.
6038
6039 (rst-find-title-line, rst-reset-section-caches)
6040 (rst-get-adornments-around, rst-adjust-adornment-work)
6041 (rst-arabic-to-roman, rst-roman-to-arabic)
6042 (rst-insert-list-pos, rst-insert-list-new-item)
6043 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6044 New functions.
6045
6046 (rst-all-sections, rst-section-hierarchy)
6047 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6048 New variables.
6049
6050 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6051 configuration instead of only buffer. Change where necessary.
6052
6053 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6054 (rst-shift-region, rst-adaptive-fill): New functions for
6055 indentation and filling.
6056
6057 (rst-comment-line-break, rst-comment-indent)
6058 (rst-comment-insert-comment, rst-comment-region)
6059 (rst-uncomment-region): New functions for handling comments.
6060
6061 (rst-compile): Quote shell arguments.
6062
6063 (rst-compile-pdf-preview, rst-compile-slides-preview):
6064 Delete temporary files after use.
6065
a43f98b3
GM
60662012-05-05 Glenn Morris <rgm@gnu.org>
6067
48176e8b
GM
6068 * calendar/cal-html.el: Optionally include holidays in the output.
6069 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6070 (cal-html-holidays): New option.
6071 (cal-html-css-default): Add holiday entry.
6072 (holiday-in-range): Autoload it.
6073 (cal-html-htmlify-entry): Add optional class argument.
6074 (cal-html-htmlify-list): Add optional holidays argument.
6075 (cal-html-insert-agenda-days): Include holidays in the output.
6076 (cal-html-one-month): Maybe include holidays.
6077
a43f98b3
GM
6078 * calendar/holidays.el (holiday-in-range):
6079 Move here from cal-tex-list-holidays.
6080 * calendar/cal-tex.el (cal-tex-list-holidays):
6081 Make it an obsolete alias for holiday-in-range. Update all callers.
6082
fef9d149 60832012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6084
6085 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6086 Nextstep.
6087
248da2f4
RW
60882012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6089
6090 * files.el (file-auto-mode-skip): New var.
6091 (set-auto-mode-1): Use it.
6092
f95e9344
SM
60932012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6094
df96ab1e
SM
6095 * repeat.el: Use lexical-binding.
6096 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6097 (repeat-undo-count): Remove.
6098 (repeat):
6099 * progmodes/octave-mod.el (octave-abbrev-start):
6100 * progmodes/f90.el (f90-abbrev-start):
6101 * face-remap.el (text-scale-adjust):
6102 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6103
5342bb06
SM
6104 * emacs-lisp/pcase.el (pcase--let*): New function.
6105 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6106 a bit more.
6107 (pcase--split-pred): Be more clever about ruling out overlap between
6108 a predicate and some constant pattern.
6109 (pcase--q1): Use `null' instead of (eq foo nil).
6110
f95e9344
SM
6111 * subr.el (setq-local, defvar-local): New macros.
6112 (kbd): Redefine as an alias.
6113 (with-selected-window): Leave unrelated frames alone.
6114 (set-temporary-overlay-map): New function.
6115
71873e2b
SM
61162012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * subr.el (user-error): New function.
6119 * window.el (switch-to-buffer):
6120 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6121 (smerge-match-conflict):
6122 * simple.el (previous-matching-history-element)
6123 (next-matching-history-element, goto-history-element, undo-more)
6124 (undo-start):
6125 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6126 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6127 (next-file, tags-loop-scan, list-tags, complete-tag):
6128 * progmodes/compile.el (compilation-loop):
6129 * mouse.el (mouse-minibuffer-check):
6130 * man.el (Man-bgproc-sentinel, Man-goto-page):
6131 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6132 (Info-history-forward, Info-follow-reference, Info-menu)
6133 (Info-extract-menu-item, Info-extract-menu-counting)
6134 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6135 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6136 (Info-next-reference, Info-prev-reference, Info-index)
6137 (Info-index-next, Info-follow-nearest-node)
6138 (Info-copy-current-node-name):
6139 * imenu.el (imenu--make-index-alist)
6140 (imenu-default-create-index-function, imenu-add-to-menubar):
6141 * files.el (basic-save-buffer, recover-file):
6142 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6143 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6144 (checkdoc-message-text, checkdoc-defun):
6145 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6146 * cus-edit.el (customize-changed-options, customize-rogue)
6147 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6148 (custom-variable-mark-to-reset-standard)
6149 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6150 (custom-file):
6151 * completion.el (check-completion-length):
6152 * comint.el (comint-search-arg)
6153 (comint-previous-matching-input-string-position)
6154 (comint-previous-matching-input)
6155 (comint-replace-by-expanded-history-before-point, comint-send-input)
6156 (comint-copy-old-input, comint-backward-matching-input)
6157 (comint-goto-process-mark, comint-set-process-mark):
6158 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6159 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6160
8a61ee22
SM
61612012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6162
66408d1e
SM
6163 * dabbrev.el (dabbrev--ignore-case-p): New function.
6164 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6165 Use it.
6166
8a61ee22
SM
6167 * files.el (automount-dir-prefix): Mark as obsolete.
6168
3c74813a
GM
61692012-05-04 Glenn Morris <rgm@gnu.org>
6170
6171 * patcomp.el, play/bruce.el: Move to obsolete/.
6172
0bfcf5c5
PE
61732012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6174
6175 Fix minor Y10k bugs.
6176 * arc-mode.el (archive-unixdate):
6177 * autoinsert.el (auto-insert-alist):
6178 * calc/calc-forms.el (math-this-year):
6179 * emacs-lisp/copyright.el (copyright-current-year)
6180 (copyright-update-year, copyright):
6181 * tar-mode.el (tar-clip-time-string):
6182 * time.el (display-time-update):
6183 Don't assume years have 4 digits.
6184
78f3273a
CY
61852012-05-04 Chong Yidong <cyd@gnu.org>
6186
6187 * dos-w32.el (file-name-buffer-file-type-alist)
6188 (direct-print-region-use-command-dot-com):
6189 * ffap.el (ffap-menu-regexp):
6190 * find-file.el (ff-special-constructs):
6191 * follow.el (follow-debug):
6192 * forms.el (forms--debug):
6193 * iswitchb.el (iswitchb-all-frames):
6194 * ido.el (ido-all-frames):
6195 * emacs-lisp/timer.el (timer-max-repeats):
6196 * mail/feedmail.el (feedmail-mail-send-hook)
6197 (feedmail-mail-send-hook-queued):
6198 * mail/footnote.el (footnote-signature-separator):
6199 * mail/mailabbrev.el (mail-alias-separator-string)
6200 (mail-abbrev-mode-regexp):
6201 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6202 * progmodes/idlwave.el (idlwave-libinfo-file)
6203 (idlwave-default-completion-case-is-down)
6204 (idlwave-library-routines): Convert defvars to defcustoms.
6205
6206 * mail/rmail.el (rmail-decode-mime-charset):
6207 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6208 (idlwave-shell-fix-inserted-breaks)
6209 (idlwave-shell-activate-alt-keybindings)
6210 (idlwave-shell-use-breakpoint-glyph):
6211 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6212
f7ae6719
SM
62132012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6216
47086495
WS
62172012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6218
6219 * progmodes/verilog-mode.el (font-lock-keywords):
6220 Fix mis-highligting auto. Reported by Craig Barner.
6221 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6222 defines from global name space. Reported by Dan Dever.
47086495
WS
6223 (verilog-auto-reset, verilog-auto-reset-widths)
6224 (verilog-auto-tieoff): Support using unbased numbers for
6225 AUTORESET and AUTOTIEOFF.
6226 (verilog-submit-bug-report): Update variable list.
6227 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6228 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6229 (verilog-auto-template-lint): Fix hash error when linting modules
6230 with no used templates.
6231 (verilog-warn, verilog-warn-error)
6232 (verilog-warn-fatal): When non-interactive report multiple
6233 warnings before exiting. Suggested by Brad Dobbie.
6234 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6235 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6236 to report unused template errors. Reported by Brad Dobbie.
6237 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6238 nets, bug438. Reported by Vns Blore.
47086495
WS
6239 (verilog-auto-inout-module, verilog-auto-reg)
6240 (verilog-read-decls, verilog-read-sub-decls-sig)
6241 (verilog-signals-edit-wire-reg, verilog-signals-with):
6242 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6243 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6244 "reg" for backwards compatibility presuming Verilog 2001.
6245 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6246 (verilog-preprocess): Fix replication of preprocess output.
6247 Reported by Brad Dobbie.
6248 (verilog-auto-inst-interfaced-ports):
6249 Create verilog-auto-inst-interfaced-ports, bug429.
6250 Reported by Julian Gorfajn.
6251 (verilog-after-save-font-hook)
6252 (verilog-before-save-font-hook): New variable.
6253 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6254 (verilog-save-font-mods): Wrap disabling fontification, reported
6255 by David Rogoff.
6256 (verilog-do-indent, verilog-pretty-declarations-auto)
6257 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6258 Reported by Pierre-David Pfister.
6259 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6260 of class declarations, bug292. Reported by Kevin Heilman.
6261 (verilog-read-decls): Fix 'parameter type' not appearing in
6262 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6263 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6264 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6265 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6266 Reported by David Kravitz.
6267
62682012-05-03 Michael McNamara <mac@mail.brushroad.com>
6269
6270 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6271 assignment with tests in ifs and for loops.
6272 (verilog-extended-complete-re, verilog-complete-reg): Change so
6273 that DPI inport functions don't look like fuction declarations.
6274 (verilog-pretty-expr): Don't line up assignment
6275 operations to the test and increment in if and for loops
6276 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6277 that DPI inport functions don't look like fuction declarations.
47086495 6278
2e51d4b5
KH
62792012-05-03 Kenichi Handa <handa@m17n.org>
6280
6281 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6282 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6283 (Bug#11282).
6284
2bd785a2
SM
62852012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * emacs-lisp/bytecomp.el
6288 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6289 since cconv.el might have introduced :fun-body, internal-make-closure,
6290 and friends for bytecomp to handle (bug#11391).
6291 * custom.el (defcustom): Avoid ((λ ..) ..).
6292
99d27583
SM
62932012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6296
55a71479
JB
62972012-05-02 Juanma Barranquero <lekktu@gmail.com>
6298
6299 * notifications.el (dbus-debug):
6300 * term/linux.el (gpm-mouse-enable):
6301 * term/screen.el (xterm-register-default-colors): Declare.
6302
7b97c764
CY
63032012-05-02 Chong Yidong <cyd@gnu.org>
6304
2bc356d7
CY
6305 * cus-start.el (gc-cons-percentage, exec-suffixes)
6306 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6307 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6308 (make-cursor-line-fully-visible, void-text-area-pointer)
6309 (font-list-limit): Add customization data.
6310
7b97c764
CY
6311 * allout.el (allout-exposure-change-functions)
6312 (allout-structure-added-functions)
6313 (allout-structure-deleted-functions)
6314 (allout-structure-shifted-functions): Rename abnormal hooks from
6315 *-hook, and convert to defcustoms.
5d3385a0
JB
6316 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6317 Convert to defcustoms.
7b97c764
CY
6318 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6319
6320 * allout-widgets.el: Hook callers changed.
6321
90207a15 63222012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6323
6324 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6325 the yanked message in preference to the default value of
6326 buffer-file-coding-system.
6327
90207a15 63282012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6329
5d3385a0
JB
6330 * window.el (display-buffer--action-function-custom-type):
6331 Fix entry.
d9558cad 6332
90207a15 63332012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6334
6335 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6336
d80ac57b
GM
63372012-05-01 Glenn Morris <rgm@gnu.org>
6338
976f7668
GM
6339 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6340
beb83b5a
GM
6341 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6342
d80ac57b
GM
6343 * cus-edit.el (custom-variable-documentation): Simplify with format.
6344
b593d6a9 63452012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6346 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6347
6348 * simple.el (suggest-key-bindings, execute-extended-command):
6349 Move from keyboard.c.
6350
782fbf2a
CY
63512012-05-01 Chong Yidong <cyd@gnu.org>
6352
6353 * follow.el: Eliminate advice.
6354 (set-process-filter, process-filter, sit-for): Advice deleted.
6355 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6356 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6357 Vars deleted.
782fbf2a
CY
6358 (follow-auto): Use a :set function.
6359 (follow-mode): Rewritten. Don't advise process filters.
6360 (follow-switch-to-current-buffer-all, follow-scroll-up)
6361 (follow-scroll-down): Assume follow-mode is bound.
6362 (follow-comint-scroll-to-bottom)
6363 (follow-align-compilation-windows): New functions.
6364 (follow--window-sorter): New function.
6365 (follow-all-followers): Use it to explicitly sort windows by their
6366 positions; don't make assumptions about next-window order.
6367 (follow-windows-start-end, follow-delete-other-windows-and-split)
6368 (follow-calc-win-start): Doc fix.
6369 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6370 vertical-motion unnecessarily.
6371 (follow-adjust-window): New function.
6372 (follow-post-command-hook): Use it.
6373 (follow-call-set-process-filter, follow-call-process-filter)
6374 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6375 (follow-stop-intercept-process-output, follow-generic-filter):
6376 Functions deleted.
6377 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6378 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6379 New functions, replacing advice on scroll-bar-* commands.
87233a14 6380 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6381
6382 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6383 (comint-postoutput-scroll-to-bottom): Use it.
6384 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6385
290af740
GM
63862012-05-01 Glenn Morris <rgm@gnu.org>
6387
6388 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6389 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6390 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6391 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6392 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6393 Remove no-byte-compile setting.
6394
6eac8dc9
SM
63952012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6398 all-completions code to not return a number in the last cdr.
6399
9cc7819c
LL
64002012-04-30 Leo Liu <sdl.web@gmail.com>
6401
6402 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6403 read-only error.
6404
c93b886f
CY
64052012-04-29 Chong Yidong <cyd@gnu.org>
6406
6407 * follow.el (follow-calc-win-end): Rewrite to handle partial
6408 screen lines correctly (Bug#8390).
6409 (follow-avoid-tail-recenter): Minor cleanup.
6410
8b6c19f4
SM
64112012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 Avoid the obsolete `assoc' package.
6414 * speedbar.el (speedbar-refresh): Avoid adelete.
6415 (speedbar-file-lists): Simplify and avoid aput.
6416 * man.el (Man--sections, Man--refpages): New vars, replacing
6417 Man-sections-alist and Man-refpages-alist.
6418 (Man-build-section-alist, Man-build-references-alist):
6419 Use them; avoid aput.
6420 (Man--last-section, Man--last-refpage): New vars.
6421 (Man-follow-manual-reference): Use them.
6422 Use the `default' arg of completing-read.
6423 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6424
c5bb7569
CY
64252012-04-27 Chong Yidong <cyd@gnu.org>
6426
d1d2e2e8
CY
6427 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6428
15cd8efd
CY
6429 * startup.el (x-apply-session-resources): New function.
6430
6431 * term/ns-win.el (ns-initialize-window-system):
6432 * term/w32-win.el (w32-initialize-window-system):
6433 * term/x-win.el (x-initialize-window-system): Use it to properly
6434 set menu-bar-mode and other vars from X resources, even if the
6435 initial frame is not a window-system frame (Bug#2299).
6436
c5bb7569
CY
6437 * subr.el (read-key): Avoid running filter function when setting
6438 up temporary tool bar entries (Bug#9922).
6439
a8e7d6d7 64402012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6441
6442 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6443 (Bug#11344)
6444
a8e7d6d7 64452012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6446
6447 * select.el (xselect--encode-string): New function, split from
6448 xselect-convert-to-string.
6449 (xselect-convert-to-string): Use it.
6450 (xselect-convert-to-filename, xselect-convert-to-os)
6451 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6452 returned strings are properly encoded (Bug#11315).
6453
a8e7d6d7 64542012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6455
6456 * simple.el (delete-active-region): Move to killing custom group.
6457
a8e7d6d7 64582012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6459
6460 * progmodes/which-func.el (which-func-current): Quote %
6461 characters for mode-line processing.
6462
578c1d4b 64632012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6464
6465 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6466 reaching eob (Bug#11286).
6467
a8e7d6d7 64682012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6469
6470 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6471 (gdb): Make it buffer-local and init to zero.
6472 (gdb-control-commands-regexp): New variable.
6473 (gdb-send): Don't wrap in "-interpreter-exec console" if
6474 gdb-control-level is positive. Increment gdb-control-level
6475 whenever the command matches gdb-control-commands-regexp, and
6476 decrement it each time the command is "end". (Bug#11279)
6477
a8e7d6d7 64782012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6479
6480 * window.el (adjust-window-trailing-edge, enlarge-window)
6481 (shrink-window, window-resize):
6482 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6483 windows (Bug#11276).
6484
b3608390
CY
64852012-04-27 Chong Yidong <cyd@gnu.org>
6486
6487 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6488 fix "missing prefix" warning. All callers changed.
b3608390 6489
797e6e88
SM
64902012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * emacs-lisp/assoc.el: Move to obsolete/.
6493
e95a67dc
SM
64942012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6495
657c21e4 6496 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6497
6498 * term/ns-win.el (ns-define-service):
6499 * progmodes/pascal.el (pascal-goto-defun):
6500 * progmodes/js.el (js--read-tab):
6501 * progmodes/etags.el (tags-lazy-completion-table):
6502 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6503 * emacs-lisp/ewoc.el (ewoc--wrap):
6504 * emacs-lisp/assoc.el (aput, adelete, amake):
6505 * doc-view.el (doc-view-convert-current-doc):
6506 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6507
cb3e7ae0
CY
65082012-04-26 Chong Yidong <cyd@gnu.org>
6509
dce04f7f
CY
6510 * image.el (image-type-from-buffer): Only return supported image
6511 type (Bug#9045).
6512
cb3e7ae0
CY
6513 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6514 value, for symmetry with diff-end-of-hunk.
6515 (diff-split-hunk, diff-find-source-location)
6516 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6517 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6518 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6519 compute the relevant hunk or file properly (Bug#6005).
6520 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6521
0d42eb3e
SM
65222012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * vc/vc-mtn.el:
6525 * vc/vc-hg.el:
6526 * vc/vc-git.el:
6527 * vc/vc-dir.el:
6528 * vc/vc-cvs.el:
6529 * vc/vc-bzr.el:
6530 * vc/vc-arch.el:
6531 * vc/vc.el: Replace lexical-let by lexical-binding.
6532 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6533 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6534 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6535
f08ae1c9
CY
65362012-04-26 Chong Yidong <cyd@gnu.org>
6537
8b71081d
CY
6538 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6539 (diff-mode-shared-map): Bind it to / and [remap undo].
6540
f08ae1c9
CY
6541 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6542 (ediff-window-setup-function): Use it as the default, to set up
6543 windows based on whether the current frame is graphical (Bug#2138).
6544 (ediff-choose-window-setup-function-automatically): Make obsolete.
6545
6546 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6547
ef24141c
SM
65482012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6549
cc356a5d
SM
6550 * ffap.el: Remove old code for obsolete package.
6551 (ffap-complete-as-file-p): Remove.
6552
b4ff4f1f
SM
6553 Use completion-table-with-quoting for comint and pcomplete.
6554 * comint.el (comint--unquote&requote-argument)
6555 (comint--unquote-argument, comint--requote-argument): New functions.
6556 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6557 (comint-quote-filename): Use regexp-opt-charset.
6558 (comint--common-suffix, comint--common-quoted-suffix)
6559 (comint--table-subvert): Remove.
6560 (comint-unquote-function, comint-requote-function): New vars.
6561 (comint--complete-file-name-data): Use them with
6562 completion-table-with-quoting.
6563 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6564 * pcomplete.el (pcomplete-arg-quote-list)
6565 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6566 (pcomplete-unquote-argument-function): Default to non-nil.
6567 (pcomplete-unquote-argument): Simplify.
6568 (pcomplete--common-quoted-suffix): Remove.
6569 (pcomplete-requote-argument-function): New var.
6570 (pcomplete--common-suffix): New function.
6571 (pcomplete-completions-at-point): Use completion-table-with-quoting
6572 and completion-table-subvert.
6573
79c4eeb4
SM
6574 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6575 (minibuffer--double-dollars): Preserve properties.
6576 (completion--sifn-requote): New function.
6577 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6578
ef24141c
SM
6579 * minibuffer.el: Add support for completion of quoted/escaped data.
6580 (completion-table-with-quoting, completion-table-subvert): New funs.
6581 (completion--twq-try, completion--twq-all): New functions.
6582 (completion--nth-completion): New function.
6583 (completion-try-completion, completion-all-completions): Use it.
6584
784e7d6e
LL
65852012-04-25 Leo Liu <sdl.web@gmail.com>
6586
dd2ac746
SM
6587 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6588 Use compilation-message if available to find real filename.
784e7d6e 6589
07875ee7
CY
65902012-04-25 Chong Yidong <cyd@gnu.org>
6591
6592 * vc/diff-mode.el (diff-setup-whitespace): New function.
6593 (diff-mode): Use it.
6594
6595 * vc/diff.el (diff-sentinel):
6596 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6597 Whitespace mode variables based on diff style (Bug#8612).
6598
5055880d
LL
65992012-04-25 Leo Liu <sdl.web@gmail.com>
6600
daf75653
LL
6601 * progmodes/python.el (python-send-region): Add suffix .py to the
6602 temp file.
6603
5055880d
LL
6604 * files.el (auto-mode-alist): Use javascript-mode instead.
6605
db9b177b
AH
66062012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6607
ef24141c 6608 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6609
090bd7cb 6610 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6611 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6612 references, see Bug#9.
ef24141c 6613 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6614 when receiving a fault reply.
ef24141c 6615 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6616
090bd7cb 6617 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6618 (soap-inspect-simple-type): New function.
db9b177b 6619
090bd7cb 6620 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6621 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6622 (soap-decode-basic-type, soap-encode-basic-type):
6623 support unsignedInt and double basic types.
db9b177b 6624 (soap-resolve-references-for-simple-type)
ef24141c
SM
6625 (soap-parse-simple-type, soap-encode-simple-type): New function.
6626 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6627
090bd7cb 6628 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6629 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6630 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6631 the local name of "soapenc:Array".
6632 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6633 decoding integer, byte and anyURI xsd types.
6634
1fc6097b
CY
66352012-04-25 Chong Yidong <cyd@gnu.org>
6636
6637 * cus-edit.el (custom-buffer-create-internal): Update header text.
6638
afc6df87
EZ
66392012-04-25 Eli Zaretskii <eliz@gnu.org>
6640
6641 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6642 settings on 'system-type', not on 'window-system'. On MS-Windows,
6643 set interactive-mode on in GDB.
6644
dfbd787f
SM
66452012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6648 (ruby-syntax-propertize-regexp): Remove.
6649 (ruby-syntax-propertize-function): Split regexp into chunks.
6650 Match following code directly.
6651
85222d44
DG
66522012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6653
51a8ea2a
DG
6654 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6655 (ruby-syntax-propertize-regexp): New function.
6656 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6657 by a special keyword.
6658
85222d44
DG
6659 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6660 (ruby-syntax-general-delimiters-goto-beg)
6661 (ruby-syntax-propertize-general-delimiters): New functions.
6662 (ruby-syntax-propertize-function): Use them to handle GDL.
6663 (ruby-font-lock-keywords): Move old handling of GDL...
6664 (ruby-font-lock-syntactic-keywords): .. to here.
6665 (ruby-calculate-indent): Adjust indentation for GDL.
6666
b613912b
MA
66672012-04-24 Michael Albinus <michael.albinus@gmx.de>
6668
b5380639
MA
6669 * notifications.el (top): Remove unneeded declarations.
6670 (notifications-specification-version): Change to "1.2".
e43042fe 6671 (notifications-interface, notifications-notify-method)
b613912b
MA
6672 (notifications-close-notification-method): Fix docstring.
6673 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6674 (notifications-notify): Add :action-items, :resident and
6675 :transient hints. Change "image_data" to "image-data" and
6676 "image_path" to "image-path".
b613912b
MA
6677 (notifications-get-capabilities): New defun.
6678
257440aa
LL
66792012-04-24 Leo Liu <sdl.web@gmail.com>
6680
6681 * progmodes/python.el: Move hideshow setup to the end.
6682
b1bac16e
MR
66832012-04-24 Martin Rudalics <rudalics@gmx.at>
6684
6685 * window.el (handle-select-window): Clear echo area since this is
6686 no more done by read_char (Bug#11304).
6687
d81bd059
SM
66882012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6689
6690 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6691 and `/ M' to filter-derived-mode.
6692 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6693 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6694 (ibuffer-mark-by-mode): Use default rather than initial-input.
6695 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6696
c4cf6d91
IA
66972012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6698
6699 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6700 (ibuffer-filter-by-derived-mode): New filter.
6701 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6702
7511ded8
CY
67032012-04-23 Andreas Politz <politza@fh-trier.de>
6704
6705 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6706
775c916b
CY
67072012-04-23 Chong Yidong <cyd@gnu.org>
6708
6709 * cus-edit.el (customize-apropos, customize-apropos-options):
6710 Disable matching of non-option variables (Bug#11176).
6711 (customize-option, customize-option-other-window)
6712 (customize-changed-options): Doc fix.
6713 (customize-apropos-options, customize-apropos-faces)
6714 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6715
6716 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6717 Fix word list splitting (Bug#11132).
46c71e23
CY
6718 (apropos-symbol, apropos-keybinding, apropos-label)
6719 (apropos-property, apropos-function-button)
6720 (apropos-variable-button, apropos-misc-button): New faces.
6721 (apropos-symbol-face, apropos-keybinding-face)
6722 (apropos-label-face, apropos-property-face, apropos-match-face):
6723 Variables removed (Bug#8396).
6724 (apropos-library-button, apropos-format-plist, apropos-print)
6725 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6726
2df41f9c
MA
67272012-04-23 Michael Albinus <michael.albinus@gmx.de>
6728
6729 * net/xesam.el (xesam-mode-map): Use let-bound map in
6730 initialization. (Bug#11292)
6731
da00640a
AM
67322012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6733
6734 Preserve ispell session localwords when switching back to
6735 original buffer.
6736
090bd7cb
JB
6737 * textmodes/ispell.el (ispell-buffer-session-localwords):
6738 New buffer-local variable to hold buffer session localwords.
ed9265fc 6739 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6740 localwords.
6741 (ispell-command-loop, ispell-change-dictionary)
6742 (ispell-buffer-local-words): Preserve session localwords when
6743 needed.
6744
090bd7cb
JB
6745 * textmodes/flyspell.el (flyspell-process-localwords)
6746 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6747
f621ccf5
AM
67482012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6749
090bd7cb
JB
6750 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6751 using obsolete `translation-table-for-input'.
ef24141c
SM
6752 (ispell-word, ispell-process-line, ispell-complete-word):
6753 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6754
c2d1019e
CY
67552012-04-22 Chong Yidong <cyd@gnu.org>
6756
6757 * cus-edit.el (custom-variable-menu)
6758 (custom-variable-reset-saved, custom-face-menu)
6759 (custom-face-reset-saved): If there is no saved value, make the
6760 "reset-saved" operation bring back the default (Bug#9509).
6761 (custom-face-state): Properly detect themed faces.
6762
eeddc531
CY
6763 * faces.el (face-spec-set): Stop supporting deprecated form of
6764 third arg.
6765
dcbf5805
MA
67662012-04-22 Michael Albinus <michael.albinus@gmx.de>
6767
6768 Move functions from C to Lisp. Make non-blocking method calls
6769 the default. Implement further D-Bus standard interfaces.
6770
ef24141c
SM
6771 * net/dbus.el (dbus-message-internal): Declare function.
6772 Remove unneeded function declarations.
dcbf5805
MA
6773 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6774 (dbus-message-type-method-return, dbus-message-type-error)
6775 (dbus-message-type-signal): Declare variables. Remove local
6776 definitions.
6777 (dbus-interface-dbus, dbus-interface-peer)
6778 (dbus-interface-introspectable, dbus-interface-properties)
6779 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6780 Adapt docstring.
6781 (dbus-interface-objectmanager): New defconst.
6782 (dbus-call-method, dbus-call-method-asynchronously)
6783 (dbus-send-signal, dbus-method-return-internal)
6784 (dbus-method-error-internal, dbus-register-service)
6785 (dbus-register-signal, dbus-register-method): New defuns, moved
6786 from dbusbind.c
6787 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6788 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6789 New defuns.
dcbf5805
MA
6790 (dbus-call-method-non-blocking): Make it an obsolete function.
6791 (dbus-unregister-object, dbus-unregister-service)
6792 (dbus-handle-event, dbus-register-property)
6793 (dbus-property-handler): Obey the new structure of
6794 `bus-registered-objects'.
6795 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6796 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6797 Use `dbus-call-method'.
6798
cf20dee0
CY
67992012-04-22 Chong Yidong <cyd@gnu.org>
6800
6801 * cus-edit.el (custom-commands, custom-reset-menu)
6802 (Custom-reset-standard): Tweak labels.
6803 (custom-reset-button-menu): Change default to t.
6804 (custom-buffer-create-internal): For the custom-reset-button-menu
6805 case, put the revert button first.
6806 (custom-group-subtitle): New face.
6807 (custom-group-value-create): Align docstring to a specific column.
6808
6809 * wid-edit.el (widget-documentation-link-add): Don't handle
6810 indentation in this function.
6811 (widget-documentation-string-indent-to): New function.
6812 (widget-documentation-string-value-create): Use it.
6813
6814 * autorevert.el (auto-revert):
6815 * epg-config.el (epg):
6816 * ibuffer.el (ibuffer):
6817 * mpc.el (mpc):
6818 * ses.el (ses):
6819 * eshell/eshell.el (eshell):
6820 * net/ange-ftp.el (ange-ftp):
6821 * progmodes/ebnf2ps.el (postscript):
6822 * progmodes/flymake.el (flymake):
6823 * progmodes/prolog.el (prolog):
6824 * progmodes/verilog-mode.el (verilog-mode):
6825 * progmodes/which-func.el (which-func):
6826 * term/xterm.el (xterm):
6827 * textmodes/picture.el (picture):
6828 * textmodes/tildify.el (tildify):
6829 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6830 customization buffers.
6831
583e23bd
AM
68322012-04-22 Alan Mackenzie <acm@muc.de>
6833
6834 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6835 Adding a ) can hide the resulting (..) from searches. Fix it.
6836 Bound the backward search to the position of the existing (.
6837
7dd51bf1
JB
68382012-04-21 Juanma Barranquero <lekktu@gmail.com>
6839
6840 * progmodes/verilog-mode.el (verilog-mode): Check whether
6841 which-func-modes is t before adding verilog-mode.
6842 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6843
d64a438f
LL
68442012-04-21 Leo Liu <sdl.web@gmail.com>
6845
7dd51bf1 6846 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6847
081e8d65
MV
68482012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6849
6850 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6851 filling of the last column of a table (Bug#5635).
6852 (woman-find-next-control-line): New arg, specifying an additional
6853 regexp component for the control line.
6854 (woman2-roff-buffer): Use it.
6855 (woman-break-table): New function.
6856 (woman2-TS): Use it.
6857
68582012-04-21 Chong Yidong <cyd@gnu.org>
6859
6860 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6861 (woman-horizontal-escapes, woman-negative-vertical-space)
6862 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6863 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6864
ed571ccb
SM
68652012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * minibuffer.el (completion-file-name-table): Complete user names.
6868
39773899
LL
68692012-04-20 Leo Liu <sdl.web@gmail.com>
6870
6871 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6872 and pcase-let*.
6873
de6ff46d
CY
68742012-04-20 Chong Yidong <cyd@gnu.org>
6875
6876 * server.el (server-execute): Respect initial-buffer-choice if it
6877 is a string and there are no files to open (Bug#2825).
6878 (server-create-window-system-frame, server-create-tty-frame):
6879 Don't switch buffers here.
2d0e8e61
CY
6880 (server-process-filter): Only try to open a window system frame if
6881 compiled with graphical support (Bug#8314).
de6ff46d 6882
54071013
DN
68832012-04-20 Dan Nicolaescu <dann@gnu.org>
6884
6885 * battery.el (battery-echo-area-format): Display remaining time
6886 for sysfs backend too (Bug#11269).
6887 (battery-linux-sysfs): Fix conditional for the charge.
6888
f30d612a
CY
68892012-04-20 Chong Yidong <cyd@gnu.org>
6890
c07a4c0b 6891 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6892 (gdb-inferior-io--init-proc): New function.
6893 (gdb-init-1): Use it.
6894 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6895 responsible for allocating a new pty and hooking it to gdb when
6896 the old pty gets an EIO due to process exit.
6897 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6898 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6899 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6900
2116e93c
EZ
69012012-04-20 Eli Zaretskii <eliz@gnu.org>
6902
6903 * window.el (window-min-size, window-sizable, window-min-delta)
6904 (window-max-delta, window--resizable, window-resizable)
6905 (window-total-size, window-full-height-p, window-full-width-p)
6906 (window-in-direction, window--resize-mini-window, window-resize)
6907 (window--resize-child-windows-normal)
6908 (window--resize-child-windows, window--resize-siblings)
6909 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6910 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6911
c07a4c0b 69122012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6913
ef24141c
SM
6914 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6915 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6916 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6917 pty process (Bug#11273).
6918 (gdb-update): New arg to suppress talking to the gdb process.
6919 (gdb-done-or-error): Use it.
6920 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6921 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6922 sentinel not being called.
6923
6924 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6925
d02766ab
CY
6926 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6927
c07a4c0b 69282012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6929
6930 * net/network-stream.el (open-network-stream): Doc fix.
6931
c07a4c0b 69322012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6933
6934 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6935
c07a4c0b 69362012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6937
6938 Ensure searching for keywords is case sensitive.
6939
6940 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6941 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6942 (c-defun-name, c-mark-function, c-cpp-define-name)
6943 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6944 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6945
ef24141c
SM
6946 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6947 Bind case-fold-search to nil.
f0f6bc35 6948
c07a4c0b 69492012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6950
6951 * mail/sendmail.el (mail-bury): Call return action with the right
6952 Rmail buffer (Bug#11242).
6953
9a864fa2
CY
6954 * server.el (server-process-filter): Handle corner case where both
6955 tty and nowait options are present (Bug#11102).
6956
539aa513
EZ
69572012-04-20 Eli Zaretskii <eliz@gnu.org>
6958
6959 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6960 (top level): Put into the executable the ident-style '$Id:' tag on
6961 windows-nt as well.
539aa513 6962
cfc7d5da
SM
69632012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * electric.el (electric-indent-post-self-insert-function): Check that
6966 electric-indent-mode is enabled in current buffer.
6967
5b01685c
JB
69682012-04-19 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * imenu.el (imenu-progress-message): Restore; it is "used" in
6971 erc/erc-imenu.el and net/snmp-mode.el.
6972
4d6769e1
JB
69732012-04-19 Juanma Barranquero <lekktu@gmail.com>
6974
6975 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6976 (mouse-avoidance-nudge-mouse): Remove unused binding.
6977
6978 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6979
6980 * descr-text.el (describe-char):
6981 * progmodes/python.el (python-describe-symbol):
6982 Don't call `toggle-read-only', set `buffer-read-only'.
6983
6984 * imenu.el (imenu-default-goto-function): Mark unused args.
6985 (imenu-progress-message): Remove obsolete macro; all callers changed.
6986
6987 * subr.el (keymap-canonicalize): Remove unused binding.
6988 (read-passwd): Mark unused arg.
6989
6990 * tutorial.el (tutorial--display-changes): Remove unused binding.
6991 (tutorial--save-tutorial-to): Remove unused variable.
6992
6993 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6994 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6995 (package-generate-autoloads, package-menu--generate)
6996 (package-menu--find-upgrades): Remove unused bindings.
6997
6998 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6999 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7000 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7001 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7002 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7003 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7004 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7005 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7006 (cua-delete-char-rectangle): Mark unused args.
7007 (cua-align-rectangle): Remove unused binding.
7008
7009 * mail/rmail.el (compilation--message->loc)
7010 (epa--find-coding-system-for-mime-charset): Declare.
7011
7012 * net/dbus.el (dbus-register-service): Declare.
7013 (dbus-name-owner-changed-handler): Remove unused binding.
7014
7015 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7016 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7017 (nxml-scan-backward-within): Mark unused arg.
7018 (nxml-dynamic-markup-word): Remove unused binding.
7019
7020 * mouse.el (mouse-menu-major-mode-map):
7021 * emacs-lisp/authors.el (authors-scan-change-log)
7022 (authors-add-to-author-list):
7023 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7024 * emacs-lisp/smie.el (smie-auto-fill):
7025 * mail/sendmail.el (mail-bury):
7026 * mail/unrmail.el (unrmail):
7027 * net/tls.el (open-tls-stream):
7028 * textmodes/picture.el (picture-mouse-set-point):
7029 Remove unused bindings.
7030
8c8fc5df
MA
70312012-04-19 Michael Albinus <michael.albinus@gmx.de>
7032
7033 * net/tramp.el (tramp-action-password): Let-bind
7034 `enable-recursive-minibuffers' to t.
7035
a77b0ac9
SS
70362012-04-18 Sam Steingold <sds@gnu.org>
7037
7038 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7039 instead of 'string to accommodate values like [f11].
7040 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7041 * progmodes/gdb-mi.el: Likewise.
7042
12a106a9
LL
70432012-04-18 Leo Liu <sdl.web@gmail.com>
7044
7045 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7046 current buffer.
7047 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7048 LOCAL is nil.
7049
bc6494ef
CY
70502012-04-18 Chong Yidong <cyd@gnu.org>
7051
7052 * simple.el (line-move): Use forward-line if in batch mode
7053 (Bug#11053).
7054
c09c46b2
CS
70552012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7056
7057 * files.el (after-find-file): Do not try to add a final newline if
7058 the buffer is read-only (Bug#11156).
7059
5f6530ea
RS
70602012-04-17 Richard Stallman <rms@gnu.org>
7061
7062 * mail/rmail.el (rmail-start-mail):
7063 Pass (rmail-mail-return...) for the return-action.
7064 Pass (rmail-yank-current-message...) for the yank-action.
7065 (rmail-yank-current-message): New function.
7066 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7067 (rmail-reply): Likewise.
7068 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7069
7070 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7071 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7072 buffer, not newbuf.
7073
197b6f3c
JB
70742012-04-17 Juanma Barranquero <lekktu@gmail.com>
7075
7076 * server.el (server-ensure-safe-dir): Simplify.
7077
2311d8e5 70782012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7079
2311d8e5
GM
7080 * emacs-lisp/smie.el: Provide smarter auto-filling.
7081 (smie-auto-fill): New function.
7082 (smie-setup): Use it.
98fb480e 7083
2311d8e5
GM
7084 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7085
70862012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7087
7088 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7089 (comment-indent): Use it.
7090
2311d8e5 70912012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7092
7093 * ses.el: The overall change is to add cell renaming, that is
7094 setting fancy names for cell symbols other than name matching
7095 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7096 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7097 (ses-create-cell-variable): New defun.
2311d8e5 7098 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7099 (ses-relocate-formula): Relocate formulas only for cells the
7100 symbols of which are not renamed, i.e. symbols whose names do not
7101 match regexp "\\`[A-Z]+[0-9]+\\'".
7102 (ses-relocate-all): Relocate values only for cells the symbols of
7103 which are not renamed.
7104 (ses-load): Create cells variables as the (ses-cell ...) are read,
7105 in order to check row col consistency with cell symbol name only
7106 for cells that are not renamed.
7107 (ses-replace-name-in-formula): New defun.
7108 (ses-rename-cell): New defun.
4bdf2ad2 7109
fc72b15c
PO
71102012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7111
7112 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7113 New option (bug#11118).
7114 (perl-calculate-indent): Respect it.
7115
12e10e61
GM
71162012-04-17 Glenn Morris <rgm@gnu.org>
7117
7118 * dired-aux.el (dired-mark-read-string): Doc fix.
7119
30009afd
DA
71202012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7121
7122 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7123 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7124
41f03f4d
GM
71252012-04-17 Glenn Morris <rgm@gnu.org>
7126
7127 * mouse.el (mouse-drag-track):
7128 * speedbar.el (speedbar-frame-mode):
7129 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7130
f45f90f3
LL
71312012-04-16 Leo Liu <sdl.web@gmail.com>
7132
7133 * progmodes/python.el: Trivial cleanup.
7134
94ee8db5
GM
71352012-04-16 Glenn Morris <rgm@gnu.org>
7136
121b8917
GM
7137 * vc/vc.el (vc-string-prefix-p):
7138 * vc/pcvs-util.el (cvs-string-prefix-p):
7139 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7140 * mpc.el (mpc-string-prefix-p):
7141 Make all of these into obsolete aliases for string-prefix-p.
7142 Update callers.
7143 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7144
1197ecfa
GM
7145 * textmodes/two-column.el: Move custom options to the start.
7146 (frame-width): Remove compat definition.
7147 (2C-associate-buffer, 2C-dissociate):
7148 Use with-current-buffer rather than save-excursion.
7149 (2C-dissociate): Force a mode-line update.
7150 (2C-autoscroll): Use ignore-errors.
7151
099e7202
GM
7152 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7153 Autoload trivia.
7154
bf350d6a
GM
7155 * emacs-lisp/cl-extra.el (*random-state*):
7156 Remove unnecessary declaration.
7157
0e829eab
GM
7158 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7159
e3ad7552
GM
7160 * play/cookie1.el (cookie-snarf):
7161 Give an explicit error if input file cannot be read.
7162
68892d27
GM
7163 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7164
20f0c46d
GM
7165 * progmodes/perl-mode.el (c-macro-expand):
7166 Remove unnecessary autoload (it is in loaddefs.el).
7167
5a0978ce
GM
7168 * textmodes/picture.el (picture-desired-column)
7169 (picture-update-desired-column): Convert comments to doc-strings.
7170 (picture-substitute): Remove function.
7171 (picture-mode-map): Initialize in the defvar.
7172
6b955486
GM
7173 * woman.el: Remove eval-after-load for tar-mode.
7174 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7175 (woman-tar-extract-file): Autoload it.
7176
94ee8db5
GM
7177 * frame.el (automatic-hscrolling): Make this alias obsolete.
7178
177eca34
AM
71792012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7180
090bd7cb 7181 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7182 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7183 (ispell-dictionary-base-alist): Revert to original XEmacs
7184 friendly version for default. [:alpha:] will be added in
090bd7cb 7185 `ispell-set-spellchecker-params' if needed.
177eca34 7186
c505aaeb
CY
71872012-04-16 Chong Yidong <cyd@gnu.org>
7188
b19dd9d1 7189 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7190 (imagemagick-register-types): Use it.
7191 (imagemagick-types-inhibit): Add :set function. Allow new value
7192 of t to inhibit all types.
7193
7194 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7195 so we can preload it.
7196
7197 * loadup.el (fboundp): Preload regexp-opt, needed by
7198 imagemagick-register-types.
7199
60efac0f
CY
72002012-04-15 Chong Yidong <cyd@gnu.org>
7201
7202 * frame.el (scrolling): Remove nearly unused customization group.
7203
7204 * scroll-all.el (scroll-all-mode): Move to windows group.
7205
5dd1713e
CY
72062012-04-15 Chong Yidong <cyd@gnu.org>
7207
7208 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7209
e6fd457e
CY
72102012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7213 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7214
e153c136
GM
72152012-04-15 Glenn Morris <rgm@gnu.org>
7216
7217 * simple.el (process-file-side-effects): Doc fix.
7218
e6fd457e 72192012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7220
7221 * international/mule-cmds.el (set-language-environment): Doc fix.
7222
3603c3b1
JB
72232012-04-14 Juanma Barranquero <lekktu@gmail.com>
7224
7225 * server.el (server-auth-key, server-generate-key): Doc fixes.
7226 (server-get-auth-key): Doc fix. Use `string-match-p'.
7227 (server-start): Reflow docstring.
7228
e6de100c
LI
72292012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7230
7231 * server.el (server-generate-key): `called-interactively-p'
7232 requires a parameter.
7233
29734c21
MN
72342012-04-14 Michal Nazarewicz <mina86@mina86.com>
7235
7236 * server.el (server-auth-key): New variable.
75f1671a 7237 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7238 (server-start): Use the new variable and functions to allow
7239 setting a permanent server key (bug#9423).
7240
d65c9521
LL
72412012-04-14 Leo Liu <sdl.web@gmail.com>
7242
7243 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7244
5ae255c7
PE
72452012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7246
7247 Spelling fixes.
7248 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7249 Emacs uses American spelling.
7250
d5e6342e
JB
72512012-04-14 Juanma Barranquero <lekktu@gmail.com>
7252
7253 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7254 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7255 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7256 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7257
ab036cd7
SM
72582012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * progmodes/which-func.el (which-func-modes): Change default.
7261
35dc09a1 72622012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7263
7264 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7265 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7266
35dc09a1 72672012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7268
7269 * custom.el (custom-theme-set-variables): Doc fix.
7270
35dc09a1 72712012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7272
7273 * international/mule.el (set-auto-coding-for-load): Doc fix.
7274
35dc09a1 72752012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7276
35dc09a1
GM
7277 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7278 imenu work again for Objective C Mode. Correct the *-index values,
7279 these having been disturbed by a previous change in 2011-08.
57f845ee 7280
0de3da9f
AM
7281 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7282 Correct two search limits.
7283
35dc09a1 72842012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7285
7286 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7287
35dc09a1 72882012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7289
7290 * international/characters.el: Fix sorting.
7291
35dc09a1 72922012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7293
7294 * international/characters.el: Add more missing Latin case pairs.
7295
35dc09a1 72962012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7297
7298 * files.el (dir-locals-set-class-variables): Doc fix.
7299
35dc09a1 73002012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7301
3f1b5bf8
EZ
7302 * international/characters.el: Add set-case-syntax-pair call for
7303 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7304 counterpart. (Bug#11209)
7305
9f847f41
EZ
7306 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7307
35dc09a1 73082012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7309
7310 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7311
35dc09a1 73122012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7313
35dc09a1
GM
7314 * textmodes/ispell.el (ispell-dictionary-base-alist):
7315 Add data for Hebrew.
e2627d21 7316
35dc09a1 73172012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7318
35dc09a1
GM
7319 * net/rcirc.el (rcirc-cmd-quit):
7320 Revert 2012-03-18 change (Bug#11192).
5c14e333 7321
35dc09a1 73222012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7323
7324 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7325
35dc09a1 73262012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7327
4517fe3a
SM
7328 * minibuffer.el (completion-in-region-mode-map):
7329 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7330
b472a594
VD
73312012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7332
7333 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7334
09b95ce3
MY
73352012-04-13 Masatake YAMATO <yamato@redhat.com>
7336
7337 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7338 to allow `C-M-f' and `C-M-b' to move to the nearest path
7339 separator (bug#9511).
7340
4b63a9ca
LI
73412012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7342
7343 * avoid.el: Require cl when compiling. And also move the
7344 `provide' to the end.
7345
7b55b8bf
TV
73462012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7347
7348 * avoid.el (mouse-avoidance-banish-position): New variable.
7349 (mouse-avoidance-banish-destination): Use it (bug#10165).
7350
adedaa1f
LL
73512012-04-13 Leo Liu <sdl.web@gmail.com>
7352
7353 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7354
70e74021
KB
73552012-04-13 Ken Brown <kbrown@cornell.edu>
7356
7357 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7358 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7359 (browse-url-filename-alist): For the same reason, don't modify
7360 file:// URLs on Cygwin.
7361
e75e89ba
SM
73622012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7365 the region on shift if the binding is already shifted (bug#11221).
7366
82f289a4
GM
73672012-04-12 Glenn Morris <rgm@gnu.org>
7368
7369 * mail/mailpost.el: Move to obsolete/.
7370
d333dc4c
DA
73712012-04-12 Drew Adams <drew.adams@oracle.com>
7372
7373 * imenu.el (imenu--generic-function): Ignore invisible definitions
7374 (bug#10123).
7375
0d15b5ba
VD
73762012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7377
7378 * hexl.el (hexl-bits): New variable.
7379 (hexl-options): Mention the variable in the doc string.
75f1671a 7380 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7381 (hexl-mode): Mention the new variable.
75f1671a
JB
7382 (hexl-mode, hexl-current-address, hexl-current-address):
7383 Use the displen.
0d15b5ba
VD
7384 (hexl-ascii-start-column): New function.
7385 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7386 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7387
64a440db
AM
73882012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7389
7390 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7391 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7392 the encoding, as expected by hunspell.
7393
6decb6c2
SM
73942012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * battery.el (battery--linux-sysfs-regexp): New const.
7397 (battery-status-function): Use it. Remove yeeloong special case.
7398 (battery-yeeloong-sysfs): Remove.
7399 (battery-echo-area-format): Remove yeeloong special case.
7400
088be6fb
SM
74012012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7402
6622e416
SM
7403 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7404 Reported by Noah Friedman.
7405
088be6fb
SM
7406 * subr.el (read-passwd): Use read-string.
7407
b49f886e
LMI
74082012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
7410 * vcursor.el (vcursor-move): Increase the priority of the overlay
7411 (bug#9663).
7412
a63067fc
DD
74132012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7414
7415 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7416 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7417
ac3cf14a
WS
74182012-04-11 William Stevenson <yhvh2000@gmail.com>
7419
7420 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7421 define-minor-mode (bug#10760).
7422
c4fc691b 74232012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7424
4d6769e1 7425 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7426 that directories matching `grep-find-ignored-files' won't be
7427 pruned (bug#10351).
7428
af23e2e5
CY
74292012-04-11 Chong Yidong <cyd@gnu.org>
7430
7431 * startup.el (command-line): Remove support for long-obsolete
7432 variable font-lock-face-attributes.
7433
ab7ce8c1
GM
74342012-04-11 Glenn Morris <rgm@gnu.org>
7435
7436 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7437
de8c03dc
SM
74382012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * window.el (window--state-get-1): Obey window-point-insertion-type.
7441
050cc68b
LB
74422012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7443
7444 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7445 to previous function when point is on the first character of a
75f1671a 7446 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7447
a38c310c
GM
74482012-04-11 Glenn Morris <rgm@gnu.org>
7449
effed0c2
GM
7450 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7451 not just file-errors.
7452
a38c310c
GM
7453 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7454 (vc-bzr-sha1): Use internal sha1.
7455
0221e323
SM
74562012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7459
43956923
SG
74602012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7461
7462 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7463 that start in the middle of the line (bug#10496).
7464
6a8c9eaf
DN
74652012-04-10 Dan Nicolaescu <dann@gnu.org>
7466
7467 * battery.el (battery-linux-proc-acpi): Only one battery is
7468 discharged at a time, but that seems to confuse battery.el when
7469 computing `rate-type' for the battery not being discharged
7470 (bug#10332).
7471
1930bf5d
SM
74722012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7473
2a718f6f
SM
7474 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7475
599430d0
SM
7476 * international/quail.el: Use dolist and simplify.
7477 (quail-define-package, quail-update-keyboard-layout)
7478 (quail-define-rules): Use dolist.
7479 (quail-insert-kbd-layout, quail-get-translation): CSE.
7480
a2754b6c
SM
7481 * tmm.el: Use dolist, remove left over hook.
7482 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7483 Use dolist.
7484 (calendar-load-hook): Don't mess with it.
7485
1930bf5d
SM
7486 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7487 Use derived-mode-p. Run the diff asynchronously.
7488
9f67961c
LMI
74892012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7490
7491 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7492
2a8ce227
JB
74932012-04-10 Juanma Barranquero <lekktu@gmail.com>
7494
7495 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7496 (list-dynamic-libraries--loaded): New function.
7497 (list-dynamic-libraries--refresh): Use it.
7498
8f33b5f8
NW
74992012-04-10 Nathan Weizenbaum <nweiz@google.com>
7500
1930bf5d
SM
7501 * progmodes/python.el (python-fill-paragraph):
7502 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7503 disabled (bug#7018).
7504
b12f0439
L
75052012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7506
1930bf5d 7507 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7508 DOS/MS Windows for the Baltic languages. There are still plenty
7509 of texts written in this encoding/codepage (bug#6519).
b12f0439 7510
57c3bd01
GM
75112012-04-10 Glenn Morris <rgm@gnu.org>
7512
7513 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7514 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7515
6c3eab30
FA
75162012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7517
1930bf5d 7518 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7519 next-line "n" and previous-line "p" in order to make recentf more
7520 consistent with ibuffer, dired or org-mode (bug#9387).
7521
24d78a88
LMI
75222012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7523
bc72b5d9
LMI
7524 * image.el (put-image): Return the overlay created instead of the
7525 optional input string (bug#7834). Note that this may break code
7526 that is (for some reason or other) depending on `put-image'
7527 returning the string.
7528
bd2dba5a
LMI
7529 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7530
74beb59f
LMI
7531 * simple.el (zap-to-char): Allow zapping using input methods
7532 (bug#1580).
7533
24d78a88
LMI
7534 * textmodes/fill.el (fill-region): Leave point and mark where they
7535 were before filling (bug#5399).
7536
263f20cd
GM
75372012-04-09 Glenn Morris <rgm@gnu.org>
7538
7539 * version.el (emacs-bzr-get-version):
7540 Handle lightweight checkouts of local branches.
7541
58d1f797
AS
75422012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7543
263f20cd 7544 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7545
b4d3bc10
CY
75462012-04-09 Chong Yidong <cyd@gnu.org>
7547
7548 * custom.el (custom-variable-p): Return nil for non-symbol
7549 arguments instead of signaling an error.
7550 (user-variable-p): Obsolete alias for custom-variable-p.
7551
7552 * apropos.el (apropos-variable):
7553 * files-x.el (read-file-local-variable):
7554 * simple.el (set-variable):
7555 * woman.el (woman-mini-help):
7556 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7557
fd06db5d
GM
75582012-04-09 Glenn Morris <rgm@gnu.org>
7559
e5fcdb5e
GM
7560 * startup.el (normal-top-level): Don't look for leim-list.el
7561 in places where it will not be found. (Bug#910)
7562
fd06db5d
GM
7563 * international/mule-cmds.el (set-default-coding-systems):
7564 * files.el (normal-mode):
7565 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7566 This function was removed with ucs-tables.el in 2008.
7567
b39bb7e1
EZ
75682012-04-08 Eli Zaretskii <eliz@gnu.org>
7569
7570 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7571 ispell-encoding8-command to "-i", without a trailing space.
7572 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7573 separate command-line arguments, to specify the encoding, since
7574 that's how hunspell expects it.
7575
5c5b8e23
GM
75762012-04-08 Glenn Morris <rgm@gnu.org>
7577
7578 * loadup.el: Load bindings before cus-start.
7579 This reduces somewhat the number of "rogue" settings in emacs -Q.
7580
a1ed8b05
GM
75812012-04-07 Glenn Morris <rgm@gnu.org>
7582
7583 * version.el (emacs-bzr-get-version): New function.
dfae128a 7584 (emacs-bzr-version): New variable.
a1ed8b05
GM
7585 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7586 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7587
b142f158
EZ
75882012-04-07 Eli Zaretskii <eliz@gnu.org>
7589
dfae128a
GM
7590 * international/uni-bidi.el, international/uni-category.el:
7591 * international/uni-combining.el, international/uni-decimal.el:
7592 * international/uni-decomposition.el, international/uni-digit.el:
7593 * international/uni-lowercase.el, international/uni-mirrored.el:
7594 * international/uni-name.el, international/uni-numeric.el:
7595 * international/uni-titlecase.el, international/uni-uppercase.el:
7596 Update for Unicode 6.1.
b142f158 7597
9078ead6
EZ
75982012-04-07 Eli Zaretskii <eliz@gnu.org>
7599
7600 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7601
f23d2c7d
LMI
76022012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7603
7604 * window.el (shrink-window): Mention the `window-min-height'
7605 variable in the doc string.
7606
0a0a3573
BG
76072012-04-05 Bastien Guerry <bzg@altern.org>
7608
7609 * color.el (color-lighten-name): Fix typo.
7610
e5248ac9
SM
76112012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * server.el (server--on-display-p): New function.
7614 (server--on-display-p): Use it.
7615
b4243e22
GV
76162012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7617
7618 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7619 (bug#11145).
7620
305d9f44
SM
76212012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * comint.el (comint--common-quoted-suffix): Check string boundary
7624 before comparing (bug#11158).
7625 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7626
3d439cd1
CY
76272012-04-04 Chong Yidong <cyd@gnu.org>
7628
321cc491
CY
7629 * minibuffer.el (completion-extra-properties): Doc fix.
7630
3d439cd1
CY
7631 * subr.el (delayed-warnings-hook): Doc fix.
7632
2d562c0f
DU
76332012-04-04 Daiki Ueno <ueno@unixuser.org>
7634
7635 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7636 selection (Bug#11159).
7637 (epa-insert-keys): Inform that the default public key will be
7638 exported if no key is selected.
7639
4443f204
RS
76402012-04-04 Richard Stallman <rms@gnu.org>
7641
7642 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7643
529c06b6
CY
76442012-04-03 Chong Yidong <cyd@gnu.org>
7645
7646 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7647 mail-insert-file, not its obsolete alias mail-attach-file.
7648
66b907dc
MA
76492012-04-03 Michael Albinus <michael.albinus@gmx.de>
7650
7651 * notifications.el (notifications-notify): Fix docstring.
7652
c0ea195d
GM
76532012-04-02 Glenn Morris <rgm@gnu.org>
7654
7655 * emacs-lisp/authors.el (authors-aliases): Another addition.
7656
5ca64e00
MA
76572012-04-02 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7660 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7661 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7662
42ee526b
CY
76632012-04-01 Chong Yidong <cyd@gnu.org>
7664
7665 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7666 Handle root directory properly.
7667 (copy-directory): Caller changed.
7668
7669 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7670 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7671
0b021094
GM
76722012-03-31 Glenn Morris <rgm@gnu.org>
7673
40f86458
GM
7674 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7675
7019c177
GM
7676 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7677
a1daddd6
GM
7678 * calendar/calendar.el (calendar-window-list)
7679 (calendar-hide-window): Restore. (Bug#11140)
7680 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7681
0b021094
GM
7682 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7683
40311efc
TV
76842012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7685
7686 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7687 Check if file is a symlink (Bug#10489).
7688
7689 * files.el (copy-directory): Likewise.
7690
5319014e
CY
76912012-03-30 Chong Yidong <cyd@gnu.org>
7692
7693 * image.el (imagemagick-types-inhibit)
7694 (imagemagick-register-types): Doc fix.
7695
935d1290
AM
76962012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7697
090bd7cb 7698 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7699 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7700 and treats ~word as ordinary words in pipe mode.
935d1290 7701
61c6e8fd
GM
77022012-03-30 Glenn Morris <rgm@gnu.org>
7703
7704 * tutorial.el (help-with-tutorial): Ensure local variables don't
7705 happen to make the buffer read-only. (Bug#11127)
7706
81fdff00
SM
77072012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7710 (perl-calculate-indent): Return `noindent' in strings.
7711
6e7a6ec0
SS
77122012-03-28 Sam Steingold <sds@gnu.org>
7713
7714 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7715 instead of the broken adhockery which does not prevent calendar
7716 buffers from being displayed at random after exit.
7717 (calendar-window-list, calendar-hide-window): Remove the broken
7718 adhockery.
7719
fee88ca0
GM
77202012-03-28 Glenn Morris <rgm@gnu.org>
7721
7722 * replace.el (query-replace-map): Doc fix.
7723
38de3354
AS
77242012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7725
7726 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7727 contents. (Bug#11109)
7728
b973155e
SM
77292012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7730
7731 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7732 (bug#11077).
7733 (avl-tree--check, avl-tree--check-node): New funs.
7734
dcb6e7b3
MR
77352012-03-27 Martin Rudalics <rudalics@gmx.at>
7736
7737 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7738 (switch-to-prev-buffer, switch-to-next-buffer):
7739 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7740 showing a buffer already is done on the same frame.
7741
b4fa35fa
GM
77422012-03-27 Glenn Morris <rgm@gnu.org>
7743
7744 * startup.el (mail-host-address): Doc fix.
7745
f9210e18
SM
77462012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7749 than 197 variables.
7750
c0bf7753
AF
77512012-03-26 Ami Fischman <ami@fischman.org>
7752
7753 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7754
33da7b16
GM
77552012-03-26 Glenn Morris <rgm@gnu.org>
7756
02243d9d
GM
7757 * files.el (save-buffers-kill-emacs): Doc fix.
7758
33da7b16
GM
7759 * startup.el (normal-top-level, command-line, command-line-1):
7760 Give them doc strings.
7761
e5a69fd0
EZ
77622012-03-25 Eli Zaretskii <eliz@gnu.org>
7763
7764 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7765 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7766
9a69676a
CY
77672012-03-25 Chong Yidong <cyd@gnu.org>
7768
4125cb8b
CY
7769 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7770 theme if it was previously enabled before (Bug#11031).
7771
dd470960
CY
7772 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7773 spec with custom-face-get-current-spec if its :shown-value is not
7774 determined yet (Bug#9337).
4125cb8b 7775 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7776
9a69676a
CY
7777 * button.el (button-at): Minor addition to docstring.
7778
6e7e90fa
SL
77792012-03-24 Simon Leinen <simon.leinen@gmail.com>
7780
7781 * vc/vc.el (vc-merge): Fix a prompt.
7782
f06e2758
CY
77832012-03-24 Chong Yidong <cyd@gnu.org>
7784
7785 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7786 point (Bug#9623).
7787
6e7e90fa
SL
7788 * button.el (button-at): Minor addition to docstring.
7789
b9d0879b
SM
77902012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * newcomment.el (comment-choose-indent): No space after BOL.
7793
e71cebb3
SS
77942012-03-22 Sam Steingold <sds@gnu.org>
7795
7796 * window.el (switch-to-prev-buffer): Revert last patch because the
7797 bug turned out to be an advertised feature (Elisp manual 28.14).
7798
335aff35
GM
77992012-03-22 Glenn Morris <rgm@gnu.org>
7800
7801 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7802 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7803
c676576a
LMI
78042012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7805
7806 * net/network-stream.el (network-stream-open-starttls): Make error
7807 message under Windows be less misleading.
7808
126f3d39
LW
78092012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7810
7811 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7812 understands (bug#9942).
7813
64fee311
CY
78142012-03-22 Chong Yidong <cyd@gnu.org>
7815
7816 * simple.el (end-of-visible-line): Handle return value of
7817 next-single-property-change properly (Bug#9371).
7818
a640d29a
KH
78192012-03-22 Kenichi Handa <handa@m17n.org>
7820
7821 * international/quail.el (quail-insert-kbd-layout): Fix previous
7822 change. To avoid unwanted bidi reordering, use
7823 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7824
39675016
DG
78252012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7826
7827 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7828 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7829 (ruby-beginning-of-indent): Be more careful with the difference
7830 between word-boundary and symbol boundary.
7831 (ruby-mode-syntax-table): Make : a symbol constituent.
7832
0a6934fc 78332012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7834
3d008e4f
SM
7835 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7836
0a6934fc
SM
78372012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7838
af67c9d7
SM
7839 * progmodes/etags.el (tags-completion-at-point-function):
7840 Improve last fix.
7841
1acad97c
SM
7842 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7843
e298b5da
SS
78442012-03-21 Sam Steingold <sds@gnu.org>
7845
7846 * progmodes/etags.el (tags-completion-at-point-function):
7847 Avoid the error when point is inside the pattern.
7848
91d82a70
JY
78492012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7850
7851 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7852 line (Bug#10855).
7853
69188b79
CY
78542012-03-21 Drew Adams <drew.adams@oracle.com>
7855
7856 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7857
99fc91fe
AK
78582012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7859
7860 * ido.el (ido-set-current-directory, ido-read-internal)
7861 (ido-choose-completion-string, ido-completion-help): Handle nil
7862 value of ido-completion-buffer (Bug#11008).
7863
087bbb4c
SS
78642012-03-21 Sam Steingold <sds@gnu.org>
7865
7866 * window.el (switch-to-prev-buffer): Do not switch to a visible
7867 window previous buffer, just like with the frame previous buffers.
7868
fb5b8aca
CY
78692012-03-21 Chong Yidong <cyd@gnu.org>
7870
7871 * faces.el (make-face, make-empty-face, copy-face):
7872 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7873 Doc fixes.
7874
dc9924b8
SM
78752012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7878 (widget-complete): Remove broken use of it.
7879
f0bcceb9
CY
78802012-03-20 Chong Yidong <cyd@gnu.org>
7881
dc9924b8
SM
7882 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7883 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7884 characters.
7885
ee52ebf3
TH
78862012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7887
7888 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7889 to draw rectangles, not squares. (Regression introduced by revno
7890 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7891
4c5779ab
CY
78922012-03-18 Chong Yidong <cyd@gnu.org>
7893
7894 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7895 it is not yet defined (for temacs).
7896
15360934
LL
78972012-03-18 Leo Liu <sdl.web@gmail.com>
7898
dc9924b8 7899 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7900
d9a8eb66
EZ
79012012-03-17 Eli Zaretskii <eliz@gnu.org>
7902
7903 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7904 (ispell-choices-win-default-height, ispell-silently-savep)
7905 (ispell-dictionary-alist, ispell-encoding8-command)
7906 (ispell-check-version, ispell-aspell-find-dictionary)
7907 (ispell-valid-dictionary-list, ispell-words-keyword)
7908 (ispell-get-word, ispell-internal-change-dictionary)
7909 (ispell-region, ispell-skip-region-list)
7910 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7911 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7912 (ispell-message-text-end, ispell-message)
7913 (ispell-buffer-local-parsing): Doc fix.
7914
f02ff80d
J
79152012-03-13 Jambunathan K <kjambunathan@gmail.com>
7916
7917 * htmlfontify.el: Add support for code block fontification for ODT
7918 export (Bug #9914).
7919 (hfy-optimisations): Define new option
7920 `body-text-only'
7921 (hfy-fontify-buffer): Honor above setting.
7922 (hfy-begin-span, hfy-end-span): New routines factored out form
7923 `hfy-fontify-buffer'.
7924 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7925 that permit insertion of custom tags.
7926 (hfy-fontify-buffer): Use above handlers.
7927 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7928 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7929 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7930 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7931 bind a special variable `hfy-user-sheet-assoc'.
7932 (htmlfontify-string): New defun.
7933 (hfy-compile-face-map): Make sure that the last char in the
7934 buffer is correctly fontified.
7935 (hfy-face-resolve-face): Whitespace only change.
7936
9ac7a13f
EZ
79372012-03-17 Eli Zaretskii <eliz@gnu.org>
7938
7939 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7940 message more clear.
7941
e2b5bdd7
LL
79422012-03-16 Leo Liu <sdl.web@gmail.com>
7943
7944 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7945
2e492df3
AM
79462012-03-16 Alan Mackenzie <acm@muc.de>
7947
7948 Further optimise the handling of large macros.
7949
7950 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7951 limit to a call of `c-literal-limits'.
7952 (c-determine-+ve-limit): New function.
dc9924b8
SM
7953 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7954 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7955 In CASE 5B, restrict a search limit to 500.
7956 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7957
7958 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7959 Restrict macro bounds to +-500 from after-change's BEG END.
7960
50e94f0c
LL
79612012-03-16 Leo Liu <sdl.web@gmail.com>
7962
7963 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7964
6f09f6ed
AH
79652012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7966
7967 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7968 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7969
c7e73d51
GM
79702012-03-16 Glenn Morris <rgm@gnu.org>
7971
da986230
GM
7972 * view.el (view-buffer, view-buffer-other-window)
7973 (view-buffer-other-frame): Doc fixes re special mode-class.
7974
0835f01e
GM
7975 * subr.el (eval-after-load): If named feature is provided not from
7976 a file, run after-load forms. (Bug#10946)
7977
c7e73d51
GM
7978 * calendar/calendar.el (calendar-insert-at-column):
7979 Handle non-unit-width characters a bit better. (Bug#10978)
7980
3f2eafd1
CY
79812012-03-15 Chong Yidong <cyd@gnu.org>
7982
7983 * emacs-lisp/ring.el (ring-extend): New function.
7984 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7985
7986 * comint.el (comint-read-input-ring)
7987 (comint-add-to-input-history): Grow comint-input-ring lazily.
7988
103af3fe
SM
79892012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7990
663b1677
SM
7991 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7992 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7993
103af3fe
SM
7994 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7995 (imenu-add-to-menubar): Don't add a redundant index.
7996 (imenu-update-menubar): Handle a dynamically composed keymap.
7997
899cb7cb
KY
79982012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7999
8000 * mail/sendmail.el (mail-encode-header):
8001 Bind rfc2047-encode-encoded-words to nil.
8002
3809f91d
GM
80032012-03-13 Glenn Morris <rgm@gnu.org>
8004
8005 * calendar/calendar.el (calendar-string-spread):
8006 Handle non-unit-width characters a bit better. (Bug#10978)
8007
9e345a01
LL
80082012-03-13 Leo Liu <sdl.web@gmail.com>
8009
8010 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8011 directory and file as argument (Bug#10822).
8012
4a07df36
KS
80132012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8014
8015 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8016 For dynamically generated code, follow $PC.
8017 (gdb-disassembly-handler-custom): Handle no function name case.
8018
4aaa9356
TL
80192012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8020
8021 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8022 * emulation/ws-mode.el (ws-query-replace):
8023 * sort.el (sort-regexp-fields):
8024 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8025
225979da
SM
80262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * dabbrev.el: Fix cycle completion order (bug#10963).
8029 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8030 (dabbrev-completion): Don't use an obarray; provide
8031 a cycle-sort-function.
8032
e2f1fdab
LL
80332012-03-12 Leo Liu <sdl.web@gmail.com>
8034
dc9924b8 8035 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8036 (kill-do-not-save-duplicates): Doc fix.
8037
b19490ed
SM
80382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * dabbrev.el: Fix cycle completion (bug#10963).
8041 Use lexical binding and wrap to 80 columns.
8042 (dabbrev-completion): Delay computing the list of completions.
8043
4b05d722
KH
80442012-03-12 Kenichi Handa <handa@m17n.org>
8045
8046 * international/quail.el (quail-insert-kbd-layout): Surround each
8047 row by LRO and PDF instead of inserting many LRMs. Pad the left
8048 and right of each non-spacing marks. Insert invisible space
8049 between lower and upper characters to prevent composition.
8050
dbbc2e69
SM
80512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * minibuffer.el (minibuffer-complete): Don't get confused when the
8054 function is run twice via different commands (bug#10958).
8055 (complete-with-action): Fix docstring.
8056
292112ed
CY
80572012-03-12 Chong Yidong <cyd@gnu.org>
8058
5d1ac394
CY
8059 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8060 (nxml-completion-at-point-function): New function.
8061 (nxml-mode): Use it.
8062 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8063
292112ed
CY
8064 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8065 Load generated autoloads file before byte compiling (Bug#10970).
8066 (package--make-autoloads-and-compile): New helper fun.
8067
4098f8f7
CS
80682012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8069
8070 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8071
8f754691
MA
80722012-03-11 Michael Albinus <michael.albinus@gmx.de>
8073
8074 * autorevert.el (auto-revert-handler): Ensure, that
8075 file-readable-p is applied only for local files or in
8076 auto-revert-tail-mode.
8077
e29ab36b
AS
80782012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8079
dbbc2e69
SM
8080 * server.el (server-eval-at): Handle non-tcp connections.
8081 Decode result string.
ad0bf5b6 8082
e29ab36b
AS
8083 * server.el (server-msg-size): New constant.
8084 (server-reply-print): New function.
8085 (server-eval-and-print): Use it.
8086 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8087 Handle -print-nonl.
8088
de5939ba
CS
80892012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8090
8091 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8092 (Bug#10987).
8093
0c93eabf
CY
80942012-03-11 Chong Yidong <cyd@gnu.org>
8095
397a688f
CY
8096 * simple.el (goto-line): Doc fix (Bug#9938).
8097
2cc775f9
CY
8098 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8099
0c93eabf
CY
8100 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8101 when finished (Bug#10963).
8102
c491fa41
MR
81032012-03-11 Martin Rudalics <rudalics@gmx.at>
8104
8105 * window.el (split-window-below): Fix bug in case where
8106 split-window-keep-point is nil (Bug#10971).
8107
300e8fa5
JL
81082012-03-11 Juri Linkov <juri@jurta.org>
8109
8110 * replace.el (replace-highlight): Set isearch-word to nil
8111 unconditionally. (Bug#10887)
8112
dbf6c5a1
EZ
81132012-03-10 Eli Zaretskii <eliz@gnu.org>
8114
8115 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8116 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8117 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8118 (mairix-widget-create-query): Add usage information about mairix
8119 search forms: negating words, searching for substrings, etc.
8120
b9e501de
JP
81212012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8122
8123 * international/fontset.el (font-encoding-alist): Add an entry for
8124 ksx1001 (Bug#5667).
8125
92795c91
RS
81262012-03-10 Richard Stallman <rms@gnu.org>
8127
1694e6c1
RS
8128 * mail/sendmail.el (mail-encode-header):
8129 Set rfc2047-encode-encoded-words.
8130
607e8555
RS
8131 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8132
de3bc99a
RS
8133 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8134 view buffer means not swapped.
8135 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8136 (rmail-write-region-annotate): Error if real text has disappeared.
8137
92795c91
RS
8138 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8139
699bd04e
CY
81402012-03-10 Chong Yidong <cyd@gnu.org>
8141
8142 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8143 * emulation/cua-base.el (cua--init-keymaps):
8144 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8145
570a1714
MR
81462012-03-10 Martin Rudalics <rudalics@gmx.at>
8147
dbbc2e69
SM
8148 * speedbar.el (speedbar-unhighlight-one-tag-line):
8149 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8150
82dcf4e4
CY
81512012-03-10 Chong Yidong <cyd@gnu.org>
8152
7a2c7ca7
CY
8153 * minibuffer.el (completion-in-region, completion-help-at-point):
8154 Give the completion field overlay a high priority (Bug#6830).
8155
82dcf4e4
CY
8156 * dired.el (dired-goto-file): Recognize absolute file name
8157 listings (Bug#7126).
8158 (dired-goto-file-1): New helper function.
8159 (dired-toggle-read-only): Inhibit warnings.
8160
052e28ac
MA
81612012-03-09 Michael Albinus <michael.albinus@gmx.de>
8162
75f1671a 8163 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8164 there are no properties.
8165
95d5e396
LL
81662012-03-09 Leo Liu <sdl.web@gmail.com>
8167
8168 * savehist.el (savehist-printable): Stricter check for string
8169 value (Bug#10937).
8170
3f018d6d
EZ
81712012-03-09 Eli Zaretskii <eliz@gnu.org>
8172
dbbc2e69
SM
8173 * mail/smtpmail.el (smtpmail-send-it):
8174 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8175 valid mbox format.
8176
f7fd3d79
GM
81772012-03-09 Glenn Morris <rgm@gnu.org>
8178
8179 * files.el (dir-locals-find-file):
8180 Don't check result is regular, readable.
8181 (dir-locals-read-from-file): Demote errors.
8182
6ff6e72f
EZ
81832012-03-08 Eli Zaretskii <eliz@gnu.org>
8184
dbbc2e69
SM
8185 * international/quail.el (quail-insert-kbd-layout):
8186 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8187 layout cell, to prevent their reordering by bidi display engine.
8188 For details, see the discussion in
8189 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8190
9cec7834
AM
81912012-03-08 Alan Mackenzie <acm@muc.de>
8192
8193 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8194 the starting position; make it extend the marked region when
8195 invoked repeatedly - all under appropriate circumstances.
8196 Fixes bugs #5525, #10906.
8197
9a40b8d4
GM
81982012-03-08 Glenn Morris <rgm@gnu.org>
8199
8200 * files.el (locate-dominating-file, dir-locals-find-file):
8201 Undo 2012-03-06 change.
8202
7a08ed35
EZ
82032012-03-07 Eli Zaretskii <eliz@gnu.org>
8204
dbbc2e69
SM
8205 * international/quail.el (quail-help):
8206 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8207 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8208 for the reason.
8209
5aca4f71 82102012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8211
8212 Avoid superfluous registering of signals. (Bug#10807)
8213
8214 * notifications.el (notifications-on-action-object)
8215 (notifications-on-close-object): New defvars.
8216 (notifications-on-action-signal, notifications-on-closed-signal):
8217 Unregister the signal if not needed any longer.
8218 (notifications-notify): Register `notifications-action-signal' or
8219 `notifications-closed-signal', if :on-action or :on-close has been
8220 passed as argument.
8221
78e8b10a
CY
82222012-03-07 Chong Yidong <cyd@gnu.org>
8223
8224 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8225 non-X platforms.
8226
69481eb8
GM
82272012-03-06 Glenn Morris <rgm@gnu.org>
8228
8229 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8230 (x-disown-selection-internal, x-get-selection-internal):
8231 Doc fix (add arglist signatures). (Bug#10783)
8232
133b8e11
KS
82332012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8234
8235 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8236 Handle breakpoints with no "type".
8237
99a83064
GM
82382012-03-06 Glenn Morris <rgm@gnu.org>
8239
8240 * files.el (locate-dominating-file): Add optional predicate argument.
8241 (dir-locals-find-file): Make use of above change.
8242
17798e78
TTN
82432012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8244
8245 * info.el (Info-insert-dir): Also try "dir.gz".
8246
eb182446
GM
82472012-03-06 Glenn Morris <rgm@gnu.org>
8248
8f2114ee
GM
8249 * files.el (dir-locals-find-file):
8250 Ignore non-readable or non-regular files. (Bug#10928)
8251
eb182446
GM
8252 * files.el (locate-dominating-file): Doc fix.
8253
24679323
AS
82542012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8255
8256 * calendar/calendar.el (calendar-set-mode-line):
8257 `getenv' returns a string. (Bug#10951)
8258
01d972a9
LL
82592012-03-05 Leo Liu <sdl.web@gmail.com>
8260
109aa8a9
LL
8261 * simple.el (backward-delete-char-untabify): Constrain point to
8262 field (Bug#10939).
8263
01d972a9
LL
8264 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8265
10607bea
CY
82662012-03-05 Chong Yidong <cyd@gnu.org>
8267
8268 * simple.el (count-words): If called from Lisp, return the word
8269 count, for symmetry with `count-lines'. Arglist changed.
8270 (count-words--message): Args changed. Consolidate counting code
8271 from count-words and count-words-region.
8272 (count-words-region): Caller changed.
8273 (count-lines-region): Make it an obsolete alias.
8274
5dd11cfe
TH
82752012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8276
8277 * saveplace.el (save-place-to-alist)
8278 (save-place-ignore-files-regexp): Allow value nil to disable this
8279 feature.
8280
c349f4e6
CY
82812012-03-04 Chong Yidong <cyd@gnu.org>
8282
8283 * faces.el (face-spec-reset-face): For the default face, reset the
8284 attributes to default values (Bug#10748).
8285
e627be4c
LMI
82862012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8287
8288 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8289 previous patch: Check `message-send-mail-function', and not the
8290 default function (bug#10897).
8291
ebeabff4
MA
82922012-03-04 Michael Albinus <michael.albinus@gmx.de>
8293
a41a6cf4
MA
8294 * notifications.el (notifications-on-action-signal)
8295 (notifications-on-closed-signal): Check for unique service name of
8296 incoming event. Fix error in removing entry.
ebeabff4 8297 (top): Register for signals with wildcard service name.
a41a6cf4 8298 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8299
c1ca42b4
CY
83002012-03-04 Chong Yidong <cyd@gnu.org>
8301
dc9924b8 8302 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8303
ea16568d
GM
83042012-03-04 Glenn Morris <rgm@gnu.org>
8305
8306 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8307 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8308 (expand-abbrev, define-abbrev-table): Doc fixes.
8309
fbae4637
LMI
83102012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8311
8312 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8313 `message-default-send-mail-function' and not `send-mail-function'
8314 when doing the prompting for `sendmail-query-once' before sending
8315 in Message buffers (bug#10897).
8316
a1e7225c
LMI
8317 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8318 This is inconsistent with all the other stream functions, which leave
8319 the setting up to the higher levels (if so wanted) (bug#10931).
8320
56d093a9
AM
83212012-03-02 Alan Mackenzie <acm@muc.de>
8322
8323 Depessimize the handling of very large macros.
8324
8325 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8326 (c-macro-cache-syntactic): New variables to implement a one
8327 element macro cache.
8328 (c-invalidate-macro-cache): New function.
8329 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8330 Adapt to use the new cache.
8331 (c-state-safe-place): Use better the cache of safe positions.
8332 (c-state-semi-nonlit-pos-cache)
8333 (c-state-semi-nonlit-pos-cache-limit):
8334 New variables for...
8335 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8336 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8337 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8338 Use c-state-semi-safe-place.
56d093a9 8339
dbbc2e69
SM
8340 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8341 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8342
817e5c3d
MA
83432012-03-02 Michael Albinus <michael.albinus@gmx.de>
8344
dbbc2e69
SM
8345 * jka-compr.el (jka-compr-call-process):
8346 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8347 not remote.
8348
a032a702
MA
83492012-03-01 Michael Albinus <michael.albinus@gmx.de>
8350
8351 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8352 access of FILE2, if FILE1 does not exist.
8353
99a54f21
MA
8354 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8355 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8356
8357 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8358 Add "PAGER=" to `process-environment'.
8359
f6561e1f
MM
83602012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8361
8362 * progmodes/sql.el: Bug fix
8363 (sql-get-login-ext): Save login values in globals.
8364 (sql-get-login): Use new version of `sql-get-login-ext'.
8365 (sql-interactive-mode): Set global `sql-connection' to nil.
8366 (sql-connect): Set global values for connection.
8367 (sql-product-interactive): Save global values as buffer local.
8368
2d44d9cc
LL
83692012-02-29 Leo Liu <sdl.web@gmail.com>
8370
8371 * abbrev.el (define-abbrevs): Reset sys to nil.
8372
96b49301 83732012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8374
bf7f9bc5
JB
8375 * files.el (file-equal-p): Rename from `files-equal-p'.
8376 Return nil when one or both files don't exist.
96b49301 8377 (file-subdir-of-p): Now only top directory must exists,
8378 return nil if it doesn't.
bf7f9bc5
JB
8379 (copy-directory): No need to test with `file-subdir-of-p' after
8380 creating dir.
8381 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8382 to `file-equal-p'.
96b49301 8383
44e97401
GM
83842012-02-28 Glenn Morris <rgm@gnu.org>
8385
8386 * shell.el (shell-mode):
8387 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8388 * play/landmark.el (landmark-font-lock-face-O):
8389 * play/handwrite.el (handwrite):
8390 * play/gomoku.el (gomoku-O):
8391 * net/browse-url.el (browse-url-browser-display):
8392 * international/mule.el (define-charset):
8393 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8394 * filesets.el (filesets-find-file-delay):
8395 * eshell/em-xtra.el (eshell-xtra):
8396 * eshell/em-unix.el (eshell-grep):
8397 * emulation/viper.el (viper-mode):
8398 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8399 * emacs-lisp/easymenu.el (easy-menu-define):
8400 * calendar/timeclock.el (timeclock-use-display-time):
8401 * bs.el (bs-mode):
8402 * bookmark.el (bookmark-save-flag):
8403 Doc fix (standardize possessive apostrophe usage).
8404
c98c6276
CY
84052012-02-27 Chong Yidong <cyd@gnu.org>
8406
bf7f9bc5
JB
8407 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8408 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8409
c98c6276
CY
8410 * font-lock.el (font-lock-specified-p): Rename from
8411 font-lock-spec-present. Callers changed.
8412
9c62cd04 84132012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8414
bf7f9bc5
JB
8415 * emacs-lisp/package.el (package-compute-transaction):
8416 Handle holding a package version to t in package-load-list.
8ac9e529 8417
530739c9
MA
84182012-02-26 Michael Albinus <michael.albinus@gmx.de>
8419
8420 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8421 (tramp-get-inode, tramp-get-device): Use cached values.
8422
487915d7
AM
84232012-02-26 Alan Mackenzie <acm@muc.de>
8424
8425 Check there is a font-lock specification before doing initial
8426 fontification.
8427
8428 * font-core.el (font-lock-mode): Move the conditional from
8429 :after-hook to font-lock-initial-fontify.
8430 (font-lock-default-function): Move the check for a specification
8431 to font-lock-spec-present.
8432
dc9924b8 8433 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8434 (font-lock-spec-present): New function.
8435
4fd96557
JB
84362012-02-26 Jim Blandy <jimb@red-bean.com>
8437
8438 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8439 (gdb-send): Apply it to the operand of the '-interpreter-exec
8440 console' command, so that we can pass arguments with (say) quotes
8441 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8442
9a4888c0
CY
84432012-02-26 Chong Yidong <cyd@gnu.org>
8444
07498861
CY
8445 * help-fns.el (describe-function-1): Clarify description of
8446 remapping (Bug#10844).
8447
9a4888c0
CY
8448 * files.el (files-equal-p): Doc fix.
8449 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8450 and quit the loop once a mismatch is found.
8451
ea8fb88d
JB
84522012-02-25 Juanma Barranquero <lekktu@gmail.com>
8453
8454 * bs.el (bs--show-with-configuration): Don't throw an error
8455 if the window cannot be split; otherwise, subsequent calls to
8456 bs-show fail, restoring a stale window config. (Bug#10882)
8457
525795c1
JD
84582012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8459
8460 * term/ns-win.el (global-map): Bind ns-drag-file to
8461 ns-find-file (Bug#5855, Bug#10050).
8462
f008086f
AS
84632012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8464
8465 * calendar/parse-time.el (parse-time-string): Allow extractor to
8466 return nil.
8467
a3fcfa99
MA
84682012-02-25 Michael Albinus <michael.albinus@gmx.de>
8469
91027d08
JB
8470 * net/tramp.el (tramp-file-name-for-operation):
8471 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8472
8473 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8474 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8475 Add COPY-CONTENTS argument.
a3fcfa99 8476
67b0de11
CY
84772012-02-25 Chong Yidong <cyd@gnu.org>
8478
8479 Add custom groups for VC backends, for consistency with vc-bzr.
8480
8481 * vc/vc-arch.el (vc-arch):
8482 * vc/vc-cvs.el (vc-cvs):
8483 * vc/vc-git.el (vc-git):
8484 * vc/vc-hg.el (vc-hg):
8485 * vc/vc-mtn.el (vc-mtn):
8486 * vc/vc-rcs.el (vc-rcs):
8487 * vc/vc-sccs.el (vc-sccs):
8488 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8489 All relevant defcustoms reassigned.
8490
3c9dfce6
CY
84912012-02-25 Chong Yidong <cyd@gnu.org>
8492
1339bf43
CY
8493 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8494
3c9dfce6
CY
8495 * term/x-win.el (x-initialize-window-system): Reduce default for
8496 x-selection-timeout to 5 seconds (Bug#8869).
8497
25b2e303 84982012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8499
ec70a47d
GM
8500 * files.el (files-equal-p, file-subdir-of-p): New functions.
8501 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8502 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8503 * dired-aux.el (dired-copy-file-recursive): Same.
8504 (dired-create-files): Modify destination when source is equal to
8505 dest when copying files.
53a46cd0 8506 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8507
914260cd
MA
85082012-02-24 Michael Albinus <michael.albinus@gmx.de>
8509
8510 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8511 (Bug#10874)
8512
2cb228f7
AM
85132012-02-23 Alan Mackenzie <acm@muc.de>
8514
8515 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8516 parameter "after-hook:" to allow the expansion to run code after
8517 the execution of the mode hooks.
8518
8519 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8520 from font-lock-mode-internal.
2cb228f7 8521
91027d08 8522 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8523 :after-hook.
8524
8f0fde21
SM
85252012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8526
3e88618b
SM
8527 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8528 (completion--cache-all-sorted-completions): New function.
8529 (completion-all-sorted-completions): Use it.
8530 (completion--do-completion, minibuffer-force-complete):
8531 Use it to re-instate the flush hook.
8532
8f0fde21
SM
8533 * icomplete.el (icomplete-completions): Replace last fix with a better
8534 one (bug#10850).
8535
8e911f6f
DG
85362012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8537
8538 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8539 when it might call us back infinitely (bug#10797).
8540
49fe4321
GM
85412012-02-23 Glenn Morris <rgm@gnu.org>
8542
8543 * minibuffer.el (completion-category-overrides): Doc fix.
8544
b291b572
SM
85452012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8548 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8549
31a9ef2e
GM
85502012-02-23 Glenn Morris <rgm@gnu.org>
8551
5e6e6794 8552 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8553 (authors-obsolete-files-regexps, authors-ignored-files)
8554 (authors-ambiguous-files, authors-renamed-files-alist):
8555 Add more entries.
8556
0bd1e074
JL
85572012-02-23 Juri Linkov <juri@jurta.org>
8558
8559 * isearch.el (isearch-occur): Sync interactive spec with occur's
8560 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8561
b617673c
JL
8562 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8563
19e9789e
JL
85642012-02-22 Juri Linkov <juri@jurta.org>
8565
8566 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8567 (ucs-insert): Doc fix. Check for hex digits in the string.
8568 Don't display `nil' in the error message. (Bug#10857)
8569
f41ce09d
AM
85702012-02-22 Alan Mackenzie <acm@muc.de>
8571
7a71b18d 8572 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8573
ac2eceee
GM
85742012-02-22 Glenn Morris <rgm@gnu.org>
8575
8576 * ffap.el (ffap-c-path):
8577 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8578
abd1f678
CY
85792012-02-22 Chong Yidong <cyd@gnu.org>
8580
8581 * custom.el (load-theme): Doc fix.
8582
f25aef2e
GM
85832012-02-22 Glenn Morris <rgm@gnu.org>
8584
8585 * dired-x.el (dired-guess-shell-alist-default):
8586 Remove escape sequences from nroff output. (Bug#172)
8587
5f8dc2ca
GM
85882012-02-21 Glenn Morris <rgm@gnu.org>
8589
6ff86ec4
GM
8590 * vc/emerge.el (emerge-defvar-local):
8591 Set `permanent-local' property rather than unused `preserved'.
8592
be3223a3 8593 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8594 (picture-mode-map): Use it. (Bug#10860)
8595 (picture-mode): Doc fix.
8596
3fe58f4f
JB
85972012-02-21 Juanma Barranquero <lekktu@gmail.com>
8598
8599 * newcomment.el (uncomment-region-default): Remove unused binding.
8600
f9a998c3
GM
86012012-02-21 Glenn Morris <rgm@gnu.org>
8602
8603 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8604 (picture-self-insert, picture-tab-chars): Doc fix.
8605 (picture-mode-map): Fix C-a, C-e.
8606
c6029348
GM
86072012-02-20 Glenn Morris <rgm@gnu.org>
8608
8609 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8610
ab1ce9d7
LL
86112012-02-20 Leo Liu <sdl.web@gmail.com>
8612
8613 * icomplete.el (icomplete-completions): Check FROM arg before
8614 passing to substring (Bug#10850).
8615
0fd40f89
CY
86162012-02-19 Chong Yidong <cyd@gnu.org>
8617
8618 * comint.el: Require ansi-color.
8619 (comint-output-filter-functions): Add ansi-color-process-output.
8620
8621 * ansi-color.el: Don't set comint-output-filter-functions; it is
8622 now in the initial value defined in comint.el.
8623 (ansi-color-apply-face-function): New variable.
8624 (ansi-color-apply-on-region): Use it.
8625 (ansi-color-apply-overlay-face): New function.
8626
8627 * shell.el (shell): No need to require ansi-color.
8628 (shell-mode): Use ansi-color-apply-face-function to highlight
8629 color escapes using font-lock-face property (Bug#10835).
8630
20af2394
CY
86312012-02-19 Chong Yidong <cyd@gnu.org>
8632
8633 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8634 mode-line formats (Bug#10839).
8635
e23a3fbe
GM
86362012-02-18 Glenn Morris <rgm@gnu.org>
8637
b474519e
GM
8638 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8639
8640 * mail/undigest.el (unforward-rmail-message): Doc fix.
8641
e23a3fbe
GM
8642 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8643
57939ff4
EZ
86442012-02-18 Eli Zaretskii <eliz@gnu.org>
8645
8646 * international/characters.el (script-list): Sync with the latest
8647 Unicode Character Database.
8648
0c23686e
AS
86492012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8650
8651 * international/titdic-cnv.el: Remove duplicate coding tag.
8652 * language/cham.el: Likewise.
8653 * language/tai-viet.el: Likewise.
8654
6818b449
GM
86552012-02-18 Glenn Morris <rgm@gnu.org>
8656
8657 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8658 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8659 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8660 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8661 * calendar/holidays.el (holiday-bahai-holidays)
8662 (calendar-holidays, list-holidays):
8663 Use utf-8 Bahá'í in doc-strings, menus, etc.
8664
0311a3fc
TH
86652012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8666
8667 * saveplace.el (save-place-ignore-files-regexp): New variable
8668 allowing for excluding files from saving their location of point.
8669 The default value matches the temporary commit message editing
8670 files from Git, SVN, Bazaar, and Mercurial.
8671 (save-place-to-alist): Use it.
8672
d209e2fb 86732012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8674 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8675
8676 * newcomment.el (uncomment-region-default): Don't leave extra space
8677 when an arg is provided (bug#8150).
8678
ee0ce425
TZ
86792012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8680
eb864a71 8681 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8682
95ddf442
GM
86832012-02-17 Glenn Morris <rgm@gnu.org>
8684
8685 * net/socks.el: Require network-stream. (Bug#10599)
8686
48dd1e39 86872012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8688
8689 * international/charprop.el:
8690 * international/uni-name.el:
8691 * international/uni-old-name.el:
8692 * international/uni-comment.el: Regenerate.
8693
d68cd087
GM
86942012-02-16 Glenn Morris <rgm@gnu.org>
8695
8696 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8697 Interactively in calendar buffer, give an error if not on a date.
8698
13932042
GM
86992012-02-15 Glenn Morris <rgm@gnu.org>
8700
8701 * shell.el (shell-delimiter-argument-list):
8702 Revert 2011-02-17 change. (Bug#8027)
8703
c3a70e2b
CY
87042012-02-15 Chong Yidong <cyd@gnu.org>
8705
60236b0d
CY
8706 * minibuffer.el (completion-at-point-functions): Doc fix.
8707
c3a70e2b
CY
8708 * custom.el (defcustom): Doc fix; note use of defvar.
8709
9f26dc24
GM
87102012-02-15 Glenn Morris <rgm@gnu.org>
8711
8712 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8713 Doc fixes.
8714
6546b134
GM
87152012-02-14 Glenn Morris <rgm@gnu.org>
8716
8717 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8718
d29b2b4c
LI
87192012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8720
8721 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8722 way the ports list is computed.
835bdcba
LI
8723 (smtpmail-query-smtp-server): Prompt the user for a port number if
8724 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8725
08dcdbc9
TZ
87262012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8727
8728 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8729
2605051a
GM
87302012-02-13 Glenn Morris <rgm@gnu.org>
8731
8732 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8733
7ee99f32
TZ
87342012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8735
8736 * net/gnutls.el (gnutls-trustfiles): New variable.
8737 (gnutls-negotiate): Use it.
8738
5f0af64f
LI
87392012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8740
8741 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8742 does its stuff if Gnus is running.
8743
c14fcc95
AM
87442012-02-13 Alan Mackenzie <acm@muc.de>
8745
8746 Fix a loop in c-set-fl-decl-start.
8747
7a71b18d 8748 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8749 c-backward-syntactic-ws actually moves backwards.
8750
142b4d90
LL
87512012-02-13 Leo Liu <sdl.web@gmail.com>
8752
8753 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8754 beginning so that all \C-o chars are removed.
8755
fa9958a6
TZ
87562012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8757
dc9924b8 8758 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8759
0bc5886a
AM
87602012-02-12 Alan Mackenzie <acm@muc.de>
8761
8762 Fix infinite loop with long macros.
4d6769e1 8763 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8764
d4bd55e7
CY
87652012-02-12 Chong Yidong <cyd@gnu.org>
8766
8767 * window.el (display-buffer): Doc fix (Bug#10785).
8768
66f3fe22
GM
87692012-02-12 Glenn Morris <rgm@gnu.org>
8770
bd7da63e
GM
8771 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8772 (x-disown-selection-internal, x-get-selection-internal):
8773 Sync docs with the xselect.c versions.
8774
66f3fe22
GM
8775 * allout-widgets.el: Add missing license notice.
8776
3e0d2fa7
GM
87772012-02-11 Glenn Morris <rgm@gnu.org>
8778
cfecdf09
GM
8779 * select.el (x-get-selection-internal, x-own-selection-internal)
8780 (x-disown-selection-internal):
8781 * x-dnd.el (x-get-selection-internal): Update declarations.
8782
6d216d7f
GM
8783 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8784
2bed3f04
GM
8785 * window.el (window-sides-slots):
8786 * tool-bar.el (tool-bar-position):
8787 * term/xterm.el (xterm-extra-capabilities):
8788 * ses.el (ses-self-reference-early-detection):
8789 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8790 (verilog-auto-wire-type)
8791 (verilog-auto-delete-trailing-whitespace)
8792 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8793 (verilog-auto-tieoff-declaration):
8794 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8795 (sql-oracle-statement-starters, sql-oracle-scan-on):
8796 * progmodes/prolog.el (prolog-align-comments-flag)
8797 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8798 (prolog-left-indent-regexp, prolog-paren-indent-p)
8799 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8800 (prolog-types, prolog-mode-specificators)
8801 (prolog-determinism-specificators, prolog-directives)
8802 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8803 (prolog-electric-dot-flag)
8804 (prolog-electric-dot-full-predicate-template)
8805 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8806 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8807 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8808 (prolog-program-switches, prolog-prompt-regexp)
8809 (prolog-debug-on-string, prolog-debug-off-string)
8810 (prolog-trace-on-string, prolog-trace-off-string)
8811 (prolog-zip-on-string, prolog-zip-off-string)
8812 (prolog-use-standard-consult-compile-method-flag)
8813 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8814 (prolog-imenu-max-lines, prolog-info-predicate-index)
8815 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8816 (prolog-char-quote-workaround):
8817 * progmodes/cc-vars.el (c-defun-tactic):
8818 * net/tramp.el (tramp-encoding-command-interactive)
8819 (tramp-local-end-of-line):
8820 * net/soap-client.el (soap-client):
8821 * net/netrc.el (netrc-file):
8822 * net/gnutls.el (gnutls):
8823 * minibuffer.el (completion-category-overrides)
8824 (completion-cycle-threshold)
8825 (completion-pcm-complete-word-inserts-delimiters):
8826 * man.el (Man-name-local-regexp):
8827 * mail/feedmail.el (feedmail-display-full-frame):
8828 * international/characters.el (glyphless-char-display-control):
8829 * eshell/em-ls.el (eshell-ls-date-format):
8830 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8831 (lisp-lambda-list-keyword-parameter-indentation)
8832 (lisp-lambda-list-keyword-parameter-alignment):
8833 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8834 * dired-x.el (dired-omit-verbose):
8835 * cus-theme.el (custom-theme-allow-multiple-selections):
8836 * calc/calc.el (calc-highlight-selections-with-faces)
8837 (calc-lu-field-reference, calc-lu-power-reference)
8838 (calc-note-threshold):
8839 * battery.el (battery-mode-line-limit):
8840 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8841 (archive-7z-update):
8842 * allout.el (allout-prefixed-keybindings)
8843 (allout-unprefixed-keybindings)
8844 (allout-inhibit-auto-fill-on-headline)
8845 (allout-flattened-numbering-abbreviation):
8846 * allout-widgets.el (allout-widgets-auto-activation)
8847 (allout-widgets-icons-dark-subdir)
8848 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8849 (allout-widgets-theme-dark-background)
8850 (allout-widgets-theme-light-background)
8851 (allout-widgets-item-image-properties-emacs)
8852 (allout-widgets-item-image-properties-xemacs)
8853 (allout-widgets-run-unit-tests-on-load)
8854 (allout-widgets-time-decoration-activity)
8855 (allout-widgets-hook-error-post-time)
8856 (allout-widgets-track-decoration):
8857 Add missing :version tags to new defcustoms and defgroups.
8858
5fec1b8e
GM
8859 * progmodes/sql.el (sql-ansi-statement-starters)
8860 (sql-oracle-statement-starters): Add custom type.
8861
3e0d2fa7
GM
8862 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8863 (prolog-system-version): Give it a type.
8864
90b671e2
EZ
88652012-02-11 Eli Zaretskii <eliz@gnu.org>
8866
8867 * term/pc-win.el (x-select-text, x-selection-owner-p)
8868 (x-own-selection-internal, x-disown-selection-internal)
8869 (x-get-selection-internal): Sync doc strings and argument lists
8870 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8871
5eac0c02
LL
88722012-02-11 Leo Liu <sdl.web@gmail.com>
8873
8874 * progmodes/python.el (python-end-of-statement): Fix infinite
8875 loop. (Bug#10788)
8876
f82cb659
GM
88772012-02-10 Glenn Morris <rgm@gnu.org>
8878
8879 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8880 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8881
cc26d239
LI
88822012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8883
8884 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8885 about SMTP before checking the From header.
8886
91027d08 8887 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8888 into own function for reuse by emacsbug.el.
8889
1be3ca5a
LL
88902012-02-10 Leo Liu <sdl.web@gmail.com>
8891
8892 * subr.el (condition-case-unless-debug): Rename from
8893 condition-case-no-debug. All callers changed.
8894 (with-demoted-errors): Fix caller.
8895
8896 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8897 * nxml/rng-valid.el (rng-do-some-validation):
8898 * emacs-lisp/package.el (package-refresh-contents)
8899 (package-menu-execute):
8900 * desktop.el (desktop-create-buffer):
91027d08 8901 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8902
b011fbfe
GM
89032012-02-10 Glenn Morris <rgm@gnu.org>
8904
b2096d72
GM
8905 * textmodes/bibtex.el:
8906 Add missing :version tags for new/changed defcustoms.
8907
b011fbfe
GM
8908 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8909
4c7e65bf
LI
89102012-02-09 Lars Ingebrigtsen <larsi@rusty>
8911
8912 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8913 (smtpmail-via-smtp): Use it, or fall back on the From address.
8914 (smtpmail-send-it): Ditto.
8915
f3934f6f
SM
89162012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8919 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8920 (byte-compile-tmp-var): New const.
8921 (byte-compile-defvar): Use it to minimize .elc size.
8922 Just use `defvar' rather than simulate it (bug#10761).
8923
a075a2c5
GM
89242012-02-09 Glenn Morris <rgm@gnu.org>
8925
cf3aa21b
GM
8926 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8927
354998cd
GM
8928 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8929 Add :version tags.
8930
dc9924b8
SM
8931 * progmodes/compile.el (compilation-error-screen-columns)
8932 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8933
dab3703d
GM
8934 * vc/log-view.el (log-view-toggle-entry-display):
8935 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8936
3f88cd72
GM
8937 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8938 (report-emacs-bug-can-use-xdg-email):
8939 (report-emacs-bug-insert-to-mailer): Doc fixes.
8940 (report-emacs-bug): Message fix.
8941
d95b247d
GM
8942 * net/browse-url.el (browse-url-can-use-xdg-open)
8943 (browse-url-xdg-open): Doc fixes.
8944
a075a2c5
GM
8945 * electric.el (electric-indent-mode, electric-pair-mode)
8946 (electric-layout-rules, electric-layout-mode): Doc fixes.
8947 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8948
ffb6157e
MR
89492012-02-08 Martin Rudalics <rudalics@gmx.at>
8950
8951 * server.el (server-unselect-display): Don't inadvertently kill
8952 the current buffer. (Bug#10729)
8953
e1ac4066
GM
89542012-02-08 Glenn Morris <rgm@gnu.org>
8955
34e8a2da
GM
8956 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8957 (sql-list-table): Doc fixes.
8958
b4ac6e8c
GM
8959 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8960 Comment out (does nothing).
8961
e1ac4066
GM
8962 * completion.el (dynamic-completion-mode):
8963 * dirtrack.el (dirtrack-debug-mode):
8964 * electric.el (electric-layout-mode):
8965 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8966 * face-remap.el (text-scale-mode, buffer-face-mode):
8967 * iimage.el (iimage-mode):
8968 * image-mode.el (image-transform-mode):
8969 * minibuffer.el (completion-in-region-mode):
8970 * scroll-lock.el (scroll-lock-mode):
8971 * simple.el (next-error-follow-minor-mode):
8972 * tar-mode.el (tar-subfile-mode):
8973 * tooltip.el (tooltip-mode):
8974 * vcursor.el (vcursor-use-vcursor-map):
8975 * wid-browse.el (widget-minor-mode):
8976 * emulation/tpu-edt.el (tpu-edt-mode):
8977 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8978 * international/iso-ascii.el (iso-ascii-mode):
8979 * language/thai-util.el (thai-word-mode):
8980 * mail/supercite.el (sc-minor-mode):
8981 * net/goto-addr.el (goto-address-mode):
8982 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8983 * progmodes/cwarn.el (cwarn-mode):
8984 * progmodes/flymake.el (flymake-mode):
8985 * progmodes/glasses.el (glasses-mode):
8986 * progmodes/hideshow.el (hs-minor-mode):
8987 * progmodes/pascal.el (pascal-outline-mode):
8988 * textmodes/enriched.el (enriched-mode):
8989 * vc/smerge-mode.el (smerge-mode):
8990 Doc fixes (minor mode argument).
8991
5e0d957f
EZ
89922012-02-07 Eli Zaretskii <eliz@gnu.org>
8993
8994 * ls-lisp.el (ls-lisp-sanitize): New function.
8995 (ls-lisp-insert-directory): Use it to fix or remove any elements
8996 in file-alist with missing attributes. (Bug#4673)
8997
98d7371e
AM
89982012-02-07 Alan Mackenzie <acm@muc.de>
8999
9000 Fix spurious recognition of c-in-knr-argdecl.
9001
9002 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9003 putative K&R region.
9004
667ced3a
AM
90052012-02-07 Alan Mackenzie <acm@muc.de>
9006
eb864a71
LM
9007 * progmodes/cc-engine.el (c-forward-objc-directive):
9008 Prevent looping in "#pragma mark @implementation".
667ced3a 9009
5b77774d
MA
90102012-02-07 Michael Albinus <michael.albinus@gmx.de>
9011
9012 * notifications.el (notifications-on-closed-signal): Make `reason'
9013 optional. (Bug#10744)
9014
af008560
GM
90152012-02-07 Glenn Morris <rgm@gnu.org>
9016
60d47423
GM
9017 * emacs-lisp/easy-mmode.el (define-minor-mode):
9018 Doc fixes for the macro and the mode it defines.
9019
dd605cc4
GM
9020 * image.el (imagemagick-types-inhibit): Doc fix.
9021
af008560
GM
9022 * cus-start.el (imagemagick-render-type): Add it.
9023
5cc59a37
LI
90242012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9025
4d6769e1
JB
9026 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9027 Set the default at load time, too, so that `font-lock-fontify-buffer'
9028 can be called without setting up the entire mode first. This fixes
9029 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9030
9a6dd747
CY
90312012-02-06 Chong Yidong <cyd@gnu.org>
9032
2d16b285
CY
9033 * simple.el (list-processes--refresh): Delete exited processes
9034 (Bug#8094).
9035
171e9b6e
CY
9036 * comint.el (comint-next-prompt): next-single-char-property-change
9037 and prev-single-char-property-change never return nil (Bug#8657).
9038
9a6dd747
CY
9039 * custom.el (defcustom): Doc fix (Bug#9711).
9040
aa4589a7
CY
90412012-02-05 Chong Yidong <cyd@gnu.org>
9042
5c2a252f
CY
9043 * cus-edit.el (custom-variable-reset-backup): Quote the value
9044 before storing it in the customized-value property (Bug#6712).
4aab9006 9045 (custom-display): Add a customization type tag.
983b9602 9046 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9047
aa4589a7
CY
9048 * wid-edit.el (widget-field-value-get): New optional arg to
9049 suppress trailing whitespace truncation.
9050 (character): Use it (Bug#2689).
9051
1ff980ae
AS
90522012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9053
9054 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9055 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9056
03988c98
CY
90572012-02-05 Chong Yidong <cyd@gnu.org>
9058
eeb6cc88
CY
9059 * cus-edit.el (custom-variable-value-create): For mismatched
9060 types, show the current value (Bug#7600).
9061
03988c98
CY
9062 * custom.el (defcustom): Doc fix.
9063
f8cdeef0
GM
90642012-02-05 Glenn Morris <rgm@gnu.org>
9065
9066 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9067
0696d255
JB
90682012-02-05 Juanma Barranquero <lekktu@gmail.com>
9069
9070 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9071 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9072 (pp-last-sexp): Use `looking-at-p'.
9073
34c99998
GM
90742012-02-04 Glenn Morris <rgm@gnu.org>
9075
8f05da42
GM
9076 * files.el (revert-buffer):
9077 Doc fix (mention revert-buffer-in-progress-p).
9078
f160676e
GM
9079 * emacs-lisp/ert-x.el (ert-simulate-command):
9080 Check deferred-action-list (which is obsolete) is bound.
9081
c7291ad9
GM
9082 * subr.el (with-wrapper-hook): Doc fixes.
9083
34c99998
GM
9084 * simple.el (filter-buffer-substring-functions)
9085 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9086
6283a7d3
LL
90872012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9088
9089 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9090 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9091
e96e3013
LL
90922012-02-04 Leo Liu <sdl.web@gmail.com>
9093
9094 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9095
8ded50f2
GM
90962012-02-04 Glenn Morris <rgm@gnu.org>
9097
82ff1d13
GM
9098 * image.el (image-extension-data): Add obsolete alias.
9099
987a0a16
GM
9100 * isearch.el (isearch-update): Doc fix.
9101
ea32ef46
GM
9102 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9103
8ded50f2
GM
9104 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9105
eea14f31
GM
91062012-02-03 Glenn Morris <rgm@gnu.org>
9107
9108 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9109 (image-animate-timeout): Doc fix.
9110
9111 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9112
12f381b7
GM
91132012-02-02 Glenn Morris <rgm@gnu.org>
9114
953cebf5
GM
9115 * server.el (server-auth-dir): Doc fix.
9116 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9117
12f381b7
GM
9118 * subr.el (run-mode-hooks): Doc fix.
9119
953a8c3b
JL
91202012-02-02 Juri Linkov <juri@jurta.org>
9121
9122 * image-mode.el (image-toggle-display-image): Remove tautological
9123 `major-mode' from the `derived-mode-p' test.
9124
c5d3843c
KH
91252012-02-02 Kenichi Handa <handa@m17n.org>
9126
9f6e692e 9127 * composite.el (compose-region): Cancel previous change.
c5d3843c 9128
159462d4 91292012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9130
9131 * composite.el (compose-region, compose-string): Signal error for
9132 a null string component (Bug#6988).
9133
9f562668
CY
91342012-02-01 Chong Yidong <cyd@gnu.org>
9135
e2cef717
CY
9136 * view.el (view-buffer-other-window, view-buffer-other-frame):
9137 Handle special modes like view-buffer (Bug#10650).
9138 (view-buffer): Simplify.
9139
9f562668
CY
9140 * frame.el (set-frame-font): Tweak meaning of third argument.
9141
9f6e692e
JB
9142 * dynamic-setting.el (font-setting-change-default-font):
9143 Use set-frame-font (Bug#9982).
9f562668 9144
781acb9f
GM
91452012-02-01 Glenn Morris <rgm@gnu.org>
9146
6035be52
GM
9147 * progmodes/compile.el (compilation-internal-error-properties):
9148 Respect compilation-first-column in the "*compilation*" buffer.
9149
781acb9f
GM
9150 * emacs-lisp/easy-mmode.el (define-minor-mode):
9151 Relax :variable's test for a named function.
9152
abbceb00
AM
91532012-01-31 Alan Mackenzie <acm@muc.de>
9154
9155 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9156 off by one error.
9157
fce3fdeb
CY
91582012-01-31 Chong Yidong <cyd@gnu.org>
9159
9160 * frame.el (set-frame-font): New arg ALL-FRAMES.
9161
9162 * menu-bar.el (menu-set-font): Use set-frame-font.
9163
9164 * faces.el (face-spec-reset-face): Don't apply unspecified
9165 attribute values to the default face.
9166
47893581
JB
91672012-01-31 Juanma Barranquero <lekktu@gmail.com>
9168
9169 * progmodes/cwarn.el (cwarn): Remove dead link.
9170 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9171 Remove * from defcustom docstrings.
9172 (turn-on-cwarn-mode): Make obsolete.
9173 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9174 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9175
e58e988a
GM
91762012-01-31 Glenn Morris <rgm@gnu.org>
9177
60dc2671 9178 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9179 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9180 Allow named functions to be used as the cdr of :variable.
e58e988a 9181
7a3f511d
GM
91822012-01-30 Glenn Morris <rgm@gnu.org>
9183
9184 * emacs-lisp/authors.el (authors-fixed-entries):
9185 Remove reference to deleted file rnewspost.el.
9186
cb882333
JB
91872012-01-29 Juanma Barranquero <lekktu@gmail.com>
9188
9189 * window.el (window-with-parameter): Remove unused variable `windows'.
9190 (window--side-check): Remove unused variable `code'.
9191 (window--resize-siblings): Remove unused variable `first'.
9192 (adjust-window-trailing-edge): Remove unused variable `failed'.
9193 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9194 Use `let', not `let*'.
9195 (balance-windows-2): Remove unused variable `found'.
9196 (window--state-put-2): Remove unused variable `splits'.
9197 (window-state-put): Remove unused variable `selected'.
9198 (same-window-p): Use `string-match-p'.
9199 (display-buffer-assq-regexp): Remove unused variable `value'.
9200 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9201 Mark argument ALIST as ignored.
9202 (pop-to-buffer): Remove unused variable `old-window'.
9203
907201af
EZ
92042012-01-29 Eli Zaretskii <eliz@gnu.org>
9205
9206 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9207 and .lzma compressed files.
9208
ea162670
CY
92092012-01-29 Chong Yidong <cyd@gnu.org>
9210
5b95ee8a
CY
9211 * frame.el (window-system-default-frame-alist): Doc fix.
9212
ea162670
CY
9213 * dynamic-setting.el (font-setting-change-default-font): Don't
9214 change the default face if SET-FONT argument is non-nil (Bug#9982).
9215
d6e6f4b1
SB
92162012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9217
9218 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9219
0f29fa41 92202012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9221
9222 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9223 breakpoints in files outside current directory (Bug#6098).
9224
db174434
CY
92252012-01-29 Chong Yidong <cyd@gnu.org>
9226
6b25e4e2
SE
9227 * progmodes/python.el: Require ansi-color at top-level.
9228
6df6ae42
JB
9229 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9230 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9231 (lisp-mode-abbrev-table): Add doc.
9232 (lisp-mode-variables): Don't set local-abbrev-table.
9233 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9234
e70ee681
RW
92352012-01-28 Roland Winkler <winkler@gnu.org>
9236
9237 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9238
ace88aa2
RW
92392012-01-28 Roland Winkler <winkler@gnu.org>
9240
9241 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9242 (bibtex-set-dialect): Use it. Either set global values of
9243 dialect-dependent variables or bind these variables buffer-locally
9244 (Bug#10254).
9245 (bibtex-mode): Call bibtex-set-dialect via
9246 hack-local-variables-hook.
eb864a71
LM
9247 (bibtex-dialect): Update docstring.
9248 Add safe-local-variable predicate.
ace88aa2
RW
9249 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9250 bibtex-set-dialect.
9251 (bibtex-mode-map): Define menu for each dialect.
9252 (bibtex-entry): Fix docstring.
9253
93376c5b
CY
92542012-01-28 Chong Yidong <cyd@gnu.org>
9255
9256 * eshell/esh-arg.el (eshell-quote-argument): New function.
9257
9258 * eshell/esh-ext.el (eshell-invoke-batch-file):
9259 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9260 first arg to eshell-parse-command (Bug#10523).
9261
4372494f
DA
92622012-01-28 Drew Adams <drew.adams@oracle.com>
9263
9264 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9265 `default-directory' is non-nil.
9266
4d4ec1f8
EZ
92672012-01-28 Eli Zaretskii <eliz@gnu.org>
9268
9269 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9270 line that displays system-configuration-options. (Bug#9924)
9271
7c188927
DA
92722012-01-28 Drew Adams <drew.adams@oracle.com>
9273
9274 * descr-text.el (describe-char): Show information about POS, in
9275 addition to information about the character at POS. Improve and
9276 update the doc string. Change "code point" to "code point in
9277 charset", to avoid confusion with the character's Unicode code
9278 point shown above that. (Bug#10129)
9279
e0da685a
EZ
92802012-01-28 Eli Zaretskii <eliz@gnu.org>
9281
9282 * descr-text.el (describe-char): Show the raw character, not only
9283 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9284 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9285 for the reasons.
9286
70550acf
PH
92872012-01-28 Phil Hagelberg <phil@hagelb.org>
9288
eb864a71
LM
9289 * emacs-lisp/package.el (package-install):
9290 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9291
0ce8e868
CY
92922012-01-28 Chong Yidong <cyd@gnu.org>
9293
cb882333
JB
9294 * emacs-lisp/package.el (package-maybe-load-descriptor):
9295 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9296 (package-maybe-load-descriptor): Use it.
9297 (package-download-transaction): Fully load required packages
9298 inside the loop, so that `require' calls work (Bug#10593).
9299 (package-install): No need to call package-initialize now.
9300
2e7f3bea
CY
93012012-01-28 Chong Yidong <cyd@gnu.org>
9302
6e9bad14
CY
9303 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9304
f823b8ca
CY
9305 * tooltip.el (tooltip-mode): Doc fix.
9306 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9307
2680c309
CY
9308 * frame.el (set-cursor-color): Doc fix (Bug#352).
9309
d7a9e63b
CY
9310 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9311 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9312
2e7f3bea
CY
9313 * cus-edit.el (custom-buffer-create-internal): Fix search button
9314 action (Bug#10542).
2ae01800 9315 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9316
fc4f7a23
EW
93172012-01-27 Eduard Wiebe <usenet@pusto.de>
9318
9319 * dired.el (dired-mark-files-regexp):
9320 Include any subdirectory components. (Bug#10445)
9321
7dd37071
ML
93222012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9323
9324 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9325 Handle [host]:port syntax. (Bug#10533)
9326
a268160b
AH
93272012-01-27 Alex Harsanyi <harsanyi@mac.com>
9328
9329 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9330
e43273ef
GM
93312012-01-26 Glenn Morris <rgm@gnu.org>
9332
9333 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9334 * term.el (term-raw-escape-map): Use Control-X-prefix.
9335 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9336
1edf595d
MR
93372012-01-25 Martin Rudalics <rudalics@gmx.at>
9338
9339 * window.el (window-state-get, window--state-get-1): Don't deal
9340 with fixed-sizeness of windows. Simplify code.
9341
fa8eafef
JC
93422012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9343
6df6ae42
JB
9344 * window.el (window--state-get-1, window--state-put-2):
9345 Don't save and restore the mark.
fa8eafef 9346
0b21c100
CY
93472012-01-25 Chong Yidong <cyd@gnu.org>
9348
9349 * custom.el (custom-variable-p): Doc fix.
9350
5ae1a6c8
GM
93512012-01-25 Glenn Morris <rgm@gnu.org>
9352
40047858
GM
9353 * dired.el (dired-goto-file): Handle some of the more common
9354 characters that `ls -b' escapes. (Bug#10596)
9355
5ddce96c
GM
9356 * progmodes/compile.el (compilation-next-error-function):
9357 Respect compilation-first-column in the "*compilation*" buffer.
9358 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9359
5ae1a6c8
GM
9360 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9361
b559f1a9
GM
93622012-01-24 Glenn Morris <rgm@gnu.org>
9363
9364 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9365
6725d21a
JD
93662012-01-24 Julien Danjou <julien@danjou.info>
9367
9368 * color.el (color-rgb-to-hsl): Fix value computing.
9369 (color-hue-to-rgb): New function.
9370 (color-hsl-to-rgb): New function.
9371 (color-clamp, color-saturate-hsl, color-saturate-name)
9372 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9373 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9374
70df4bbe
GM
93752012-01-24 Glenn Morris <rgm@gnu.org>
9376
9377 * vc/vc-rcs.el (vc-rcs-create-tag):
9378 * vc/vc-sccs.el (vc-sccs-create-tag):
9379 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9380
802a2ae2
ML
93812012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9382
9383 * eshell/esh-util.el (eshell-read-hosts-file):
9384 Skip comment lines. (Bug#10549)
9385
d7128bb1
ML
9386 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9387
d1a5c3b4
JB
93882012-01-23 Juanma Barranquero <lekktu@gmail.com>
9389
2724d9c7
JB
9390 * subr.el (display-delayed-warnings): Doc fix.
9391 (collapse-delayed-warnings): New function to collapse identical
9392 adjacent warnings.
9393 (delayed-warnings-hook): Add it.
d1a5c3b4 9394
a5509865
MA
93952012-01-22 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9398
a5509865
MA
9399 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9400 (tramp-default-user-alist): Don't add "pscp".
9401 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9402 property "login-as", if set. (Bug#10530)
9403
cc6d5805
MA
94042012-01-21 Michael Albinus <michael.albinus@gmx.de>
9405
9406 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9407 "plink1" and "psftp". (Bug#10530)
9408
94092012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9410
9411 * international/mule-cmds.el (prefer-coding-system): Show a
9412 warning message if the default value of file-name-coding-system
9413 was not changed.
9414
f0960428
JC
94152012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9416
cb882333
JB
9417 * windmove.el (windmove-reference-loc):
9418 Fix windmove-reference-loc miscalculation.
f0960428 9419
dd6f2a63
JB
94202012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9421
9422 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9423 default unit.
9424
7b447e9b
GM
94252012-01-21 Glenn Morris <rgm@gnu.org>
9426
117a9ea1
GM
9427 * international/mule.el (auto-coding-alist): Add .tbz.
9428
7b447e9b
GM
9429 * files.el (local-enable-local-variables): Doc fix.
9430 (inhibit-local-variables-regexps): Rename from
9431 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9432 Doc fix. Add some extensions from auto-coding-alist.
9433 (inhibit-local-variables-suffixes):
9434 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9435 (inhibit-local-variables-p):
9436 New function, extracted from set-auto-mode-1.
9437 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9438 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9439 (hack-local-variables): Doc fix. Make the mode-only case
9440 respect enable-local-variables and friends.
9441 Respect inhibit-local-variables-regexps for file-locals, but
9442 not for directory-locals.
9443 (set-visited-file-name):
9444 Take account of inhibit-local-variables-regexps.
9445 Whether it applies may change as the file name is changed.
9446 * jka-cmpr-hook.el (jka-compr-install):
9447 * jka-compr.el (jka-compr-uninstall):
9448 Update for inhibit-first-line-modes-suffixes name change.
9449
dd6e3cdd
MR
94502012-01-20 Martin Rudalics <rudalics@gmx.at>
9451
9452 * help-macro.el (make-help-screen): Temporarily restore original
9453 binding for minor-mode-map-alist (Bug#10454).
9454
0d0deb38
JD
94552012-01-19 Julien Danjou <julien@danjou.info>
9456
9457 * color.el (color-name-to-rgb): Use the white color to find the max
9458 color component value and return correctly computed values.
9459 (color-name-to-rgb): Add missing float conversion for max value.
9460
34a02f46
MR
94612012-01-19 Martin Rudalics <rudalics@gmx.at>
9462
9463 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9464 special state value for window-persistent-parameters.
9465 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9466 (window--state-put-2): Reset all window parameters to nil before
9467 assigning values of persistent parameters.
9468
606c44c4
AM
94692012-01-18 Alan Mackenzie <acm@muc.de>
9470
9471 Eliminate sluggishness and hangs in fontification of "semicolon
9472 deserts".
9473
cb882333
JB
9474 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9475 Change value 10000 -> 3000.
606c44c4
AM
9476 (c-state-safe-place): Reformulate so it doesn't stack up an
9477 infinite number of wrong entries in c-state-nonlit-pos-cache.
9478 (c-determine-limit-get-base, c-determine-limit): New functions to
9479 determine backward search limits disregarding literals.
9480 (c-find-decl-spots): Amend commenting.
9481 (c-cheap-inside-bracelist-p): New function which detects "={".
9482
9483 * progmodes/cc-fonts.el
9484 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9485 backward search.
9486 (c-font-lock-declarations): Fix an occurrence of point being
9487 undefined. Check additionally for point being in a bracelist or
9488 near a macro invocation without a semicolon so as to avoid a
9489 fruitless time consuming search for a declarator. Give a more
9490 precise search limit for declarators using the new
9491 c-determine-limit.
9492
f3860cea
GM
94932012-01-18 Glenn Morris <rgm@gnu.org>
9494
9495 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9496 (set-auto-mode): Doc fixes.
9497
1db03b16
GM
94982012-01-17 Glenn Morris <rgm@gnu.org>
9499
0e6038be
GM
9500 * isearch.el (search-nonincremental-instead): Fix doc typo.
9501
1db03b16
GM
9502 * dired.el (dired-insert-directory): Handle newlines in directory name.
9503 (dired-build-subdir-alist): Unescape newlines in directory name.
9504
4cb0aa75
MA
95052012-01-17 Michael Albinus <michael.albinus@gmx.de>
9506
9507 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9508 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9509 (tramp-action-terminal): Use it. (Bug#10530)
9510
1d00653d
SM
95112012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9514
6a6ee00d
MR
95152012-01-16 Martin Rudalics <rudalics@gmx.at>
9516
9517 * window.el (window-state-ignored-parameters): Remove variable.
9518 (window--state-get-1): Rename argument MARKERS to IGNORE.
9519 Handle persistent window parameters. Make copy of clone-of
9520 parameter only if requested. (Bug#10348)
9521 (window--state-put-2): Install a window parameter only if it has
9522 a non-nil value or an existing parameter shall be overwritten.
9523
97912def
MA
95242012-01-15 Michael Albinus <michael.albinus@gmx.de>
9525
9526 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9527
688070a5
EZ
95282012-01-14 Eli Zaretskii <eliz@gnu.org>
9529
9530 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9531 don't pass the (nil) value of `upnode' to string-match.
9532
301afadc
CY
95332012-01-14 Chong Yidong <cyd@gnu.org>
9534
9535 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9536 Fix values recognized by the cursorBlink resource.
301afadc 9537
9e5788aa
PE
95382012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9539
9540 * epg.el (epg--make-temp-file): Avoid permission race condition
9541 when running on old Emacs versions (bug#10403).
9542
3cdb7f5a
GM
95432012-01-14 Glenn Morris <rgm@gnu.org>
9544
9545 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9546
8c82b1b4
AM
95472012-01-13 Alan Mackenzie <acm@muc.de>
9548
9549 Fix filling for when filladapt mode is enabled.
9550
9551 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9552 c-mask-paragraph, pass in `fill-paragraph' rather than
9553 `fill-region-as-paragraph'. (This is a reversion of a previous
9554 change.)
eb864a71
LM
9555 * progmodes/cc-mode.el (c-basic-common-init):
9556 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9557
e517eda4
GM
95582012-01-13 Glenn Morris <rgm@gnu.org>
9559
1498536e
GM
9560 * dired.el (dired-switches-escape-p): New function.
9561 (dired-insert-directory): Use dired-switches-escape-p.
9562 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9563
e517eda4
GM
9564 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9565
328f984d
GM
95662012-01-12 Glenn Morris <rgm@gnu.org>
9567
9568 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9569 changes in adaptive-fill-regexp. (Bug#10276)
9570
2cc769a8
AM
95712012-01-11 Alan Mackenzie <acm@muc.de>
9572
9573 Fix Emacs bug #10463 - put `widen's around the critical spots.
9574
1d00653d 9575 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9576 widen around each invocation of c-state-pp-to-literal. Remove an
9577 unused let variable.
9578
e52c37fa
GM
95792012-01-11 Glenn Morris <rgm@gnu.org>
9580
9581 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9582 Doc fix.
e52c37fa 9583
96f8741e
CY
95842012-01-10 Chong Yidong <cyd@gnu.org>
9585
1d00653d
SM
9586 * net/network-stream.el (network-stream-open-starttls):
9587 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9588 response to the capability command.
9589
b09a806e
GM
95902012-01-10 Glenn Morris <rgm@gnu.org>
9591
9592 * mail/unrmail.el (unrmail): Tweak previous change.
9593
7655cb66
CY
95942012-01-09 Chong Yidong <cyd@gnu.org>
9595
9596 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9597
9d5a8f0b
AM
95982012-01-08 Alan Mackenzie <acm@muc.de>
9599
9600 Optimise font locking in long enum definitions.
9601
9602 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9603 arm to a cond form to handle enums.
9604 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9605 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9606
9a0115ab 96072012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9608
9609 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9610 (Bug#10401)
6bb72cbd 9611
f186bb95
LMI
96122012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9613
29232a68
LMI
9614 * faces.el (set-face-attribute): Clarify the meaning of the nil
9615 frame (bug#10294).
9616
4e5d086d
LMI
9617 * subr.el (with-selected-frame): Mention that the selected frame
9618 is restored (bug#9980).
9619
8e66aebe
LMI
9620 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9621 (bug#9759).
9622
cd394be1 9623 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9624 (password-read): Don't autoload unused function.
9625
adf4e762
JB
96262012-01-07 Juanma Barranquero <lekktu@gmail.com>
9627
9628 * progmodes/which-func.el (which-func-mode): Turn into a
9629 non-interactive function and mark as obsolete (bug#10428).
9630
89bd9ccd
CY
96312012-01-06 Chong Yidong <cyd@gnu.org>
9632
9633 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9634 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9635 functions, along with 1 and -1.
9636
4afee9d5
EZ
96372012-01-06 Eli Zaretskii <eliz@gnu.org>
9638
9639 * time.el (display-time-load-average)
9640 (display-time-default-load-average): Doc fixes. See the thread
9641 starting at
9642 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9643 for the details.
9644
536aea70
GM
96452012-01-06 Glenn Morris <rgm@gnu.org>
9646
665ae865
GM
9647 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9648 has no messages. (Bug#10377)
9649
c869783d
GM
9650 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9651 than Info-edit. (Bug#10385)
9652
2bb4227e
GM
9653 * time.el (display-time-load-average, display-time-next-load-average):
9654 Doc fixes.
9655
7d5944b9
GM
9656 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9657 local setting of buffer-read-only to the input buffer. (Bug#10419)
9658
536aea70
GM
9659 * calendar/calendar.el (calendar-mode):
9660 Locally set scroll-margin to 0. (Bug#10379)
9661
7dccca16
UM
96622012-01-06 Ulrich Mueller <ulm@gentoo.org>
9663
9664 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9665
afbb7930
GM
96662012-01-05 Glenn Morris <rgm@gnu.org>
9667
9668 * eshell/em-unix.el (diff-no-select): Autoload it.
9669 (eshell/diff): Use diff-no-select. (Bug#10420)
9670
04482335
CY
96712012-01-05 Chong Yidong <cyd@gnu.org>
9672
7baca3bc
CY
9673 * shell.el (shell-dynamic-complete-functions): Revert last change.
9674 (shell-command-completion-function): New function.
9675 (shell-completion-vars): Use it to implement
9676 shell-completion-execonly (Bug#10417).
9677
04482335
CY
9678 * custom.el (enable-theme): Don't set custom-safe-themes.
9679
1d00653d
SM
9680 * cus-theme.el (custom-theme-merge-theme):
9681 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9682
bb5aa5d6
MM
96832012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9684
9685 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9686 first prompt in `sql-interacive-mode'.
9687 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9688 keywords.
6df6ae42 9689 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9690 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9691 context of original buffer. Invoke `sql-login-hook'.
9692
a7183d7c
EZ
96932012-01-04 Eli Zaretskii <eliz@gnu.org>
9694
9695 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9696 letters in cite-prefix.
9697
a1eacd1e
LMI
96982012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9699
9700 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9701
787cdb34
CY
97022012-01-03 Chong Yidong <cyd@gnu.org>
9703
1d00653d
SM
9704 * shell.el (shell-dynamic-complete-functions):
9705 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9706 comint-filename-completion first (Bug#10417).
9707
30710442
RS
97082012-01-02 Richard Stallman <rms@gnu.org>
9709
9710 * battery.el (battery-status-function):
9711 Detect when to use battery-yeeloong-sysfs.
9712 (battery-echo-area-format): Add string for Yeeloong.
9713 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9714 (battery-yeeloong-sysfs): New function.
9715
f75bfc33
CY
97162012-01-02 Chong Yidong <cyd@gnu.org>
9717
9718 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9719 (dirtrack): Merge code for handling relative filenames in prompt
9720 from shell-dir-cookie-watcher.
9721 (dirtrack-debug-message): New arg to avoid excess format calls.
9722
9723 * shell.el (shell-dir-cookie-re): Variable deleted.
9724 (shell-dir-cookie-watcher): Function deleted.
9725 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9726 with dirtrack-mode.
9727
651e947e
EZ
97282012-01-01 Eli Zaretskii <eliz@gnu.org>
9729
1d00653d
SM
9730 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9731 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9732 libgnutls-26.dll.
9733
94d4c7dc
AS
97342011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9735
9736 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9737
8d43f3cd
EZ
97382011-12-31 Eli Zaretskii <eliz@gnu.org>
9739
9740 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9741 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9742
98c8795a
MA
97432011-12-29 Michael Albinus <michael.albinus@gmx.de>
9744
9745 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9746 also for alternative shells.
9747 (tramp-open-connection-setup-interactive-shell): Check, whether
9748 the shell is a busybox.
9749 (tramp-send-command): Don't suppress multiple prompts for
9750 busyboxes, it hurts.
9751
51281b32
CY
97522011-12-28 Chong Yidong <cyd@gnu.org>
9753
9754 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9755 (gdb-get-source-file): Move mode line update to
9756 gdb-get-source-file (Bug#10087).
9757
2170cb53
CY
97582011-12-25 Chong Yidong <cyd@gnu.org>
9759
9760 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9761 gud-gdb-marker-filter without taking it as an argument.
9762 (gud-gdb-run-command-fetch-lines): Caller changed.
9763 (gud-gdb-completion-function): New variable.
9764 (gud-gdb-completion-at-point): Use it.
9765 (gud-gdb-completions-1): Split from gud-gdb-completions.
9766
9767 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9768 function as separate arguments.
9769 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9770 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9771 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9772 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9773 (gdb-stopped, def-gdb-auto-update-trigger)
9774 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9775 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9776 Callers changed.
2170cb53
CY
9777 (gud-gdbmi-completions): New function.
9778 (gdb): Use it for generating the completion table.
9779
be8b11bb
AM
97802011-12-24 Alan Mackenzie <acm@muc.de>
9781
9782 Introduce a mechanism to widen the region used in context font
1d00653d 9783 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9784
1d00653d
SM
9785 * progmodes/cc-langs.el (c-before-font-lock-functions):
9786 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9787 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9788 functions to be run just before context (etc.) font locking.
9789
9790 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9791 New, functionality extracted from
be8b11bb 9792 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9793 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9794 (c-after-change): Set c-in-after-change-fontification.
9795 (c-set-fl-decl-start): Rejig its interface, so it can be called
9796 from both after-change and context fontifying.
b81d40f0
JB
9797 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9798 New functions.
9799 (c-standard-font-lock-fontify-region-function): New variable.
9800 (c-font-lock-fontify-region): New function.
be8b11bb 9801
341cf6ac
JL
98022011-12-24 Juri Linkov <juri@jurta.org>
9803
9804 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9805 (Bug#10348)
9806
bffcee0a
MA
98072011-12-23 Michael Albinus <michael.albinus@gmx.de>
9808
9809 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9810 existence of source file. (Bug#10325)
9811
cb5e207c
AM
98122011-12-23 Alan Mackenzie <acm@muc.de>
9813
9814 Fix unstable fontification inside templates.
9815
b81d40f0
JB
9816 * progmodes/cc-langs.el (c-before-font-lock-functions):
9817 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9818 additionally has c-set-fl-decl-start. The other languages (apart
9819 from AWK) have that as a single entry.
9820
b81d40f0
JB
9821 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9822 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9823 c-set-fl-decl-start.
9824
b81d40f0
JB
9825 * progmodes/cc-mode.el (c-common-init, c-after-change):
9826 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9827 (c-set-fl-decl-start): New function, extracted from
9828 c-font-lock-enclosing-decls and enhanced.
9829
60ff536c
JB
98302011-12-23 Juanma Barranquero <lekktu@gmail.com>
9831
9832 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9833
1c4757d6
JL
98342011-12-22 Juri Linkov <juri@jurta.org>
9835
9836 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9837
d031f2c7
CY
98382011-12-22 Chong Yidong <cyd@gnu.org>
9839
9840 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9841
bace743a
DA
98422011-12-21 Drew Adams <drew.adams@oracle.com>
9843
9844 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9845
728a1f2b
JC
98462011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9847
9848 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9849
0d373f73
TZ
98502011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9851
fec0aaa4
TZ
9852 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9853 highlighting and support. Fix up comments for capitalization.
9854 (cfengine-mode-debug): New var.
9855 (cfengine3-mode): Change the modeline indicator to "CFE3".
9856 (cfengine3-font-lock-keywords): Improve defun highlighting.
9857 (cfengine2-actions): Rename from `cfengine-actions'.
9858 (cfengine2-font-lock-keywords): Rename from
9859 `cfengine-font-lock-keywords'.
9860 (cfengine2-imenu-expression): Rename from
9861 `cfengine-imenu-expression'.
9862 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9863 (cfengine2-beginning-of-defun): Rename from
9864 `cfengine-beginning-of-defun'.
9865 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9866 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9867 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9868 modeline indicator to "CFE2".
9869 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9870 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9871
bc86f573
CY
98722011-12-21 Chong Yidong <cyd@gnu.org>
9873
9874 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9875 filename argument.
9876
d45ba96b
MR
98772011-12-20 Martin Rudalics <rudalics@gmx.at>
9878
9879 * window.el (window-normalize-buffer-to-display): Remove.
9880 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9881
a6198c90
CY
98822011-12-19 Chong Yidong <cyd@gnu.org>
9883
9884 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9885 Don't signal an error in a predicate function; return non-nil.
9886 (vc-dir-mark-file): Move the error here.
9887 (vc-dir-mark-unmark): If acting on the region, keep going if one
9888 of the entries cannot be marked/unmarked.
9889 (vc-dir-mark-all-files): If current entry is a directory, mark
9890 only child files, as documented.
9891
34c5fb55
VB
98922011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9893
9894 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9895 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9896 addition.
9897
c803b2b7
JD
98982011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9899
9900 * term/ns-win.el (ns-get-selection-internal)
9901 (ns-store-selection-internal): Declare.
1154d12e
JB
9902 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9903 Declare as obsolete.
9904 (ns-get-pasteboard, ns-paste-secondary):
9905 Use ns-get-selection-internal.
41e9b956 9906 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 9907 Use ns-store-selection-internal.
c803b2b7 9908
9cff91f8 99092011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9910
9911 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9912 (vc-deduce-fileset): Doc fix.
99a289d9 9913
f16c898a
AS
99142011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9915
9916 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9917
763237c4
SS
99182011-12-13 Sam Steingold <sds@gnu.org>
9919
9920 * man.el (Man-getpage-in-background): When running under a
9921 window-system, ignore $MANWIDTH and $COLUMNS.
9922
5fc1c122
KH
99232011-12-15 Kenichi Handa <handa@m17n.org>
9924
9925 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9926 (setup-ethiopic-environment-internal): Comment out key-binding for
9927 ethio-toggle-punctuation.
9928
13d49cbb
AM
99292011-12-13 Alan Mackenzie <acm@muc.de>
9930
898169a2
AM
9931 Add the switch statement to AWK Mode.
9932
7a71b18d 9933 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9934 "default" to the keywords regexp.
9935
7a71b18d 9936 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9937 expression as the rest.
1d00653d
SM
9938 (c-nonlabel-token-key): Allow string literals for AWK.
9939 Refactor for the other modes.
898169a2 9940
13d49cbb 9941 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9942 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9943 routines. Limit backward searching in c-font-lock-enclosing.decl.
9944
9945 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9946 pp-state and literal type in addition to the limits.
1d00653d 9947 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9948 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9949 (c-slow-in-literal, c-fast-in-literal): Remove.
9950 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9951
9952 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9953 being in a literal. Add a limit for backward searching.
9954
9955 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9956 c-slow-in-literal.
9957
15e0efc7
SM
99582011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9961
454592a6
MR
99622011-12-13 Martin Rudalics <rudalics@gmx.at>
9963
9964 * window.el (delete-other-windows): Use correct frame in call to
9965 window-with-parameter.
9966
87393f26
DP
99672011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9968
9969 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9970 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9971 (makefile-gmake-statements, makefile-makepp-statements):
9972 Use it and add new makepp keywords.
9973 (makefile-makepp-font-lock-keywords): Add new patterns.
9974 (makefile-match-function-end): Match new [...] and [[...]].
9975
11636b22
JB
99762011-12-11 Juanma Barranquero <lekktu@gmail.com>
9977
9978 * ses.el (ses-call-printer-return, ses-cell-property-get)
9979 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9980 (ses-create-cell-variable, ses-reset-header-string)
9981 (ses-cell-set-formula, ses-repair-cell-reference-all)
9982 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9983 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9984 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9985 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9986 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9987 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9988 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9989 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9990 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9991 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9992 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9993 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9994
cf018193
VB
99952011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9996
9997 * ses.el: The overall change is to add cell renaming, that is
9998 setting fancy names for cell symbols other than name matching
9999 "\\`[A-Z]+[0-9]+\\'" regexp .
10000 (ses-create-cell-variable): New defun.
10001 (ses-relocate-formula): Relocate formulas only for cells the
10002 symbols of which are not renamed, i.e. symbols whose names do not
10003 match regexp "\\`[A-Z]+[0-9]+\\'".
10004 (ses-relocate-all): Relocate values only for cells the symbols of
10005 which are not renamed.
10006 (ses-load): Create cells variables as the (ses-cell ...) are read,
10007 in order to check row col consistency with cell symbol name only
10008 for cells that are not renamed.
10009 (ses-replace-name-in-formula): New defun.
10010 (ses-rename-cell): New defun.
10011
ee957461
CY
100122011-12-11 Chong Yidong <cyd@gnu.org>
10013
10014 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10015 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10016
9a9e9ef0
MR
100172011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10018
10019 * window.el (other-window): Fix docstring.
10020
92a8eba5
EZ
100212011-12-10 Eli Zaretskii <eliz@gnu.org>
10022
10023 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10024 `from' or `to' address before taking its substring.
10025 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10026 encoded name is chopped in the middle of the encoded string, and
10027 thus displayed encoded.
10028
e152e577
JB
100292011-12-10 Juanma Barranquero <lekktu@gmail.com>
10030
10031 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10032
e5d84bfe
EZ
100332011-12-10 Eli Zaretskii <eliz@gnu.org>
10034
10035 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10036 to use texinfo-update-node and commands that call it if the
10037 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10038 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10039 (texinfo-all-menus-update, texinfo-master-menu)
10040 (texinfo-update-node, texinfo-every-node-update)
10041 (texinfo-multiple-files-update): Doc fix. Warn against updating
10042 all the @node lines.
10043 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10044 argument is numeric. Explain better in the doc string what the
10045 function really does.
10046 (texinfo-insert-master-menu-list): Improve the error message
10047 displayed if there's no menu in the Top node.
10048 (Bug#2975) See also this thread:
e5d84bfe
EZ
10049 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10050
1d84e9bb
MG
100512011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10052
10053 * speedbar.el (speedbar-supported-extension-expressions):
10054 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10055
382c953b
JB
100562011-12-09 Juanma Barranquero <lekktu@gmail.com>
10057
10058 * printing.el (pr-mode-alist):
10059 * simple.el (filter-buffer-substring-functions)
10060 (completion-list-insert-choice-function):
10061 * window.el (window-with-parameter, window-atom-root)
10062 (window-sides-slots, window-size-fixed, window-min-delta)
10063 (window-max-delta, window--resize-mini-window)
10064 (window--resize-child-windows-normal, window-tree)
10065 (delete-other-windows, quit-window, split-window)
10066 (display-buffer-record-window, special-display-buffer-names)
10067 (special-display-regexps, special-display-popup-frame)
10068 (same-window-p, split-window-sensibly)
10069 (display-buffer-overriding-action, display-buffer-alist)
10070 (display-buffer-base-action, display-buffer, switch-to-buffer)
10071 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10072 (fit-window-to-buffer, recenter-positions)
10073 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10074 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10075 and remove unneeded backslashes in docstrings.
10076
39c9faef
SM
100772011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10078
98449af8
SM
10079 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10080
39c9faef
SM
10081 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10082 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10083 end in ".mk".
10084 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10085 when reading the makefile (bug#10116).
10086
86ed9fdc
SM
100872011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10090 (bug#10116).
10091
5580f89d
GM
100922011-12-06 Glenn Morris <rgm@gnu.org>
10093
10094 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10095
28d3917c
CY
100962011-12-06 Chong Yidong <cyd@gnu.org>
10097
10098 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10099
a98edce9
JB
101002011-12-06 Juanma Barranquero <lekktu@gmail.com>
10101
10102 * textmodes/table.el (table-shorten-cell): Fix typo.
10103
e65adfac
CG
101042011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10105
10106 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10107
71cc0b74
EZ
101082011-12-05 Eli Zaretskii <eliz@gnu.org>
10109
10110 * descr-text.el (describe-char): Fix display of strong
10111 right-to-left characters and directional embeddings and overrides.
10112
10113 * simple.el (what-cursor-position): Fix display of codepoints of
10114 strong right-to-left characters.
10115
315bc30d
CY
101162011-12-05 Chong Yidong <cyd@gnu.org>
10117
10118 * faces.el (read-color): Doc fix.
10119
58a70b94
GM
101202011-12-05 Glenn Morris <rgm@gnu.org>
10121
10122 * align.el (align--set-marker): Add doc-string.
10123 Don't try to move something that is not a marker. (Bug#10216)
10124
5158face
GM
101252011-12-04 Glenn Morris <rgm@gnu.org>
10126
10127 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10128 overly zealous deletion of trailing whitespace.
10129
520fca41
JB
101302011-12-04 Juanma Barranquero <lekktu@gmail.com>
10131
10132 * server.el (server-delete-client): On Windows, do not try to delete
10133 the only terminal.
10134 (server-process-filter): On Windows, treat requests for a tty frame as
10135 if they were for a GUI frame if the running server is in GUI mode.
10136
5e605a2e
GM
101372011-12-03 Glenn Morris <rgm@gnu.org>
10138
10139 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10140
5c3fe83f
SM
101412011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10142
6f5e57e7
SM
10143 * electric.el: Streamline electric-indent's hook.
10144 (electric-indent-chars): Revert to simple list.
10145 (electric-indent-functions): New var.
10146 (electric-indent-post-self-insert-function): Use it.
10147
5c3fe83f
SM
10148 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10149 there's no inferior buffer (bug#10196).
10150 (prolog-consult-compile): Don't use toggle-read-only.
10151
6bdac736
MA
101522011-12-02 Michael Albinus <michael.albinus@gmx.de>
10153
10154 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10155 interrupt. (Bug#10187)
10156
6131ba7f
SM
101572011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10158
99c79fee
SM
10159 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10160 (bug#9160).
10161
6131ba7f
SM
10162 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10163 (bug#10191).
10164
cb0a02ea
JL
101652011-12-02 Juri Linkov <juri@jurta.org>
10166
10167 * info.el (Info-search): Display "end of manual" when Isearch
10168 reaches the end of single-file Info manual. (Bug#9918)
10169
66e0570c
EZ
101702011-12-02 Eli Zaretskii <eliz@gnu.org>
10171
10172 * isearch.el (isearch-message-prefix): Run the input method part
10173 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10174
02b16839
JL
101752011-12-02 Juri Linkov <juri@jurta.org>
10176
10177 * isearch.el (isearch-occur): Use `word-search-regexp' for
10178 `isearch-word'.
10179 (isearch-search-and-update): Add condition for `isearch-word' and
10180 call `word-search-regexp'. (Bug#10145)
10181
0b950688
GM
101822011-12-01 Glenn Morris <rgm@gnu.org>
10183
10184 * eshell/em-hist.el (eshell-hist-initialize):
10185 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10186 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10187
9505c3c7
SM
101882011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10189
10190 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10191
1bbe96b2 101922011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10193
a1beca85
SM
10194 * progmodes/verilog-mode.el (verilog-pretty-expr):
10195 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10196 verilog, such as += *= and the like.
10197 (verilog-assignment-operator-re): Regular expression to find the
10198 assigment operator in a verilog assignment.
10199 (verilog-assignment-operation-re): Regular expression to find an
10200 assignment statement for pretty-expr.
10201 (verilog-in-attribute-p): Query returns true if point is in an
10202 attribute context; used to skip these for expression line up from
10203 pretty-expr.
10204 (verilog-in-parameter-p): Query returns true if point is in an
10205 parameter definition context; used to skip these for expression
10206 line up from pretty-expr.
10207 (verilog-in-parenthesis-p): Query returns true if point is in a
10208 parenthetical expression, specifically ( ) but not [ ] or { };
10209 used by pretty-expr.
10210 (verilog-just-one-space): If there is no space, don't add one.
10211 (verilog-get-lineup-indent-2): Specifically skip just attribute
10212 contexts for expression lineup, rather than skipping all
10213 parenthetical expressions.
10214 (verilog-calculate-indent): Fix comment, and fix indent.
10215 (verilog-do-indent): Indent declarations in lists (suggested by
10216 Joachim Lechner).
10217 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10218 skeleton items.
10219 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10220 by Alain Mellan).
10221
1bbe96b2 102222011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10223
10224 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10225 parameters with embedded comments. Reported by Ray Stevens.
10226 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10227 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10228 Reported by Tim Holt.
10229 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10230 instantiated by upper module causing wrong expansion until AUTOed a
10231 second time. Reported by K C Buckenmaier.
10232 (verilog-diff-auto): Fix showing .* as a difference when
10233 `verilog-auto-star-save' off. Reported by Dan Dever.
10234 (verilog-auto-reset, verilog-read-always-signals)
10235 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10236 temporary signals in reset list if
10237 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10238 style to each signal's assignment type, bug381.
10239 Reported by Thomas Esposito.
6288f0ca
WS
10240 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10241 (verilog-uvm-statement-re): Support UVM indentation and
10242 highlighting, with old OVM keywords only.
a1beca85 10243 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10244 Support AUTOTIEOFF creating non-wire data types.
10245 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10246 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10247 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10248 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10249 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10250 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10251 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10252 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10253 non-numeric vector width. Reported by Alex Reed.
10254 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10255 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10256 (verilog-auto-delete-trailing-whitespace):
10257 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10258 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10259 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10260 Fix verilog-scan-cache corruption when running user AUTO expansion
10261 hooks that call indentation routines.
10262 (verilog-simplify-range-expression): Fix typo ignoring lower case
10263 identifiers.
10264 (verilog-delete-auto): Fix delete-autos to also remove user created
10265 automatics, as long as they start with AUTO.
10266 (verilog-batch-diff-auto, verilog-diff-auto)
10267 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10268 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10269 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10270 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10271 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10272 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10273 is disabled and its cache will get corrupt, causing AUTOS not to
10274 expand. Instead use only -quick functions.
10275 (verilog-scan-region): Fix scanning over escaped quotes.
10276 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10277 (verilog-re-search-backward-quick)
10278 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10279 related functions now ignore strings, to fix misparsing of strings
10280 with magic comments embedded in them.
a1beca85
SM
10281 (verilog-read-auto-template):
10282 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10283 Reported by Brad Dobbie.
10284 (verilog-read-auto-template):
10285 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10286 Reported by Brad Dobbie.
6288f0ca
WS
10287 (verilog-auto-inst, verilog-auto-inst-param)
10288 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10289 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10290 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10291 debugging templates without merge conflicts, bug357.
10292 Reported by Brad Dobbie.
10293 (verilog-read-auto-template):
10294 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10295 Reported by Brad Dobbie.
10296 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10297 abbrevs so user won't be asked to save.
10298 (verilog-read-auto-lisp-present): Fix to start at beginning of
10299 buffer in case called outside of verilog-auto.
10300 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10301 to "X-2". Reported by Matthew Myers.
10302 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10303 all inputs from module templates. Reported by Leith Johnson.
10304 (verilog-module-inside-filename-p): Fix locating programs as with
10305 modules.
10306 (verilog-auto-inst-port): Fix vl-width expressions when using
10307 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10308 (verilog-decls-get-regs, verilog-decls-get-signals,
10309 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10310 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10311 verilog-read-decls): Combine reg and wire structures into one var
10312 structure to represent SystemVerilog concepts.
10313 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10314 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10315 (verilog-auto-wire-type, verilog-insert-definition):
10316 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10317 SystemVerilog "logic" keyword instead of "wire"/"reg".
10318 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10319 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10320 ifdef or generate if so there's not a driver conflict).
10321 Reported by Matthew Myers.
10322 (verilog-auto-declare-nettype, verilog-insert-definition):
10323 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10324 `default_nettype none. Reported by Julian Gorfajn.
10325 (verilog-read-always-signals-recurse, verilog-read-decls)
10326 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10327 malformed end statement, bug325. Reported by Joshua Wise and
10328 Andrew Drake.
10329 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10330 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10331 when expanding .* in interfaces, bug320.
10332 Reported by Pierre-David Pfister.
6288f0ca 10333 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10334 name and open parenthesis, bug317.
10335 Reported by Pierre-David Pfister.
6288f0ca
WS
10336 (verilog-simplify-range-expression): Fix simplification of
10337 multiplications inside AUTOWIRE connections, bug303.
10338 (verilog-auto-inst-port): Support parameter expansion in
10339 multidimensional arrays.
10340 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10341 after "assert property". Reported by Julian Gorfajn.
10342 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10343 with multiplication, bug303.
10344 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10345 Reported by Jan Frode Lonnum.
10346
1bbe96b2
GM
103472011-11-30 Juanma Barranquero <lekktu@gmail.com>
10348
10349 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10350 (hfy-shell-file-name, hfy-shell):
10351 * international/fontset.el (x-decompose-font-name): Fix typos.
10352
103532011-11-29 Ken Brown <kbrown@cornell.edu>
10354
10355 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10356 (gdb-version): Remove defvar.
10357 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10358 (gdb-gud-context-command, gdb-non-stop-handler)
10359 (gdb-current-context-command, gdb-stopped): Use it.
10360 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10361 (gdb-non-stop-handler): Don't enable pretty-printing here.
10362 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10363 non-stop mode. Use the following.
10364 (gdb-check-target-async): New defun.
10365 (gud-watch, gdb-stopped): Fix whitespace.
10366 (gdb-get-source-file): Don't try to display the source file if
10367 `gdb-main-file' is nil.
10368
103692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10370
10371 * align.el: Try to generate fewer markers (bug#10047).
10372 (align--set-marker): New macro.
10373 (align-region): Use it.
10374
c935221f
SM
103752011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10378
e70b5064
CY
103792011-11-29 Chong Yidong <cyd@gnu.org>
10380
10381 * indent.el (indent-for-tab-command, indent-according-to-mode):
10382 Doc fix.
10383 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10384
f3af92b7
MA
103852011-11-29 Michael Albinus <michael.albinus@gmx.de>
10386
10387 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10388 aware of remote file names. (Bug#10124)
10389
ed472be9
CY
103902011-11-29 Chong Yidong <cyd@gnu.org>
10391
10392 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10393
24510c22
SM
103942011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * files.el (find-file): Don't use force-same-window (bug#10144).
10397 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10398 use pop-to-buffer if the selected window can't be used.
10399 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10400
c60c3703
EZ
104012011-11-28 Eli Zaretskii <eliz@gnu.org>
10402
10403 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10404 special-mode-map.
10405
e95def75
CY
104062011-11-28 Chong Yidong <cyd@gnu.org>
10407
10408 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10409
c3f1c606
NR
104102011-11-27 Nick Roberts <nickrob@snap.net.nz>
10411
10412 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10413 gdb-get-source-file-list on gdb-create-source-file-list.
10414
00db469c
EZ
104152011-11-26 Eli Zaretskii <eliz@gnu.org>
10416
10417 * whitespace.el (whitespace-newline): Use a different foreground
10418 color for 16-color light-background displays.
10419
4ad3bc2a
CY
104202011-11-24 Chong Yidong <cyd@gnu.org>
10421
10422 * window.el (display-buffer--special-action): Doc fix.
10423
e9fce1ac
JB
104242011-11-25 Juanma Barranquero <lekktu@gmail.com>
10425
10426 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10427 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10428 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10429 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10430 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10431 (avl-tree-stack-first):
10432 * emacs-lisp/cconv.el (cconv--analyse-use):
10433 * net/gnutls.el (gnutls-negotiate): Fix typos.
10434
cb825e5d
GM
104352011-11-24 Glenn Morris <rgm@gnu.org>
10436
3adbe224
GM
10437 * lpr.el (lpr-windows-system, lpr-lp-system):
10438 * mail/binhex.el (binhex-begin-line):
10439 * progmodes/grep.el (grep-history, grep-find-history):
10440 * textmodes/flyspell.el:
10441 * vc/pcvs-defs.el (cvs-global-menu):
10442 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10443 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10444 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10445
321decc8
GM
10446 * net/tls.el: Fix case of "GnuTLS".
10447
420b63ad
GM
10448 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10449
cb825e5d
GM
10450 * version.el (emacs-build-system): Give it a doc-string.
10451
a0649f08
JL
104522011-11-24 Juri Linkov <juri@jurta.org>
10453
10454 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10455
c0bc0fd4
GM
104562011-11-24 Glenn Morris <rgm@gnu.org>
10457
10458 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10459 if called on a non-mime message just toggle the headers. (Bug#8006)
10460
20db1522
JB
104612011-11-24 Juanma Barranquero <lekktu@gmail.com>
10462
10463 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10464 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10465 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10466 (allout-rebullet-heading, allout-open-sibtopic)
10467 (allout-toggle-current-subtree-encryption)
10468 (allout-toggle-subtree-encryption, allout-encrypt-string)
10469 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10470 (allout-distinctive-bullets-string, allout-auto-activation):
10471 * window.el (window-normalize-buffer-to-display):
10472 * progmodes/verilog-mode.el (verilog-batch-indent):
10473 * textmodes/bibtex.el (bibtex-field-braces-opt)
10474 (bibtex-field-strings-opt):
10475 * vc/cvs-status.el (cvs-tree-merge):
10476 Fix typos.
10477
7262a87c
MA
104782011-11-23 Michael Albinus <michael.albinus@gmx.de>
10479
10480 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10481 `non-essential' to t, in order to avoid remote connections.
10482
283430a1
EZ
104832011-11-23 Eli Zaretskii <eliz@gnu.org>
10484
a1beca85
SM
10485 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10486 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10487 case-insensitively.
10488
d2992a38
ML
104892011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10490
10491 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10492
50419064
GM
104932011-11-23 Glenn Morris <rgm@gnu.org>
10494
da94eca1
GM
10495 * paths.el (rmail-file-name): Reformat the doc-string so that it
10496 is picked up.
10497
9aac4de2
GM
10498 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10499 (rmail-auto-file): Ignore case in the "special" field names,
10500 as mail-fetch-field does for all others.
10501
8038d2d2
GM
10502 * mail/rmail.el (rmail-forward):
10503 * mail/rmailkwd.el (rmail-set-label):
10504 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10505 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10506
f3fe222a
GM
10507 * mail/rmail.el (rmail-current-message): Doc fix.
10508
50419064
GM
10509 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10510
28109f49
SM
105112011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10514
394c65f1
GM
105152011-11-22 Glenn Morris <rgm@gnu.org>
10516
10517 * mail/rmailmm.el (test-rmail-mime-handler)
10518 (test-rmail-mime-bulk-handler)
10519 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10520
f2a0aa3a
JL
105212011-11-21 Juri Linkov <juri@jurta.org>
10522
1154d12e
JB
10523 * calc/calc.el (calc-read-key-sequence):
10524 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10525
9c34a344
LMI
105262011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10527
10528 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10529 Tell the caller that the next line needs recomputation, even
10530 though it doesn't start a sexp (bug#10094).
10531
f04a3be9
SM
105322011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10535
7978747f
SM
105362011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10537
f04a3be9
SM
10538 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10539 Use force-same-window.
7978747f 10540
fe7a3057
JB
105412011-11-20 Juanma Barranquero <lekktu@gmail.com>
10542
10543 * descr-text.el (describe-char-unicode-data):
10544 * json.el (json-string-escape):
10545 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10546 (Footnote-unicode, Footnote-style-p):
10547 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10548
24901d61
CY
105492011-11-20 Chong Yidong <cyd@gnu.org>
10550
10551 * window.el (replace-buffer-in-windows): Restore interactive spec.
10552
bac7ff22
SM
105532011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10554
24f3d7b9
SM
10555 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10556
bac7ff22
SM
10557 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10558 (byte-compile-global-not-obsolete-vars): New var.
10559 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10560 Use it.
10561 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10562
cd1181db
JB
105632011-11-20 Juanma Barranquero <lekktu@gmail.com>
10564
10565 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10566 * progmodes/pascal.el (electric-pascal-equal):
10567 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10568 * xml.el (xml-substitute-special): Fix typos.
10569
7fb18e9e
GM
105702011-11-20 Glenn Morris <rgm@gnu.org>
10571
10572 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10573 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10574 Doc fixes.
10575 (rmail-decode-mime-charset): Mark as obsolete.
10576
10577 * mail/rmailsum.el (rmail-message-regexp-p-1):
10578 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10579 Before using mime functions, check they are set. (Bug#10077)
10580
d5a6b3ba
JL
105812011-11-19 Juri Linkov <juri@jurta.org>
10582
10583 * info.el (Info-finder-find-node): Use `package--builtins' instead
10584 of `package-alist'. Use node names formed by the pattern "Keyword "
10585 and the keyword name.
10586
e981b61f
AS
105872011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10588
1d00653d 10589 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10590
3ffbc301
JL
105912011-11-19 Juri Linkov <juri@jurta.org>
10592
10593 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10594 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10595 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10596 `old-history', `old-history-forward'. Add let-binding
10597 `window-selected'. Remove calls to `kill-buffer',
10598 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10599 before calling `Info-find-node', so `Info-find-node-2' will reread
10600 the Info file. Restore window positions only when `window-selected'
10601 is non-nil.
10602
30c62133
JL
106032011-11-19 Juri Linkov <juri@jurta.org>
10604
10605 * isearch.el (isearch-lazy-highlight-new-loop):
10606 Remove condition `(not isearch-error)'. (Bug#9918)
10607
10608 * misearch.el (multi-isearch-search-fun): Add condition
10609 `(not bound)' to ignore lazy-highlighting search.
10610 Add the search-failed message "end of multi" when the end of
10611 multi-sequence is reached. Uncapitalize the search-failed
10612 message "Repeat for next buffer".
10613
10614 * info.el (Info-search): Add the search-failed message
10615 "end of the manual" when the end of the manual is reached
10616 in Isearch mode.
10617
645ca9cf
JL
106182011-11-19 Juri Linkov <juri@jurta.org>
10619
10620 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10621 Use non-destructive `remove' instead of `delete' because
10622 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10623 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10624
df754f66
JL
106252011-11-19 Juri Linkov <juri@jurta.org>
10626
10627 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10628 to nil instead of binding `search-ring' and `regexp-search-ring'.
10629 (Bug#9185)
10630
0e23d96a
EZ
106312011-11-19 Eli Zaretskii <eliz@gnu.org>
10632
10633 * simple.el (line-move): Force movement by logical lines for any
10634 hscrolled window, not only when auto-hscroll-mode is on.
10635 (line-move-visual): Update doc string to that effect. (Bug#10076)
10636
8a6ccb66
AS
106372011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10638
10639 * language/european.el (macintosh): Define as alias for mac-roman.
10640
49ae5b39
EZ
106412011-11-19 Eli Zaretskii <eliz@gnu.org>
10642
10643 * mail/rmailmm.el (rmail-mime-display-header)
10644 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10645 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10646 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10647 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10648 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10649 of a raw aref.
10650 (rmail-mime-entity-segment): To get past the tagline, move forward
10651 2 more lines, to account for the 2 empty lines that precede and
10652 follow the line with the buttons.
10653 (rmail-mime-update-tagline): Move one more line, to get past the
10654 empty line that follows the buttons in the tagline. (Bug#9520)
10655
c56cad4a
MR
106562011-11-19 Martin Rudalics <rudalics@gmx.at>
10657
10658 * window.el (window-max-delta-1, window-min-delta-1)
10659 (window-min-size-1, window-state-get-1, window-state-put-1)
10660 (window-state-put-2): Use "window--" prefix.
10661
cbe71af3
SM
106622011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10663
2ad52c60
SM
10664 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10665 (smie-warning-count): New var.
10666 (smie-set-prec2tab): Use it.
10667 (smie-bnf->prec2): Improve warnings. Add docstring.
10668 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10669 (smie-bnf--set-class): New function.
10670 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10671 corner case.
10672
6944dbc1
SM
10673 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10674 (compilation-error-properties, compilation-move-to-column):
10675 Handle compilation-first-column while in the target buffer.
10676
c400c4d7
SM
10677 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10678 Don't hardcode point-min==1.
10679
6dbe3e96
SM
10680 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10681 (eshell-rewrite-for-command): Remove workaround.
10682 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10683 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10684 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10685
cbe71af3
SM
10686 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10687
a8e1496d
GM
106882011-11-17 Glenn Morris <rgm@gnu.org>
10689
10690 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10691 Ignore buffer-local generated-autoload-file if it is the same
10692 as the global value. (Bug#10049)
10693
df85d315
JB
106942011-11-17 Juanma Barranquero <lekktu@gmail.com>
10695
10696 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10697 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10698 (reftex-toc-previous-heading, reftex-toc-max-level)
10699 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10700 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10701 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10702 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10703 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10704 (reftex-toc-rename-label, reftex-toc-visit-location)
10705 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10706 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10707 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10708 leaving "*toc*" only for references to the buffer.
10709
a0c2d0ae
MR
107102011-11-17 Martin Rudalics <rudalics@gmx.at>
10711
10712 * window.el (window-resize, delete-window, split-window):
10713 Replace window-splits by window-combination-resize.
1d00653d 10714 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10715
35c0bac8
GM
107162011-11-17 Glenn Morris <rgm@gnu.org>
10717
10718 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10719 Make bash entry derive from sh entry, not shell entry.
10720
d0c8fc8a
MA
107212011-11-16 Michael Albinus <michael.albinus@gmx.de>
10722
7262a87c
MA
10723 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10724 local file name.
10725
7877f373
JB
107262011-11-16 Juanma Barranquero <lekktu@gmail.com>
10727
10728 * menu-bar.el (menu-bar-file-menu):
10729 * printing.el (pr-ps-utility):
10730 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10731 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10732 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10733 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10734 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10735 (icalendar--convert-cyclic-to-ical)
10736 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10737 (icalendar--convert-ical-to-diary)
10738 (icalendar--convert-recurring-to-diary)
10739 (icalendar--convert-non-recurring-all-day-to-diary)
10740 (icalendar-import-format-sample):
10741 * progmodes/idlw-shell.el (idlwave-shell-mode):
10742 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10743 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10744 (vhdl-ps-print-init): Fix typos.
10745
10649b82
KM
107462011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10747
9d0cfcd6
GM
10748 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10749 FSF and collapse date sequence, obscure author/maintainer email address
10750 better, remove extra version line, track relocation of author's webpage.
10649b82 10751
9d0cfcd6
GM
10752 * progmodes/python.el (python-pdbtrack-input-prompt)
10753 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10754 regular python pdb prompts. Adjustments shamelessly taken exactly as
10755 suggested in EmacsWiki page (tiny change):
10756 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10757
58179cce
JB
107582011-11-16 Juanma Barranquero <lekktu@gmail.com>
10759
10760 * expand.el (expand-pos, expand-index, expand-point):
10761 Remove redundant info from docstring.
10762 (expand-add-abbrevs): Doc fix.
10763 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10764 (expand-sample-perl-mode-expand-list): Fix typos.
10765
10766 * net/dbus.el (dbus-event-member-name):
10767 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10768 * term/pc-win.el (msdos-create-frame-with-faces):
10769 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10770
b6f67890
MR
107712011-11-16 Martin Rudalics <rudalics@gmx.at>
10772
10773 * window.el (split-window, window-state-get-1)
10774 (window-state-put-1, window-state-put-2): Rename occurrences of
10775 window-nest to window-combination-limit.
1d00653d 10776 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10777
ce7ddba0
CY
107782011-11-16 Chong Yidong <cyd@gnu.org>
10779
10780 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10781 regexp (Bug#10033).
10782
3ae704f4
SM
107832011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10784
10785 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10786 `completing-read' will remove *Completions* and will preserve
10787 current-buffer for us.
10788 (tmm-add-prompt): Users of *Completions* will always (re)set its
10789 major mode.
10790 (tmm-old-comp-map): Remove.
10791
6ad1cdde
GM
107922011-11-16 Glenn Morris <rgm@gnu.org>
10793
10794 * mail/rmailedit.el: Require rmailmm when compiling.
10795 (rmail-old-mime-state): New declaration.
10796 (rmail-edit-current-message): If editing a mime message,
10797 edit the "raw" message from the mbox buffer.
10798 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10799
d20faa20
GM
108002011-11-15 Glenn Morris <rgm@gnu.org>
10801
10802 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10803 which wasn't being used. Add optional arg to force given state.
10804 (rmail-mime): Add optional arg to force given state.
10805
c7015153
JB
108062011-11-15 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10809 * frame.el (display-mm-dimensions-alist):
10810 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10811 (outline-move-subtree-down):
10812 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10813 (newsticker--treeview-do-get-node):
10814 * net/quickurl.el (quickurl-list-buffer-name):
10815 * progmodes/dcl-mode.el (dcl-mode):
10816 * progmodes/gdb-mi.el (gdb-mapcar*):
10817 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10818
45261b50
GM
108192011-11-15 Glenn Morris <rgm@gnu.org>
10820
10821 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10822 in a boolean sense, so just make it a boolean, and fix the doc.
10823 (rmail-show-mime-function, rmail-mime-feature)
10824 (rmail-require-mime-maybe): Doc fixes.
10825 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10826
10827 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10828
0d26e0b6
JB
108292011-11-15 Juanma Barranquero <lekktu@gmail.com>
10830
10831 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10832 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10833 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10834 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10835
447f30f6
GM
108362011-11-15 Glenn Morris <rgm@gnu.org>
10837
672b871d
GM
10838 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10839 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10840 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10841 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10842 (rmail-mime, rmail-show-mime): Doc fixes.
10843
f6aa5bb1
GM
10844 * term/ns-win.el (mode-line-frame-identification):
10845 Leave it alone. (Bug#10051)
10846
947cd66b
GM
10847 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10848
447f30f6
GM
10849 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10850 Handle empty buffers. (Bug#9978)
10851
0b381c7e
JB
108522011-11-14 Juanma Barranquero <lekktu@gmail.com>
10853
10854 * international/mule.el (define-charset):
10855 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10856 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10857 * progmodes/verilog-mode.el (verilog-backward-token):
10858 * textmodes/ispell.el (lookup-words):
10859 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10860
71e027ac
GM
108612011-11-14 Glenn Morris <rgm@gnu.org>
10862
56632ce4
GM
10863 * progmodes/executable.el
10864 (executable-make-buffer-file-executable-if-script-p):
10865 Handle file-modes returning nil.
10866
40500957
GM
10867 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10868 message - not necessary, and causes problems. (Bug#9831)
10869
071c2340
GM
10870 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10871
d3cfca60
GM
10872 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10873
71e027ac
GM
10874 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10875 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10876 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10877
89d61221
MR
108782011-11-12 Martin Rudalics <rudalics@gmx.at>
10879
10880 * window.el (window-resize, delete-window): Use window-splits
10881 variable instead of function.
10882 (window-state-get-1, window-state-put-2, window-state-put):
10883 Don't deal with windows' splits status.
10884
98282f6f
GM
108852011-11-12 Glenn Morris <rgm@gnu.org>
10886
10887 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10888 (apropos-documentation): Doc fixes.
10889
40a8bdf6
JB
108902011-11-11 Juanma Barranquero <lekktu@gmail.com>
10891
10892 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10893 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10894
65bd19ff
SM
108952011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * electric.el (electric-indent-post-self-insert-function): Make it
10898 possible for a char to only indent in some circumstances.
10899 (electric-indent-mode): Simplify.
10900
54f9154c
MR
109012011-11-11 Martin Rudalics <rudalics@gmx.at>
10902
10903 * window.el (windows-with-parameter): Remove unused function.
10904 (windows-at-side): Rename to window-at-side-list.
10905 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10906 (window-side-check, window-size-ignore, window-size-fixed-1)
10907 (window-in-direction-2): Prefix with "window--".
10908 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10909
68cbc58b
GM
109102011-11-11 Glenn Morris <rgm@gnu.org>
10911
10912 * subr.el (eval-after-load): If FILE is already loaded,
10913 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10914
b2621720
GM
109152011-11-10 Glenn Morris <rgm@gnu.org>
10916
9a4de110
GM
10917 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10918 Call svn via vc-svn-command rather than vc-do-command.
10919 (vc-svn-command): Add --non-interactive. (Bug#9993)
10920 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10921
b2621720
GM
10922 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10923 Add toggle-read-only. (Bug#7292)
10924 * files.el (toggle-read-only): Mention that it should only
10925 be used interactively. (Bug#10006)
10926
1dce7193
SM
109272011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10928
d9ac1a1e
SM
10929 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10930 Adjust regexp for OCaml warnings.
10931
0c325082
SM
10932 * electric.el (electric-pair-post-self-insert-function): Let user
10933 turn it off buffer-locally (bug#9932).
10934
90132c14
SM
10935 * progmodes/python.el (python-beginning-of-statement):
10936 Rewrite (bug#2703).
10937
1dce7193
SM
10938 * progmodes/compile.el: Better handle TABs (bug#9749).
10939 (compilation-internal-error-properties)
10940 (compilation-next-error-function): Obey the target buffer's
10941 compilation-error-screen-columns.
10942
c4e7c63a
JB
109432011-11-09 Juanma Barranquero <lekktu@gmail.com>
10944
10945 * progmodes/meta-mode.el: Remove obsolete comments.
10946 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10947 Fix typos in docstrings.
10948
2cffd681
MR
109492011-11-09 Martin Rudalics <rudalics@gmx.at>
10950
10951 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10952 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10953 (window--resizable): New function. Make all callers of
10954 window-resizable call window--resizable instead.
10955 (window-resizable): Rewrite in terms of window--resizable.
10956
0edcba87
GM
109572011-11-08 Glenn Morris <rgm@gnu.org>
10958
10959 * progmodes/delphi.el (delphi-mode-syntax-table):
10960 Let define-derived-mode define a proper syntax table. (Bug#9994)
10961
4b0d61e3
SM
109622011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10963
10964 * window.el: Stay away from defsubst.
10965 (window-list-no-nils): Remove.
10966 (window-state-get-1, window-state-get): Use backquote instead.
10967
cd394be1 109682011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10969
4b0d61e3 10970 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10971 Fix incorrect use of default argument in `completing-read'.
10972
e1c2c6f2
MR
109732011-11-08 Martin Rudalics <rudalics@gmx.at>
10974
10975 * window.el (display-buffer-function, special-display-function):
10976 Mention display-buffer-record-window but do not mention
10977 help-setup parameter in doc-strings.
b3f4a882 10978 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10979
105216ed
CY
109802011-11-08 Chong Yidong <cyd@gnu.org>
10981
10982 * window.el (window-total-height, window-total-width): Doc fix.
10983 (window-body-size): Move from C.
10984 (window-body-height, window-body-width): Move to C.
10985
0a9f9ab5
SM
109862011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * window.el: Make special-display like display-buffer-alist (bug#9532).
10989 (display-buffer--special-action): New function, morphed
10990 from display-buffer--special.
10991 (display-buffer): Use it to handle special-display-buffers at higher
10992 priority (just after display-buffer-alist).
10993 (display-buffer-fallback-action, display-buffer--other-frame-action)
10994 (pop-to-buffer-same-window): Remove display-buffer--special.
10995
a769dd15
GM
109962011-11-07 Glenn Morris <rgm@gnu.org>
10997
10998 * calendar/cal-menu.el (cal-menu-set-date-title):
10999 Do nothing if not in a calendar. (Bug#9976)
11000
05a61ee3
SM
110012011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * files.el (find-file): Always use selected-window.
11004
be7f5545
MR
110052011-11-07 Martin Rudalics <rudalics@gmx.at>
11006
11007 * window.el (window-combinations): Make WINDOW argument
11008 mandatory. Rewrite doc-string.
11009 (walk-window-subtree, window-atom-check, window-min-delta)
11010 (window-max-delta, window--resize-this-window)
11011 (window--resize-root-window-vertically, window-tree)
11012 (balance-windows, window-state-put): Rewrite doc-strings as to
11013 not mention the term "subwindow".
11014 (window--resize-subwindows-skip-p): Rename to
11015 window--resize-child-windows-skip-p.
11016 (window--resize-subwindows-normal): Rename to
11017 window--resize-child-windows-normal.
11018 (window--resize-subwindows): Rename to
11019 window--resize-child-windows.
11020 (window-or-subwindow-p): Rename to window--in-subtree-p.
11021
3c6702ef
ML
110222011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11023
11024 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11025 Ensure that mbox format messages end in two newlines (Bug#9974).
11026
49745b39
CY
110272011-11-06 Chong Yidong <cyd@gnu.org>
11028
11029 * window.el (window-combination-p): Function deleted; its
11030 side-effect is not used in any existing code.
11031 (window-combinations, window-combined-p): Call window-*-child
11032 directly.
11033
24300f5f
CY
110342011-11-05 Chong Yidong <cyd@gnu.org>
11035
11036 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11037 (window-size-ignore, window-state-get): Callers changed.
11038 (window-normalize-window): Rename from window-normalize-any-window.
11039 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11040 (window-normalize-live-window): Delete.
447f16b8
CY
11041 (window-combination-p, window-combined-p, window-combinations)
11042 (walk-window-subtree, window-atom-root, window-min-size)
11043 (window-sizable, window-sizable-p, window-size-fixed-p)
11044 (window-min-delta, window-max-delta, window-resizable)
11045 (window-resizable-p, window-full-height-p, window-full-width-p)
11046 (window-current-scroll-bars, window-point-1, set-window-point-1)
11047 (window-at-side-p, window-in-direction, window-resize)
11048 (adjust-window-trailing-edge, maximize-window, minimize-window)
11049 (window-deletable-p, delete-window, delete-other-windows)
11050 (record-window-buffer, unrecord-window-buffer)
11051 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11052 (quit-window, split-window, window-state-put)
11053 (set-window-text-height, fit-window-to-buffer)
11054 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11055
89bd5ee1
EZ
110562011-11-04 Eli Zaretskii <eliz@gnu.org>
11057
53479029
EZ
11058 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11059 rfc2047-decode-string.
11060 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11061 warnings.
11062
89bd5ee1
EZ
11063 * window.el (window-body-height, window-body-width): Mention in
11064 the doc string that the return values are in frame's canonical
11065 units. (Bug#9949)
11066
bd17fdee
AM
110672011-11-03 Alan Mackenzie <acm@muc.de>
11068
11069 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11070 change in cc-engine.el.
11071
acc825c5
SM
110722011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11075
1885e5b8
MR
110762011-11-02 Martin Rudalics <rudalics@gmx.at>
11077
11078 * window.el (quit-window): Call unrecord-window-buffer after
11079 showing another buffer in the window. (Bug#9937)
acc825c5 11080 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11081
ebe06da9
JB
110822011-11-02 Juanma Barranquero <lekktu@gmail.com>
11083
11084 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11085 Accept status with more than 9 shelves. (Bug#9935)
11086 Reported by Colin D Bennett <colin@gibibit.com>.
11087
4ee88440
MR
110882011-11-01 Martin Rudalics <rudalics@gmx.at>
11089
11090 * help.el (with-help-window): Don't reference
11091 temp-buffer-show-specifiers in doc-string.
11092
08e1d82c
AS
110932011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11094
11095 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11096 menu-item.
11097
84bd6e9e
VJL
110982011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11099
11100 * whitespace.el: New version 13.2.2.
11101 (whitespace-newline-mode): Disable properly. Reported by Sarah
11102 <EmacsWiki>.
11103
dba0634a
UJ
111042011-10-30 Ulf Jasper <ulf.jasper@web.de>
11105
11106 * net/newst-treeview.el: Remove "Time-stamp".
11107 (newsticker--group-manage-orphan-feeds): Do not call
11108 newsticker--treeview-tree-update.
db22a3c2
JB
11109 (newsticker-treeview-update, newsticker-treeview):
11110 Call newsticker--treeview-tree-update if necessary.
dba0634a 11111
3d8daefe
MR
111122011-10-30 Martin Rudalics <rudalics@gmx.at>
11113
11114 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11115 (window-iso-combinations): Remove "iso-" infix.
11116 Suggested by Chong Yidong.
3d8daefe
MR
11117 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11118 (window-max-delta-1, window-resize, window--resize-siblings)
11119 (window--resize-this-window, adjust-window-trailing-edge)
11120 (split-window, balance-windows-1)
11121 (shrink-window-if-larger-than-buffer):
11122 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11123 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11124
1bc4c3ae
SM
111252011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11128 in place (bug#9907).
11129 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11130 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11131 (eshell-structure-basic-command, eshell-rewrite-while-command)
11132 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11133 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11134 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11135 (eshell-do-pipelines-synchronously, eshell-eval-command):
11136 Use backquotes and prefer setq to set.
11137 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11138 (eshell-macrop): Use functionp.
c1e2f5fa 11139 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11140
30b65d9c
CY
111412011-10-30 Chong Yidong <cyd@gnu.org>
11142
11143 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11144 instead of set-mark (Bug#9810).
11145
2d197ffb
CY
111462011-10-30 Chong Yidong <cyd@gnu.org>
11147
11148 * window.el (split-window-below, split-window-right): Rename from
11149 split-window-above-each-other and split-window-side-by-side
11150 respectively. All callers changed.
11151 (split-window-sensibly, split-window-sensibly): Use them.
11152 (split-window-keep-point): Doc fix.
11153
11154 * isearch.el: Add isearch-scroll property to split-window-below
11155 and split-window-right.
11156
11157 * follow.el (follow-mode):
11158 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11159 * progmodes/ada-xref.el (ada-gdb-application):
11160 * emulation/vip.el (vip-buffer-in-two-windows):
11161 * image-dired.el (image-dired-dired-with-window-configuration):
11162 * dired-x.el (dired-do-find-marked-files):
11163 * dired.el (dired-pop-to-buffer):
11164 * bs.el (bs--show-with-configuration):
11165 * vc/emerge.el (emerge-setup-windows):
11166 * textmodes/two-column.el (2C-two-columns):
11167 * textmodes/reftex-toc.el (reftex-toc):
11168 * progmodes/gdb-mi.el (gdb-setup-windows):
11169 * progmodes/fortran.el (fortran-window-create):
11170 * net/newst-treeview.el (newsticker--treeview-window-init):
11171 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11172 * emulation/tpu-edt.el (tpu-gold-map):
11173 * emulation/crisp.el (crisp-mode-map):
11174 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11175
38bb2ca8
CY
111762011-10-29 Chong Yidong <cyd@gnu.org>
11177
aa4de341
CY
11178 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11179
e1eb5385
CY
11180 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11181
5d2ece3c
CY
11182 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11183 forged Ispell output (Bug#7904).
11184
38bb2ca8
CY
11185 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11186
d0af9f77
SM
111872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11188
11189 * doc-view.el: Avoid ugly errors about not finding nil.
11190 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11191 (doc-view-dvipdf-program, doc-view-unoconv-program)
11192 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11193 Avoid nil or absolute file name as default value.
11194 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11195
52bedd34
AM
111962011-10-28 Alan Mackenzie <acm@muc.de>
11197
db22a3c2 11198 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11199
7e43cfa5
AM
112002011-10-28 Alan Mackenzie <acm@muc.de>
11201
11202 Amend the handling of c-beginning/end-of-defun in nested declaration
11203 scopes.
11204
52bedd34
AM
11205 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11206 cc-langs.el. Change it to a defcustom.
7e43cfa5 11207
52bedd34
AM
11208 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11209 cc-vars.el.
7e43cfa5 11210
d0af9f77
SM
11211 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11212 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11213
52bedd34 11214 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11215 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11216 (c-widen-to-enclosing-decl-scope): New function.
11217 (c-while-widening-to-decl-block): New macro.
11218 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11219 outward for defun boundaries, and correspondingly change symbol
11220 `respect-enclosure' to `go-outward'.
11221 (c-declaration-limits): Change algorithm to report only the "innermost"
11222 defun's boundaries.
11223
1a2ce9ee
DD
112242011-10-28 Deniz Dogan <deniz@dogan.se>
11225
11226 * net/rcirc.el (rcirc-mode): Use hard newlines.
11227
bc97a826
AM
112282011-10-28 Alan Mackenzie <acm@muc.de>
11229
11230 Amend to indent and fontify macros "which include their own semicolon"
11231 correctly, using the "virtual semicolon" mechanism.
11232
52bedd34 11233 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11234
d0af9f77 11235 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11236 Recode to scan one line at a time rather than having \n and \r
58179cce 11237 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11238 (c-forward-label): Amend for virtual semicolons.
58179cce 11239 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11240
52bedd34
AM
11241 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11242 of the new C macros.
bc97a826 11243
52bedd34 11244 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11245 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11246 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11247 (c-opt-cpp-macro-define): Make into a full language variable.
11248 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11249 AWK Mode (including \n, \r) removed, no longer needed.
11250
d0af9f77
SM
11251 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11252 Invoke c-make-macro-with-semi-re.
bc97a826 11253
52bedd34
AM
11254 * progmodes/cc-vars.el (c-macro-with-semi-re):
11255 (c-macro-names-with-semicolon): New variables.
58179cce 11256 (c-make-macro-with-semi-re): New function.
bc97a826 11257
7a6c0941
SM
112582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11259
11260 * vc/log-edit.el: Fill empty field rather than adding new one.
11261 (log-edit-add-field): New function.
11262 (log-edit-insert-changelog): Use it.
11263
b0c4cdcf
ML
112642011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11265
11266 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11267
ee1f1da9
SM
112682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11271 (gdb--check-interpreter): New function.
11272 (gdb): Use it.
11273
51bc5f8b
GM
112742011-10-27 Glenn Morris <rgm@gnu.org>
11275
416a2c45
GM
11276 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11277 (least-positive-float, least-negative-float)
11278 (least-positive-normalized-float, least-negative-normalized-float)
11279 (float-epsilon, float-negative-epsilon):
11280 Remove unnecessary declarations.
11281
11282 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11283 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11284 (least-positive-float, least-negative-float)
11285 (least-positive-normalized-float, least-negative-normalized-float)
11286 (float-epsilon, float-negative-epsilon): Add doc-strings,
11287 based on those in cl.texi.
11288
51bc5f8b
GM
11289 * files.el (set-visited-file-name): If the major-mode changed,
11290 reload the local variables. (Bug#9796)
11291
15de15c6
CY
112922011-10-27 Chong Yidong <cyd@gnu.org>
11293
11294 * subr.el (change-major-mode-after-body-hook): New hook.
11295 (run-mode-hooks): Run it.
11296
ee1f1da9
SM
11297 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11298 Use change-major-mode-before-body-hook.
15de15c6
CY
11299
11300 * simple.el (fundamental-mode):
11301 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11302 change introducing fundamental-mode-hook.
11303
5430d399
JB
113042011-10-26 Juanma Barranquero <lekktu@gmail.com>
11305
acc825c5 11306 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11307
ad74a69e
MA
113082011-10-26 Michael Albinus <michael.albinus@gmx.de>
11309
11310 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11311 tramp.el explicitly. (Bug#7583)
ad74a69e 11312
71d4c2a5
SM
113132011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * progmodes/octave-mod.el:
11316 * progmodes/octave-inf.el: Update maintainer.
11317
b1f6fa26
CY
113182011-10-26 Chong Yidong <cyd@gnu.org>
11319
11320 * subr.el (with-wrapper-hook): Rewrite doc.
11321
3f04efd6
MA
113222011-10-25 Michael Albinus <michael.albinus@gmx.de>
11323
11324 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11325 filenames "/method:foo:". (Bug#9793)
3f04efd6 11326
410488d3
SM
113272011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11328
11329 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11330 (bug#9865).
11331
c1ebb47e
GM
113322011-10-24 Glenn Morris <rgm@gnu.org>
11333
11334 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11335
7f5c46c7
MA
113362011-10-24 Michael Albinus <michael.albinus@gmx.de>
11337
11338 * notifications.el: Add the requirement of a running D-Bus session
11339 bus to the Commentary.
11340
db2440b6
JL
113412011-10-24 Juri Linkov <juri@jurta.org>
11342
11343 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11344 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11345 (Bug#9364)
11346
feecf435
JL
113472011-10-24 Juri Linkov <juri@jurta.org>
11348
11349 * info.el (Info-following-node-name-re): Add newline to the list
11350 of allowed characters for leading space. (Bug#9824)
11351
a3839de2
SM
113522011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11353
acc825c5
SM
11354 * progmodes/octave-inf.el (inferior-octave-mode-map):
11355 Fix C-c C-h binding.
a3839de2
SM
11356 * progmodes/octave-mod.el (octave-help): Remove.
11357
09388e76
MA
113582011-10-23 Michael Albinus <michael.albinus@gmx.de>
11359
11360 Sync with Tramp 2.2.3.
11361
11362 * net/tramp-cache.el (top): Pacify byte-compiler using
11363 `init-file-user' and `site-run-file'.
11364
11365 * net/trampver.el: Update release number.
11366
86c60681
CY
113672011-10-23 Chong Yidong <cyd@gnu.org>
11368
11369 * files.el (toggle-read-only): Remove obsolete comment about
11370 version control.
11371
11372 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11373 for toggle-read-only. Note that this hasn't called vc-next-action
11374 since 2008-05-02, though it wasn't documented at the time.
11375
a3839de2
SM
11376 * vc/ediff-init.el (ediff-toggle-read-only-function):
11377 Use toggle-read-only.
86c60681 11378
cd5495ff
AM
113792011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11380
11381 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11382 of c-parse-state.
11383
00b77525 11384 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11385 correct faulty logical expression.
cd5495ff
AM
11386 (c-parse-state-state, c-record-parse-state-state):
11387 (c-replay-parse-state-state): New defvar/defuns.
11388 (c-debug-parse-state): Use new functions.
11389
42ee24ed
MR
113902011-10-22 Martin Rudalics <rudalics@gmx.at>
11391
11392 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11393 last fix. Use window-in-direction correctly.
42ee24ed 11394
a7dee7e7
CY
113952011-10-21 Chong Yidong <cyd@gnu.org>
11396
11397 * progmodes/idlwave.el (idlwave-mode):
11398 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11399 require-final-newline; that's done in prog-mode.
11400 Suggested by Stefan Monnier.
a7dee7e7 11401
e07b9a6d
MR
114022011-10-21 Martin Rudalics <rudalics@gmx.at>
11403
11404 * mouse.el (mouse-drag-window-above)
11405 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11406 (mouse-drag-mode-line-1, mouse-drag-header-line)
11407 (mouse-drag-vertical-line-rightward-window): Remove.
11408 (mouse-drag-line): New function.
11409 (mouse-drag-mode-line, mouse-drag-header-line)
11410 (mouse-drag-vertical-line): Call mouse-drag-line.
11411 * window.el (window-at-side-p, windows-at-side): New functions.
11412
7e1361d9
UM
114132011-10-21 Ulrich Mueller <ulm@gentoo.org>
11414
11415 * tar-mode.el (tar-grind-file-mode):
11416 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11417
30fcaf3a
CY
114182011-10-21 Chong Yidong <cyd@gnu.org>
11419
11420 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11421 * progmodes/vera-mode.el (vera-mode):
11422 Use mode-require-final-newline.
30fcaf3a 11423
516eddb0
GM
114242011-10-20 Glenn Morris <rgm@gnu.org>
11425
db22a3c2 11426 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11427
10d5f513
CS
114282011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11429
11430 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11431
ac6c8639
CY
114322011-10-20 Chong Yidong <cyd@gnu.org>
11433
11434 * emulation/cua-base.el (cua-mode):
11435 * mail/footnote.el (footnote-mode):
11436 * mail/mailabbrev.el (mail-abbrevs-mode):
11437 * net/xesam.el (xesam-minor-mode):
11438 * progmodes/bug-reference.el (bug-reference-mode):
11439 * progmodes/cap-words.el (capitalized-words-mode):
11440 * progmodes/compile.el (compilation-minor-mode)
11441 (compilation-shell-minor-mode):
11442 * progmodes/gud.el (gud-tooltip-mode):
11443 * progmodes/hideif.el (hide-ifdef-mode):
11444 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11445 * progmodes/subword.el (subword-mode):
11446 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11447 * progmodes/which-func.el (which-function-mode):
11448 * term/tvi970.el (tvi970-set-keypad-mode):
11449 * term/vt100.el (vt100-wide-mode):
11450 * textmodes/flyspell.el (flyspell-mode):
11451 * textmodes/ispell.el (ispell-minor-mode):
11452 * textmodes/nroff-mode.el (nroff-electric-mode):
11453 * textmodes/paragraphs.el (use-hard-newlines):
11454 * textmodes/refill.el (refill-mode):
11455 * textmodes/reftex.el (reftex-mode):
11456 * textmodes/rst.el (rst-minor-mode):
11457 * textmodes/sgml-mode.el (html-autoview-mode)
11458 (sgml-electric-tag-pair-mode):
11459 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11460 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11461 * emulation/crisp.el (crisp-mode):
11462 * emacs-lisp/eldoc.el (eldoc-mode):
11463 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11464 minor mode behavior.
11465
aa42ab43
JL
114662011-10-19 Juri Linkov <juri@jurta.org>
11467
11468 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11469 the list of hard-coded chars with escape-glyph face.
11470
89400f1d
SM
114712011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11474
305c07f6
MA
114752011-10-19 Michael Albinus <michael.albinus@gmx.de>
11476
11477 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11478 running process.
11479
13754b54
GM
114802011-10-19 Glenn Morris <rgm@gnu.org>
11481
11482 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11483 Ignore ignored files. (Bug#9726)
11484
06e21633
CY
114852011-10-19 Chong Yidong <cyd@gnu.org>
11486
11487 Doc fix for minor modes, stating that an omitted argument enables
11488 the mode unconditionally when called from Lisp.
11489
11490 * abbrev.el (abbrev-mode):
11491 * allout.el (allout-mode):
11492 * autoinsert.el (auto-insert-mode):
11493 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11494 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11495 (global-auto-revert-mode):
11496 * battery.el (display-battery-mode):
11497 * composite.el (global-auto-composition-mode)
11498 (auto-composition-mode):
11499 * delsel.el (delete-selection-mode):
11500 * desktop.el (desktop-save-mode):
11501 * dired-x.el (dired-omit-mode):
11502 * dirtrack.el (dirtrack-mode):
11503 * doc-view.el (doc-view-minor-mode):
11504 * double.el (double-mode):
11505 * electric.el (electric-indent-mode, electric-pair-mode):
11506 * emacs-lock.el (emacs-lock-mode):
11507 * epa-hook.el (auto-encryption-mode):
11508 * follow.el (follow-mode):
11509 * font-core.el (font-lock-mode):
11510 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11511 * help.el (temp-buffer-resize-mode):
11512 * hilit-chg.el (highlight-changes-mode)
11513 (highlight-changes-visible-mode):
11514 * hi-lock.el (hi-lock-mode):
11515 * hl-line.el (hl-line-mode, global-hl-line-mode):
11516 * icomplete.el (icomplete-mode):
11517 * ido.el (ido-everywhere):
11518 * image-file.el (auto-image-file-mode):
11519 * image-mode.el (image-minor-mode):
11520 * iswitchb.el (iswitchb-mode):
11521 * jka-cmpr-hook.el (auto-compression-mode):
11522 * linum.el (linum-mode):
11523 * longlines.el (longlines-mode):
11524 * master.el (master-mode):
11525 * mb-depth.el (minibuffer-depth-indicate-mode):
11526 * menu-bar.el (menu-bar-mode):
11527 * minibuf-eldef.el (minibuffer-electric-default-mode):
11528 * mouse-sel.el (mouse-sel-mode):
11529 * msb.el (msb-mode):
11530 * mwheel.el (mouse-wheel-mode):
11531 * outline.el (outline-minor-mode):
11532 * paren.el (show-paren-mode):
11533 * recentf.el (recentf-mode):
11534 * reveal.el (reveal-mode, global-reveal-mode):
11535 * rfn-eshadow.el (file-name-shadow-mode):
11536 * ruler-mode.el (ruler-mode):
11537 * savehist.el (savehist-mode):
11538 * scroll-all.el (scroll-all-mode):
11539 * scroll-bar.el (scroll-bar-mode):
11540 * server.el (server-mode):
11541 * shell.el (shell-dirtrack-mode):
11542 * simple.el (auto-fill-mode, transient-mark-mode)
11543 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11544 (line-number-mode, column-number-mode, size-indication-mode)
11545 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11546 * strokes.el (strokes-mode):
11547 * time.el (display-time-mode):
11548 * t-mouse.el (gpm-mouse-mode):
11549 * tool-bar.el (tool-bar-mode):
11550 * tooltip.el (tooltip-mode):
11551 * type-break.el (type-break-mode-line-message-mode)
11552 (type-break-query-mode):
11553 * view.el (view-mode):
11554 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11555 (global-whitespace-mode, global-whitespace-newline-mode):
11556 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11557
a3839de2
SM
11558 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11559 Fix autogenerated docstring.
06e21633 11560
5214e501
JL
115612011-10-19 Juri Linkov <juri@jurta.org>
11562
11563 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11564 by checking environment variables "DESKTOP_SESSION" and
11565 "XDG_CURRENT_DESKTOP". (Bug#9779)
11566
195f8db9
JL
115672011-10-19 Juri Linkov <juri@jurta.org>
11568
11569 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11570 (browse-url-chromium-program, browse-url-chromium-arguments):
11571 New defcustoms.
11572 (browse-url-default-browser): Check for `browse-url-chromium' and
11573 call `browse-url-chromium-program'.
11574 (browse-url-chromium): New command. (Bug#9779)
11575
343a34ff
JB
115762011-10-18 Juanma Barranquero <lekktu@gmail.com>
11577
11578 * facemenu.el (list-colors-duplicates): On Windows, detect more
11579 duplicates by assuming that only colors matching "^System" are
11580 special "system colors". (Bug#9722)
11581
6978a151
SM
115822011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11583
11584 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11585 to distinguish the author from the committer.
11586
6a80b297
MA
115872011-10-18 Michael Albinus <michael.albinus@gmx.de>
11588
11589 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11590
b31a5677
JK
115912011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11592
11593 * international/mule.el (sgml-html-meta-auto-coding-function):
11594 Add support for detecting encoding in HTML5 specified only as
11595 <meta charset="UTF-8">. Implementation just makes http-equiv and
11596 content-type parts from HTML4 encoding string optional. (Bug#9716)
11597
80c6d77f
GM
115982011-10-18 Glenn Morris <rgm@gnu.org>
11599
11600 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11601
08b0fee8
CY
116022011-10-18 Chong Yidong <cyd@gnu.org>
11603
11604 * faces.el (cursor): Doc fix.
11605
67e729a5
CY
116062011-10-17 Chong Yidong <cyd@gnu.org>
11607
11608 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11609
343a34ff 116102011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11611
11612 * dirtrack.el (dirtrack): Support shell buffers with path
11613 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11614
0bc06380
TZ
116152011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11616
11617 * json.el: Bump version to 1.3 and note change in History.
11618 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11619
8b79f3e0
SM
116202011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11621
5a7c536b
SM
11622 * comint.el (comint-insert-input, comint-send-input)
11623 (comint-get-old-input-default, comint-backward-matching-input)
11624 (comint-next-prompt): Use nil instead of `input' for field property of
11625 past user input (bug#114).
11626
96a8a0df
SM
11627 * minibuffer.el (completion--replace): Inherit surrounding properties
11628 (bug#114).
11629 (minibuffer-complete-and-exit): Use it.
11630
8b79f3e0
SM
11631 * comint.el (comint--table-subvert): Quote the all-completions output
11632 (bug#9160).
11633
b8f7ff0d
MR
116342011-10-17 Martin Rudalics <rudalics@gmx.at>
11635
8b79f3e0 11636 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11637
b8f7ff0d 11638 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11639 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11640 entries and separate them from frame entries.
11641
c235b555
GM
116422011-10-15 Glenn Morris <rgm@gnu.org>
11643
11644 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11645 Doc fixes.
11646
6bbfa6e1
CY
116472011-10-15 Chong Yidong <cyd@stupidchicken.com>
11648
8b79f3e0
SM
11649 * net/network-stream.el (network-stream-open-starttls):
11650 Improve detection of failure due to lack of TLS support.
ec5c990d 11651
6bbfa6e1
CY
11652 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11653 putting the input text in front and in bold.
11654
98488977
SM
116552011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11656
3d1337be
SM
11657 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11658
ee0b45e4
SM
11659 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11660 empty buffer.
11661
98488977
SM
11662 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11663 unread-command-events rather than pushing yet-another event.
11664
186f4720
EZ
116652011-10-14 Eli Zaretskii <eliz@gnu.org>
11666
11667 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11668 the explanation of the possible choices. Make the options passed
11669 to completing-read shorter.
11670
8b7a997c
AM
116712011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11672
11673 * textmodes/flyspell.el (flyspell-large-region): Make sure
11674 extended character mode is used if defined (Bug#1339).
11675
12587bbb
EZ
116762011-10-13 Eli Zaretskii <eliz@gnu.org>
11677
11678 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11679 character info for LRE, LRO, RLE, and RLO characters by appending
11680 an invisible PDF.
12587bbb 11681
bad41229
SM
116822011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11685 even in case of error; add debug spec; simplify data flow.
11686 (with-timeout-handler): Remove.
11687
28dbc92f
MA
116882011-10-12 Michael Albinus <michael.albinus@gmx.de>
11689
11690 Fix Bug#6019, Bug#9315.
11691
11692 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11693 complete `buffer-file-name', the local file name part could look
11694 remotely (for example on VMS).
11695
11696 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11697 `tramp-run-real-handler'.
11698 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11699 already quoted by '"'.
11700
11701 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11702 Let `file-name-handler-alist' be nil, the local file name part
11703 could look remotely (for example on VMS).
11704
e1b0b23a
SM
117052011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11708 from here...
11709 (flyspell-post-command-hook): ...to here.
11710
a120bde9
SM
117112011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11714 if not needed.
11715 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11716 using completion. Protect against "slow" callers.
11717 Remove the "message hack".
11718
7ce7717b
JL
117192011-10-11 Juri Linkov <juri@jurta.org>
11720
11721 * isearch.el (isearch-lazy-highlight-word): New variable.
11722 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11723 Use it. (Bug#9727)
11724
c02ee9d6
GM
117252011-10-11 Glenn Morris <rgm@gnu.org>
11726
11727 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11728 like f90-previous-statement does.
11729
93e616fd 117302011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11731
1f190e73 11732 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11733 only in interactive use, to avoid error.
11734
af7b6078
SM
117352011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * minibuffer.el (completion-file-name-table): Fix last change,
11738 i.e. ignore normal errors but not the other ones.
11739
0563dae9
MR
117402011-10-10 Martin Rudalics <rudalics@gmx.at>
11741
11742 * window.el (special-display-buffer-names)
11743 (special-display-regexps): Remove some remnants of earlier
11744 changes from doc-strings.
366ca7f3
MR
11745 (quit-windows-on): New function.
11746
11747 * vc/vc.el (vc-revert, vc-rollback):
11748 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11749 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11750 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11751
49677495
MR
117522011-10-09 Martin Rudalics <rudalics@gmx.at>
11753
11754 * window.el (frame-auto-hide-function): Add version tag.
11755 (Bug#9699)
11756
56f2d1e1
MA
117572011-10-09 Michael Albinus <michael.albinus@gmx.de>
11758
11759 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11760 condition.
11761
112a6592
LL
117622011-10-09 Leo Liu <sdl.web@gmail.com>
11763
11764 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11765 (Bug#9701)
11766
0812589b
GM
117672011-10-08 Glenn Morris <rgm@gnu.org>
11768
11769 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11770 before the first code statement zero indent. (Bug#9690)
11771
b2b0776e
CY
117722011-10-08 Chong Yidong <cyd@stupidchicken.com>
11773
11774 * simple.el (count-words-region): Always count in the region.
11775 Report the number of lines and characters too.
11776 (count-words): New command, which counts in the buffer if the
11777 region is inactive, as count-words-region used to.
11778 (count-words--message): New function. Handle plurals.
11779 (count-lines-region): Make it an alias for count-words-region.
11780
11781 * bindings.el (esc-map): Replace count-lines-region with
11782 count-words-region.
11783
c557cd6b
MR
117842011-10-08 Martin Rudalics <rudalics@gmx.at>
11785
11786 * window.el (window--delete): Delete dedicated frame
11787 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11788 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11789
61a57ef4 117902011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11791
3a7d293b 11792 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11793
c3833279
CY
117942011-10-07 Chong Yidong <cyd@stupidchicken.com>
11795
11796 * bindings.el ([M-left],[M-right]): Bind to left-word and
11797 right-word respectively.
11798
21ce8245
GM
117992011-10-07 Glenn Morris <rgm@gnu.org>
11800
11801 * cus-start.el (debug-on-quit): Fix custom type.
11802
6d823bb2
LMI
118032011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11804
0181e193
LMI
11805 * subr.el (define-key-after): Clarify that the function is not
11806 useful for non-menu keymaps.
11807
6d823bb2
LMI
11808 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11809
8e3459ce 118102011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11811
21ce8245 11812 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11813 in current minibuffer (Fix bug with recursive minibuffers).
11814
a1c2d21e
CY
118152011-10-06 Chong Yidong <cyd@stupidchicken.com>
11816
11817 * progmodes/gdb-mi.el (gdb): Doc fix.
11818
5a4cf282
MR
118192011-10-05 Martin Rudalics <rudalics@gmx.at>
11820
11821 * window.el (frame-auto-hide-function): New option replacing
11822 frame-auto-delete. Suggested by Stefan Monnier.
11823 (window--delete): Call frame-auto-hide-function instead of
11824 investigating frame-auto-delete.
c96111ea
MR
11825 (window-point-1, set-window-point-1): New functions.
11826 (window-in-direction, record-window-buffer, window-state-get-1)
11827 (display-buffer-record-window): Use window-point-1 instead of
11828 window-point.
11829 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11830
9854542e
SM
118312011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11834
8943cfb0
GM
118352011-10-05 Glenn Morris <rgm@gnu.org>
11836
11837 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11838 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11839
647ab967
LL
118402011-10-05 Leo Liu <sdl.web@gmail.com>
11841
11842 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11843 works with buffer object.
11844
3ddfbced
SM
118452011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11846
11847 * mpc.el (mpc-tool-bar-map): Add labels.
11848
bdfa5dd2
GM
118492011-10-04 Glenn Morris <rgm@gnu.org>
11850
11851 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11852
0e2070b5
MR
118532011-10-04 Martin Rudalics <rudalics@gmx.at>
11854
11855 * window.el (window--delete): New function.
11856 (frame-auto-delete): Resuscitate option.
11857 (bury-buffer, replace-buffer-in-windows)
11858 (quit-window): Rewrite using window--delete.
11859 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11860 Pass display-buffer-mark-dedicated to window--display-buffer-2
11861 (Bug#9639).
11862
3dc61a09
SM
118632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11864
915a9b64
SM
11865 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11866 returns a list (bug#9554). Add remote file name completion.
11867 * comint.el (comint--table-subvert): Curry and get quote&unquote
11868 functions as arguments.
11869 (comint--complete-file-name-data): Adjust call accordingly.
11870 * pcomplete.el (pcomplete--table-subvert): Remove.
11871 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11872
3dc61a09
SM
11873 * minibuffer.el (completion-table-case-fold): Use currying.
11874 (completion--styles-type, completion--cycling-threshold-type):
11875 New constants.
11876 (completion-styles, completion-category-overrides)
11877 (completion-cycle-threshold): Use them.
11878 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11879 completion-table-case-fold.
11880
8ea0a993
SB
118812011-10-03 Stephen Berman <stephen.berman@gmx.net>
11882
11883 * minibuffer.el (completion-category-overrides): Fix type of styles
11884 and add more user friendly tags (bug#9660).
11885
8c24b7f6
SM
118862011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11889 (mule-input-method-string): New widget.
11890 (default-input-method, language-info-custom-alist): Use it.
11891
428fe61a
SM
118922011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11893
32c1fffd
SM
11894 * pcomplete.el: Require comint.
11895 (pcomplete--common-suffix): Remove.
11896 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11897 (pcomplete--table-subvert): Sync with comint--table-subvert.
11898 (pcomplete--entries): Use comint-completion-file-name-table.
11899 * comint.el (comint-unquote-filename): Simplify.
11900 (comint-completion-file-name-table): New function (bug#9616).
11901 (comint--complete-file-name-data): Use it.
11902
428fe61a
SM
11903 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11904 (pcmpl-gnu-tar-buffer): Remove.
11905 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11906 around. Make sure pcomplete-suffix-list is only changed temporarily.
11907 Don't look inside the tar's file if it's too large.
428fe61a 11908
04c52e2f
CY
119092011-10-01 Chong Yidong <cyd@stupidchicken.com>
11910
ce3cefcc
CY
11911 * cus-edit.el (custom-mode-map):
11912 * epa.el (epa-key-list-mode-map):
11913 * man.el (Man-mode-map):
11914 * startup.el (splash-screen-keymap):
11915 * simple.el (special-mode-map): Use scroll-up-command and
11916 scroll-down-command.
11917
11918 * progmodes/idlw-help.el (idlwave-help-mode-map):
11919 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11920 * net/newst-plainview.el (newsticker-mode-map):
11921 * emulation/ws-mode.el (wordstar-mode-map):
11922 * emulation/vi.el (vi-com-map):
11923 * calc/calc-graph.el (calc-graph-show-dumb):
11924 * term/sun.el (terminal-init-sun):
11925 * term/ns-win.el (global-map):
11926 * progmodes/grep.el (grep-mode-map):
11927 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11928 * mail/rmail.el (rmail-mode-map):
11929 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11930
04c52e2f
CY
11931 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11932 custom-safe-themes as special.
11933
79adf8c8
JD
119342011-10-01 Julien Danjou <julien@danjou.info>
11935
11936 * notifications.el (notifications-notify): Fix docstring.
11937
63bd50d3
PS
119382011-10-01 Per Starbäck <per@starback.se>
11939
11940 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11941
199e4c7e
MR
119422011-09-30 Martin Rudalics <rudalics@gmx.at>
11943
11944 * startup.el (command-line-1): Fix last fix by inserting
11945 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11946 (Bug#9605) and (Bug#9636)
199e4c7e 11947
fe5f08dd
EZ
119482011-09-29 Eli Zaretskii <eliz@gnu.org>
11949
11950 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11951 window is hscrolled, move by logical lines. (Bug#9607)
11952 (line-move-visual): Update the doc string to the above effect.
11953
b5516bbd
MR
119542011-09-29 Martin Rudalics <rudalics@gmx.at>
11955
ccee00c0
MR
11956 * window.el (display-buffer-record-window): When WINDOW is the
11957 selected window use `point' instead of `window-point'. (Bug#9626)
11958
b5516bbd
MR
11959 * startup.el (command-line-1): Use insert-before-markers when
11960 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11961
b5516bbd
MR
11962 * help.el (help-window): Remove variable.
11963
52aa0014
GM
119642011-09-29 Glenn Morris <rgm@gnu.org>
11965
11966 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11967
df9a7357
JB
119682011-09-29 Juanma Barranquero <lekktu@gmail.com>
11969
11970 * descr-text.el (describe-char-categories): Accept category
11971 descriptions more than one line long.
11972
a8406c20
SM
119732011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11974
88d9610c
SM
11975 * simple.el (delete-trailing-whitespace): Fix last change.
11976
a5daf810
SM
11977 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11978 Don't confuse "y => 3" as the beginning of a `y' operation.
11979
a8406c20
SM
11980 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11981 object has more than 4 slots (bug#9613).
11982
a239d4e9
JB
119832011-09-28 Juanma Barranquero <lekktu@gmail.com>
11984
11985 * subr.el (with-output-to-temp-buffer):
11986 * net/quickurl.el (quickurl, quickurl-browse-url):
11987 Fix typos in docstrings.
11988
693fbdb6
EZ
119892011-09-27 Eli Zaretskii <eliz@gnu.org>
11990
11991 * minibuffer.el (completion-styles)
11992 (completion-category-overrides): Cross reference each other in doc
11993 strings.
11994
8b457e28
GM
119952011-09-27 Glenn Morris <rgm@gnu.org>
11996
11997 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11998 to split-string. (Bug#9606)
11999
85a16208
LMI
120002011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12001
12002 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12003 (bug#9615).
12004
502f9ebd
CY
120052011-09-27 Chong Yidong <cyd@stupidchicken.com>
12006
12007 * emacs-lisp/package.el (list-packages): Fix echo area message.
12008
7690bdea
LL
120092011-09-27 Leo Liu <sdl.web@gmail.com>
12010
12011 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12012
e2ee6f30
MA
120132011-09-25 Michael Albinus <michael.albinus@gmx.de>
12014
12015 * net/dbus.el (dbus-unregister-object): Don't release services for
12016 registered signals. (Bug#9581)
12017
f3f98342
TZ
120182011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12019
12020 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12021 function that picks between cfengine 2 and 3 support
12022 automatically. Update docs accordingly.
12023
dd7aa8dd
KH
120242011-09-22 Kenichi Handa <handa@m17n.org>
12025
12026 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12027 ZERO.
12028 (indian-itrans-v5-table-for-tamil): New variable.
12029 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12030
3f2b07f8
KM
120312011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12032
12033 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12034 that's true if the current command involved collapsing of text.
12035 It's reset to false at the beginning of the next command.
12036 (allout-post-command-business): Move the cursor to the beginning
12037 of entry if the cursor is hidden and collapsing activity just
12038 happened.
12039
371d6a61
CY
120402011-09-24 Chong Yidong <cyd@stupidchicken.com>
12041
12042 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12043 tracking (Bug#9541).
12044
2ac2721a
UJ
120452011-09-24 Ulf Jasper <ulf.jasper@web.de>
12046
12047 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12048 (newsticker-show-news): Automatically load html rendering package
12049 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12050 because w3m-fill-column is let-bound" and the error "Symbol's value
12051 as variable is void: w3m-fill-column".
2ac2721a 12052
fac7ae53
MA
120532011-09-24 Michael Albinus <michael.albinus@gmx.de>
12054
12055 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12056 Release services only if they are defined. (Bug#9581)
12057
e08b633b
RS
120582011-09-23 Richard Stallman <rms@gnu.org>
12059
e488d29c
RS
12060 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12061 distinguish start of paragraph from start of its text.
12062
19c38752
RS
12063 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12064
e08b633b
RS
12065 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12066 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12067 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12068
0a39f27e
AS
120692011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12070
12071 * international/mule-diag.el (mule-diag): Insert a newline after
12072 each fontset description.
12073
db4e950d
SM
120742011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12075
12076 * simple.el (delete-trailing-whitespace):
12077 Document last change; simplify.
12078
eca3f3ea
PW
120792011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12080
d68e189a
PW
12081 * simple.el (delete-trailing-whitespace): Also delete
12082 extra newlines at the end of the buffer.
12083
eca3f3ea
PW
12084 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12085 (picture-newline): Use forward-line so as to ignore fields.
12086
01c157cc
SM
120872011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * subr.el (with-wrapper-hook): Fix edebug spec.
12090
022de23e
LMI
120912011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12092
12093 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12094 (bug#4538).
12095
91683089
MA
120962011-09-23 Michael Albinus <michael.albinus@gmx.de>
12097
eca3f3ea
PW
12098 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12099 Fix nasty bug using wrong cached values.
91683089 12100
5bdd6fa4
AM
121012011-09-23 Alan Mackenzie <acm@muc.de>
12102
12103 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12104
97adfb97
CY
121052011-09-23 Chong Yidong <cyd@stupidchicken.com>
12106
12107 * window.el (pop-to-buffer): Ensure right window is selected if we
12108 chose another frame.
12109
d4ef2b50
EZ
121102011-09-22 Eli Zaretskii <eliz@gnu.org>
12111
12112 * simple.el (what-cursor-position): Use get-char-property-change
12113 and next-single-char-property-change, to be able to show display
12114 properties that come from overlays as well as text properties.
12115
72258fe5
CY
121162011-09-22 Chong Yidong <cyd@stupidchicken.com>
12117
12118 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12119
12120 * cmuscheme.el (run-scheme, switch-to-scheme):
12121 * cus-edit.el (customize-group, custom-buffer-create)
12122 (customize-browse):
12123 * info.el (info):
12124 * shell.el (shell):
12125 * mail/sendmail.el (mail):
12126 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12127
8f098516
RS
121282011-09-22 Richard Stallman <rms@gnu.org>
12129
12130 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12131 move back only to line beg, don't move back over blank lines.
12132
e74f1bb6
MA
121332011-09-22 Michael Albinus <michael.albinus@gmx.de>
12134
12135 * files.el (copy-directory): Set directory attributes only in case
12136 they could be retrieved from the source directory. (Bug#9565)
12137
bfeef8b6
DK
121382011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12139
12140 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12141 (hs-find-block-beginning, hs-hide-level-recursive):
12142 Ignore strings as well as comments. (Bug#9502)
12143
7e423bb8
AS
121442011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12145
12146 * progmodes/sql.el (sql-comint-postgres):
12147 Convert port number to a string. (Bug#9566)
12148
b4d72fcf
MR
121492011-09-22 Martin Rudalics <rudalics@gmx.at>
12150
12151 * window.el (quit-window): Undedicate window when switching to
12152 previous buffer. Reported by Thierry Volpiatto
12153 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12154 (special-display-popup-frame): When popping up a new frame reset
12155 its previous buffers to nil. Simplify code.
b4d72fcf 12156
a7b88dc6
MA
121572011-09-21 Michael Albinus <michael.albinus@gmx.de>
12158
12159 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12160 and process filter, as done also in `shell-command'.
12161
cf4eacfd
MR
121622011-09-21 Martin Rudalics <rudalics@gmx.at>
12163
eca3f3ea 12164 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12165 Call set-window-start with NOFORCE argument t.
12166 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12167 (quit-window): Reword doc-string. Handle new format of
12168 quit-restore parameter. Don't delete window if it has a
12169 previous buffer we can show instead of the present one.
12170 (display-buffer-record-window): Rewrite using a new format for
12171 the quit-restore window parameter
12172 (special-display-popup-frame, display-buffer-same-window)
12173 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12174 (display-buffer-pop-up-window, display-buffer-use-some-window):
12175 Adapt symbol passed to display-buffer-record-window.
12176 * help.el (help-window-setup): Handle new format of quit-restore
12177 parameter.
12178
8d28cb95
SM
121792011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12180
94ab793f
SM
12181 * faces.el (face-list): Fix docstring (bug#9564).
12182
8d28cb95
SM
12183 * window.el (display-buffer--action-function-custom-type):
12184 Don't include internal functions in the Custom interface.
12185
3820edeb
JL
121862011-09-20 Juri Linkov <juri@jurta.org>
12187
12188 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12189 (Info-forward-node, Info-backward-node, Info-next-preorder)
12190 (Info-last-preorder): Use it. (Bug#9528)
12191
5147931d
JL
121922011-09-20 Juri Linkov <juri@jurta.org>
12193
12194 * info.el (Info-last-preorder): Visit last menu item only when
12195 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12196
cf499a1a
JD
121972011-09-20 Julien Danjou <julien@danjou.info>
12198
12199 * password-cache.el (password-cache-remove): Remove entries even if the
12200 value is nil, so that password with a nil value (negative caching) is
12201 possible to invalidate.
12202
f84e2fe2
LM
122032011-09-20 Lawrence Mitchell <wence@gmx.li>
12204
12205 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12206 all whitespace around breakpoint. (Bug#9553)
12207 (f90-find-breakpoint): Only break at whitespace inside a comment.
12208
78054a46
SM
122092011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * minibuffer.el (completion-file-name-table): Keep track of errors.
12212 (completion-table-with-predicate): Handle the case where pred1 is nil.
12213 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12214
345083b2
SM
122152011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12216
e24e27be
SM
12217 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12218 (debugger-return-value): Signal an error if the debugging context does
12219 not await any return value.
12220
345083b2
SM
12221 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12222 * image-mode.el (image-toggle-display-text)
12223 (image-toggle-display-image): Stay away from evil `intangible'.
12224
08d355e3
LL
122252011-09-19 Leo Liu <sdl.web@gmail.com>
12226
12227 * replace.el (occur-revert-arguments): Make it permanent-local.
12228 (occur-mode): Don't call font-lock-defontify.
12229
f01da43f
CY
122302011-09-19 Chong Yidong <cyd@stupidchicken.com>
12231
12232 * net/ldap.el (ldap-search-internal): Don't push empty search
12233 result (Bug#9508).
12234
b6072fa6
SM
122352011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12238
443d6696
MA
122392011-09-19 Michael Albinus <michael.albinus@gmx.de>
12240
12241 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12242 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12243
7cc6e154
JL
122442011-09-18 Juri Linkov <juri@jurta.org>
12245
12246 * buff-menu.el (Buffer-menu-mode-map):
12247 * dired.el (dired-mode-map):
12248 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12249 (lisp-interaction-mode-map):
12250 * emacs-lisp/package.el (package-menu-mode-map):
12251 * epa.el (epa-key-list-mode-map):
12252 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12253 (menu-bar-options-menu):
12254 * outline.el (outline-mode-menu-bar-map):
12255 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12256 * vc/vc-dir.el (vc-dir-menu-map):
12257 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12258 Capitalize non-function content words in menu item strings.
12259
12260 * dired.el (dired-mode-map): Add menu item for
12261 `image-dired-dired-toggle-marked-thumbs'.
12262
80302a81
JL
122632011-09-18 Juri Linkov <juri@jurta.org>
12264
12265 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12266 to `isearch-case-fold-search' and restore its original value
12267 after the `isearch-mode' call.
12268
46c5cf66
JL
122692011-09-18 Juri Linkov <juri@jurta.org>
12270
12271 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12272 because `zgrep' returns 1 for successful matches (bug#9226).
12273
d18b513b
JL
122742011-09-18 Juri Linkov <juri@jurta.org>
12275
12276 * info.el (Info-extract-menu-node-name): Check the second match
12277 for empty string (second test-case of bug#9528).
12278 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12279 intermediate nodes to the history (first test-case of bug#9528).
12280
72753f87
JL
122812011-09-18 Juri Linkov <juri@jurta.org>
12282
12283 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12284 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12285
c9384295
JL
122862011-09-18 Juri Linkov <juri@jurta.org>
12287
1154d12e
JB
12288 * info.el (Info-file-supports-index-cookies):
12289 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12290 outputs one more line for long file names (bug#4142).
c9384295 12291
d473dce8
CY
122922011-09-18 Chong Yidong <cyd@stupidchicken.com>
12293
12294 * newcomment.el (comment-normalize-vars): If prompting for
12295 comment-start, set comment-start-skip too (Bug#8424).
12296
2176854d
JB
122972011-09-18 Johan Bockgård <bojohan@gnu.org>
12298
12299 * icomplete.el: Fix previous fix of Bug#5849.
12300 (icomplete-mode): Don't set completion-show-inline-help.
12301 (icomplete-minibuffer-setup): Set completion-show-inline-help
12302 locally during icompletion.
12303
3aace4e4
CY
123042011-09-18 Chong Yidong <cyd@stupidchicken.com>
12305
c940224f
CY
12306 * woman.el (woman2-process-escapes): Don't delete unrecognized
12307 escapes (Bug#7843).
12308
3aace4e4
CY
12309 * files.el (inhibit-first-line-modes-regexps): Add image files.
12310 (hack-local-variables-prop-line): Return nil for malformed
12311 prop-lines (Bug#9044).
12312
710dec63
MA
123132011-09-18 Michael Albinus <michael.albinus@gmx.de>
12314
12315 * net/tramp.el (top): Don't require 'shell.
12316 (tramp-methods): Fix docstring.
12317 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12318 Return complete remote file name. Handle "smb" case.
12319 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12320 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12321
12322 * net/tramp-compat.el (top): Require 'shell.
12323
12324 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12325 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12326 `tramp-current-host'.
12327 (tramp-get-remote-tmpdir): Remove.
12328
12329 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12330 `tramp-tmpdir' entries.
12331 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12332 (tramp-smb-handle-file-attributes): Ignore errors.
12333 (tramp-smb-wait-for-output): Check also for process end.
12334
5d5ac8ec
LMI
123352011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12336
12337 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12338 when sending QUIT (bug#9312).
12339
8c0f49f0
CY
123402011-09-17 Chong Yidong <cyd@stupidchicken.com>
12341
12342 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12343 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12344 occur-mode-display-occurrence.
12345 (occur-edit-mode): Add usage message.
12346 (occur-cease-edit): New command.
12347 (occur-after-change-function): Use text properties to find the
12348 position of the prefix text.
12349 (occur-engine): Set stickiness of prefix text properties.
12350
8f1383f7
GM
123512011-09-17 Glenn Morris <rgm@gnu.org>
12352
12353 * progmodes/etags.el (complete-tag):
12354 Fix call to completion-in-region. (Bug#9526)
12355
744ba0e3
JL
123562011-09-17 Juri Linkov <juri@jurta.org>
12357
12358 * textmodes/ispell.el (ispell-word): Add to the error message
12359 the word, ispell program name and current dictionary (bug#9121).
12360 (ispell-tex-arg-end): Capitalize "error" in the error message.
12361
d9bbf400
AS
123622011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12363
12364 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12365 check. (Bug#4251)
12366
8da11505
JL
123672011-09-17 Juri Linkov <juri@jurta.org>
12368
12369 * window.el (window-safe-min-height, window-safe-min-width):
12370 Fix typos (followup to bug#9522).
12371
a91adc7e
SJ
123722011-09-17 Sven Joachim <svenjoac@gmx.de>
12373
12374 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12375
064f328a
EZ
123762011-09-16 Eli Zaretskii <eliz@gnu.org>
12377
12378 * simple.el (line-move): If goal-column is set, move by logical
12379 lines, not by display lines. (Bug#971)
12380 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12381 to reflect the above change.
12382
e69df516
SM
123832011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * image.el (imagemagick-register-types): Use regexp-opt.
12386
cbb0f9ab
CY
123872011-09-15 Chong Yidong <cyd@stupidchicken.com>
12388
12389 * window.el (display-buffer-base-action): Rename from
12390 display-buffer-default-action. Make default value empty.
12391 (display-buffer-overriding-action): Convert to defvar.
12392 (display-buffer-fallback-action): New var.
12393
25322144
CY
123942011-09-15 Chong Yidong <cyd@stupidchicken.com>
12395
12396 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12397 declaration.
12398 (package--add-to-archive-contents): If there is a duplicate entry
12399 with an older version, remove it.
12400 (package-menu-mark-delete, package-menu-mark-install)
12401 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12402 (package-menu-mark-obsolete-for-deletion):
12403 Use package-menu-get-status instead of a regexp search.
25322144
CY
12404 (package-menu-get-status): Use tabulated-list-entry.
12405 (package-menu-mark-upgrades): New command.
d770725a 12406 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12407 (package-menu-execute): Do installation before deletion.
12408 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12409 instead of checking major-mode.
12410 (package-menu--find-upgrades): New function.
12411
7520339c
LMI
124122011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12413
12414 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12415 passwords in the log buffer.
65a046c4
LMI
12416 (smtpmail-process-filter): Update the process marker so that the
12417 "broken by peer" status message is inserted in the right place.
7520339c 12418
d3c30954
SM
124192011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12420
3fe48822
SM
12421 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12422 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12423 bibtex-completion-at-point-function.
12424 (bibtex-completion-at-point-function): Use them.
12425
1b8b3954
SM
12426 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12427
d3c30954
SM
12428 * mpc.el (mpc-constraints-tag-lookup): New function.
12429 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12430 also to browser "album|playlist".
12431
72779976
JL
124322011-09-14 Juri Linkov <juri@jurta.org>
12433
12434 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12435 (isearch-edit-string): Use length of `isearch-string' when
12436 `isearch-fail-pos' returns nil.
12437 (isearch-message): Remove duplicate code and call
12438 `isearch-fail-pos' with arg `t'.
12439
a0bf2bcd
CY
124402011-09-14 Chong Yidong <cyd@stupidchicken.com>
12441
17bb0a2d
CY
12442 * replace.el (occur-mode-goto-occurrence): Don't force using other
12443 window (Bug#9499).
12444
a0bf2bcd
CY
12445 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12446
f678e0b6
MR
124472011-09-14 Martin Rudalics <rudalics@gmx.at>
12448
12449 * window.el (display-buffer-window): Remove.
12450 (display-buffer-record-window): Use help-setup window parameter
12451 instead of variable display-buffer-window.
12452 (display-buffer-function, special-display-buffer-names)
12453 (special-display-function): Mention help-setup parameter instead
12454 of display-buffer-window in doc-string.
d3c30954
SM
12455 * help.el (help-window-setup): New argument help-window.
12456 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12457 Reword some messages.
12458 (with-help-window): Pass window used for displaying the buffer
12459 to help-window-setup. Don't set display-buffer-window.
12460
8e39b2e8
GM
124612011-09-13 Glenn Morris <rgm@gnu.org>
12462
12463 * emacs-lisp/debug.el (debugger-make-xrefs):
12464 Preserve point. (Bug#9462)
12465
85e9c04b
CY
124662011-09-13 Chong Yidong <cyd@stupidchicken.com>
12467
12468 * window.el (window-deletable-p): Use next-frame.
12469
1b36ed6a
MR
124702011-09-13 Martin Rudalics <rudalics@gmx.at>
12471
12472 * window.el (window-auto-delete): Remove.
12473 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12474 dedication and previous buffers.
1b36ed6a
MR
12475 (switch-to-prev-buffer): Don't delete window.
12476 (delete-windows-on): Delete a window's frame if and only if the
12477 window is dedicated.
12478 (replace-buffer-in-windows): Delete buffer's window or frame if
12479 and only if window is dedicated.
12480 (quit-window): Handle quit-restore as before last change.
4d61f28d 12481 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12482
ef8ef9fb
CY
124832011-09-13 Chong Yidong <cyd@stupidchicken.com>
12484
12485 * window.el (window-deletable-p): Never delete the last frame on a
12486 given terminal.
12487
b2cba41e
GM
124882011-09-13 Glenn Morris <rgm@gnu.org>
12489
12490 * help.el (describe-key-briefly): Copy previous standard-output change.
12491
51553db6 124922011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12493
12494 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12495
b7556719
GM
124962011-09-13 Glenn Morris <rgm@gnu.org>
12497
12498 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12499 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12500
64b51947
CY
125012011-09-12 Chong Yidong <cyd@stupidchicken.com>
12502
12503 * dired-aux.el (dired-mark-read-string): Don't return default
12504 value on empty input (Bug#9361).
12505 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12506 Omit initial minibuffer contents.
12507 (dired-do-chmod): Signal an error on empty input.
12508 (dired-mark-read-string): Don't return default on empty input.
12509
12510 * files.el (file-modes-symbolic-to-number): Doc fix.
12511
393a301e
SM
125122011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12513
12514 * international/mule-cmds.el (ucs-completions): Remove.
12515 (read-char-by-name): Use complete-with-action instead; add metadata.
12516
fa5660f9
CY
125172011-09-11 Chong Yidong <cyd@stupidchicken.com>
12518
12519 * window.el (display-buffer--action-function-custom-type)
12520 (display-buffer--action-custom-type): New vars.
12521 (display-buffer-alist, display-buffer-default-action)
12522 (display-buffer-overriding-action): Add defcustom types.
12523
4a592f66
CY
12524 * frame.el (delete-other-frames): Doc fix (Bug#276).
12525
73d56dbd
LMI
125262011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12527
12528 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12529
37ac18a3
CY
125302011-09-11 Chong Yidong <cyd@stupidchicken.com>
12531
12532 Change modes that used same-window-* vars to use switch-to-buffer.
12533
12534 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12535 Use switch-to-buffer.
12536
12537 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12538 (customize-browse, custom-buffer-create-other-window):
12539 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12540
12541 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12542 (Info-prev, Info-up, Info-speedbar-goto-node)
12543 (info-display-manual): Use switch-to-buffer.
12544 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12545
12546 * mail/sendmail.el (mail): Use switch-to-buffer.
12547 (mail-recover): Use switch-to-buffer-other-window.
12548
12549 * cmuscheme.el (run-scheme, switch-to-scheme):
12550 * ielm.el (ielm):
12551 * shell.el (shell):
12552 * net/rlogin.el (rlogin):
12553 * net/telnet.el (telnet, rsh):
12554 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12555
10195bd6
AS
125562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12557
12558 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12559
b322f63a
LMI
125602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12561
39d7fed6
LMI
12562 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12563 so don't mention it (bug#9301).
ba5a81f1 12564 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12565
ee0e9f11
LMI
12566 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12567 match `x', `w32' and `ns', like the manual says (bug#9029).
12568
0b1c89c1 12569 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12570 (process-kill-buffer-query-function): Mention the buffer name in
12571 the query.
0b1c89c1 12572
77549ea8
LMI
12573 * image-mode.el (image-next-line): The line parameter is mandatory
12574 (bug#9258).
12575
803ef892
LMI
12576 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12577 which can be useful (bug#9301).
12578
12980837
LMI
12579 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12580
91054f8f
LMI
12581 * subr.el (match-string): Mention that the current buffer should
12582 be the same as the search was done in (bug#9282).
12583
b322f63a
LMI
12584 * facemenu.el: Disable the remove-* commands if the mark isn't
12585 active (bug#9162).
12586
3199b96f
CY
125872011-09-10 Chong Yidong <cyd@stupidchicken.com>
12588
12589 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12590 of display-buffer.
12591 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12592
12593 * replace.el (occur-mode-goto-occurrence)
12594 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12595 and display-buffer.
12596
12597 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12598 display-buffer.
12599
12600 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12601 special-display and same-window variables.
12602 (mail-other-window): Use switch-to-buffer-other-window.
12603 (mail-other-frame): USe switch-to-buffer-other-frame.
12604
393a301e
SM
12605 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12606 Use display-buffer-other-frame.
3199b96f
CY
12607 (gdb-display-gdb-buffer): Use pop-to-buffer.
12608
12609 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12610
12611 * progmodes/python.el: Don't set same-window-buffer-names.
12612
12613 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12614
12615 * window.el (display-buffer-alist): Add *Python*.
12616
8319e0bf
CY
126172011-09-10 Chong Yidong <cyd@stupidchicken.com>
12618
12619 * window.el (display-buffer-alist): Add entry for buffers
12620 previously handled same-window-*.
12621 (display-buffer-alist, display-buffer-default-action)
12622 (display-buffer-overriding-action): Mark as risky.
12623 (display-buffer-alist): Document action function changes.
12624 (display-buffer--same-window-action)
12625 (display-buffer--other-frame-action): New variables.
12626 (switch-to-buffer, display-buffer-other-frame): Use them.
12627 (display-buffer): Rename reuse-frame entry to reusable-frames.
12628 (display-buffer-reuse-selected-window): Function deleted.
12629 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12630 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12631 (display-buffer-special): New function.
12632 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12633 display-buffer-reuse-or-pop-window. Split off special-display
12634 part into display-buffer-special.
12635 (display-buffer-use-some-window): Don't perform any special
12636 pop-up-frames handling.
12637 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12638 (display-buffer--maybe-same-window): Rename from
0d3ff375 12639 display-buffer-maybe-same-window.
8319e0bf 12640
919a69aa
CY
12641 * info.el: Don't set same-window-regexps.
12642 (info-setup): New function.
12643 (info-other-window, info): Call it.
12644
12645 * cus-edit.el: Don't set same-window-regexps.
12646 (customize-group): New argument.
12647 (customize-group-other-window): Use it.
12648 (customize-face, customize-face-other-window): Likewise.
12649 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12650
8319e0bf
CY
12651 * net/rlogin.el:
12652 * net/telnet.el:
12653 * progmodes/gud.el: Don't set same-window-regexps.
12654
12655 * cmuscheme.el:
12656 * ielm.el:
12657 * shell.el:
12658 * mail/sendmail.el:
12659 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12660
25173000
JL
126612011-09-10 Juri Linkov <juri@jurta.org>
12662
12663 * isearch.el (isearch-edit-string): Remove obsolete mention of
12664 `C-w' (`isearch-yank-word-or-char') from docstring.
12665 (isearch-query-replace): Fix typo in docstring (bug#9466).
12666
056e44ef
JL
126672011-09-10 Juri Linkov <juri@jurta.org>
12668
12669 * paren.el (show-paren-function): Don't show escaped parens.
12670 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12671
c3760c17
EZ
126722011-09-10 Eli Zaretskii <eliz@gnu.org>
12673
12674 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12675 (mm-default-file-encoding): Remove autoload forms, they are
12676 replaced with autoload cookies in mml.el and mm-encode.el.
12677 (mail-add-attachment): New command.
12678 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12679 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12680 the doc string.
12681 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12682
fece895e
RT
126832011-09-10 Reuben Thomas <rrt@sc3d.org>
12684
e69df516
SM
12685 * simple.el (count-words-region): Use buffer if there's no region
12686 (bug#9429).
fece895e 12687
5e68ce4a
JL
126882011-09-09 Juri Linkov <juri@jurta.org>
12689
12690 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12691 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12692 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12693
0a6b9622
AM
126942011-09-09 Alan Mackenzie <acm@muc.de>
12695
12696 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12697 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12698
14a29deb
EZ
126992011-09-09 Eli Zaretskii <eliz@gnu.org>
12700
12701 Fix for Savannah bug#9392.
12702 * simple.el (mail-encode-mml): New defvar.
12703
12704 * mail/rmail.el (mail-encode-mml): Add a defvar.
12705 (rmail-enable-mime-composing): Default to t.
12706 (rmail-forward): Use MIME method of forwarding only if both
12707 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12708 Set mail-encode-mml non-nil if the MIME method was used.
12709
12710 * mail/sendmail.el (mml-to-mime): Add autoload form.
12711 (mail-encode-mml): Add a defvar.
12712 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12713 to nil.
12714 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12715 message through mml-to-mime, and reset mail-encode-mml to nil.
12716
28c45130
GM
127172011-09-09 Glenn Morris <rgm@gnu.org>
12718
12719 * woman.el (woman-if-body): When processing an .el block,
12720 do not delete the next .el block as well. (Bug#9447)
69f4b618 12721 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12722
9b1c252e
MR
127232011-09-08 Martin Rudalics <rudalics@gmx.at>
12724
12725 * window.el (window-deletable-p): Make sure window is live before
12726 invoking window-prev-buffers.
12727
567457e3
LL
127282011-09-08 Leo Liu <sdl.web@gmail.com>
12729
12730 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12731
97f05794
JL
127322011-09-08 Juri Linkov <juri@jurta.org>
12733
12734 * progmodes/compile.el (compilation-environment): Make it
12735 a defcustom (bug#8340).
12736
8b0874b5
MR
127372011-09-08 Martin Rudalics <rudalics@gmx.at>
12738
12739 * window.el (frame-auto-delete): Rename to window-auto-delete.
12740 Make it control auto-deletion of windows and/or frames.
12741 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12742 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12743 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12744 Rewrite handling of case when window/frame can be deleted.
12745 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12746 argument t. (Bug#9456)
8b0874b5 12747
4feb6e73
CY
127482011-09-07 Chong Yidong <cyd@stupidchicken.com>
12749
12750 * help-mode.el (help-mode): Restore autoload.
12751
91ab9c13
JL
127522011-09-07 Juri Linkov <juri@jurta.org>
12753
12754 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12755 `compilation-environment'. Set buffer-local
12756 `compilation-environment' to `thisenv' later after (funcall mode).
12757 (Bug#8340)
12758
12759 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12760 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12761 instead of replacing its value. (Bug#8340)
12762
0527e251
JL
127632011-09-07 Juri Linkov <juri@jurta.org>
12764
12765 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12766 based on text properties put by `grep-filter' instead of matching
12767 escape sequences.
12768 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12769 to the value of `grep-error-screen-columns' (bug#9438).
12770
249f792c
JL
127712011-09-07 Juri Linkov <juri@jurta.org>
12772
12773 * simple.el (next-error-highlight, next-error-highlight-no-select):
12774 Doc fix (bug#9432).
12775
ff7271b9
OT
127762011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12777
12778 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12779 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12780
183fc730
LL
127812011-09-07 Leo Liu <sdl.web@gmail.com>
12782
12783 * net/rcirc.el (rcirc-mode): Conditionally initialize
12784 rcirc-input-ring.
12785
77694924
SM
127862011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * emacs-lisp/find-func.el (find-function-C-source): Only set
12789 find-function-C-source-directory after checking that we found a source
12790 file there (bug#9440).
12791
d809b8eb
AM
127922011-09-06 Alan Mackenzie <acm@muc.de>
12793
12794 * isearch.el (isearch-other-meta-char): Wherever a key list is
12795 unread, "unread" the prefix arg, too. This fixes bug #8901.
12796
453de99f
OG
127972011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12798
12799 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12800
90439906
JL
128012011-09-05 Juri Linkov <juri@jurta.org>
12802
12803 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12804
f62bd846
JL
128052011-09-05 Juri Linkov <juri@jurta.org>
12806
12807 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12808 keeping point where processing of grep matches begins, and
12809 continue to delete remaining escape sequences from the same point.
12810 (grep-filter): Make leading zero optional in "0?1;31m" because
12811 git-grep emits "\033[1;31m" escape sequences unlike expected
12812 "\033[01;31m" as GNU Grep does (bug#9408).
12813 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12814
045820ec
JL
128152011-09-05 Juri Linkov <juri@jurta.org>
12816
12817 * subr.el (y-or-n-p): Capitalize "yes".
12818
f5e29b9b
MA
128192011-09-04 Michael Albinus <michael.albinus@gmx.de>
12820
12821 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12822 `tramp-cache-unload-hook' where appropriate.
12823 (tramp-methods): Rename `tramp-remote-sh' to
12824 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12825 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12826
12827 * net/tramp-sh.el (top): Don't require 'shell.
12828 (tramp-methods): Add `tramp-remote-shell' and
12829 `tramp-remote-shell-args' entries.
12830 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12831 (tramp-sh-handle-shell-command): Remove.
12832 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12833 Use `tramp-remote-shell'.
12834
2784c434
CY
128352011-09-03 Chong Yidong <cyd@stupidchicken.com>
12836
393a301e 12837 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12838 (sendmail-query-once): Save directly to send-mail-function.
12839 Update message-send-mail-function too.
12840
12841 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12842
464cdf56
CS
128432011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12844
12845 * progmodes/python.el (python-mode-map): Use correct function to
12846 start python interpreter from menu-bar (as reported by Geert
12847 Kloosterman).
12848 (inferior-python-mode-map): Fix typo.
393a301e 12849 (python-shell-map): Remove.
464cdf56 12850
d37e5c87
DD
128512011-09-03 Deniz Dogan <deniz@dogan.se>
12852
12853 * net/rcirc.el (rcirc-print): Simplify code for
12854 rcirc-scroll-show-maximum-output. There is no need to walk
12855 through all windows to find the right one.
12856
f3ada0ee
CS
128572011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12858
12859 * help.el (help-return-method): Doc fix.
12860
1f3c99ca
MR
128612011-09-03 Martin Rudalics <rudalics@gmx.at>
12862
12863 * window.el (window-deletable-p): Don't return a non-nil value
12864 when there's a buffer that was shown in the window before.
12865 (Bug#9419)
393a301e
SM
12866 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12867 Set window's previous buffers to nil.
1f3c99ca 12868
a3cf097f
EZ
128692011-09-03 Eli Zaretskii <eliz@gnu.org>
12870
12871 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12872 newline before and after the tag line, so it doesn't interfere
12873 with determining the paragraph direction of bidirectional text.
12874
3d03de90
LL
128752011-09-03 Leo Liu <sdl.web@gmail.com>
12876
12877 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12878
c3313451
CY
128792011-09-02 Chong Yidong <cyd@stupidchicken.com>
12880
393a301e 12881 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12882 (pop-to-buffer): Change interactive spec. Pass second argument
12883 directly to display-buffer.
12884 (display-buffer): Fix interactive spec. Use functionp to
12885 distinguish between a function and a list of functions.
12886
12887 * abbrev.el (edit-abbrevs):
12888 * arc-mode.el (archive-extract):
12889 * autoinsert.el (auto-insert):
12890 * bookmark.el (bookmark-bmenu-list):
12891 * files.el (find-file):
12892 * view.el (view-buffer):
12893 * progmodes/compile.el (compilation-goto-locus):
12894 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12895
89894cd8
CY
128962011-09-02 Chong Yidong <cyd@stupidchicken.com>
12897
12898 * window.el (display-buffer-alist): Doc fix.
12899 (display-buffer): Add docstring. Don't treat
12900 display-buffer-default specially.
12901 (display-buffer-reuse-selected-window)
12902 (display-buffer-same-window, display-buffer-maybe-same-window)
12903 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12904 (display-buffer-pop-up-window)
12905 (display-buffer-reuse-or-pop-window)
12906 (display-buffer-use-some-window): New functions.
12907 (display-buffer-default-action): Use them.
393a301e 12908 (display-buffer-default): Delete.
89894cd8
CY
12909 (pop-to-buffer-1): Fix choice of actions.
12910
ae0bc9fb
SM
129112011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12912
12913 * minibuffer.el (completion--insert-strings): Don't get confused by
12914 completion entries that end with an LF char.
12915
e9d90883
EZ
129162011-09-01 Eli Zaretskii <eliz@gnu.org>
12917
12918 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12919
437014c8
CY
129202011-09-01 Chong Yidong <cyd@stupidchicken.com>
12921
12922 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12923 (display-buffer-same-window, display-buffer-other-window):
12924 New functions.
437014c8
CY
12925 (pop-to-buffer-1): New function. Use the above.
12926 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12927 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12928
12929 * view.el (view-buffer-other-window, view-buffer-other-frame):
12930 Just use pop-to-buffer.
12931
a5e063d5
TV
129322011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12933
12934 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12935
793d32bb
WH
129362011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12937
12938 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12939
d65e4c15
RS
129402011-08-31 Richard Stallman <rms@gnu.org>
12941
12942 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12943 of the separation of rmail-view-buffer from rmail-buffer.
12944 If you say no to "replace original", the decrypt is in the
12945 view buffer. If you say yes, the decrypt goes into the
12946 rmail buffer also.
12947
f818cd2a
MR
129482011-08-31 Martin Rudalics <rudalics@gmx.at>
12949
12950 * window.el (display-buffer-window): Rewrite doc-string.
12951 (display-buffer-record-window): New function.
12952 (display-buffer-macro-specifiers)
12953 (display-buffer-even-window-sizes, display-buffer-set-height)
12954 (display-buffer-set-width, display-buffer-in-window)
12955 (display-buffer-reuse-window, display-buffer-split-specifiers)
12956 (display-buffer-side-specifiers, display-buffer-split-window-1)
12957 (display-buffer-split-window, display-buffer-split-atom-window)
12958 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12959 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12960 (display-buffer-other-window-means-other-frame)
12961 (display-buffer-normalize-special)
12962 (display-buffer-normalize-default)
12963 (display-buffer-normalize-argument)
12964 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12965 (display-buffer-normalize-specifiers, display-buffer-frame)
12966 (display-buffer-same-window, display-buffer-same-frame)
12967 (display-buffer-other-window)
12968 (display-buffer-same-frame-other-window)
12969 (display-buffer-other-frame, pop-to-buffer-same-window)
12970 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12971 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12972 (switch-to-buffer-same-frame)
12973 (switch-to-buffer-other-window-same-frame)
12974 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12975 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12976 (display-buffer-alist-set): Remove.
12977 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12978 (special-display-regexps, special-display-function):
12979 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12980 parameter.
12981 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12982 (special-display-frame-alist, special-display-popup-frame)
12983 (same-window-buffer-names, same-window-regexps, same-window-p)
12984 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12985 (split-window-preferred-function, split-height-threshold)
12986 (split-width-threshold, window-splittable-p)
12987 (split-window-sensibly, window--try-to-split-window)
12988 (window--frame-usable-p, even-window-heights)
12989 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12990 (window--display-buffer-2, display-buffer-other-frame):
12991 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12992 (display-buffer-default, display-buffer-assq-regexp): New functions.
12993 (display-buffer-alist): Rewrite doc-string.
12994 (display-buffer-default-action)
12995 (display-buffer-overriding-action): New variables.
12996 (display-buffer, switch-to-buffer): Rewrite.
12997 (pop-to-buffer): Restore Emacs 23 behavior but use
12998 window-normalize-buffer-to-display.
12999 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13000 Restore Emacs 23 behavior but use
13001 window-normalize-buffer-to-switch-to.
13002 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13003 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13004 Rewrite using Emacs 23 options.
f818cd2a 13005
5bc3b51d
MA
130062011-08-31 Michael Albinus <michael.albinus@gmx.de>
13007
13008 * net/tramp.el (tramp-root-regexp): Remove.
13009 (tramp-completion-file-name-regexp-unified)
13010 (tramp-completion-file-name-regexp-separate)
13011 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13012 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13013 (tramp-drop-volume-letter): Simplify definition.
13014 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13015
b1a4f8e1
SM
130162011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13017
13018 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13019 (bug#9356).
13020
5664fa7b
RT
130212011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13022
b1a4f8e1 13023 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13024
9a45d6c3
JL
130252011-08-29 Juri Linkov <juri@jurta.org>
13026
13027 * isearch.el (isearch-done): Don't display message "Mark saved"
13028 when arg `edit' is non-nil to prevent its flicker in the echo area.
13029
fb87e0fb
CY
130302011-08-28 Chong Yidong <cyd@stupidchicken.com>
13031
13032 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13033 obsolete packages for deletion.
13034
09ac1c2a
CS
130352011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13036
13037 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13038 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13039 view-mode from help-mode.
13040 (help-xref-override-view-map): Remove.
13041 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13042 view-mode is not used anymore.
13043
7a1ff57f
CY
130442011-08-28 Chong Yidong <cyd@stupidchicken.com>
13045
13046 * server.el (server-port): Doc fix.
13047
b9696605
CY
13048 * cus-theme.el (custom-theme-choose-mode): Inherit from
13049 special-mode (Bug#9124).
13050 (custom-theme-choose-mode-map): Add special-mode to parent.
13051
ef8cdf8c
AM
130522011-08-28 Alan Mackenzie <acm@muc.de>
13053
13054 * progmodes/cc-fonts.el
13055 (c-make-font-lock-BO-decl-search-function): New function.
13056 (c-basic-matchers-after - "Fontify the clauses after various
13057 keywords"): Extract the three keyword lists for the 3 erroneous
13058 constructs from the list of four, and use the new function above
13059 in place of an old one.
13060
27de4e20
DD
130612011-08-28 Deniz Dogan <deniz@dogan.se>
13062
13063 * net/rcirc.el (rcirc-insert-prev-input)
13064 (rcirc-insert-next-input): Remove unused argument.
13065
356a3681
SM
130662011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13067
13068 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13069
3fc9b218
AM
130702011-08-27 Alan Mackenzie <acm@muc.de>
13071
13072 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13073 handle function pointer parameters properly.
13074
538a061c
MR
130752011-08-27 Martin Rudalics <rudalics@gmx.at>
13076
13077 * window.el (display-buffer-reuse-window): Fix case where
13078 selected window was reused with non-nil OTHER-WINDOW argument.
13079 (Bug#9381)
13080
35b1c40c
DD
130812011-08-27 Deniz Dogan <deniz@dogan.se>
13082
13083 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13084 oftc's NickServ messages.
13085
2f6a3e79
GM
130862011-08-27 Glenn Morris <rgm@gnu.org>
13087
13088 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13089
7254299e
CY
130902011-08-26 Chong Yidong <cyd@stupidchicken.com>
13091
13092 * emacs-lisp/package.el (package-install): Call package-initialize
13093 if called interactively.
13094
f8ccf167
LL
130952011-08-26 Leo Liu <sdl.web@gmail.com>
13096
13097 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13098
3e8cd5ce
JL
130992011-08-25 Juri Linkov <juri@jurta.org>
13100
13101 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13102 `search-whitespace-regexp' (bug#9364).
13103
93eb7113
JL
131042011-08-25 Juri Linkov <juri@jurta.org>
13105
13106 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13107 `regexp-search-ring' to their global values to protect from
13108 updating by `read-from-minibuffer' (bug#9185).
13109
f65d1611
JL
131102011-08-25 Juri Linkov <juri@jurta.org>
13111
13112 * textmodes/ispell.el (ispell-command-loop): Add newline
13113 at the end of the "Use option `i'..." line.
13114
f1cf7a31
JL
131152011-08-25 Juri Linkov <juri@jurta.org>
13116
13117 * battery.el (display-battery-mode): If `battery-status-function'
13118 or `battery-mode-line-format' is nil, display the message and set
13119 `display-battery-mode' to nil (bug#9363).
13120
0c95fcf7
EZ
131212011-08-25 Eli Zaretskii <eliz@gnu.org>
13122
13123 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13124 bidi-string-mark-left-to-right; they are unnecessary now.
13125
a2ebe600
DD
131262011-08-25 Deniz Dogan <deniz@dogan.se>
13127
13128 * net/quickurl.el: Documentation typo fixes.
13129
e4ed06f1
CY
131302011-08-25 Chong Yidong <cyd@stupidchicken.com>
13131
13132 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13133
e5f1c99e
GM
131342011-08-25 Glenn Morris <rgm@gnu.org>
13135
b2948976
GM
13136 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13137
e5f1c99e
GM
13138 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13139 (smtpmail-via-smtp): Handle nil response from smtp.
13140
f22f4808
JL
131412011-08-24 Juri Linkov <juri@jurta.org>
13142
13143 * proced.el (proced-marked): Inherit from `error' instead of
13144 `font-lock-warning-face'.
13145
13146 * ibuffer.el (ibuffer-marked-face): Change default face from
13147 `font-lock-warning-face' to `warning'.
13148 (ibuffer-deletion-face): Change default face from
13149 `font-lock-type-face' to `error'.
13150
13151 * battery.el (battery-update): Use the face `error' instead of
13152 `font-lock-warning-face' (bug#6117).
13153
6a93965e
JL
131542011-08-24 Juri Linkov <juri@jurta.org>
13155
13156 * faces.el (success): Change face color from "Green3" to
13157 "ForestGreen" on light background (bug#9353).
13158
1ed43b09
CY
131592011-08-24 Chong Yidong <cyd@stupidchicken.com>
13160
5664fa7b
RT
13161 * window.el (quit-window): Rename from quit-restore-window.
13162 Use same arglist as old quit-window.
1ed43b09
CY
13163 (frame-auto-delete): Doc fix.
13164
13165 * view.el (view-mode-exit): Use quit-window.
13166
11dcdbb2
JL
131672011-08-24 Juri Linkov <juri@jurta.org>
13168
13169 * isearch.el (isearch-ring-adjust1): Start visiting previous
13170 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13171 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13172 for empty search string (when the last search string is reused
13173 automatically) to adjust the isearch ring to the last element and
13174 prepare the correct index for further M-p commands (bug#9185).
13175
de62b4df
KH
131762011-08-24 Kenichi Handa <handa@m17n.org>
13177
13178 * international/ucs-normalize.el: If decomposition property of
13179 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13180 nil.
13181 (nfd, nfkd): Likewise.
13182
963b492b
SM
131832011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13184
13185 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13186 from process filters aren't reliably transmitted to the surrounding
13187 accept-process-output.
13188 (mpc-proc-check): New function.
13189 (mpc-proc-sync): Use it (bug#8293)
13190
93b6b5e1
SM
131912011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13192
13193 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13194 Add compatibility functions (bug#9313).
13195
bca633fb
EZ
131962011-08-23 Eli Zaretskii <eliz@gnu.org>
13197
b177498a
EZ
13198 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13199
6df6ae42 13200 * international/uni-bidi.el: Regenerate.
bca633fb 13201
0902a04e
KH
132022011-08-23 Kenichi Handa <handa@m17n.org>
13203
13204 * international/charprop.el:
13205 * international/uni-bidi.el:
13206 * international/uni-category.el:
13207 * international/uni-combining.el:
13208 * international/uni-comment.el:
13209 * international/uni-decimal.el:
13210 * international/uni-decomposition.el:
13211 * international/uni-digit.el:
13212 * international/uni-lowercase.el:
13213 * international/uni-mirrored.el:
13214 * international/uni-name.el:
13215 * international/uni-numeric.el:
13216 * international/uni-old-name.el:
13217 * international/uni-titlecase.el:
13218 * international/uni-uppercase.el: Regenerate.
13219
3bbf23bc
MR
132202011-08-23 Martin Rudalics <rudalics@gmx.at>
13221
13222 * help.el (help-window-setup): Fix message displayed when other
13223 window is reused. (Bug#9341)
13224
b3fd59bd
SM
132252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13226
1802e444
SM
13227 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13228 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13229
b3fd59bd
SM
13230 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13231 Mark obsolete.
13232 * shell.el (shell-parse-pcomplete-arguments): New function.
13233 (shell-completion-vars): Use it instead (bug#9160).
13234
4eb61348
SM
132352011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13236
867cab74
SM
13237 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13238 strings and comments (bug#9333).
13239
4eb61348
SM
13240 * emacs-lisp/debug.el (debug-arglist): New function.
13241 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13242 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13243
262a1439
JL
132442011-08-22 Juri Linkov <juri@jurta.org>
13245
56ee679c
JL
13246 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13247 Revert regexp that highlights output switches to its old
13248 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13249
262a1439
JL
13250 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13251 to check for empty output (bug#9226).
13252
f13f86fb
CY
132532011-08-22 Chong Yidong <cyd@stupidchicken.com>
13254
13255 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13256 symbol-constituent as the default, as that stops font-lock from
13257 working properly (Bug#8843).
13258
c65c9622
LMI
132592011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13260
13261 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13262 `coding-system-for-*' around the process open call to avoid
13263 auth-source side effects.
e7f2c178 13264 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13265 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13266 probe hangs.
c65c9622 13267
23a8a5ab
CY
132682011-08-21 Chong Yidong <cyd@stupidchicken.com>
13269
ff98b2dd
CY
13270 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13271
23a8a5ab
CY
13272 * emacs-lisp/find-func.el (find-function-noselect): New arg
13273 lisp-only.
13274
13275 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13276 signal an error for built-in functions (Bug#6664).
13277
f5e3c598
LMI
132782011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13279
13280 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13281 (smtpmail-try-auth-methods): Use it.
13282
a3f2468a
CY
132832011-08-21 Chong Yidong <cyd@stupidchicken.com>
13284
2c34e8da
CY
13285 * font-lock.el (font-lock-fontify-region)
13286 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13287 (font-lock-default-unfontify-buffer)
13288 (font-lock-default-fontify-region)
13289 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13290
b3fd59bd
SM
13291 * progmodes/compile.el (compilation-error-properties):
13292 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13293 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13294 `ant' regexp.
ee31aabc 13295
a3f2468a
CY
13296 * net/browse-url.el (browse-url-firefox): Don't call
13297 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13298
8e999f70
GM
132992011-08-20 Glenn Morris <rgm@gnu.org>
13300
c21a496a
GM
13301 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13302
59ee0542
GM
13303 * tutorial.el (tutorial--default-keys): Update some default bindings.
13304
8e999f70
GM
13305 * files.el (hack-local-variables): Fully ignore case for "mode:".
13306
e3715033
AM
133072011-08-20 Alan Mackenzie <acm@muc.de>
13308
13309 Resolve invalid use of a regexp in regexp-opt.
13310
4d61f28d
JB
13311 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13312 detection for a java annotation.
e3715033 13313
4d61f28d 13314 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13315 detection for a java annotation.
13316
4d61f28d
JB
13317 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13318 handling for java.
e3715033
AM
13319 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13320
04ed2e9c
CY
133212011-08-20 Chong Yidong <cyd@stupidchicken.com>
13322
13323 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13324 (Bug#9274).
13325
826cee64
AM
133262011-08-20 Alan Mackenzie <acm@muc.de>
13327
58179cce 13328 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13329 such a construct. Mainly for when jit-lock etc. starts a chunk
13330 here.
13331
58179cce 13332 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13333 variable.
58179cce 13334 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13335 c-make-font-lock-search-function.
13336 (c-make-font-lock-search-function): Use the above function.
13337 (c-make-font-lock-context-search-function): New function.
13338 (c-cpp-matchers): Enhance the preprocessor expression case with
13339 the above function
13340 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13341 which takes an expression.
13342
13343 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13344
13009bd8
MR
133452011-08-20 Martin Rudalics <rudalics@gmx.at>
13346
13347 * window.el (display-buffer-reuse-window)
13348 (display-buffer-pop-up-window): Don't reuse or split a side
13349 window.
13350
9234ff7f
GM
133512011-08-19 Glenn Morris <rgm@gnu.org>
13352
13353 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13354 Downcase "Mode:". (Bug#9331)
9234ff7f 13355
f635daa1
CY
133562011-08-18 Chong Yidong <cyd@stupidchicken.com>
13357
13358 * international/characters.el: Add L and R categories.
13359
13360 * subr.el (bidi-string-mark-left-to-right): Rename from
13361 string-mark-left-to-right. Use category search.
13362
13363 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13364
bc987f8b
JL
133652011-08-18 Juri Linkov <juri@jurta.org>
13366
13367 * faces.el (error, warning, success): New faces with definitions
13368 copied from old default values of `font-lock-warning-face',
13369 `compilation-warning', `compilation-info' (bug#6117).
13370
13371 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13372
13373 * progmodes/compile.el (compilation-error): Inherit from `error'.
13374 (compilation-warning): Inherit from `warning'.
13375 (compilation-info): Inherit from `success'.
13376
13377 * dired.el (dired-marked): Inherit from `warning'.
13378 (dired-flagged): Inherit from `error'.
13379
57173b96
LMI
133802011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13381
3e79eb87
LMI
13382 * mail/smtpmail.el (auth-source): Require to avoid problems with
13383 binding variables (bug#9298). Also clean up some unused
13384 autoloads.
13385
b3fd59bd
SM
13386 * net/network-stream.el (network-stream-open-starttls):
13387 Support using starttls.el without using gnutls-cli.
57173b96 13388
02b404de
JL
133892011-08-17 Juri Linkov <juri@jurta.org>
13390
13391 * progmodes/grep.el (rgrep): Handle the case when
13392 `grep-find-command' is a cons cell (bug#9278).
13393
8c9177f2
MR
133942011-08-17 Martin Rudalics <rudalics@gmx.at>
13395
13396 * window.el (display-buffer-pop-up-frame): Run frame creation
13397 function with BUFFER current (as special-display-popup-frame
13398 does). Reported by Drew Adams.
13399
3644a0ab
DU
134002011-08-17 Daiki Ueno <ueno@unixuser.org>
13401
13402 * epa-mail.el: Simplify GnuPG group expansion using
13403 epg-expand-group.
13404 (epa-mail-group-alist, epa-mail-group-modtime)
13405 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13406 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13407 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13408 Remove.
13409
5e617bc2 134102011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13411
13412 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13413
9c4aeabf
AM
134142011-08-16 Alan Mackenzie <acm@muc.de>
13415
13416 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13417 Correct, to avoid the inside of macros.
13418
3a99bf64
RS
134192011-08-16 Richard Stallman <rms@gnu.org>
13420
04963aa8
RS
13421 * epa-mail.el: Handle GnuPG group definitions.
13422 (epa-mail-group-alist, epa-mail-group-modtime)
13423 (epa-mail-gnupg-conf-file): New variables.
13424 (epa-mail-parse-groups, epa-mail-sync-groups)
13425 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13426 (epa-mail-expand-recipients): New functions.
13427 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13428
177549d0
RS
13429 * mail/rmail.el (rmail-epa-decrypt): New command.
13430
fe38beef
RS
13431 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13432 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13433 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13434 (epa-decrypt-armor-in-region): Make error message clearer.
13435
934eacb9
SM
134362011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13439 and "a2b" to "ab" for `prefix'.
13440
d024fb4e
CY
134412011-08-14 Chong Yidong <cyd@stupidchicken.com>
13442
13443 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13444 filter groups.
de148fee
CY
13445 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13446 Fourquet (Bug#8804).
d024fb4e 13447
62f1ca49
JB
134482011-08-12 Juanma Barranquero <lekktu@gmail.com>
13449
13450 * startup.el (argi): Declare as global variable (bug#9275).
13451
9ccaaa4b
CY
134522011-08-12 Chong Yidong <cyd@stupidchicken.com>
13453
13454 * subr.el (string-mark-left-to-right): Search the entire string
13455 for RTL script, not just the terminating character. Doc fix.
13456
a3dae87a
SM
134572011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13458
6cd18349
SM
13459 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13460 New function.
13461 (js--regexp-literal, js-syntax-propertize-function): Remove.
13462 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13463 (js-mode-map): Don't rebind electric keys.
13464 (js-insert-and-indent): Remove.
13465 (js-mode): Setup electric-layout and electric-indent instead.
13466
a3dae87a
SM
13467 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13468
9d5cb631
DU
134692011-08-12 Daiki Ueno <ueno@unixuser.org>
13470
13471 * epa.el (epa-progress-callback-function): Fix the logic of
13472 displaying progress.
13473 * epa-file.el (epa-file-insert-file-contents): Make progress
13474 display more user-friendly.
13475 (epa-file-write-region): Ditto.
13476
3e26a4a2
CY
134772011-08-10 Chong Yidong <cyd@stupidchicken.com>
13478
13479 * subr.el (string-mark-left-to-right): New function.
13480
13481 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13482 Use string-mark-left-to-right.
13483 (list-buffers-noselect): Caller changed.
13484
a3dae87a
SM
13485 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13486 Use string-mark-left-to-right.
3e26a4a2
CY
13487 (tabulated-list-print): Recenter after moving point.
13488
ac8cf6e6
JL
134892011-08-10 Juri Linkov <juri@jurta.org>
13490
13491 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13492 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13493 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13494
8d96c9a4
CY
134952011-08-09 Chong Yidong <cyd@stupidchicken.com>
13496
13497 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13498 (Bug#7554).
13499
7be1c708 135002011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13501
13502 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13503 character. (Bug#6594)
13504
37e11a63
CY
135052011-08-08 Chong Yidong <cyd@stupidchicken.com>
13506
839dde57
CY
13507 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13508 (image-dired--with-db-file): New macro.
13509 (image-dired-write-tags, image-dired-remove-tag)
13510 (image-dired-create-gallery-lists, image-dired-write-comments)
13511 (image-dired-get-comment, image-dired-mark-tagged-files)
13512 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13513 (image-dired-gallery-generate): Use insert-file-contents.
13514
37e11a63
CY
13515 * time.el (display-time-world-list, display-time-world-display):
13516 * time-stamp.el (time-stamp-string):
13517 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13518 set-time-zone-rule (Bug#7337).
13519
0b4946c4
DU
135202011-08-08 Daiki Ueno <ueno@unixuser.org>
13521
13522 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13523 (epg-error-to-string, epg-errors-to-string): New function.
13524 (epg-wait-for-completion): Reverse errors list.
13525 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13526 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13527 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13528 (epg-sign-keys, epg-generate-key-from-file)
13529 (epg-generate-key-from-string): Format errors by using
13530 epg-errors-to-string (bug#9255).
13531 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13532
75bfc667
JL
135332011-08-07 Juri Linkov <juri@jurta.org>
13534
13535 * faces.el (list-faces-display): Remove extra angle bracket
13536 from `help-mode-map'.
13537
13538 * info.el (Info-history-toc-nodes): Doc fix.
13539
13540 * longlines.el (longlines-mode): Doc fix.
13541
673e08bb
SM
135422011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13543
4640dd88
SM
13544 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13545 of statements and in a few more cases (bug#9183).
13546
673e08bb
SM
13547 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13548 New functions.
13549 (cl-transform-lambda): Use them (bug#9239).
13550
89b3f019
MR
135512011-08-05 Martin Rudalics <rudalics@gmx.at>
13552
13553 * window.el (display-buffer-same-window)
13554 (display-buffer-same-frame, display-buffer-other-window)
13555 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13556 (pop-to-buffer-other-window)
13557 (pop-to-buffer-same-frame-other-window)
13558 (pop-to-buffer-other-frame): Make them defuns.
13559 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13560
640c8776
SM
135612011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * subr.el (make-composed-keymap): Move from C. Change calling
13564 convention, and improve docstring to bring attention to a subtle point.
13565 * minibuffer.el (completing-read-default): Adjust accordingly.
13566
63648a95
MA
135672011-08-03 Michael Albinus <michael.albinus@gmx.de>
13568
13569 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13570 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13571
13572 * net/trampver.el: Update release number.
13573
b796c9b7
SM
135742011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13577 "in" (bug#9190).
13578
2239d7d5
LMI
135792011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13580
e07dd7c3
LMI
13581 * mail/sendmail.el (sendmail-query-once): Restore the current
13582 buffer after querying (bug#9074).
13583
0e6a2bd7
LMI
13584 * dired.el (dired-flagged): Use different faces for marked and
13585 flagged files (bug#6117).
13586
ce887515
LMI
13587 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13588 (bug#4433).
13589
92f2affc
LMI
13590 * ido.el (ido-mode): Switch off the message if called
13591 non-interactively.
13592
57d5aff0
LMI
13593 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13594 before 587, since it appears that that's more likely to work for
13595 more people.
13596
98cd6c18 13597 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13598 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13599 exist.
13600
b96dec83
LMI
13601 * info.el: Remove the `Info-beginning-of-buffer' function
13602 (bug#8325).
13603
b796c9b7
SM
13604 * net/network-stream.el (network-stream-open-starttls):
13605 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13606
d90e2ea0
MR
136072011-08-01 Martin Rudalics <rudalics@gmx.at>
13608
13609 * window.el (display-buffer-in-window): Don't set dedicated status
13610 of window here (Bug#9215).
13611 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13612 (display-buffer-pop-up-side-window)
b796c9b7 13613 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13614
cca09170
SM
136152011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13616
13617 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13618 before binding generated-autoload-file.
13619
027b979c
DD
136202011-08-01 Deniz Dogan <deniz@dogan.se>
13621
13622 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13623
3c7ee4f3
MA
136242011-07-30 Michael Albinus <michael.albinus@gmx.de>
13625
13626 Sync with Tramp 2.2.2.
13627
13628 * net/trampver.el: Update release number.
13629
2cc8e51a
JL
136302011-07-30 Juri Linkov <juri@jurta.org>
13631
13632 * dired-aux.el (dired-touch-initial): Remove function.
13633 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13634 current time, and `default' to the last modification time of the
13635 current marked file (bug#6887).
13636
a514d856
JM
136372011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13638
13639 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13640 numeric argument to read-number (bug#9163).
a514d856 13641
8a7eddd7
MA
136422011-07-27 Michael Albinus <michael.albinus@gmx.de>
13643
13644 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13645 connection process, it could be nil.
13646
1ddd96f5
LL
136472011-07-27 Leo Liu <sdl.web@gmail.com>
13648
13649 Simplify url handling in rcirc-mode.
13650
13651 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13652 (rcirc-browse-url-at-mouse): Remove.
13653 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13654
b248a85d
AM
136552011-07-26 Alan Mackenzie <acm@muc.de>
13656
13657 Fontify bitfield declarations properly.
13658
13659 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13660 (c-symbol-chars): Now exported as a lang variable.
13661 (c-not-primitive-type-keywords): New lang variable.
13662
13663 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13664 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13665 parsed as a bitfield declaration.
b248a85d 13666
b796c9b7
SM
13667 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13668 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13669 (c-punctuation-in): New function.
13670 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13671 declarations properly.
13672
68575ab0
UJ
136732011-07-26 Ulf Jasper <ulf.jasper@web.de>
13674
13675 * calendar/icalendar.el (icalendar--all-events): Take care of
13676 multiple vcalendars in a single file.
b796c9b7 13677 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13678
0f0a88b9
DD
136792011-07-25 Deniz Dogan <deniz@dogan.se>
13680
13681 * image.el (insert-image): Clarifying docstring.
13682
0b3f36df
MA
136832011-07-24 Michael Albinus <michael.albinus@gmx.de>
13684
13685 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13686 `tramp-send-command-and-check' if there is no error.
13687 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13688
a9901f61
AM
136892011-07-22 Alan Mackenzie <acm@muc.de>
13690
13691 Prevent cc-langs.elc being loaded at run time.
13692
13693 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13694 cc-langs.
13695
4d61f28d 13696 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13697 "(require 'cc-langs)". Quote a form so it will evaluate at
13698 (cc-mode's) compilation time.
13699
11d074b2
MA
137002011-07-22 Michael Albinus <michael.albinus@gmx.de>
13701
13702 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13703 loading. (Bug#9114)
13704
938b94c8
MR
137052011-07-21 Martin Rudalics <rudalics@gmx.at>
13706
13707 * window.el (display-buffer-pop-up-window)
13708 (display-buffer-pop-up-side-window)
13709 (display-buffer-in-side-window): Call display-buffer-set-height
13710 and display-buffer-set-width after setting the new window's
b796c9b7 13711 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13712
bfa4f190
SS
137132011-07-20 Sam Steingold <sds@gnu.org>
13714
13715 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13716 (etags-tags-included-tables): Call `convert-standard-filename' on
13717 the file names contained in TAGS so that windows Emacs can handle
13718 TAGS files created by cygwin ctags.
13719
8ca42262
LMI
137202011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13721
13722 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13723 which apparently didn't work.
13724
5db2afd2 137252011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13726
5db2afd2
RW
13727 * proced.el (proced-send-signal): For *Marked Processes* buffer
13728 put point at beginning of buffer.
13729
92e15d10
SB
137302011-07-19 Stephen Berman <stephen.berman@gmx.net>
13731
13732 * proced.el (proced-format): Make header lines align with the text
13733 (bug#1779).
13734
1bfd59e5
LMI
137352011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13736
13737 * view.el (view-buffer): Allow running in `special' modes if we're
13738 visiting a file (bug#8615).
13739
f5aae37c
MR
137402011-07-19 Martin Rudalics <rudalics@gmx.at>
13741
13742 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13743 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13744 New functions.
f5aae37c
MR
13745 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13746 more accurately.
13747
bf2c1571
AM
137482011-07-18 Alan Mackenzie <acm@muc.de>
13749
13750 Fontify declarators properly when, e.g., a jit-lock chunk begins
13751 inside a declaration.
13752
13753 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13754
b796c9b7
SM
13755 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13756 New function.
bf2c1571
AM
13757 (c-complex-decl-matchers): Insert reference to
13758 c-font-lock-enclosing-decls.
13759
13760 * progmodes/cc-engine.el (c-backward-single-comment):
13761 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13762 to nil around calls to (forward-comment -1).
13763
4e190b80
LMI
137642011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13765
12dc863d
LMI
13766 * image.el (put-image): Doc typo fix.
13767
a762e966
LMI
13768 * progmodes/etags.el (tags-search): Doc typo fix.
13769
4e190b80
LMI
13770 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13771 password if we get errors 550 to 554.
13772
f019fb21
LMI
137732011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13774
b796c9b7 13775 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13776
81746738
LMI
13777 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13778 indentation character (bug#6380).
13779
3ee3a1b5
LMI
13780 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13781
c82f64de
LMI
13782 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13783 to clarify what the problem is (bug#4291).
13784
f019fb21
LMI
13785 * simple.el (current-kill): Clarify what
13786 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13787 (auto-fill-mode): Document `auto-fill-function' in relation to
13788 `auto-fill-mode' (bug#2470).
f019fb21 13789
0794775d
LM
137902011-07-16 Lawrence Mitchell <wence@gmx.li>
13791
13792 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13793 method if slot is read-only (bug#9035).
13794
be39b8cc
MR
137952011-07-16 Martin Rudalics <rudalics@gmx.at>
13796
b796c9b7 13797 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13798 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13799 selected before, see discussion of (Bug#8615), (Bug#6954).
13800 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13801
6ccf7859
GM
138022011-07-15 Glenn Morris <rgm@gnu.org>
13803
13804 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13805 Respect help-form.
6ccf7859 13806
87e86684
LM
138072011-07-09 Lawrence Mitchell <wence@gmx.li>
13808
13809 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13810 (gnutls-negotiate): Use it.
13811
d6066239
LMI
138122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13813
b796c9b7
SM
13814 * net/gnutls.el (gnutls-negotiate):
13815 Upcase `gnutls-algorithm-priority'.
d6066239 13816
bd23ebc0
GM
138172011-07-15 Glenn Morris <rgm@gnu.org>
13818
c65bca65
GM
13819 * jka-compr.el (jka-compr-verbose): Move from here...
13820 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13821 Add missing :version tag.
13822 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13823
478615cc
LMI
138242011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13825
7b41decb
LMI
13826 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13827 (gnutls-negotiate): Use it.
13828
dbc44fcd
LMI
13829 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13830
06789f97
LMI
13831 * info.el (Info-beginning-of-buffer): New command.
13832 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13833 announcing `b' as the key (bug#8325).
ab896c37 13834 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13835
c39da690
LMI
13836 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13837
3aa5f34b
LMI
13838 * international/mule-cmds.el
13839 (describe-specified-language-support): Make the error message
13840 clearer (bug#8905).
13841
4bf0979f
LMI
13842 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13843
478615cc
LMI
13844 * isearch.el (isearch-barrier): Add a doc string, since it's
13845 mentioned in a function doc string (bug#8678).
13846
75c68aa1
MR
138472011-07-15 Martin Rudalics <rudalics@gmx.at>
13848
13849 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13850 buffer argument (Bug#9083) and self-identifying label argument.
13851
a7c33da2
GM
138522011-07-15 Glenn Morris <rgm@gnu.org>
13853
13854 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13855
2f5c6024
LMI
138562011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13857
13858 * man.el (Man-fontify-manpage): Fix message when formatting the
13859 man page (bug#7929).
13860
0bb23927 138612011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13862
13863 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13864 argument LRM; if non-nil, append an invisible LRM character to the
13865 buffer name.
13866 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13867 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13868 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13869 paragraph direction.
cce4b0a7 13870
621ef9ab
LMI
138712011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13872
d1583c48
LMI
13873 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13874 the man page name (bug#7929).
13875
6a57fb5f
LMI
13876 * image.el (put-image): Mention the `put-image' overlay property
13877 (bug#7834).
13878
d7956b14
LMI
13879 * scroll-bar.el (set-scroll-bar-mode): Mention that
13880 `scroll-bar-mode' lists the values (bug#7772).
13881
5b2d4a66
LMI
13882 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13883 command (bug#7729).
13884
7509a874
LMI
13885 * rect.el (apply-on-rectangle): Return the point after the last
13886 operation.
13887 (string-rectangle): Go to the point after the last operation
13888 (bug#7522).
13889
4fe74b19
LMI
13890 * printing.el (pr-toggle-region): Clarify the documentation
13891 slightly (bug#7493).
13892
b796c9b7
SM
13893 * time.el (display-time-update):
13894 Allow `display-time-mail-function' to return nil (bug#7158).
13895 Fix suggested by Detlev Zundel.
ab283561 13896
fc233c9d
LMI
13897 * vc/diff.el (diff): Clarify the order the file names are read
13898 (bug#7111).
13899
43f5740b
LMI
13900 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13901 the doc string (bug#7015).
13902
f2182a76
LMI
13903 * font-lock.el (font-lock-maximum-decoration): Mention what
13904 numeric levels mean (bug#6935).
13905
621ef9ab
LMI
13906 * startup.el (initial-buffer-choice): Don't mention the `none'
13907 selection, which is against policy.
13908
adc47434
MR
139092011-07-14 Martin Rudalics <rudalics@gmx.at>
13910
b796c9b7
SM
13911 * window.el (display-buffer-normalize-special):
13912 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13913
7e5bfb8f
EZ
139142011-07-14 Eli Zaretskii <eliz@gnu.org>
13915
13916 * subr.el (version<, version<=, version=): Mention "-CVS" and
13917 "-12345" alpha version numbers.
13918
27fa387a
CY
139192011-07-14 Chong Yidong <cyd@stupidchicken.com>
13920
13921 * bindings.el: Add advertised binding for set-mark-command
13922 (Bug#5772).
13923
8bdfa064
CY
139242011-07-14 Chong Yidong <cyd@stupidchicken.com>
13925
13926 * bindings.el (mode-line-other-buffer):
13927 * bookmark.el (bookmark-bmenu-2-window):
13928 * bs.el (bs-cycle-next, bs-cycle-previous):
13929 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13930 switch-to-buffer.
13931
13932 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13933 Delete.
8bdfa064 13934
5eba16a3
JB
139352011-07-14 Juanma Barranquero <lekktu@gmail.com>
13936
13937 * follow.el (follow-debug-message, follow-redisplay):
13938 * jka-cmpr-hook.el (with-auto-compression-mode):
13939 Fix typos in docstrings.
13940
15853710
LMI
139412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13942
a28e4607
LMI
13943 * subr.el (with-silent-modifications): Clarify somewhat what the
13944 macro inhibits (bug#6525).
13945
15853710
LMI
13946 * simple.el (eval-expression): Note what it does if called
13947 interactively (bug#6495).
13948
bee0fcef
CY
139492011-07-13 Chong Yidong <cyd@stupidchicken.com>
13950
b796c9b7
SM
13951 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13952 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13953
13954 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13955 Remove switch-to-buffer.
13956
58274504
LMI
139572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13958
bd2fcc8d
LMI
13959 * files.el (make-directory): Clarify that an error will be raised
13960 if there's an error (bug#6397).
13961
0f04b32c
LMI
13962 * startup.el (initial-buffer-choice): Add `none' as a choice
13963 (bug#6234).
13964
465c5fc8
LMI
13965 * subr.el (add-hook): Clarify section about buffer-local hooks
13966 (bug#6218).
13967
58274504
LMI
13968 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13969
bead9a43
JB
139702011-07-13 Juanma Barranquero <lekktu@gmail.com>
13971
13972 * tabify.el (untabify): Preserve the current column so that point
13973 doesn't move (bug#6032).
13974
3af98a7b
LMI
139752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13976
b796c9b7
SM
13977 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13978 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13979
6240145a
GM
139802011-07-13 Glenn Morris <rgm@gnu.org>
13981
13982 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13983 (dired-insert-directory): Give a message the first time
13984 if ls is found not to support --dired.
13985
1d8c2ccc
LMI
139862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13987
13988 * simple.el (toggle-truncate-lines): Clarify what is toggled
13989 (bug#5580). Text by Drew Adams.
13990
5fc4038e
CY
139912011-07-13 Chong Yidong <cyd@stupidchicken.com>
13992
13993 * simple.el (blink-matching-open): Make the error message from the
13994 last change less verbose.
13995
bf6012e5
DN
139962011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13997
13998 * font-lock.el (font-lock-comment-face): Use the high contrast
13999 "yellow" color for font-lock-comment-face on low color terminals
14000 using a dark background color (bug#4221).
14001
343c3b5a
LMI
140022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14003
7e9505c5
LMI
14004 * dired.el (dired-insert-set-properties): Make the doc string
14005 reflect what it does now (bug#5325).
14006
c26fdcf5
LMI
14007 * simple.el (blink-matching-open): Say that we were unable to find
14008 the match within the limit, if we're limited (bug#5122).
14009
bb388cc5
LMI
14010 * international/mule-cmds.el (prefer-coding-system): Add an
14011 example (bug#4869).
14012
343c3b5a
LMI
14013 * progmodes/etags.el (tags-search): Document `file-list-form'
14014 (bug#4731).
14015
2a517d45
LM
140162011-07-13 Lawrence Mitchell <wence@gmx.li>
14017
14018 * net/browse-url.el (browse-url-default-browser)
14019 (browse-url-browser-function): Make the default browser choice a
14020 bit more logical (bug#4300). Also clean up the doc string.
14021
b6c78ef2
JB
140222011-07-13 Juanma Barranquero <lekktu@gmail.com>
14023
14024 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14025 binary endings (bug#4440).
14026
1c4dd947
LMI
140272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14028
a2014063
LMI
14029 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14030 which can be pretty annoying (bug#8971).
14031
9c9c2d88
LMI
14032 * jka-compr.el (jka-compr-verbose): New variable, and use
14033 throughout (bug#8971).
14034
1c4dd947
LMI
14035 * info.el (Info-find-file): Fall back on the installation
14036 directory if we can't find the info node anywhere else.
14037
a1c9f41b
SO
140382011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14039
14040 * vc/vc.el (vc-revert-file):
14041 Don't set file time-stamp in the past. (Bug#5181)
14042
536f3d36
LMI
140432011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14044
7152b011
LMI
14045 * files.el (after-find-file): Give a better error message when
14046 trying to find a symlink that points to a file that doesn't exist
14047 (bug#4398).
14048
536f3d36
LMI
14049 * progmodes/cc-vars.el: Remove (probably) misleading comment
14050 (bug#4396).
14051
460c0fba
JB
140522011-07-12 Johan Bockgård <bojohan@gnu.org>
14053
14054 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14055
7a6bda45
CY
140562011-07-12 Chong Yidong <cyd@stupidchicken.com>
14057
14058 * mouse-sel.el: Hack restoring functionality, while keeping
14059 compatibility with 2010-07-03 changes to mouse selection.
14060 (mouse-sel-primary-overlay): New var.
14061 (mouse-sel-selection-alist): Use it.
14062 (mouse-sel-mode): Doc fix; remove points that are default features
14063 of mouse.el.
14064
c79598ef
JB
140652011-07-12 Johan Bockgård <bojohan@gnu.org>
14066
14067 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14068 Fix previous fix (bug#2490).
14069
ff8be6ef
RW
140702011-07-12 Roland Winkler <winkler@gnu.org>
14071
b796c9b7
SM
14072 * textmodes/bibtex.el (bibtex-initialize):
14073 Use pop-to-buffer-same-window.
ff8be6ef
RW
14074 (bibtex-search-entries): Fix interactive call.
14075
296ba3ee
LMI
140762011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14077
f5242a02 14078 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14079 Fontise bytecomp Error lines more correctly (bug#2490).
14080 Fix suggested by Johan Bockgård.
f5242a02 14081
296ba3ee
LMI
14082 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14083
14084 * dired-x.el (dired-guess-default): Use `delete-dups'.
14085
f69fd0d2
CY
140862011-07-12 Chong Yidong <cyd@stupidchicken.com>
14087
14088 * dired.el (dired-mark-prompt):
14089 * dired-aux.el (dired-read-shell-command): Doc fix.
14090
eab5dc07
LMI
140912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14092
b796c9b7
SM
14093 * mail/sendmail.el (sendmail-query-once):
14094 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14095 emacs -Q.
14096
14097 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14098
eab5dc07
LMI
14099 * cus-edit.el (custom-file): Take an optional no-error variable.
14100 (customize-save-variable): Set the variable, and give a warning if
14101 running under "emacs -q".
14102
a1e65d42
JB
141032011-07-11 Juanma Barranquero <lekktu@gmail.com>
14104
14105 * loadhist.el (unload-feature-special-hooks):
14106 Add `auto-coding-functions', `fill-nobreak-predicate' and
14107 `find-directory-functions' (bug#5327).
14108
1d52da10
LMI
141092011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14110
be958f1d
LMI
14111 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14112
5bedb26c
LMI
14113 * cus-edit.el (custom-guess-name-alist): -alist variables should
14114 use the `alist' type (bug#3120). Suggested by Drew Adams.
14115
1d52da10
LMI
14116 * printing.el: Add documentation to all the `pr-toggle-' commands.
14117
cd394be1 141182011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14119
14120 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14121 backends where it makes sense (bug#2623).
14122
dcc88d8a
LMI
141232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14124
c3de9feb
LMI
14125 * dired-x.el (dired-guess-default): Remove duplicate shell command
14126 entries (bug#2028).
8a93078b 14127 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14128 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14129
dcc88d8a
LMI
14130 * subr.el (remove-duplicates): New conveniency function.
14131
505e3645
LMI
141322011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14133
14134 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14135 (bug#1526).
14136
141372011-07-10 Martin Rudalics <rudalics@gmx.at>
14138
14139 * window.el (display-buffer-normalize-default): Don't invert
14140 meaning of even-window-heights. Reported by Eli Zaretskii
14141 <eliz@gnu.org>.
14142
455e4fa1
BR
141432011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14144
14145 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14146
8e0bc3e9
CY
141472011-07-10 Chong Yidong <cyd@stupidchicken.com>
14148
14149 * window.el (display-buffer): Fix arguments to
14150 display-buffer-reuse-window in last change.
14151
fa7c3228
CY
14152 * faces.el (link): Use a less saturated blue on light backgrounds.
14153
14154 * startup.el (fancy-startup-text, fancy-about-text)
14155 (fancy-startup-tail): Use font-lock faces, for background safety.
14156
c0a7f300
BN
141572011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14158
b796c9b7
SM
14159 * emulation/viper-cmd.el (viper-change-state-to-vi):
14160 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14161
4dc2a129
MR
141622011-07-09 Martin Rudalics <rudalics@gmx.at>
14163
14164 * window.el (display-buffer-default-specifiers): Remove.
14165 (display-buffer-macro-specifiers): Remove default specifiers.
14166 (display-buffer-alist): Default to nil.
b796c9b7 14167 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14168 (display-buffer-pop-up-window): Allow splitting internal
14169 windows. Check whether a live window was created.
14170 (display-buffer-other-window-means-other-frame)
14171 (display-buffer-normalize-arguments): Rename to
14172 display-buffer-normalize-argument and rewrite. Set the
14173 other-window specifier.
14174 (display-buffer-normalize-special): New function.
14175 (display-buffer-normalize-options): Rename to
14176 display-buffer-normalize-default and rewrite.
14177 (display-buffer-normalize-options-inhibit): Remove.
14178 (display-buffer-normalize-specifiers): Rewrite.
14179 (display-buffer): Process other-window specifier and call
14180 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14181 more faithfully.
b796c9b7 14182 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14183 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14184 (display-buffer-in-window, display-buffer-alist-set):
14185 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14186 <tassilo@member.fsf.org>.
14187
2d43b8c9
LL
141882011-07-09 Leo Liu <sdl.web@gmail.com>
14189
14190 * register.el (insert-register): Restore accidental change on
14191 2011-06-26. (Bug#9028)
14192
7f9b7c53
GM
141932011-07-09 Glenn Morris <rgm@gnu.org>
14194
14195 * subr.el (remq): Handle the empty list. (Bug#9024)
14196
f042cfd8
AS
141972011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14198
14199 * mail/sendmail.el (send-mail-function): No longer delay custom
14200 initialization.
14201 * custom.el (custom-initialize-delay): Doc fix.
14202
856b2f11
SM
142032011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14206
afae1d68
MA
142072011-07-08 Michael Albinus <michael.albinus@gmx.de>
14208
14209 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14210 human-friendly prompt.
14211
0757af94
SM
142122011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14213
14214 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14215 provided by a particular plugin.
14216
d760b731
LMI
142172011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14218
14219 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14220 save customizations (with "emacs -Q"), just set the variable
14221 instead of erroring out.
14222
14223 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14224
cd79ce90
JL
142252011-07-08 Juri Linkov <juri@jurta.org>
14226
14227 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14228 (archive-zip-update-case): Use 7z if found by `executable-find'.
14229 The order of searching the available programs is the same as in
14230 `archive-zip-extract' (bug#8968).
14231
14cc04aa
CY
142322011-07-07 Chong Yidong <cyd@stupidchicken.com>
14233
14234 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14235 (menu-bar-options-menu): Tweak descriptions.
14236
0a1848ec
LMI
142372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14238
14239 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14240 menu items into verb phrases (bug#1421). Also refill to fit under
14241 80 columns.
14242
f5bd0689
CY
142432011-07-07 Chong Yidong <cyd@stupidchicken.com>
14244
538e85c6
CY
14245 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14246 (Info-read-node-name): Doc fix (Bug#1084).
14247
f5bd0689
CY
14248 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14249 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14250 (end-of-sexp, beginning-of-sexp)
14251 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14252 (forward-symbol, forward-same-syntax, word-at-point)
14253 (sentence-at-point): Doc fix (Bug#1144).
14254
56ec5115
LMI
142552011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14256
f3f8e37f
LMI
14257 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14258 should cover it (bug#1281).
14259
0757af94 14260 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14261
e9fce1ac 14262 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14263 negotiation fails, then possibly try again with a non-encrypted
14264 connection (bug#9017).
14265
56ec5115
LMI
14266 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14267 be used.
14268
c2f9aec8
RS
142692011-07-07 Richard Stallman <rms@gnu.org>
14270
14271 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14272 property, and handle its changed format.
14273 Look for the correct line number.
14274 Use file's line contents (but not past first =) to find
14275 correct line in message.
14276
ef7b981d 142772011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14278
14279 * international/characters.el (build-unicode-category-table):
14280 Delete it.
0757af94 14281 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14282
0757af94 14283 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14284 to src/chartab.c.
14285 (get-char-code-property): Call unicode-property-table-internal to
14286 load a file. Call get-unicode-property-internal where necessary.
14287 (put-char-code-property): Call unicode-property-table-internal to
14288 load a file. Call put-unicode-property-internal where necessary.
14289 put-unicode-property-internal where necessary.
0757af94
SM
14290 (char-code-property-description):
14291 Call unicode-property-table-internal to load a file.
c805dec0
KH
14292
14293 * international/charprop.el:
14294 * international/uni-bidi.el:
14295 * international/uni-category.el:
14296 * international/uni-combining.el:
14297 * international/uni-comment.el:
14298 * international/uni-decimal.el:
14299 * international/uni-decomposition.el:
14300 * international/uni-digit.el:
14301 * international/uni-lowercase.el:
14302 * international/uni-mirrored.el:
14303 * international/uni-name.el:
14304 * international/uni-numeric.el:
14305 * international/uni-old-name.el:
14306 * international/uni-titlecase.el:
14307 * international/uni-uppercase.el: Regenerate.
14308
14309 * loadup.el: Load international/charprop.el before
14310 international/characters.
14311
e14b388a
CY
143122011-07-07 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * window.el (next-buffer, previous-buffer): Signal an error if
14315 called from a minibuffer window.
14316
14317 * bindings.el: Revert 2011-07-04 change.
14318
354cf0ba
RS
143192011-07-06 Richard Stallman <rms@gnu.org>
14320
14321 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14322 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14323 Treat markers like ints.
14324 (rmail-mime-entity): Doc fix.
14325
a48868a7
LMI
143262011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14327
4906cd3d
LMI
14328 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14329 defcustom again for backwards compatibility.
14330
e0457abe
LMI
14331 * simple.el (shell-command-on-region): Fill.
14332
d67f7e1f
LMI
14333 * dired-aux.el (dired-kill-line): Add a doc string.
14334
fe204702
LMI
14335 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14336 to "\\sw\\|\\s_" (bug#358).
14337
a48868a7
LMI
14338 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14339 (dired-unmark-backward): Ditto.
14340 (dired-flag-backup-files): Ditto.
14341
14342 * dired-x.el (dired-mark-sexp): Ditto.
14343
aa8a705c
RS
143442011-07-06 Richard Stallman <rms@gnu.org>
14345
14346 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14347 (rmail-mime-entity): New arg TRUNCATED.
14348 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14349 New functions.
14350 (rmail-mime-save): Warn if entity is truncated.
14351 (rmail-mime-toggle-hidden): Likewise, for showing.
14352 (rmail-mime-process-multipart): Record when an entity is truncated.
14353
a9a936b9
RS
14354 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14355 if ENTITY is a string.
14356
1f2b92cb
LMI
143572011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14358
f4f73198 14359 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14360 of faces when `M-C-x'-ing their definitions (bug#8378).
14361 Also clean up the code slightly.
f4f73198 14362
12b16734 14363 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14364 because that makes the colors go away.
12b16734 14365
f0691d22
LMI
14366 * mail/sendmail.el (send-mail-function): Change the default to
14367 `sendmail-query-once'.
9e87df06 14368 (sendmail-query-once): Add an autoload cookie.
f0691d22 14369
1f2b92cb
LMI
14370 * net/network-stream.el (network-stream-open-starttls): Try using
14371 a plain connection even if the server offered STARTTLS, and we
14372 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14373 capability. This should make smtpmail.el work in slightly more
14374 configurations.
14375
1cdd2a1b
MA
143762011-07-06 Michael Albinus <michael.albinus@gmx.de>
14377
14378 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14379 New defun.
14380 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14381
fbcc67e2
MM
143822011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14383
14384 * progmodes/sql.el: Version 3.0
0757af94 14385 (sql-product-alist): Add product :completion-object,
fbcc67e2 14386 :completion-column, and :statement attributes.
0757af94 14387 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14388 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14389 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14390 ansi keywords.
14391 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14392 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14393 (sql-oracle-show-reserved-words): New function for development.
14394 (sql-product-font-lock): Simplify for source code buffers.
14395 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14396 New functions.
14397 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14398 (sql-mode-map): Add statement movement functions.
14399 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14400 New variable.
fbcc67e2
MM
14401 (sql-statement-regexp, sql-beginning-of-statement)
14402 (sql-end-of-statement, sql-signum): New functions.
0757af94 14403 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14404 (sql-show-sqli-buffer): Bug fix.
14405 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14406 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14407 with sql-interactive-mode.
14408 (sql-save-connection): Save buffer local settings.
0757af94 14409 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14410 (sql-product-interactive): Bug fix.
14411 (sql-preoutput-hold): New variable.
14412 (sql-interactive-remove-continuation-prompt): Bug fixes.
14413 (sql-debug-redirect): New variable.
14414 (sql-str-literal): New function.
14415 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14416 Redesign.
fbcc67e2
MM
14417 (sql-oracle-save-settings, sql-oracle-restore-settings)
14418 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14419 (sql-completion-object, sql-completion-column)
14420 (sql-completion-sqlbuf): New variables.
14421 (sql-build-completions-1, sql-build-completions)
14422 (sql-try-completion): New functions.
14423 (sql-read-table-name): Use them.
14424 (sql-contains-names): New buffer local variable.
14425 (sql-list-all, sql-list-table): Use it.
14426 (sql-oracle-completion-types): New variable.
14427 (sql-oracle-completion-object, sql-sqlite-completion-object)
14428 (sql-postgres-completion-object): New functions.
14429
d4eaeab1
GM
144302011-07-06 Glenn Morris <rgm@gnu.org>
14431
14432 * window.el (pop-to-buffer): Doc fix.
14433
322b7dab 144342011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14435
14436 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14437
322b7dab 144382011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14439
322b7dab 14440 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14441
322b7dab 14442 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14443
605dd5bf
CY
144442011-07-05 Chong Yidong <cyd@stupidchicken.com>
14445
14446 * button.el (button): Inherit from link face. Suggested by Dan
14447 Nicolaescu.
14448
7dbfa719
SM
144492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14450
3db614b0
SM
14451 * progmodes/gdb-mi.el: Fit in 80 columns.
14452 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14453 switch-to-buffer.
14454
7dbfa719
SM
14455 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14456 if imenu is simply not configured (bug#8941).
14457
919d884a
KM
144582011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14459
14460 * allout.el (allout-post-undo-hook): New allout outline-change
14461 event hook to signal undo activity.
14462 (allout-post-command-business): Run allout-post-undo-hook if an
14463 undo just occurred.
7dbfa719
SM
14464 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14465 * allout-widgets.el (allout-widgets-after-undo-function):
14466 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14467 in the vicinity of an undo.
14468 (allout-widgets-mode): Include allout-widgets-after-undo-function
14469 on the new allout-post-undo-hook.
14470
450a0f09
SM
144712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14472
14473 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14474 Let define-derived-mode define it.
14475 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14476 cycles of abbrev-table inheritance (bug#8998).
14477
2de69e00
RW
144782011-07-05 Roland Winkler <winkler@gnu.org>
14479
14480 * textmodes/bibtex.el: Add support for biblatex.
14481 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14482 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14483 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14484 (bibtex-entry-alist, bibtex-field-alist): New variables.
14485 (bibtex-entry-field-alist): Obsolete alias for
14486 bibtex-BibTeX-entry-alist.
14487 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14488 (bibtex-set-dialect): New command.
14489 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14490 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14491 Bind via bibtex-set-dialect.
2de69e00
RW
14492 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14493 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14494 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14495 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14496 Define via bibtex-set-dialect.
450a0f09
SM
14497 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14498 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14499 (bibtex-vec-push, bibtex-vec-incr): New functions.
14500 (bibtex-format-entry, bibtex-field-list)
14501 (bibtex-print-help-message, bibtex-validate)
14502 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14503
2dcdbdd9
SM
145042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14505
14506 * progmodes/compile.el (compilation-goto-locus):
14507 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14508 * bs.el (bs-cycle-next, bs-cycle-previous):
14509 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14510 * bindings.el (mode-line-other-buffer):
14511 * autoinsert.el (auto-insert):
14512 * arc-mode.el (archive-extract):
14513 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14514
b27640fe
JB
145152011-07-05 Juanma Barranquero <lekktu@gmail.com>
14516
14517 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14518 Fix check of `emacs-lock-unlockable-modes'.
14519 Coerce true values of `emacs-lock--try-unlocking' to t.
14520
53bbe3ad
JB
145212011-07-05 Juanma Barranquero <lekktu@gmail.com>
14522
14523 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14524 * emacs-lock.el: New file.
14525
1d3cdbc7
JD
145262011-07-05 Julien Danjou <julien@danjou.info>
14527
14528 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14529 than `boundp' to check if face is set.
14530
9173deec
JB
145312011-07-05 Juanma Barranquero <lekktu@gmail.com>
14532
14533 * register.el (registerv-make):
14534 * window.el (window-min-height): Fix typos in docstrings.
14535
869795d6
JD
145362011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14537
9173deec 14538 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14539 Update doc string.
14540
b768cdcd
JB
145412011-07-04 Juanma Barranquero <lekktu@gmail.com>
14542
14543 * server.el (server-execute): Catch quit and call
14544 `server-return-error' to pass the error back to emacsclient and
14545 close the connection (bug#8942).
14546
13aa217b
KM
145472011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14548
14549 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14550 insecure exception for current topic. Also note that auto-saves
14551 are handled differently.
14552
5d3385a0 14553 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14554 State variables for tracking auto-save inhibition situation.
14555
14556 (allout-write-contents-hook-handler): Rename from
14557 'allout-write-file-hook-handler', and describe how it depends on
14558 write-contents-functions sensitivity to non-nil value to prevent
14559 file write.
14560
14561 (allout-auto-save-hook-handler): Remove. auto-save does not check
14562 this in individual buffers, only in the starting buffer, so this
14563 is not the right way for us to inhibit auto-save in a buffer
14564 according to its condition.
14565
14566 (allout-mode): Use new allout-write-contents-hook-handler, and
14567 only with write-contents-functions. Remove auto-save provisions -
14568 they're implemented elsewhere.
14569
14570 (allout-before-change-handler): If undo is in progress, note that
14571 for attention of allout-post-command-business.
14572
14573 (allout-post-command-business): If the command we're following was
14574 an undo, check for change in the status of encrypted items and
14575 adjust auto-save inhibitions accordingly.
14576
14577 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14578 according to whether there are or aren't any plain-text topics
14579 pending encryption.
14580
2dcdbdd9 14581 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14582 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14583 if there are plain-text topics pending encryption.
13aa217b
KM
14584
14585 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14586 buffer-saved-size and some allout state to not inhibit auto-saves
14587 if there are no longer any plain-text topics pending encryption.
14588
0757af94
SM
14589 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14590 No longer provide for exemption of the current topic.
13aa217b 14591
ac89b32c
JL
145922011-07-04 Juri Linkov <juri@jurta.org>
14593
14594 Add 7z operations to delete and save changed members (bug#8968).
14595 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14596 New defcustoms.
14597 (archive-7z-write-file-member): New function.
14598 (archive-7z-summarize): Fix the number of dashes in the
14599 listing output.
14600
8fa39615
SM
146012011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14602
14603 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14604 (bug#8958).
14605
2f11b3f1
CY
146062011-07-04 Chong Yidong <cyd@stupidchicken.com>
14607
d66fef2b
CY
14608 * bindings.el: Ignore next-buffer and previous-buffer in
14609 minibuffer-local-map.
14610
2f11b3f1
CY
14611 * font-lock.el (font-lock-builtin-face): Change light background
14612 color to dark slate blue (Bug#6693).
14613
f932a347
WD
146142011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14615
14616 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14617
c8af70e1
SM
146182011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14619
14620 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14621 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14622 Add switch-to-buffer.
14623
f158badc
LMI
146242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14625
14626 * isearch.el (isearch-search-fun-function): Clarify further the
14627 meaning of the function returned.
14628
6d95bd46
MA
146292011-07-04 Michael Albinus <michael.albinus@gmx.de>
14630
14631 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14632
14633 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14634 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14635 Use it.
14636 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14637 `tramp-default-remote-path' does not exist.
14638 (tramp-send-command-and-read): New optional argument NOERROR.
14639 (tramp-open-connection-setup-interactive-shell)
14640 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14641 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14642 (tramp-process-sentinel): Flush also process' connection property.
14643 (tramp-sh-handle-start-file-process): Do not set process
14644 sentinel. It is done now ...
14645 (tramp-maybe-open-connection): ... here. (Bug#8929)
14646
909e6b67
MK
146472011-07-04 MON KEY <monkey@sandpframing.com>
14648
14649 * play/animate.el (animate-string): Doc fixes and allow changing
14650 the buffer name (bug#5417).
14651
146522011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14653
c8af70e1 14654 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14655
f34755dc
PE
146562011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14657
396cec72
PE
14658 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14659 This is simpler and helps future-proof the code.
14660 (timer-until): Use time-subtract and float-time.
08235028 14661 (timer--time-less-p): Use time-less-p.
f34755dc 14662
56e6cc31
JB
146632011-07-04 Juanma Barranquero <lekktu@gmail.com>
14664
3abb79e5
JB
14665 * type-break.el (timep): Use the value of `float-time' to avoid a
14666 byte-compiler warning.
14667
56e6cc31
JB
14668 * server.el (server-eval-and-print): Return any result, even nil.
14669
7b9430b4
PE
146702011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14671
14672 * type-break.el: Accept time formats that the builtins accept.
14673 (timep, type-break-time-difference): Accept any format that
14674 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14675 This is simpler and helps future-proof the code.
14676 (type-break-time-difference): Round rather than ignoring
14677 subseconds components.
14678
3034e9e7
LMI
146792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14680
14681 * info.el (Info-apropos-matches): Make non-interactive, since it
14682 doesn't seem to do anything useful as a command (bug#8829).
14683
1485f4c0
CY
146842011-07-03 Chong Yidong <cyd@stupidchicken.com>
14685
14686 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14687 Move from faces.el.
1485f4c0
CY
14688 (frame-default-terminal-background): New function.
14689
14690 * custom.el (custom-push-theme): Don't record faces in `changed'
14691 theme; this doesn't work correctly for per-frame face settings.
14692 (disable-theme): Use face-set-after-frame-default to reset faces.
14693 (custom--frame-color-default): New function.
14694
9fa3dd45
LMI
146952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14696
c8af70e1 14697 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14698 (bug#8769).
14699
6cbbc20c
KR
147002011-03-29 Kevin Ryde <user42@zip.com.au>
14701
14702 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14703 `perl-Test2' extend to match possible "fail #N" rep count
14704 (bug#8377).
14705
c7f98048
LMI
147062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14707
65676592
LMI
14708 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14709 `smtpmail-via-smtp' now returns the error instead of nil.
14710
c7f98048
LMI
14711 * isearch.el (isearch-search-fun-function): Clarify the doc string
14712 (bug#8101).
14713
56e6cc31 147142011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14715
14716 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14717 unnecessary spaces (bug#8987).
14718
2b216704
LMI
147192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14720
14721 * net/network-stream.el (open-network-stream): Use the
14722 :end-of-capability command thoughout.
14723
147242011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14725
14726 * net/network-stream.el (open-network-stream): Add the
14727 :end-of-capability command parameter, used by pop3.el.
14728
36adf6ce
LMI
147292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14730
1ca0da0e
LMI
14731 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14732
fc00f69c
LMI
14733 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14734 for list)" (bug#6475).
14735
28fd8759 14736 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14737 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14738 an error (bug#6297).
14739
0dd8b6da
LMI
14740 * man.el (Man-reference-regexp): Allow matching possible
14741 word-wrapped references (bug#6289).
14742
ce1438d6
LMI
14743 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14744 for consistency with the other vc buffers (bug#6197).
14745 (vc-checkin): Ditto.
14746
14747 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14748
36adf6ce
LMI
14749 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14750
e83cc1f7
LMI
147512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14752
8a20ca4c
LMI
14753 * custom.el (defcustom): Clarify that :set is only used in the
14754 Customize user interface (bug#6089).
14755
83319045
LMI
14756 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14757 associated with a file, refuse to run instead of erroring out
14758 (bug#6084).
14759
a8392169
LMI
14760 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14761 the doc string, since it appears that using `fill-column' always
14762 controls the width (bug#7845).
14763
e83cc1f7
LMI
14764 * simple.el (shell-command-on-region): Say where the error output
14765 went if `shell-command-default-error-buffer' is set (bug#6857).
14766
e47ca23b
KM
147672011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14768
14769 * allout.el (allout-yank-processing): Adjust cursor position for
14770 backwards-deleted space.
14771
14772 (allout-rebullet-heading): Register changes with
14773 allout-exposure-changed-hook, so the modified topic is properly
14774 decorated.
14775
5cf56143
LMI
147762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14777
08549772
LMI
14778 * minibuffer.el (completion-in-region): Document PREDICATE
14779 (bug#7136).
14780
48e96771
LMI
14781 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14782 of keyword/argument pairs (bug#6904).
14783
c8af70e1
SM
14784 * replace.el (multi-occur):
14785 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14786
e17d05e2
LMI
147872011-07-02 Drew Adams <drew.adams@oracle.com>
14788
14789 * dired.el (dired-mark-if): Make the message about whether it's
14790 marking or unmarking clearer (bug#8523).
14791
063b0e45
LMI
147922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14793
14794 * disp-table.el (display-table-print-array): New function.
14795 (describe-display-table): Use it to print the vectors more pretty
14796 (Bug#8859).
14797
28545e04
MR
147982011-07-02 Martin Rudalics <rudalics@gmx.at>
14799
14800 * window.el (window-state-get-1): Don't assign clone numbers.
14801 Add clone-of item to list of window parameters.
14802 (window-state-put-2): Don't process clone numbers.
14803 (display-buffer-alist): Fix doc-string.
14804
3349e122
SM
148052011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14806
14807 * subr.el (remq): Don't allocate if it's not needed.
14808 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14809 (keymap--merge-bindings): New functions.
14810 (keymap-canonicalize): Use them to refine the canonicalization.
14811 * minibuffer.el (minibuffer-local-completion-map)
14812 (minibuffer-local-must-match-map): Move initialization from C.
14813 (minibuffer-local-filename-completion-map): Move initialization from C;
14814 don't inherit from anything here.
14815 (minibuffer-local-filename-must-match-map): Make obsolete.
14816 (completing-read-default): Use make-composed-keymap to combine
14817 minibuffer-local-filename-completion-map with either
14818 minibuffer-local-must-match-map or
14819 minibuffer-local-filename-completion-map.
14820
d224ac83
GM
148212011-07-01 Glenn Morris <rgm@gnu.org>
14822
3de63bf8
GM
14823 * type-break.el (type-break-time-sum): Use dolist.
14824
d224ac83
GM
14825 * textmodes/flyspell.el (flyspell-word-search-backward):
14826 Replace CL function.
14827
1a1e3f32
SM
148282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14829
fe3f64d5
SM
14830 * mouse.el (mouse--strip-first-event): New function.
14831 (function-key-map): Use it to map fringe clicks to normal clicks
14832 by default.
14833
eb604e34
SM
14834 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14835 (vc-bzr-revision-completion-table): Add support for annotate and date.
14836
1a1e3f32
SM
14837 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14838 inherit from parent.
14839
5bd35902
LMI
148402011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14841
ace6c69c 14842 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14843 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14844
191e2bed
LMI
14845 * dired.el (dired-mode): Fix up the doc string as suggested by
14846 Drew Adams (bug#8817).
14847
5bd35902
LMI
14848 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14849 cookie, since the manual says that it should be possible to add
14850 this function to `find-file-hook' (bug#8709).
14851
eee8207a
TZ
148522011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14853
14854 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14855 here. Noted Ted Zlatanov as the maintainer.
14856 (cfengine-common-settings, cfengine-common-syntax): New functions
14857 to set up common things between `cfengine-mode' and
14858 `cfengine3-mode'.
14859 (cfengine3-mode): New mode.
14860 (cfengine3-defuns cfengine3-defuns-regex
14861 (cfengine3-class-selector-regex cfengine3-category-regex)
14862 (cfengine3-vartypes cfengine3-font-lock-keywords)
14863 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14864 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14865
36b148cf
MA
148662011-07-01 Michael Albinus <michael.albinus@gmx.de>
14867
14868 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14869
14870 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14871
0bf4ba9a
MR
148722011-07-01 Martin Rudalics <rudalics@gmx.at>
14873
14874 * window.el (same-window-buffer-names, same-window-regexps)
14875 (same-window-p, special-display-frame-alist)
14876 (special-display-popup-frame, special-display-function)
14877 (special-display-buffer-names, special-display-regexps)
14878 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14879 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14880 (split-window-preferred-function, split-height-threshold)
14881 (split-width-threshold, even-window-heights)
14882 (display-buffer-mark-dedicated, window-splittable-p)
14883 (split-window-sensibly, window-safely-shrinkable-p):
14884 Un-obsolete.
14885 (display-buffer): Don't spread args with function specifier
14886 because special-display-popup-frame won't like it.
14887
35837f51
PE
148882011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14889
d0672f86
PE
14890 Time-stamp simplifications and fixes.
14891 These improve accuracy slightly, and future-proof the code
14892 against some potential changes to current-time format.
14893
b9444d97
PE
14894 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14895 by using time-since and float-time.
14896
0ef923dc
PE
14897 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14898 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14899 + NNN microseconds".
14900
2f81380d
PE
14901 * type-break.el (type-break-time-sum): Rewrite using time-add.
14902
845b5c3e
PE
14903 * play/hanoi.el (hanoi-current-time-float): Remove.
14904 All uses replaced by float-time.
14905
ee6f1be0
PE
14906 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14907 This yields a more-accurate answer.
14908 (rng-time-to-float): Remove; no longer needed.
14909
fe955043
PE
14910 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14911
5777162a
PE
14912 * calendar/timeclock.el (timeclock-seconds-to-time):
14913 Defalias to seconds-to-time, since they're the same thing.
14914
3103f8b6 14915 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14916 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14917 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14918
0e61a35f
SM
149192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * window.el (bury-buffer): Don't iconify the only frame.
14922 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14923 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14924
ddd63a1e
CY
149252011-07-01 Chong Yidong <cyd@stupidchicken.com>
14926
0e61a35f
SM
14927 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14928 Add mouse-yank-primary.
ddd63a1e 14929
055f4923
TZ
149302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14931
14932 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14933
6a2fb145
SM
149342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14937 (find-library-name): Use it to find relative load names when provided
14938 absolute file name (bug#8803).
14939
fd4983f2
LMI
149402011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14941
887d14ad
LMI
14942 * textmodes/flyspell.el (flyspell-word): Consider words that
14943 differ only in case as potential doublons (bug#5687).
14944
c53dc7fc
LMI
14945 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14946 Remove two rather uninteresting debugging-like messages to make
14947 debbugs.el more silent.
14948
fd4983f2
LMI
14949 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14950 a password-like phrase.
14951
7a71b18d 149522011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14953
14954 * progmodes/cc-guess.el: New file.
14955
6a2fb145 14956 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14957
14958 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14959 derived from `c-basic-common-init'.
14960
14961 * progmodes/cc-mode.el (top-level): Require cc-guess.
14962 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14963
1fa280a3
LM
149642011-06-30 Lawrence Mitchell <wence@gmx.li>
14965
14966 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14967
e6597158
AM
149682011-06-30 Alan Mackenzie <acm@muc.de>
14969
1fa280a3
LM
14970 * progmodes/cc-engine.el (c-guess-continued-construct):
14971 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14972 lock is disabled. Name this case as "CASE G".
14973
68ba37fb
KM
149742011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14975
14976 * allout.el (allout-yank-processing): Fix injection of extra space
14977 between bullet and non-whitespace character in first topic when
14978 pasting, ensuring that the actual spacing in the pasted topic
14979 following the bullet char is preserved. This extra space was
14980 causing pasted encrypted topics to get a decrypted status even
14981 when the content was actually still encrypted. Now the decryption
14982 status from before the paste is preserved.
14983
14984 (allout-flag-region): Set all allout overlays so they evaporate
14985 when reduced to zero length (evanescent), to prevent overlay
14986 leakage.
14987
887a0b34
GM
149882011-06-30 Glenn Morris <rgm@gnu.org>
14989
94b9acce
GM
14990 * w32-fns.el (w32-charset-info-alist): Declare.
14991
1d9b46d4
GM
14992 * find-dired.el (find-grep-options): Simplify.
14993
cc232200
GM
14994 * term/ns-win.el (ns-set-resource): Declare.
14995
28e77c46
GM
14996 * ses.el (row, col): Declare dynamic variables honestly.
14997
887a0b34
GM
14998 * textmodes/reftex-parse.el (index-tags): Declare.
14999
658d8eb8
CY
150002011-06-30 Chong Yidong <cyd@stupidchicken.com>
15001
15002 * cus-edit.el (customize-push-and-save): New function.
15003
15004 * files.el (hack-local-variables-confirm): Use it.
15005
1fa280a3
LM
15006 * custom.el (load-theme): New arg NO-CONFIRM.
15007 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15008 (custom-enabled-themes): Doc fix.
15009
15010 * cus-theme.el (customize-create-theme)
15011 (custom-theme-merge-theme): Callers to load-theme changed.
15012
bb617717
LMI
150132011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15014
d61bdd5d
LMI
15015 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15016 short URLs have at least one dot in them (bug #7614).
15017
bb617717
LMI
15018 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15019 nil, because using a pty is apparently too slow (bug #895).
15020
2f31f37a
LMI
150212011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15022
15023 * mail/sendmail.el (sendmail-query-once): New function.
15024 (sendmail-query-once-function): New variable.
15025
3076b24e
GM
150262011-06-29 Glenn Morris <rgm@gnu.org>
15027
faf2a174
GM
15028 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15029
3076b24e
GM
15030 * ses.el (top-level): Require cl when compiling.
15031 (ses-set-localvars): Fix error statement.
15032 Call it at compile time to silence a storm of warnings.
15033
5386012d
MR
150342011-06-29 Martin Rudalics <rudalics@gmx.at>
15035
15036 * window.el (normalize-live-buffer): Rename to
15037 window-normalize-buffer.
15038 (normalize-live-frame): Rename to window-normalize-frame.
15039 (normalize-any-window): Rename to window-normalize-any-window.
15040 (normalize-live-window): Rename to window-normalize-live-window.
15041 (make-window-atom): Rename to window-make-atom.
15042 (window-resize-reset): Rename to window--resize-reset.
15043 (window-resize-reset-1): Rename to window--resize-reset-1.
15044 (resize-mini-window): Rename to window--resize-mini-window.
15045 (resize-subwindows-skip-p): Rename to
15046 window--resize-subwindows-skip-p.
15047 (resize-subwindows-normal): Rename to
15048 window--resize-subwindows-normal.
15049 (resize-subwindows): Rename to window--resize-subwindows.
15050 (resize-other-windows): Rename to window--resize-siblings.
15051 (resize-this-window): Rename to window--resize-this-window.
15052 (resize-root-window): Rename to window--resize-root-window.
15053 (resize-root-window-vertically): Rename to
15054 window--resize-root-window-vertically.
15055 (normalize-buffer-to-display): Rename to
15056 window-normalize-buffer-to-display.
15057 (normalize-buffer-to-switch-to): Rename to
15058 window-normalize-buffer-to-switch-to.
15059 Correspondingly update all callers of the functions listed
15060 above.
15061 (display-buffer-alist, display-buffer-normalize-arguments)
15062 (display-buffer-normalize-options, display-buffer)
15063 (display-buffer-alist-set): Use "function" instead of
15064 "fun-with-args".
15065
1176868d
CY
150662011-06-28 Chong Yidong <cyd@stupidchicken.com>
15067
15068 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15069 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15070 debbugs.gnu.org. Mention acknowledgment email.
15071
20a7a65f
LMI
150722011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15073
15074 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15075 buffer multibyteness, since it shouldn't matter.
15076
5f45cca5
MR
150772011-06-28 Martin Rudalics <rudalics@gmx.at>
15078
15079 * window.el (display-buffer-in-side-window): Handle dedicated
15080 windows as in display-buffer-reuse-window.
15081 (display-buffer-normalize-alist): Use value of override
15082 specifier.
15083 (display-buffer-normalize-specifiers): Use value of
15084 other-window-means-other-frame specifier.
15085 (display-buffer-alist): Rewrite some texts in widgets.
15086 (display-buffer): Spread arguments when calling function
15087 specified by fun-with-args.
15088
ad85fe1f
DD
150892011-06-28 Deniz Dogan <deniz@dogan.se>
15090
1fa280a3
LM
15091 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15092 Unnest `let'.
da68c4c8 15093
ad85fe1f
DD
15094 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15095 selectors (Bug#5732).
ec49bd31 15096 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15097
a08cc025
JA
150982011-06-27 Jari Aalto <jari.aalto@cante.net>
15099
15100 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15101 (eshell-ls-date-format): New defcustom.
15102 (eshell-ls-file): Use it.
15103
e2b551c5
SM
151042011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15105
15106 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15107
8982b231
KY
151082011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15109
15110 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15111 (ange-ftp-make-tmp-name): New arg.
15112 (ange-ftp-file-local-copy): Use it.
15113
36c9fa27
J
151142011-06-27 Jambunathan K <kjambunathan@gmail.com>
15115
15116 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15117 no-conversion (Bug#8870).
15118
d68443dc
MR
151192011-06-27 Martin Rudalics <rudalics@gmx.at>
15120
15121 * window.el (window-right, window-left, window-child)
15122 (window-child-count, window-last-child)
15123 (window-iso-combination-p, walk-window-tree-1)
15124 (window-atom-check-1, window-tree-1, delete-window)
15125 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15126 new naming conventions - window-vchild, window-hchild,
15127 window-next and window-prev are now called window-top-child,
15128 window-left-child, window-next-sibling and window-prev-sibling
15129 respectively.
d615d6d2
MR
15130 (resize-window-reset): Rename to window-resize-reset.
15131 (resize-window-reset-1): Rename to window-resize-reset-1.
15132 (resize-window): Rename to window-resize.
15133 (window-min-height, window-min-width)
15134 (resize-mini-window, resize-this-window, resize-root-window)
15135 (resize-root-window-vertically, adjust-window-trailing-edge)
15136 (enlarge-window, shrink-window, maximize-window)
15137 (minimize-window, delete-window, quit-restore-window)
15138 (split-window, balance-windows, balance-windows-area-adjust)
15139 (balance-windows-area, window-state-put-2)
15140 (display-buffer-even-window-sizes, display-buffer-set-height)
15141 (display-buffer-set-width, set-window-text-height)
15142 (fit-window-to-buffer): Rename all "resize-window" prefixed
15143 calls to use the "window-resize" prefix convention.
15144 (display-buffer-alist): Fix symbol for label specifier.
15145 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15146 corresponding specifier.
15147 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15148
b6458526
VB
151492011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15150
15151 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15152 convention.
15153 (ses-call-printer): Does not pass an empty string to formatter when the
15154 cell is empty to keep from barking printer Calc math-format-value.
15155
d31fd9ac
RS
151562011-06-27 Richard Stallman <rms@gnu.org>
15157
43d5bf84
RS
15158 * battery.el (battery-mode-line-limit): New variable.
15159 (battery-update): Handle it.
15160
d31fd9ac
RS
15161 * mail/rmailmm.el (rmail-mime-process-multipart):
15162 Handle truncated messages.
15163
819a6054
GM
151642011-06-27 Glenn Morris <rgm@gnu.org>
15165
15166 * progmodes/flymake.el (flymake-err-line-patterns):
15167 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15168
cedc73f2
VB
151692011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15170
819a6054 15171 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15172 (ses--clean-!, ses--clean-_): New functions.
15173 (ses-range): Add configurability of readout order, and conversion
15174 to Calc vector.
15175
5e5d49b6
VB
15176 * ses.el (ses-repair-cell-reference-all): New function.
15177 (ses-cell-symbol): Set macro as safe, so that it can be used in
15178 formulas.
15179
56e6cc31 15180 * ses.el: Update cycle detection algorithm.
90ca8b49 15181 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15182 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15183 (ses-set-localvars): New function.
15184 (ses-make-cell): Add property-list as a cell element.
15185 (ses-cell-property-get-fun, ses-cell-property-get)
15186 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15187 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15188 New functions.
90ca8b49
VB
15189 (ses-cell-property-set, ses-cell-property-pop)
15190 (ses-cell-property-get-handle): New macro.
15191 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15192 New aliases, used for code readability.
15193 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15194 cycle detection.
15195 (ses-self-reference-early-detection): New defcustom.
fac916bf 15196 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15197 (ses-mode): Use ses-set-localvars.
15198 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15199 before lauching the update processing.
15200 (ses-initialize-Dijkstra-attempt): New function.
15201 (ses-recalculate-cell): Update for cycle detection based on
15202 Dijkstra algorithm.
15203
2bb63e81
VB
15204 * ses.el: Fix commenting and indenting convention.
15205
c9d29fb8
SM
152062011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * bs.el (bs-cycle-next): Complete last change.
15209
d8e4b68b
JB
152102011-06-27 Drew Adams <drew.adams@oracle.com>
15211
15212 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15213
40098786
LMI
152142011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15215
c9d29fb8
SM
15216 * net/network-stream.el (network-stream-open-starttls):
15217 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15218 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15219
40098786
LMI
15220 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15221 to binary to possibly avoid line encoding issues on Windows (among
15222 other things).
15223
468d09d4
LMI
152242011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15225
15226 * net/network-stream.el (open-network-stream): Return an :error
15227 saying what the problem was, if possible.
15228
15229 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15230 server.
15231
15232 * net/network-stream.el (network-stream-open-starttls): If we
15233 wanted to use STARTTLS, and the server offered it, but we weren't
15234 able to because we had no STARTTLS support, then close the connection.
15235 (open-network-stream): Return an :error element, if present.
15236
16f07dd7
CY
152372011-06-26 Chong Yidong <cyd@stupidchicken.com>
15238
88821ca0
CY
15239 * hl-line.el (hl-line-sticky-flag): Doc fix.
15240 (global-hl-line-sticky-flag): New option (Bug#8323).
15241 (global-hl-line-highlight): Obey it.
15242
16f07dd7
CY
15243 * vc/vc.el (vc-revert-show-diff): Default to t.
15244
6b5ccddf
KM
152452011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15246
c9d29fb8
SM
15247 * allout-widgets.el (allout-widgets-post-command-business):
15248 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15249 undecorated when an isearch is continued past, and isearch
15250 automatically collapses them. This leads to "widget leaks", where
15251 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15252 hidden widgets can slow down cursor travel, substantially.
15253 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15254 so we're doing without this nicety.
15255
15256 (allout-widgets-tally-string): Don't try to do a hash-table-count
15257 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15258 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15259 *Messages* when allout-widgets-maintain-tally is t.
15260
355f2e07
MR
152612011-06-26 Martin Rudalics <rudalics@gmx.at>
15262
15263 * window.el (display-buffer-normalize-argument): Rename to
15264 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15265 LABEL argument. Respect special-display-function when popping up
15266 a new frame. Fix code searching for a window showing the buffer
15267 on another frame.
c9d29fb8
SM
15268 (display-buffer-normalize-specifiers):
15269 Call display-buffer-normalize-arguments.
355f2e07
MR
15270 (display-buffer-in-window): Don't undedicate the window if its
15271 buffer remains the same.
15272 Reported by Drew Adams <drew.adams@oracle.com>.
15273 (display-buffer-alist): Add choice for same-window macro
15274 specfier.
15275 (display-buffer): Mention special meaning of LABEL argument in
15276 doc-string. Fix quoting. Don't pop up a new frame even as
15277 fallback.
15278
7ca8fc42
JB
152792011-06-26 Juanma Barranquero <lekktu@gmail.com>
15280
15281 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15282 avoid deleting the current window in some cases (bug#8911).
15283
bc312254
AS
152842011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15285
15286 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15287 (Bug#8934)
15288
2db18f3f
LMI
152892011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15290
c9d29fb8
SM
15291 * net/network-stream.el (network-stream-open-starttls):
15292 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15293 (network-stream-open-tls): Ditto.
15294
6302e0d3
LL
152952011-06-26 Leo Liu <sdl.web@gmail.com>
15296
15297 * register.el (registerv): New struct.
15298 (registerv-make): New function.
c9d29fb8
SM
15299 (jump-to-register, describe-register-1, insert-register):
15300 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15301 struct. (Bug#8415)
15302
5fdd4046
CY
153032011-06-26 Chong Yidong <cyd@stupidchicken.com>
15304
2afef60a
CY
15305 * vc/vc.el (vc-revert-show-diff): New defcustom.
15306 (vc-diff-internal): New arg specifying diff buffer.
15307 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15308 reuse an existing *vc-diff* buffer (Bug#8927).
15309
5fdd4046
CY
15310 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15311
e93db24a
GM
153122011-06-26 Glenn Morris <rgm@gnu.org>
15313
15314 * progmodes/f90.el (f90-critical-indent): New option.
15315 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15316 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15317 (f90-mode): Doc fix.
15318 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15319 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15320 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15321 (f90-match-end): Handle block, critical.
15322
eefff499
GM
153232011-06-25 Glenn Morris <rgm@gnu.org>
15324
f6ba4cc9
GM
15325 * calendar/diary-lib.el (diary-included-files): Doc fix.
15326 (diary-include-files): New function, extracted from
15327 diary-include-other-diary-files and diary-mark-included-diary-files.
15328 (diary-include-other-diary-files, diary-mark-included-diary-files):
15329 Just call diary-include-files.
15330 (diary-mark-entries): Reset diary-included-files on first call.
15331
16712304
GM
15332 * calendar/diary-lib.el (diary-mark-entries)
15333 (diary-mark-included-diary-files):
15334 Visit included diary-files in temp buffers.
15335
5d8e0d43
GM
15336 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15337 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15338 (f90-start-block-re, f90-imenu-generic-expression)
15339 (f90-looking-at-program-block-start, f90-no-block-limit):
15340 Add support for submodules.
15341
ccf7a5d5
GM
15342 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15343 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15344
11fdef7d 153452011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15346
15347 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15348 buffer-file-type before setting its value, to avoid disastrous
eefff499 15349 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15350
74f53697
JB
153512011-06-25 Juanma Barranquero <lekktu@gmail.com>
15352
15353 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15354
15355 * ses.el (ses-unload-function):
15356 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15357
15358 * proced.el (proced-unload-function):
15359 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15360
18a4ce5e
AR
153612011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15362
15363 * server.el (server-create-window-system-frame): Add parameters arg.
15364 (server-process-filter): Doc fix. Handle frame-parameters.
15365
519d22cc
JB
153662011-06-25 Juanma Barranquero <lekktu@gmail.com>
15367
15368 Fix bug#8730, bug#8781.
15369
15370 * loadhist.el (unload--set-major-mode): New function.
15371 (unload-feature): Use it.
15372
15373 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15374 (python-unload-function): New function.
15375
c206f5b0
SM
153762011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15377
15378 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15379
f9ad64f3
GS
153802011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15381
15382 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15383 the candidates list.
15384
7d0da90e
JB
153852011-06-24 Juanma Barranquero <lekktu@gmail.com>
15386
15387 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15388
14b4e83d
RS
153892011-06-23 Richard Stallman <rms@gnu.org>
15390
15391 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15392 (rmail-variables): Set next-error-move-function.
15393 (rmail-what-message): Take argument POS.
15394 (rmail-next-error-move): New function.
15395
273d2baf
SM
153962011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15397
15398 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15399 messages for adjacent non-terminals.
15400
56c2cc9a
RS
154012011-06-23 Richard Stallman <rms@gnu.org>
15402
15403 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15404 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15405 (rmail-start-mail): Don't specify use of rmail-mail-return;
15406 that's done by mail-bury now.
15407 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15408
d59eb518
MA
154092011-06-23 Michael Albinus <michael.albinus@gmx.de>
15410
15411 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15412 SIZE is a number.
15413
02cfc6d6
MR
154142011-06-23 Martin Rudalics <rudalics@gmx.at>
15415
15416 * window.el (get-lru-window, get-mru-window)
15417 (get-largest-window): Never return a minibuffer window.
15418 (display-buffer-pop-up-window): Fix a bug that could lead to
15419 reusing the minibuffer window.
15420 (display-buffer): Pass original specifier argument to
15421 display-buffer-function instead of the normalized one.
15422 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15423
4e323265
LL
154242011-06-22 Leo Liu <sdl.web@gmail.com>
15425
15426 * minibuffer.el (completing-read-function)
15427 (completing-read-default): Move from minibuf.c
15428
7a70468f
RS
154292011-06-22 Richard Stallman <rms@gnu.org>
15430
50718fc2
RS
15431 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15432 to Rmail even if not started by a special Rmail command.
15433
7a70468f
RS
15434 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15435 Copy the buffer currently showing just one message.
15436
297dde5a
RW
154372011-06-22 Roland Winkler <winkler@gnu.org>
15438
15439 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15440 (bibtex-clean-entry): First delete the old key so that a
15441 customized algorithm for generating the new key does not get
15442 confused by the old key.
15443 (bibtex-url): Obey regexp of first step.
15444 (bibtex-search-entries): Do not use add-to-list with local
15445 list-var.
15446
97bb1093
LMI
154472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15448
15449 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15450 stored a user name, then query for the password first, instead of
15451 waiting for SMTP to give an error message and the trying again.
15452
1c0f1a19
JD
154532011-06-22 Lawrence Mitchell <wence@gmx.li>
15454
15455 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15456 BUFFER in call-process.
15457
396f7c9d
LMI
154582011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15459
15460 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15461 QUIT twice.
ddb7ffee
LMI
15462 (smtpmail-try-auth-methods): Require user name and password from
15463 auth-source.
396f7c9d 15464
8998d1b3
MR
154652011-06-22 Martin Rudalics <rudalics@gmx.at>
15466
15467 * window.el (display-buffer-default-specifiers)
15468 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15469 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15470 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15471
15472 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15473 (special-display-frame-alist, special-display-popup-frame):
15474 Remove duplicate declarations. These are now in window.el.
15475
4ea31e07
LMI
154762011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15477
c9d29fb8
SM
15478 * mail/smtpmail.el (smtpmail-via-smtp):
15479 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15480 server supports it. SMTP servers that support STARTTLS commonly
15481 require it.
15482
15483 * net/network-stream.el (network-stream-open-starttls): Support
15484 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15485 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15486
95f41d9a
LMI
15487 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15488 upgrades with `open-network-stream', and rely solely on
15489 auth-source for all credentials. Big changes throughout the file,
15490 but in particular:
c9d29fb8
SM
15491 (smtpmail-auth-credentials): Remove.
15492 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15493 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15494 MAIL FROM, too.
95f41d9a 15495
c9d29fb8
SM
15496 * net/network-stream.el (network-stream-open-starttls):
15497 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15498 STARTTLS.
15499 (auth-source): Require.
15500 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15501 (network-stream-certificate): Change cert-cert to cert and
15502 cert-key to key.
4ea31e07 15503
065ec2c7
MA
155042011-06-21 Michael Albinus <michael.albinus@gmx.de>
15505
15506 * net/tramp-cache.el (top): Don't load the persistency file when
15507 "emacs -Q" has been called.
15508
cd93b359
DR
155092011-06-21 Tim Harper <timcharper@gmail.com>
15510
d8e4b68b
JB
15511 * term/ns-win.el (ns-initialize-window-system):
15512 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15513 resource to NO as it is not yet supported by the NS port.
15514
ae9c0411
JB
155152011-06-21 Juanma Barranquero <lekktu@gmail.com>
15516
15517 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15518 (list-dynamic-libraries): ...not here.
15519
7f3f739f
LL
155202011-06-21 Leo Liu <sdl.web@gmail.com>
15521
15522 * subr.el (sha1): Implement sha1 using secure-hash.
15523
327c8fb1
MR
155242011-06-21 Martin Rudalics <rudalics@gmx.at>
15525
15526 * window.el (display-buffer-alist): In default value do not
15527 enforce searching a window on any but the selected frame.
15528 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15529 (display-buffer-select-window): Remove function.
15530 (display-buffer-in-window): When a window on another frame gets
15531 reused, do not select it any more but just raise its frame if
15532 necessary (Bug#8851) and (Bug#8856).
15533 (display-buffer-normalize-options): Handle pop-up-frames related
15534 options more faithfully.
15535 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15536 window if it is on another frame.
c9d29fb8
SM
15537 (display-buffer-alist, display-buffer-default-specifiers):
15538 Don't make new frame unsplittable by default.
9e9de014
MR
15539 (display-buffer-normalize-argument): Fix doc-string typo and use
15540 'same-frame-other-window instead of 'other-window when associating
15541 with display-buffer-macro-specifiers.
327c8fb1 15542
7cf3f556
VB
155432011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15544
15545 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15546 New functions.
15547 (5x5-mode-map, 5x5-mode-menu): Bind them.
15548 (5x5-draw-grid): Tweak the solver's rendering.
15549
60a406cf
SM
155502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15553 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15554
d8e4b68b 155552011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15556
15557 * menu-bar.el: Use function variable instead of switch-to-buffer.
15558 (menu-bar-select-buffer-function): New variable.
60a406cf 15559 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15560
478d6f95
SM
155612011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15564 variable's status.
15565
ca530739
JD
155662011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15567
15568 * x-dnd.el (x-dnd-version-from-flags)
15569 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15570 and long as number (Bug#8899).
15571 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15572
bcd70d97
SM
155732011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15574
60a406cf 15575 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15576 (completion-try-completion, completion-all-completions): Compute the
15577 metadata argument if it's missing; make it optional (bug#8795).
15578
60a406cf 15579 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15580 (widget-complete): Use new :completion-function property.
15581 (widget-completions-at-point): New function.
15582 (default): Use :completion-function instead of :complete.
60a406cf
SM
15583 (widget-default-completions): Rename from widget-default-complete;
15584 Rewrite.
bcd70d97
SM
15585 (widget-string-complete, widget-file-complete, widget-color-complete):
15586 Remove functions.
15587 (file, symbol, function, variable, coding-system, color):
15588 * international/mule-cmds.el (default-input-method, charset)
15589 (language-info-custom-alist):
15590 * cus-edit.el (face): Use new property :completions.
15591
15592 * progmodes/pascal.el (pascal-completions-at-point): New function.
15593 (pascal-mode): Use it.
15594 (pascal-mode-map): Use completion-at-point.
15595 (pascal-toggle-completions): Make obsolete.
15596 (pascal-complete-word, pascal-show-completions):
15597 * progmodes/octave-mod.el (octave-complete-symbol):
15598 Redefine as obsolete alias.
15599 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15600 Signal absence of completion info for old Octave,
15601 (inferior-octave-complete): Redefine as obsolete alias.
15602 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15603 (meta-completions-at-point): Rename from meta-complete-symbol and
15604 adapt it for use on completion-at-point-functions.
15605 (meta-common-mode): Use it.
15606 (meta-looking-at-backward, meta-match-buffer): Remove.
15607 (meta-complete-symbol): Redefine as obsolete alias.
15608 (meta-common-mode-map): Use completion-at-point.
15609 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15610 (makefile-mode-map): Use completion-at-point.
15611 (makefile-completions-at-point): Rename from makefile-complete and
15612 adapt it for use on completion-at-point-functions.
15613 (makefile-mode): Use it.
15614 (makefile-complete): Redefine as obsolete alias.
15615
aebf69c8
DD
156162011-06-20 Deniz Dogan <deniz@dogan.se>
15617
15618 * net/rcirc.el: Delete trailing whitespaces once and for all.
15619
bfbbb27d
DC
156202011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15621
15622 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15623
d264a46b
CY
156242011-06-19 Chong Yidong <cyd@stupidchicken.com>
15625
4ca009e5
CY
15626 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15627
d264a46b
CY
15628 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15629
fbf5b3ce
MR
156302011-06-19 Martin Rudalics <rudalics@gmx.at>
15631
15632 * window.el (display-buffer-other-window-means-other-frame):
15633 Call display-buffer-normalize-alist.
15634 (display-buffer-normalize-specifiers-1): Rename to
15635 display-buffer-normalize-argument. New argument other-frame.
15636 Rewrite.
15637 (display-buffer-normalize-specifiers-2): Rename to
15638 display-buffer-normalize-options.
15639 (display-buffer-normalize-alist-1): New function.
15640 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15641 display-buffer-normalize-alist.
15642 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15643 (display-buffer-normalize-options-inhibit): New variable.
15644 (display-buffer-normalize-specifiers): Rewrite calling
15645 display-buffer-normalize-alist,
15646 display-buffer-normalize-argument, and
15647 display-buffer-normalize-options. Don't call the latter if
15648 display-buffer-normalize-options-inhibit is non-nil.
15649 (frame-auto-delete): New option.
15650 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15651 (window-list-no-nils, window-state-ignored-parameters)
15652 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15653 (window-state-put-1, window-state-put-2, window-state-put):
15654 New functions.
9a028c23
MR
15655 (display-buffer-normalize-options): Move special-display-p group
15656 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15657
6d10d800
CY
156582011-06-18 Chong Yidong <cyd@stupidchicken.com>
15659
6420d28b
CY
15660 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15661 groups (Bug#8776).
15662 (rx-submatch-n): New function.
15663 (rx): Document it.
15664
ddb8b596
CY
15665 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15666 (Bug#8768).
15667
15668 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15669
77080289
CY
15670 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15671
61dfb316
CY
15672 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15673 anytime existing face settings are present (Bug#8889).
15674
6d10d800
CY
15675 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15676 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15677 Remove unused argument.
15678
be3fb2b8
MR
156792011-06-18 Martin Rudalics <rudalics@gmx.at>
15680
bcd70d97
SM
15681 * window.el (display-buffer-default-specifiers):
15682 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15683 pop-up-window-min-width, and another reuse-window specifier
15684 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15685 (display-buffer-normalize-specifiers-2):
15686 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15687 pop-up-windows is unset. Add a reuse-window specifier for the
15688 case popping up a new window fails.
15689 (special-display-popup-frame): Remove double quoting.
28dec25a 15690 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15691
1c6d8c76
SM
156922011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15693
15694 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15695 according to comint-completion-addsuffix.
15696
15697 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15698 (pcomplete-suffix-list): Mark as obsolete.
15699 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15700 pcomplete-seen in the closure.
15701 (pcomplete-comint-setup): Setup completion-at-point as well.
15702 (pcomplete--entries): New function.
15703 (pcomplete--env-regexp): New var.
15704 (pcomplete-entries): Rewrite to work with partial-completion and
15705 without relying on pcomplete-suffix-list.
15706 (pcomplete-pare-list): Remove, unused.
15707
25aef8b8
MR
157082011-06-17 Martin Rudalics <rudalics@gmx.at>
15709
15710 * window.el (display-buffer-alist): Set pop-up-window-min-height
15711 and pop-up-window-min-width in default value. Reported by
15712 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15713 other-window-means-other-frame.
15714 (display-buffer-macro-specifiers): Comment out entry for
15715 other-window specifier.
15716 (display-buffer-other-window-means-other-frame): New function.
15717 (display-buffer-normalize-specifiers-1): New arguments
15718 buffer-name and label. Treat other-window case specially.
15719 (display-buffer-normalize-specifiers-2): Treat other-window case
15720 specially.
15721 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15722 (display-buffer-normalize-specifiers):
15723 Call display-buffer-normalize-specifiers-3.
25aef8b8 15724
dbad4f69
MR
157252011-06-17 Martin Rudalics <rudalics@gmx.at>
15726
15727 * window.el (same-window-p): Fix two typos introduced when
15728 adding with-no-warnings.
d1067961
MR
15729 (display-buffer-normalize-specifiers-1): Don't check
15730 pop-up-frames for 'unset initialization.
15731 (display-buffer-normalize-specifiers-2): Major rewrite using
15732 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15733 (pop-up-frames, display-buffer-reuse-frames)
15734 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15735 Suggested by David Engster <deng@randomsample.de>.
15736 (even-window-heights): Initialize to 'unset.
15737 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15738 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15739 other window case.
dbad4f69 15740
9b9c9e3a
MR
157412011-06-16 Martin Rudalics <rudalics@gmx.at>
15742
bcd70d97
SM
15743 * window.el (display-buffer-normalize-specifiers-1):
15744 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15745 second argument of display-buffer (Bug#8865).
981d5c09
MR
15746 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15747 (switch-to-buffer-other-window-same-frame)
15748 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15749 Adams (Bug#8875).
9c2755e9
MR
15750 (display-buffer): Don't check noninteractive when calling
15751 display-buffer-pop-up-frame.
15752 (display-buffer-pop-up-frame): Never pop up a frame in
15753 noninteractive mode (Bug#8857).
67222e1d
MR
15754 (enlarge-window, shrink-window): Don't report an error when the
15755 window can't be resized as requested (Bug#8862).
9b9c9e3a 15756
2b75be67
SM
157572011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15758
9ffdd3ba
SM
15759 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15760
cb581a67
SM
15761 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15762
2b75be67
SM
15763 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15764
8c0e3589
AM
157652011-06-15 Alan Mackenzie <acm@muc.de>
15766
cb581a67
SM
15767 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15768 for declarators, disable knr checking to speed up for normal files.
15769 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15770
b96e6cde
LMI
157712011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15772
4bba86e6
LMI
15773 * net/network-stream.el (open-network-stream): Add the keyword
15774 :always-query-capabilities for the case where you want to force a
15775 `plain' network connection, but the protocol still requires the
15776 capabilitiy command (i.e., SMTP and EHLO).
15777
2b75be67 15778 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15779 consistency with other `-live-p' functions.
15780
efdcdbf8
SM
157812011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15782
15783 * window.el (same-window-buffer-names, same-window-regexps)
15784 (special-display-frame-alist, special-display-popup-frame)
15785 (special-display-function, special-display-buffer-names)
15786 (special-display-regexps, pop-up-frame-alist)
15787 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15788 (pop-up-windows, split-window-preferred-function)
15789 (split-height-threshold, split-width-threshold, even-window-heights)
15790 (display-buffer-mark-dedicated): Don't encourage the use of
15791 display-buffer-alist from Elisp code.
15792
c5cde042
DN
157932011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15794
15795 * progmodes/python.el (python-mode): Derive from prog-mode.
15796 * progmodes/ps-mode.el (ps-mode):
15797 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15798 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15799 * progmodes/ld-script.el (ld-script-mode): Likewise.
15800
baa1c9ab
MR
158012011-06-15 Martin Rudalics <rudalics@gmx.at>
15802
15803 * window.el (display-buffer-alist): Trim default value to avoid
15804 popping up a new frame (Bug#8857) or reusing an arbitrary window
15805 on another frame.
15806 (display-buffer): Do not fall back on popping up a new frame in
15807 batch mode (Bug#8857).
15808
c5dd5a51
CY
158092011-06-14 Chong Yidong <cyd@stupidchicken.com>
15810
15811 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15812 (custom-theme-summary): New function.
15813 (customize-themes): Use it.
15814
d647b7c4
GM
158152011-06-13 Glenn Morris <rgm@gnu.org>
15816
15817 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15818
9481c002
MR
158192011-06-13 Martin Rudalics <rudalics@gmx.at>
15820
357f93d2
MR
15821 * help.el (help-window): Remove variable.
15822 (help-window-point-marker, temp-buffer-max-height)
15823 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15824 (help-print-return-message): Don't set help-window.
15825 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15826 (help-window-setup-finish): Remove.
15827 (help-window-display-message, help-window-setup)
15828 (with-help-window): Major rewrite based on new
15829 display-buffer-window variable.
15830
15831 * help-mode.el (help-mode-finish): Remove help-window related
15832 code.
15833
15834 * view.el (view-exits-all-viewing-windows): Remove reference to
15835 view-return-to-alist in doc-string.
15836 (view-return-to-alist): Make obsolete.
15837 (view-buffer): Call pop-to-buffer-same-window and remove
15838 undo-window code.
15839 (view-buffer-other-window): Call pop-to-buffer-other-window and
15840 simplify code. Ignore second argument.
15841 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15842 simplify code. Ignore second argument.
15843 (view-return-to-alist-update): Make obsolete.
15844 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15845 Rewrite using quit-restore window parameters.
2b75be67
SM
15846 (view-mode-exit): Rename second argument to EXIT-ONLY.
15847 Rewrite using quit-restore-window.
357f93d2
MR
15848 (View-exit, View-exit-and-edit, View-leave, View-quit)
15849 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15850 appropriate arguments.
15851 (view-end-message): Use quit-restore window parameter.
15852
9481c002
MR
15853 * window.el (display-buffer-function): Rewrite doc-string.
15854 (display-buffer-window, display-buffer-alist): New variables.
15855 (display-buffer-split-specifiers)
15856 (display-buffer-side-specifiers)
15857 (display-buffer-macro-specifiers): New constants.
15858 (display-buffer-even-window-sizes, display-buffer-set-height)
15859 (display-buffer-set-width, display-buffer-select-window)
15860 (display-buffer-in-window, display-buffer-reuse-window)
15861 (display-buffer-split-window-1, display-buffer-split-window)
15862 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15863 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15864 (display-buffer-in-side-window, normalize-buffer-to-display)
15865 (display-buffer-normalize-specifiers-1)
15866 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15867 (display-buffer-normalize-specifiers, display-buffer-frame):
15868 New functions.
9481c002
MR
15869 (display-buffer): Major rewrite.
15870 (display-buffer-other-window, display-buffer-other-frame)
15871 (pop-to-buffer, switch-to-buffer-other-window)
15872 (switch-to-buffer-other-frame): Rewrite.
15873 (display-buffer-same-window, display-buffer-same-frame)
15874 (display-buffer-same-frame-other-window)
15875 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15876 (pop-to-buffer-other-window)
15877 (pop-to-buffer-same-frame-other-window)
15878 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15879 (switch-to-buffer-other-window-same-frame): New functions.
15880 (same-window-p, special-display-p): Rewrite disabling warnings.
15881 Make obsolete.
15882 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15883 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15884 Make obsolete
15885 (same-window-buffer-names, same-window-regexps)
15886 (special-display-frame-alist, special-display-popup-frame)
15887 (special-display-function, special-display-buffer-names)
15888 (special-display-regexps, pop-up-frame-alist)
15889 (pop-up-frame-function, split-window-preferred-function)
15890 (split-height-threshold, split-width-threshold)
15891 (even-window-heights): Make obsolete.
15892
9db51aca
GM
158932011-06-12 Glenn Morris <rgm@gnu.org>
15894
15895 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15896 Misc simplifications.
9db51aca 15897
39cffb44
MR
158982011-06-12 Martin Rudalics <rudalics@gmx.at>
15899
15900 * window.el (window-safely-shrinkable-p): Restore function which
15901 was inadvertently removed in change from 2011-06-11. Declare as
15902 obsolete.
15903
2b75be67
SM
15904 * calendar/calendar.el (calendar-generate-window):
15905 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15906 window-safely-shrinkable-p.
15907
a8955be7
GM
159082011-06-12 Glenn Morris <rgm@gnu.org>
15909
15910 * progmodes/fortran.el (fortran-mode-syntax-table):
15911 * progmodes/f90.el (f90-mode-syntax-table):
15912 Set % to punctuation. (Bug#8820)
15913 (f90-find-tag-default): Remove, no longer needed.
15914
f0d4059d
DC
159152011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15916
15917 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15918
1100a63c
CY
159192011-06-11 Chong Yidong <cyd@stupidchicken.com>
15920
15921 * image.el (image-animated-p): Return animation delay in seconds.
15922 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15923 (image-animate-timeout): Remove DELAY argument. Don't assume
15924 every subimage has the same delay; get it from image-animated-p.
15925 (image-animate): Caller changed.
15926
def722bf
MA
159272011-06-11 Michael Albinus <michael.albinus@gmx.de>
15928
15929 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15930 to ignored backtrace functions.
15931
0a2bb1a9
GM
159322011-06-11 Glenn Morris <rgm@gnu.org>
15933
15934 * calendar/appt.el (appt-disp-window-function): Doc fix.
15935 (appt-check): Handle overlapping appointments. (Bug#8337)
15936
6198ccd0
MR
159372011-06-11 Martin Rudalics <rudalics@gmx.at>
15938
15939 * window.el (window-tree-1, window-tree): New functions, moving
15940 the latter to window.el.
15941 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15942 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15943 (bw-refresh-edges): Remove.
15944 (balance-windows-1, balance-windows-2): New functions.
15945 (balance-windows): Rewrite in terms of window tree functions,
15946 balance-windows-1 and balance-windows-2.
15947 (bw-adjust-window): Remove.
15948 (balance-windows-area-adjust): New function with functionality of
15949 bw-adjust-window but using resize-window.
2b75be67
SM
15950 (set-window-text-height): Rewrite doc-string.
15951 Use normalize-live-window and resize-window.
15952 (enlarge-window-horizontally, shrink-window-horizontally):
15953 Rename argument to DELTA.
6198ccd0
MR
15954 (window-buffer-height): New function.
15955 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15956 Rewrite using new window resize routines.
2b75be67
SM
15957 (kill-buffer-and-window, mouse-autoselect-window-select):
15958 Use ignore-errors instead of condition-case.
6198ccd0
MR
15959 (quit-window): Call delete-frame instead of delete-windows-on
15960 for the only buffer on frame.
15961
9397e56f
MR
159622011-06-10 Martin Rudalics <rudalics@gmx.at>
15963
15964 * loadup.el (top-level): Load window before files for the sake
15965 of replace-buffer-in-windows.
15966
15967 * files.el (read-buffer-to-switch)
15968 (switch-to-buffer-other-window)
2b75be67
SM
15969 (switch-to-buffer-other-frame, display-buffer-other-frame):
15970 Move to window.el.
9397e56f
MR
15971
15972 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15973 (previous-buffer): Move to window.el.
15974
15975 * bindings.el (unbury-buffer): Move to window.el.
15976
15977 * window.el (delete-other-windows-vertically): Move after
15978 definition of delete-other-windows.
15979 (other-window, delete-windows-on, replace-buffer-in-windows):
15980 Move here from window.c.
15981 (record-window-buffer, unrecord-window-buffer)
15982 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15983 (switch-to-next-buffer): New functions.
15984 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15985 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15986 (previous-buffer): Move here from simple.el.
15987 Call switch-to-prev-buffer.
9397e56f
MR
15988 (bury-buffer): Move here from buffer.c. Switch to previous
15989 buffer when window cannot be deleted.
15990 (unbury-buffer): Move here from bindings.el.
15991 (ctl-x-map): Move binding for other-window from window.c to
15992 here.
15993 (read-buffer-to-switch, switch-to-buffer-other-window)
15994 (switch-to-buffer-other-frame): Move here from files.el.
15995 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15996 (switch-to-buffer): Move here from buffer.c.
15997 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15998
562dd5e9
MR
159992011-06-10 Martin Rudalics <rudalics@gmx.at>
16000
16001 * window.el (window-min-height, window-min-width): Move here
16002 from window.c. Add defcustoms and rewrite doc-strings.
16003 (resize-mini-window, resize-window): New functions.
16004 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16005 Move here from window.c.
16006 (maximize-window, minimize-window): New functions.
16007 (delete-window, delete-other-windows, split-window): Move here
16008 from window.c.
16009 (window-split-min-size): New function.
16010 (split-window-keep-point): Mention split-window-above-each-other
16011 instead of split-window-vertically.
2b75be67 16012 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16013 Rename split-window-vertically to split-window-above-each-other
16014 and provide defalias for old definition.
16015 (split-window-side-by-side, split-window-horizontally):
16016 Rename split-window-horizontally to split-window-side-by-side
16017 and provide defalias for the old definition.
562dd5e9
MR
16018 (ctl-x-map): Move bindings for delete-window,
16019 delete-other-windows and enlarge-window here from window.c.
16020 Replace bindings for split-window-vertically and
16021 split-window-horizontally by bindings for
16022 split-window-above-each-other and split-window-side-by-side.
16023
16024 * cus-start.el (all): Remove entries for window-min-height and
16025 window-min-width. Add entries for window-splits and
16026 window-nest.
16027
f0da764a
GM
160282011-06-09 Glenn Morris <rgm@gnu.org>
16029
80675c21
GM
16030 * calendar/appt.el (appt-mode-line): New function.
16031 (appt-check, appt-disp-window): Use it.
16032
f0da764a
GM
16033 * files.el (hack-one-local-variable-eval-safep):
16034 Allow minor-modes with explicit +/-1 arguments.
16035
59f623b7
TZ
160362011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16037
16038 * term/xterm.el (xterm): Add defgroup.
16039 (xterm-extra-capabilities): Add defcustom to supply known xterm
16040 capabilities, skip querying them, or query them (default).
16041 (terminal-init-xterm): Use it.
16042 (terminal-init-xterm-modify-other-keys): New function to set up
16043 modifyOtherKeys support to simplify `terminal-init-xterm'.
16044
9aab8e0d
MR
160452011-06-09 Martin Rudalics <rudalics@gmx.at>
16046
16047 * window.el (resize-window-reset, resize-window-reset-1)
16048 (resize-subwindows-skip-p, resize-subwindows-normal)
16049 (resize-subwindows, resize-other-windows, resize-this-window)
16050 (resize-root-window, resize-root-window-vertically)
16051 (window-deletable-p, window-or-subwindow-p)
16052 (frame-root-window-p): New functions.
16053
e8b08aee
GM
160542011-06-09 Glenn Morris <rgm@gnu.org>
16055
16056 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16057 (ange-ftp-get-files): Use it.
16058
254c37a5
AK
160592011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16060
16061 * mail/sendmail.el (mail-recover-1, mail-recover):
16062 * files.el (recover-file, recover-session):
16063 Handle dired-listing-switches not being just a single short option.
16064
35d7dbd3
GM
160652011-06-09 Glenn Morris <rgm@gnu.org>
16066
16067 * calendar/appt.el (appt-display-message, appt-disp-window):
16068 Handle lists of appointments.
16069
387522b2
MR
160702011-06-08 Martin Rudalics <rudalics@gmx.at>
16071
2b75be67
SM
16072 * window.el (one-window-p): Move down in code.
16073 Rewrite doc-string.
16074 (window-current-scroll-bars): Rewrite doc-string.
16075 Normalize live window argument.
387522b2
MR
16076 (walk-windows, get-window-with-predicate, count-windows):
16077 Rewrite doc-string. Use window-list-1.
16078 (window-in-direction-2, window-in-direction, get-mru-window):
16079 New functions.
16080
d8e4b68b 160812011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16082
16083 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16084 Doc fix (Bug#8713).
16085
160862011-06-08 Chong Yidong <cyd@stupidchicken.com>
16087
16088 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16089
160902011-06-08 Juanma Barranquero <lekktu@gmail.com>
16091
16092 * loadhist.el (unload-feature-special-hooks):
16093 Add `comint-output-filter-functions'.
16094
0de12c52
IK
160952011-06-08 Ivan Kanis <gnu@kanis.fr>
16096
16097 * calendar/appt.el (appt-check): Move some initializations into the let.
16098
f3d1777e
MR
160992011-06-08 Martin Rudalics <rudalics@gmx.at>
16100
16101 * window.el (window-height): Defalias to window-total-height.
16102 (window-width): Defalias to window-body-width.
16103
18af70d0
CY
161042011-06-07 Chong Yidong <cyd@stupidchicken.com>
16105
16106 * image-mode.el (image-toggle-animation): New command.
16107 (image-mode-map): Bind it to RET.
16108 (image-mode): Update message.
16109 (image-toggle-display-image): Avoid a spurious cache flush.
16110 (image-transform-rotation): Doc fix.
16111 (image-transform-properties): Return quickly in the normal case.
16112 (image-animate-loop): Rename from image-animate-max-time.
16113
2b75be67 16114 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16115 (create-animated-image): Remove unnecessary function.
16116 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16117 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16118 (image-animate-timer): Use car-safe.
16119 (image-animate-timeout): Rename argument.
16120
190b47e6
MR
161212011-06-07 Martin Rudalics <rudalics@gmx.at>
16122
16123 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16124 window.c. Rename first argument to ALL-FRAMES.
16125 Rephrase doc-strings.
16126 (get-buffer-window-list): Rewrite using window-list-1.
16127 Rephrase doc-string.
a1511caf
MR
16128 (window-safe-min-height, window-safe-min-width): New constants.
16129 (window-size-ignore, window-min-size, window-min-size-1)
16130 (window-sizable, window-sizable-p, window-size-fixed-1)
16131 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16132 (window-max-delta-1, window-max-delta, window-resizable)
16133 (window-resizable-p, window-total-height, window-total-width)
16134 (window-body-width): New functions.
16135 (window-full-height-p, window-full-width-p): Rewrite using
16136 window-total-size.
16137 (window-body-height): Rewrite using window-body-size.
190b47e6 16138
85cc1f11
MR
161392011-06-06 Martin Rudalics <rudalics@gmx.at>
16140
16141 * window.el (window-right, window-left, window-child)
16142 (window-child-count, window-last-child, window-any-p)
16143 (normalize-live-buffer, normalize-live-frame)
16144 (normalize-any-window, normalize-live-window)
16145 (window-iso-combination-p, window-iso-combined-p)
16146 (window-iso-combinations)
16147 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16148 (windows-with-parameter, window-with-parameter)
16149 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16150 (window-atom-check, window-side-check, window-check):
16151 New functions.
85cc1f11
MR
16152 (ignore-window-parameters, window-sides, window-sides-vertical)
16153 (window-sides-slots): New variables.
16154 (window-size-fixed): Move down in code. Minor doc-string fix.
16155
e7156492
AS
161562011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16157
16158 * comint.el (comint-dynamic-complete-as-filename)
16159 (comint-dynamic-complete-filename): Correctly call
16160 completion-in-region.
16161
7e821d0d
DD
161622011-06-05 Deniz Dogan <deniz@dogan.se>
16163
16164 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16165 in last change.
16166
ac09b8a1
DD
161672011-06-05 Deniz Dogan <deniz@dogan.se>
16168
16169 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16170 (rcirc): Use it to prompt for encryption.
16171
34699b85
RW
161722011-06-05 Roland Winkler <winkler@gnu.org>
16173
16174 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16175 (bibtex-search-entries): New command bound to C-c C-a.
16176 (bibtex-display-entries): New function.
16177
004dedd3
RW
161782011-06-05 Roland Winkler <winkler@gnu.org>
16179
16180 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16181 (bibtex-insert-kill): After yanking insert newline if necessary.
16182 (bibtex-initialize): Call bibtex-string-files-init only once.
16183 (bibtex-mode): Do not call easy-menu-add.
16184 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16185 (bibtex-yank): Set arg properly if nil.
16186
022fe7ce
RW
161872011-06-05 Roland Winkler <winkler@gnu.org>
16188
2b75be67
SM
16189 * textmodes/bibtex.el (bibtex-search-entry-globally):
16190 New variable.
022fe7ce
RW
16191 (bibtex-search-entry): Use it.
16192
b7c3692a
RW
161932011-06-05 Roland Winkler <winkler@gnu.org>
16194
16195 * textmodes/bibtex.el (bibtex-entry-format): New option
16196 sort-fields.
16197 (bibtex-format-entry, bibtex-reformat): Honor this option.
16198 (bibtex-parse-entry): Return fields in proper order.
16199
8eda563d
JB
162002011-06-05 Juanma Barranquero <lekktu@gmail.com>
16201
16202 * doc-view.el (doc-view-remove-if): Move computation of result out
16203 of `dolist' to silence misleading lexical-binding warning.
16204
7dbe3dbc
CY
162052011-06-04 Chong Yidong <cyd@stupidchicken.com>
16206
16207 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16208 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16209
0c33dd17
MA
162102011-06-04 Michael Albinus <michael.albinus@gmx.de>
16211
16212 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16213 "SunOS 5.10".
16214
f8f91c2b
MA
162152011-06-04 Michael Albinus <michael.albinus@gmx.de>
16216
16217 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16218 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16219 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16220 (tramp-parse-putty):
16221 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16222 (tramp-completion-function-alist-ssh)
16223 (tramp-completion-function-alist-telnet)
16224 (tramp-completion-function-alist-su)
16225 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16226 cookie.
16227
16228 * net/tramp-ftp.el:
16229 * net/tramp-sh.el:
16230 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16231 load "tramp.el" `tramp-set-completion-function'.
16232
e17d9003
SM
162332011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16234
16235 * shell.el: Require and use pcomplete.
16236 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16237 (shell-completion-vars): Set pcomplete-default-completion-function.
16238
6c4cab03
DD
162392011-06-04 Deniz Dogan <deniz@dogan.se>
16240
16241 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16242 `memq' (Bug#8799).
16243
ea9fafe0
SM
162442011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16245
16246 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16247
b3e945d3
JB
162482011-06-02 Juanma Barranquero <lekktu@gmail.com>
16249
16250 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16251 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16252 * vc/log-view.el (log-view-beginning-of-defun):
16253 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16254 (smerge-refine-forward, smerge-refine-chopup-region):
16255 Silence warning for unused `dotimes' counter variables.
16256
7d520089
SM
162572011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 * net/tramp.el (tramp-with-progress-reporter): Rename from
16260 with-progress-reporter. Use `declare'.
16261 * net/tramp-smb.el:
16262 * net/tramp-sh.el:
16263 * net/tramp-gvfs.el: Update all uses.
16264
a1c2400f
JB
162652011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16266
16267 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16268 buffer isn't killed before making it current.
16269
2403c841
SM
162702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16271
16272 Silence various byte-compiler warnings.
16273 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16274 `access-type' and new obsolescence format.
16275 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16276 new format.
16277 (byte-compile-check-variable): New `access-type' argument.
16278 Only warn if the access-type is obsolete.
16279 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16280 (byte-compile-variable-set): Adjust callers.
16281 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16282 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16283 setting it as obsolete.
16284 * simple.el (minibuffer-completing-symbol):
16285 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16286 access as obsolete.
16287 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16288 obsolete yet.
16289 * international/quail.el (quail-mouse-choose-completion): Remove unused
16290 code referring to obsolete var.
16291 (quail-choose-completion-string): Remove.
16292 * server.el (server-clients-with, server-kill-buffer-query-function)
16293 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16294 * proced.el (proced-send-signal):
16295 * emacs-lisp/lisp.el (lisp-complete-symbol):
16296 Replace completion-annotate-function with completion-extra-properties.
16297
2462470b
SM
162982011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16299
fb5b2591
SM
16300 * simple.el (goto-line): Use read-number.
16301 (overriding-map-is-bound): Remove.
16302 (saved-overriding-map): Change default.
16303 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16304 Take the map as argument.
16305 (universal-argument, negative-argument, digit-argument): Use it.
16306 (restore-overriding-map): Adjust.
16307 (do-auto-fill): Use fill-forward-paragraph.
16308 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16309
fd6fa53f
SM
16310 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16311 (minibuffer-inactive-mode): New major mode.
16312 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16313 the *Messages* buffer" hack.
16314 (mouse-popup-menubar): Don't burp if the event is a normal key.
16315
2462470b
SM
16316 Miscellaneous tweaks.
16317 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16318 lexical scoping as in subr.el's dolist and dotimes.
16319 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16320 Silence compiler warning.
16321 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16322 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16323 * international/ccl.el (ccl-compile): Trivial simplification.
16324 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16325 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16326 `printflag' argument.
16327 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16328 Purecopy the whole obsolescence data.
16329
108bf785
LL
163302011-06-01 Leo Liu <sdl.web@gmail.com>
16331
16332 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16333 improve doc-string as suggested by Marco Pessotto
16334 <melmothx@gmail.com>.
16335 (rcirc-print): Fix last change.
16336
30a23501
SM
163372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16338
16339 * minibuffer.el (complete-with-action): Return nil for the metadata and
16340 boundaries of non-functional tables.
16341 (completion-table-dynamic): Return nil for the metadata.
16342 (completion-table-with-terminator): Add default case, using
16343 complete-with-action.
16344 (completion--metadata): New function.
16345 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16346 to try and avoid pathological performance problems.
16347 (completion--embedded-envvar-table): Return `category' metadata.
16348
bcd54f83
LMI
163492011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16350
16351 * subr.el (process-alive-p): New tiny convenience function.
16352
e227544d
SM
163532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16354
16355 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16356 content but also its previous major mode.
16357
e8296fdc
HE
163582011-05-31 Helmut Eller <eller.helmut@gmail.com>
16359
4d61f28d 16360 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16361 *Backtrace* buffer when we exit with C-M-c.
16362
620c53a6
SM
163632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16364
16365 * minibuffer.el: Add metadata method to completion tables.
16366 (completion-category-overrides): New defcustom.
16367 (completion-metadata, completion--field-metadata)
16368 (completion-metadata-get, completion--styles)
16369 (completion--cycle-threshold): New functions.
16370 (completion-try-completion, completion-all-completions):
16371 Add `metadata' argument to choose completion-styles.
16372 (completion--do-completion): Use metadata to choose cycling.
16373 (completion-all-sorted-completions): Use metadata for sorting.
16374 Remove :completion-cycle-penalty which is not needed any more.
16375 (completion--try-word-completion): Add `metadata' argument.
16376 (minibuffer-completion-help): Check metadata for annotation function
16377 and sorting.
16378 (completion-file-name-table): Return `category' metadata.
16379 (minibuffer-completing-file-name): Make obsolete.
16380 * simple.el (minibuffer-completing-symbol): Make obsolete.
16381 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16382 completion-try-completion.
16383
1257e755
SM
163842011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16385
16386 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16387
3767e706
LL
163882011-05-30 Leo Liu <sdl.web@gmail.com>
16389
16390 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16391 (rcirc-print): Decode all incoming messages (bug#8744).
16392 (rcirc-decode-coding-system): Allow value nil for automatic coding
16393 system detection.
3767e706 16394
d1a5d56a
GM
163952011-06-01 Glenn Morris <rgm@gnu.org>
16396
16397 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16398
e8cbec34
CY
163992011-05-29 Chong Yidong <cyd@stupidchicken.com>
16400
16401 * image.el (image-animate-max-time): Allow nil and t values.
16402 Default to nil.
16403 (create-animated-image): Doc fix.
16404 (image-animate-start): Remove second arg; just use
16405 image-animate-max-time.
16406 (image-animate-timeout): Doc fix. Args changed.
16407
16408 * image-mode.el (image-toggle-display-image): Ensure that the
16409 image spec passed to the animate timer is the same object as in
58179cce 16410 the buffer's display property (Bug#6981).
e8cbec34
CY
16411 (image-transform-properties): Doc fix.
16412
16413 * image.el (image-animate-max-time): Default to nil.
16414
159daf87
MR
164152011-05-29 Martin Rudalics <rudalics@gmx.at>
16416
16417 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16418 entire buffer list (Bug#8184).
16419
d66c4c7c
CY
164202011-05-29 Chong Yidong <cyd@stupidchicken.com>
16421
16422 * image.el (imagemagick-types-inhibit)
16423 (imagemagick-register-types): Doc fix.
16424
80aec780
DD
164252011-05-29 Deniz Dogan <deniz@dogan.se>
16426
16427 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16428 default.
16429
1dd3c2d9
CY
164302011-05-29 Chong Yidong <cyd@stupidchicken.com>
16431
16432 * select.el: Don't perform clipboard-manager saving in hooks;
16433 leave the hooks empty.
16434
60e56523
LL
164352011-05-28 Leo Liu <sdl.web@gmail.com>
16436
16437 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16438 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16439 (occur-edit-mode): New major mode (Bug#8463).
16440 (occur-after-change-function): New function.
16441 (occur-engine): Give Occur tags a read-only property.
16442
2b1e1a22
KR
164432011-05-28 Kevin Ryde <user42@zip.com.au>
16444
16445 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16446
5d344e88
CY
164472011-05-28 Chong Yidong <cyd@stupidchicken.com>
16448
8e6ca83d
CY
16449 * bindings.el (help-echo): Make the initial non-indicator dash
16450 empty on graphical terminals (Bug#7295).
16451
5d344e88
CY
16452 * files.el (auto-mode-alist): Move config rule after the
16453 in-stripping one (Bug#8547).
16454
bfbbace7
CY
16455 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16456
fbeba6e2
CY
16457 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16458 setting (Bug#8740).
16459
60ed8c72
AA
164602011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16461
4ac619f0
AA
16462 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16463 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16464 (Bug#8539).
60ed8c72 16465
23db196e
CY
164662011-05-28 Chong Yidong <cyd@stupidchicken.com>
16467
16468 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16469
5012f24c
DK
164702011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16471
16472 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16473 (hs-hide-block-at-point, hs-find-block-beginning)
16474 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16475 (Bug#8279).
16476
6a639b16
GM
164772011-05-28 Glenn Morris <rgm@gnu.org>
16478
16479 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16480
d43eaf2c
CY
164812011-05-28 Chong Yidong <cyd@stupidchicken.com>
16482
5199bde1
CY
16483 * help-fns.el (describe-function-1): If the function is a derived
16484 major mode, print the parent mode.
16485
d43eaf2c
CY
16486 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16487 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16488
423428a8
SM
164892011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16490
0ff8e1ba 16491 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16492 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16493 * progmodes/etags.el (tags-completion-at-point-function):
16494 * info-look.el (info-lookup-completions-at-point): Mark as
16495 non-exclusive.
16496 (info-complete): Adjust accordingly.
16497
423428a8
SM
16498 * info-look.el: Convert to lexical-binding and completion-at-point.
16499 (info-lookup-completions-at-point): New function.
16500 (info-complete): Use it and completion-in-region.
16501
b74aa22b
DA
165022011-05-28 Drew Adams <drew.adams@oracle.com>
16503
16504 * isearch.el: Let M-e start with point at the first mismatched char.
16505 (isearch-fail-pos): New function.
16506 (isearch-edit-string): Use it.
16507
66e2e71d
DK
165082011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16509
16510 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16511
b1890b0f 165122011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16513
16514 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16515 traversal functions for avl-trees.
16516 (avl-tree--stack): New struct.
16517 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16518 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16519 (avl-tree--do-enter): Add optional `updatefun' arg.
16520 Change return value.
eb95d01d 16521 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16522 (avl-tree--do-delete): Add `test' and `nilflag' args.
16523 Change return value.
eb95d01d
TC
16524 (avl-tree-member): Add optional `nilflag'
16525 (avl-tree-member-p): New function.
16526 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16527 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16528 (avl-tree-stack-empty-p): New functions.
16529
3769ddcf
TC
16530 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16531 avl-tree--del-balance1 and make it work both ways.
16532 (avl-tree--del-balance2): Remove.
16533 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16534 make it work both ways.
16535 (avl-tree--enter-balance2): Remove.
16536 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16537 New macros.
16538 (avl-tree--mapc, avl-tree-map): Add direction argument.
16539
eb95d01d 165402011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16541
16542 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16543
a9f737ee
CY
165442011-05-27 Chong Yidong <cyd@stupidchicken.com>
16545
16546 * select.el: Support clipboard managers with built-in function
16547 x-clipboard-manager-save, via delete-frame-functions and
16548 kill-emacs-hook.
16549 (xselect-convert-to-targets): Add MULTIPLE target to list.
16550 (xselect-convert-to-save-targets): New function.
16551
c92a1e54
KH
165522011-05-27 Kenichi Handa <handa@m17n.org>
16553
16554 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16555 let-binding rfc2047-encode-encoded-words to nil.
16556
e145f188
GM
165572011-05-27 Glenn Morris <rgm@gnu.org>
16558
5ec8a862
GM
16559 * mail/emacsbug.el: Don't require url-util.
16560
4b29d9fb
GM
16561 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16562
e145f188
GM
16563 * files.el (set-auto-mode):
16564 Also respect mode: entries at the end of the file. (Bug#8586)
16565
7d15102b
GM
165662011-05-26 Glenn Morris <rgm@gnu.org>
16567
98f593b8
GM
16568 * files.el (hack-local-variables-prop-line, hack-local-variables):
16569 Downcase mode names, as seems to be traditional.
27b48e63 16570 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16571
7d15102b
GM
16572 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16573 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16574
51d5b4ec
JD
165752011-05-25 Julien Danjou <julien@danjou.info>
16576
16577 * textmodes/rst.el (rst-define-level-faces): Do not define face
16578 symbol if it is already defined.
16579
91513f63
VB
165802011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16581
16582 * play/5x5.el (5x5-new-game, 5x5-randomize):
16583 Reset 5x5-solver-output to nil when a new grid is cast.
16584 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16585 these debugging traces, as defmacro breaks the compiled code.
16586
4d90d6d0
DK
165872011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16588
16589 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16590
e1b90ef6
LL
165912011-05-24 Leo Liu <sdl.web@gmail.com>
16592
16593 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16594 (vc-bzr-sha1): Adapt.
16595
d8e4b68b 16596 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16597
16598 * bindings.el: Provide sha1 feature.
16599
db0406bb 166002011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16601
16602 * mail/sendmail.el: Require `rfc2047'.
16603 (mail-insert-from-field): Do not perform RFC2047 encoding.
16604 (mail-encode-header): New function.
16605 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16606 buffer to the return value of select-message-coding-system.
16607 Call mail-encode-header.
b8d747b9
KH
16608
16609 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16610
db0406bb 166112011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16612
4d90d6d0
DK
16613 * mail/supercite.el (sc-default-cite-frame):
16614 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16615
eb8a5e9b
GM
166162011-05-24 Glenn Morris <rgm@gnu.org>
16617
f8630703
GM
16618 * progmodes/python.el (brm-menu): Declare.
16619
8831bbed
GM
16620 * emulation/viper.el (viper-set-hooks): Declare.
16621
eb8a5e9b
GM
16622 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16623 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16624 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16625 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16626 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16627 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16628
a2a25d24
SM
166292011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16630
16631 Add an :exit-function for completion-at-point.
16632
16633 * minibuffer.el (completion--done): New fun.
16634 (completion--do-completion): Use it. New arg `expect-exact'.
16635 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16636 since completion--do-completion does it for us now.
16637 (minibuffer-force-complete): Use completion--done and
16638 completion--replace. Handle sole-completion case with more care.
16639 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16640 (completion-extra-properties): New var.
16641 (completion-annotate-function): Make obsolete.
16642 (minibuffer-completion-help): Adjust accordingly.
16643 Use completion-list-insert-choice-function.
16644 (completion-at-point, completion-help-at-point):
16645 Bind completion-extra-properties.
16646 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16647 * simple.el (completion-list-insert-choice-function): New var.
16648 (completion-setup-function): Preserve it.
16649 (choose-completion): Pay attention to it, shuffle the code a bit.
16650 (choose-completion-string): New arg `insert-function'.
16651
16652 * textmodes/bibtex.el: Convert to lexical binding.
16653 (bibtex-mode-map): Use completion-at-point.
16654 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16655 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16656 (bibtex-complete): Define as obsolete alias.
16657 (bibtex-complete-internal): Remove.
16658 (bibtex-format-entry): Remove unused sub-group in regexp.
16659 * shell.el (shell--command-completion-data)
16660 (shell-environment-variable-completion):
16661 * pcomplete.el (pcomplete-completions-at-point):
16662 * comint.el (comint--complete-file-name-data): Use :exit-function
16663 instead of completion-table-with-terminator so it also works for
16664 choose-completion.
16665
e44e373d
SM
166662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16667
4f91a816
SM
16668 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16669
782fc819
SM
16670 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16671 (bug#8710).
16672
e44e373d
SM
16673 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16674
381987c3
KM
166752011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16676
16677 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16678 customization variable and implement: If non-nil, auto-fill will
16679 be inhibited while on topic's header line.
16680
b776bc70
VB
166812011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16682
16683 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16684 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16685 always have a solution in grid size = 5 cases.
16686 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16687 (5x5-solver-output, 5x5-log-buffer): New vars.
16688 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16689 Make these variables buffer local to achieve 5x5 multi-session-ness.
16690 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16691 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16692 (5x5-solve-suggest): New funs.
16693 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16694 randomize a grid so that we ensure that there is always a solution.
16695 (5x5-make-random-grid): Allow other movement than flipping.
16696
7de88b6e
KR
166972011-05-23 Kevin Ryde <user42@zip.com.au>
16698
16699 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16700 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16701 advice and passes PREDICATE.
16702
b1ef1257
SM
167032011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16704
bbca48fe
SM
16705 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16706 byte-compile-lambda if it's actually a lambda.
16707
b1ef1257
SM
16708 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16709 Fix function quoting. Use backquote better.
16710
92a9cc65
YS
167112011-05-22 Yuanle Song <sylecn@gmail.com>
16712
16713 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16714 matching (Bug#8516).
16715
f0fb8059
JA
167162011-01-22 Jari Aalto <jari.aalto@cante.net>
16717
16718 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16719 different face (Bug#8178).
16720
d5b44c93
CY
167212011-05-22 Chong Yidong <cyd@stupidchicken.com>
16722
16723 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16724 defface (Bug#8144).
16725
79106a44
SM
167262011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16727
9c848d8a
SM
16728 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16729 funcall as well (bug#8712). Warn when performing those conversions.
16730 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16731
79106a44
SM
16732 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16733
88dfa756
GM
167342011-05-22 Glenn Morris <rgm@gnu.org>
16735
16736 * files.el (hack-local-variables-prop-line): Small simplifications.
16737 (hack-local-variables, hack-local-variables-prop-line):
16738 If MODE-ONLY, return the mode, rather than just `t'.
16739
b7cf2c79
SM
167402011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16741
16742 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16743
3f1a8558
GM
167442011-05-21 Glenn Morris <rgm@gnu.org>
16745
7e4ccca3
GM
16746 * files.el (hack-local-variables-prop-line, hack-local-variables):
16747 If only interested in the mode, don't bother doing the other stuff.
16748
637d46ca
GM
16749 * image-mode.el (image-after-revert-hook):
16750 Redraw all frames on which the image is visible. (Bug#8567)
16751
973d955b
GM
16752 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16753
3f1a8558
GM
16754 * wid-edit.el (widget-checklist-match-inline):
16755 Fix 2011-04-19 change. (Bug#8649)
16756
96479927
SM
167572011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16758
1dcf791f
SM
16759 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16760 Also allow singlespace after single-letter capitals followed by a dot.
16761
96479927
SM
16762 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16763 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16764
35fd0881
N
167652011-05-20 Nix <nix@esperi.org.uk>
16766
16767 * files.el (basic-save-buffer-2):
16768 Fix handling of break-hardlink-on-save with non-existent files.
16769
82745640
DD
167702011-05-19 Deniz Dogan <deniz@dogan.se>
16771
16772 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16773 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16774
4a720484
GM
167752011-05-19 Glenn Morris <rgm@gnu.org>
16776
d1f21341
GM
16777 * progmodes/f90.el (f90-type-def-re):
16778 Handle "type, bind(c)". (Bug#8691)
16779
4a720484
GM
16780 * emacs-lisp/autoload.el (batch-update-autoloads):
16781 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16782
2fb0a219
MA
167832011-05-18 Michael Albinus <michael.albinus@gmx.de>
16784
16785 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16786 property for the correct connection in case of multihops.
16787
e565dd37
GM
167882011-05-18 Glenn Morris <rgm@gnu.org>
16789
c2571358 16790 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16791 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16792
e565dd37
GM
16793 Rationalize calendar handling of day and month abbrev-arrays.
16794 * calendar/calendar.el (calendar-customized-p): New function.
16795 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16796 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16797 Add :set function.
16798 (calendar-abbrev-length, calendar-day-abbrev-array)
16799 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16800 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16801 Elements may no longer be nil.
16802 (calendar-day-name, calendar-month-name):
16803 Update for changed nature of abbrev arrays.
16804 * calendar/diary-lib.el (diary-name-pattern):
16805 Update for changed nature of abbrev arrays.
16806 (diary-mark-entries-1): Update calendar-make-alist calls.
16807 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16808 * calendar/cal-html.el (cal-html-day-abbrev-array):
16809 Simply inherit from calendar-day-abbrev-array.
16810
1d99a745
SM
168112011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16812
16813 * progmodes/grep.el (grep-mode): Disable default
16814 compilation-directory-matcher setting (bug#8684).
16815
7c1d9aa0
MA
168162011-05-17 Michael Albinus <michael.albinus@gmx.de>
16817
16818 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16819 instead of "head" and "tail". There were problems with SunOS 5.9,
16820 and it performs better.
16821
3952e9d8
GM
168222011-05-17 Glenn Morris <rgm@gnu.org>
16823
2dd12e7f
GM
16824 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16825
e4157b9c
GM
16826 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16827 Replace obsolete function.
16828
8e249bbd
GM
16829 * shell.el (pcomplete-parse-arguments-function): Declare.
16830
3952e9d8
GM
16831 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16832 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16833 (appt-check): Doc fixes.
16834 (appt-disp-window-function, appt-delete-window-function):
16835 Remove needless special case in custom :type.
16836 (appt-display-count): Default to 0, not nil.
16837 (appt-check): Reset appt-display-count to 0, not nil.
16838
c71a0d48 168392011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16840
c71a0d48
GM
16841 * progmodes/python.el (python-font-lock-keywords):
16842 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16843
31d55be9
SM
168442011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16845
16846 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16847
3bfacb2f
KR
168482011-05-16 Kevin Ryde <user42@zip.com.au>
16849
16850 * info-look.el (makefile-automake-mode): New setups, looking in
16851 automake manual, then makefile-mode.
16852 (makefile-mode): Remove automake manual, have it just in
16853 makefile-automake-mode since there's various things different or
16854 not relevant to plain make.
16855 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16856 believe a hypothetical automake-mode would go to makefile-mode,
16857 not the other way around.
16858
c8e83751
CY
168592011-05-15 Chong Yidong <cyd@stupidchicken.com>
16860
5e9e35cd
CY
16861 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16862 hunk-end tags (Bug#8672).
16863
c8e83751
CY
16864 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16865 vc-annotate-show-diff-revision-at-line (Bug#8671).
16866
50b23e5a
GM
168672011-05-14 Glenn Morris <rgm@gnu.org>
16868
7210a739
GM
16869 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16870 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16871 (change-log-font-lock-keywords): Also handle multiple author lines
16872 with leading tabs. (Bug#8644)
7210a739 16873
4691905a
GM
16874 * calendar/appt.el (appt-check): Rename some local variables.
16875 Some simplification/reordering.
16876
50b23e5a
GM
16877 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16878 (feedmail-sendmail-f-doesnt-sell-me-out)
16879 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16880 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16881 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16882 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16883 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16884 (feedmail-binmail-gnulinuxish-template):
16885 Rename from feedmail-binmail-linuxish-template.
16886 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16887 Use insert-buffer-substring.
16888
215cda7c
BC
168892011-05-14 Bill Carpenter <bill@carpenter.org>
16890
16891 * mail/feedmail.el (feedmail-patch-level): Increase.
16892 (feedmail-debug): New custom group.
16893 (feedmail-confirm-outgoing-timeout)
16894 (feedmail-sendmail-f-doesnt-sell-me-out)
16895 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16896 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16897 (feedmail-sender-line, feedmail-from-line)
16898 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16899 (feedmail-spray-this-address)
215cda7c
BC
16900 (feedmail-spray-address-fiddle-plex-list)
16901 (feedmail-queue-use-send-time-for-date)
16902 (feedmail-queue-use-send-time-for-message-id)
16903 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16904 (feedmail-buffer-eating-function):
16905 Doc fixes.
16906 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16907 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16908 (feedmail-message-action-scroll-down): New functions.
16909 (feedmail-queue-directory, feedmail-queue-draft-directory):
16910 Use expand-file-name.
16911 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16912 Remove C-v help entry.
16913 (feedmail-queue-buffer-file-name): New variable.
16914 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16915 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16916 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16917 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16918 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16919 (feedmail-message-action-toggle-spray)
16920 (feedmail-run-the-queue-no-prompts)
16921 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16922 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16923 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16924 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16925 (feedmail-envelope-deducer, feedmail-fiddle-from)
16926 (feedmail-fiddle-sender, feedmail-default-date-generator)
16927 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16928 (feedmail-fiddle-spray-address)
16929 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16930 (feedmail-fiddle-list-of-fiddle-plexes)
16931 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16932 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16933 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16934 Change default. Doc fix.
16935 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16936 (feedmail-binmail-linuxish-template): New constant.
16937 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16938 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16939 (feedmail-send-it): Add debug call.
16940 Use feedmail-queue-buffer-file-name, and
16941 feedmail-send-it-immediately-wrapper.
16942 (feedmail-message-action-send): Add debug call.
16943 Use feedmail-send-it-immediately-wrapper.
16944 (feedmail-queue-express-to-queue): Add debug call.
16945 Run feedmail-queue-express-hook.
16946 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16947 (feedmail-message-action-help-blat):
16948 Rename from feedmail-queue-send-edit-prompt-help-first.
16949 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16950 Check line-endings. Handle errors better.
16951 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16952 Doc fix. Add debug call.
16953 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16954 Use feedmail-queue-send-edit-prompt-inner.
16955 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16956 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16957 from feedmail-queue-send-edit-prompt.
16958 (feedmail-queue-send-edit-prompt-help)
16959 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16960 (feedmail-tidy-up-slug): Add debug call.
16961 Respect feedmail-queue-slug-suspect-regexp.
16962 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16963 (feedmail-dump-message-to-queue): Add debug call.
16964 Expand queue-directory.
16965 (feedmail-dump-message-to-queue): Change message slightly.
16966 Use feedmail-say-chatter.
16967 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16968 (feedmail-send-it-immediately-wrapper): New function.
16969 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16970 Insert empty string rather than newline. Handle full-frame case.
16971 Use catch/throw. Use feedmail-say-chatter.
16972 (feedmail-fiddle-from): Try mail-host-address.
16973 (feedmail-default-message-id-generator): Doc fix.
16974 Bind system-time-locale. Handle missing end.
16975 (feedmail-fiddle-x-mailer): Add debug call.
16976 Handle feedmail-x-mailer-line being nil.
16977 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16978 Add debug call. Use buffer-substring-no-properties.
16979 (feedmail-say-debug, feedmail-say-chatter): New functions.
16980 (feedmail-find-eoh): Give an explicit error.
16981
42c7e61e
UJ
169822011-05-13 Ulf Jasper <ulf.jasper@web.de>
16983
c2571358 16984 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16985 family from helvetica to sans.
c2571358 16986 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16987 etc/images/newsticker.
16988
c2571358 16989 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16990 family from helvetica to sans.
16991
16992 * net/newst-plainview.el (newsticker-new-item-face)
16993 (newsticker-old-item-face, newsticker-immortal-item-face)
16994 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16995 (newsticker-statistics-face): Change default family from
42c7e61e 16996 helvetica to sans.
c2571358 16997 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16998 etc/images/newsticker.
16999
5d3385a0
JB
17000 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17001 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17002 auto-marking.
17003
8497a297
DV
170042011-05-13 Didier Verna <didier@xemacs.org>
17005
17006 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17007 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17008 TODO entries.
8497a297
DV
17009 (lisp-lambda-list-keyword-parameter-indentation)
17010 (lisp-lambda-list-keyword-parameter-alignment)
17011 (lisp-lambda-list-keyword-alignment): New customizable user options.
17012 (lisp-indent-defun-method): Improve docstring.
17013 (extended-loop-p): Fix comment.
17014 (lisp-indent-lambda-list-keywords-regexp): New variable.
17015 (lisp-indent-lambda-list): New function.
17016 (lisp-indent-259): Use it.
17017 (lisp-indent-defmethod): Support for more than one
17018 method qualifier and properly indent methods lambda-lists.
17019 (defgeneric): Provide a missing common-lisp-indent-function property.
17020
f278f87f
SM
170212011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17022
17023 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17024 bounds for the empty string (bug#8667).
17025
5233edd7
GM
170262011-05-13 Glenn Morris <rgm@gnu.org>
17027
5237a44f
GM
17028 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17029
8340026c 17030 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17031 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17032
5233edd7 17033 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17034 (appt-time-msg-list): Doc fix.
a5464014 17035 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17036
92d10796
AS
170372011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17038
17039 * progmodes/ld-script.el (ld-script-keywords)
17040 (ld-script-builtins): Update keywords list.
17041
914a0ae1
SM
170422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17043
c89be45f
SM
17044 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17045
914a0ae1
SM
17046 * shell.el (shell-completion-vars): New function.
17047 (shell-mode):
17048 * simple.el (read-shell-command): Use it.
17049 (blink-matching-open): No need for " [...]" in minibuffer-message.
17050
98dc3df3
GM
170512011-05-12 Glenn Morris <rgm@gnu.org>
17052
17053 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17054 (appt-check): Simplify.
17055
d2fc7e3d 170562011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17057
4d61f28d 17058 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17059 literal "/dev/null".
17060
d2fc7e3d 170612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17062
17063 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17064 Fix typo.
17065
d2fc7e3d 170662011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17067
3f254caa
SM
17068 * progmodes/which-func.el (which-function):
17069 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17070 which might not be defined (Bug#8260).
17071
d45885f7
GM
170722011-05-12 Glenn Morris <rgm@gnu.org>
17073
17074 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17075 Let byte-compile-initial-macro-environment always take precedence.
17076
488086f4
SM
170772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17078
17079 * net/rcirc.el: Add support for SSL/TLS connections.
17080 (rcirc-server-alist): New field `encryption'.
17081 (rcirc): Check `encryption' settings.
17082 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17083 Merge make-local-variable into `set'.
17084 (rcirc--connection-open-p): New function.
17085 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17086 the process is not a network process (e.g. running gnutls-cli).
17087 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17088 Make rcirc-(en|de)code-coding-system local here.
17089 (rcirc-mode): Merge make-local-variable into `set'.
17090 (rcirc-parent-buffer): Make permanent buffer-local.
17091 (rcirc-multiline-minor-mode): Don't do it here.
17092 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17093 there's no server buffer.
17094
7d3b9d44
GM
170952011-05-11 Glenn Morris <rgm@gnu.org>
17096
f64049c6
GM
17097 * newcomment.el (comment-kill): Prefix "unused" local.
17098
93c9df73
GM
17099 * term/w32console.el (get-screen-color): Declare.
17100
7d3b9d44
GM
17101 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17102 Handle symbol elements of byte-compile-initial-macro-environment.
17103
9e2dd53f
LL
171042011-05-10 Leo Liu <sdl.web@gmail.com>
17105
488086f4
SM
17106 * bookmark.el (bookmark-bmenu-mode-map):
17107 Bind bookmark-bmenu-search to `/'.
8b340240 17108
9e2dd53f 17109 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17110 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17111 (Footnote-unicode): New function.
17112 (footnote-style-alist): Add unicode style to the list.
17113 (footnote-style): Doc fix.
9e2dd53f 17114
79b70037
GM
171152011-05-10 Jim Meyering <meyering@redhat.com>
17116
17117 Fix doubled-word typos.
17118 * international/quail.el (quail-insert-kbd-layout): and and -> and
17119 * kermit.el: and and -> and
17120 * net/ldap.el (ldap-search-internal): to to -> to
17121 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17122 * progmodes/js.el (js-mode): and and -> and
17123 * textmodes/artist.el (artist-move-to-xy): at at -> at
17124 (artist-draw-region-trim-line-endings): if if -> if
17125 And Safetyc -> Safety.
17126 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17127
b8f82dc1 171282011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17129 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17130
17131 * files.el (hack-one-local-variable-eval-safep):
17132 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17133
4f99f44b
GM
171342011-05-10 Glenn Morris <rgm@gnu.org>
17135
17136 * calendar/diary-lib.el (diary-list-entries-hook)
17137 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17138 (diary-nongregorian-marking-hook, diary-list-entries)
17139 (diary-include-other-diary-files, diary-mark-entries)
17140 (diary-mark-included-diary-files): Doc fixes.
17141
84f29e6b
JB
171422011-05-09 Juanma Barranquero <lekktu@gmail.com>
17143
17144 * misc.el: Require tabulated-list.el during compilation.
17145
9bedd73a
CY
171462011-05-09 Chong Yidong <cyd@stupidchicken.com>
17147
488086f4
SM
17148 * progmodes/compile.el (compilation-start):
17149 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17150 (compilation-filter-hook): Doc fix.
17151
797c735c
DD
171522011-05-09 Deniz Dogan <deniz@dogan.se>
17153
17154 * wdired.el: Remove outdated installation comment. Fix usage
17155 comment.
17156
5f4b1dfe
JB
171572011-05-09 Juanma Barranquero <lekktu@gmail.com>
17158
17159 * misc.el: Implement new command `list-dynamic-libraries'.
17160 (list-dynamic-libraries--loaded-only-p): New variable.
17161 (list-dynamic-libraries--refresh): New function.
17162 (list-dynamic-libraries): New command.
17163
4c44026c
CY
171642011-05-09 Chong Yidong <cyd@stupidchicken.com>
17165
488086f4
SM
17166 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17167 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17168 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17169 higher priority to avoid clobbering by gnu.
17170
027f966d
CY
171712011-05-08 Chong Yidong <cyd@stupidchicken.com>
17172
17173 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17174 if the face has existing theme settings (Bug#8454).
17175
085f5d7d
CY
171762011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17177
488086f4
SM
17178 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17179 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17180
2a86a00c
RS
17181 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17182 special file names `.' and `..' (Bug#8259).
17183
d9c54a06
CY
171842011-05-08 Chong Yidong <cyd@stupidchicken.com>
17185
488086f4
SM
17186 * progmodes/grep.el (grep-mode-font-lock-keywords):
17187 Remove buffer-changing entries.
d9c54a06
CY
17188 (grep-filter): New function.
17189 (grep-mode): Add it to compilation-filter-hook.
17190
17191 * progmodes/compile.el (compilation-filter-hook)
17192 (compilation-filter-start): New defvars.
17193 (compilation-filter): Call compilation-filter-hook prior to
17194 updating the process mark.
17195
c4662635
SM
171962011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17199
b0512a1d
EZ
172002011-05-07 Eli Zaretskii <eliz@gnu.org>
17201
605c9376
EZ
17202 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17203 mailclient-send-it even if window-system is nil. (Bug#8595)
17204
c4662635
SM
17205 * term/w32console.el (terminal-init-w32console):
17206 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17207 background-mode. (Bug#8597)
17208
d1dc2cc2
SM
172092011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17210
17211 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17212 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17213 New functions.
17214 (defgeneric, eieio--defmethod): Use them.
17215 (eieio-defgeneric): Remove.
17216 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17217
915d1300
GM
172182011-05-07 Glenn Morris <rgm@gnu.org>
17219
a3961c3e
GM
17220 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17221 Use let rather than let*.
17222 (timeclock-find-discrep): Remove unused local.
17223
314347b9
GM
17224 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17225
915d1300
GM
17226 * calendar/appt.el (appt-time-msg-list): Doc fix.
17227
275b59b0
NF
172282011-05-06 Noah Friedman <friedman@splode.com>
17229
17230 * apropos.el (apropos-print-doc): Only use
17231 emacs-lisp-docstring-fill-column when it is bound to an integer,
17232 per that variable's documentation.
17233
6c19f744
SM
172342011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17235
17236 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17237 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17238
60f884b2
GM
172392011-05-06 Glenn Morris <rgm@gnu.org>
17240
5006e634
GM
17241 * calendar/appt.el (appt-message-warning-time): Doc fix.
17242 (appt-warning-time-regexp): New option.
17243 (appt-make-list): Respect appt-message-warning-time.
17244
548d0a63
GM
17245 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17246 New options.
17247 (diary-add-to-list): Strip comments from the displayed string.
17248 (diary-mode): Set comment-start and comment-end.
17249
60f884b2
GM
17250 * vc/diff-mode.el (smerge-refine-subst): Declare.
17251 (diff-refine-hunk): Don't require smerge-mode when compiling.
17252
989681bb
JB
172532011-05-06 Juanma Barranquero <lekktu@gmail.com>
17254
17255 * simple.el (list-processes): Return nil as the docstring says.
17256
a6bc05e1
MA
172572011-05-05 Michael Albinus <michael.albinus@gmx.de>
17258
17259 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17260 to "".
17261 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17262 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17263 determining of binary transfer. (Bug#7383)
17264
23c22e9a
MA
172652011-05-05 Michael Albinus <michael.albinus@gmx.de>
17266
c4662635
SM
17267 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17268 Fix port computation bug. (Bug#8618)
23c22e9a 17269
0bff894f
GM
172702011-05-05 Glenn Morris <rgm@gnu.org>
17271
b8296902
GM
17272 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17273
1f522ce8
GM
17274 * simple.el (shell-dynamic-complete-functions)
17275 (comint-dynamic-complete-functions): Declare.
17276
cf5bee67
GM
17277 * net/network-stream.el (gnutls-negotiate):
17278 * simple.el (tabulated-list-print): Fix declarations.
17279
17280 * progmodes/gud.el (syntax-symbol, syntax-point):
17281 Remove unnecessary and incorrect declarations.
17282
0bff894f
GM
17283 * emacs-lisp/check-declare.el (check-declare-scan):
17284 Handle byte-compile-initial-macro-environment in bytecomp.el
17285
9869b3ae
SM
172862011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17287
17288 Fix earlier half-done eieio-defmethod change (bug#8338).
17289 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17290 Streamline and change calling convention.
17291 (defmethod): Adjust accordingly and simplify.
17292 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17293 new eieio--defmethod.
17294 (slot-boundp): Minor CSE simplification.
17295
9c1d5ac5
MZ
172962011-05-05 Milan Zamazal <pdm@zamazal.org>
17297
17298 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17299 (glasses-make-readable): Use glasses-separate-capital-groups.
17300
455c834e
JB
173012011-05-05 Juanma Barranquero <lekktu@gmail.com>
17302
17303 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17304 (warning-series): Doc fix.
17305 (display-warning): Don't try to create the buffer if we just found it.
17306
9ed7c8cb
CY
173072011-05-04 Chong Yidong <cyd@stupidchicken.com>
17308
17309 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17310 (autoload-find-generated-file): New function.
17311 (generate-file-autoloads): Bind generated-autoload-file to
17312 buffer-file-name.
9869b3ae
SM
17313 (update-file-autoloads, update-directory-autoloads):
17314 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17315 output file (Bug#7989).
17316 (batch-update-autoloads): Doc fix.
17317
0898ca10
JB
173182011-05-04 Juanma Barranquero <lekktu@gmail.com>
17319
17320 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17321
31dfb76c
GM
173222011-05-04 Glenn Morris <rgm@gnu.org>
17323
f330b642
GM
17324 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17325 function, so it follows changes in calendar-date-style.
17326 (diary-fancy-date-matcher): New function.
17327 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17328 (diary-fancy-font-lock-fontify-region-function):
17329 Use diary-fancy-date-pattern as a function.
17330
31dfb76c
GM
17331 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17332 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17333
48e79d6a
TZ
173342011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17335
17336 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17337 instead of positional arguments. Allow :keylist and :crlfiles
17338 arguments.
17339 (open-gnutls-stream): Call it.
17340
17341 * net/network-stream.el (network-stream-open-starttls): Adjust to
17342 call `gnutls-negotiate' with :process and :hostname arguments.
17343
dd5a5ee0
SM
173442011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17345
ef80fc09
SM
17346 * minibuffer.el (completion--message): New function.
17347 (completion--do-completion, minibuffer-complete)
17348 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17349 (completion--do-completion): Don't ignore completion-auto-help when in
17350 icomplete-mode.
17351
dd5a5ee0
SM
17352 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17353 internal encoding (e.g. tibetan zero is not whitespace).
17354 (global-whitespace-mode): Prefer save-current-buffer.
17355 (whitespace-trailing-regexp): Remove useless save-match-data.
17356 (whitespace-empty-at-bob-regexp): Minor simplification.
17357
b7d22a83
CY
173582011-05-03 Chong Yidong <cyd@stupidchicken.com>
17359
17360 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17361
5192af46
AM
173622011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17363
17364 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17365 Use `concat' to create string for insertion.
5192af46 17366
5767d190
SM
173672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17368
17369 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17370 Avoid open-line which runs post-self-insert-hook.
17371 (bibtex-fill-entry): Remove unused `end' var.
17372
bf242939
AM
173732011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17374
5767d190
SM
17375 * textmodes/ispell.el (ispell-add-per-file-word-list):
17376 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17377
25666126
LL
173782011-05-03 Leo Liu <sdl.web@gmail.com>
17379
17380 * isearch.el (isearch-yank-pop): New command.
5767d190 17381 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17382 (isearch-forward): Mention it.
17383
52d3c2d0
SM
173842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17385
1bcace58
SM
17386 * simple.el (minibuffer-complete-shell-command): Remove.
17387 (minibuffer-local-shell-command-map): Use completion-at-point.
17388 (read-shell-command): Setup completion vars here instead.
17389 (read-expression-map): Bind TAB to symbol completion.
17390
52d3c2d0
SM
17391 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17392 error directly rather via storing it into `results'.
17393
35813471
LL
173942011-05-02 Leo Liu <sdl.web@gmail.com>
17395
17396 * vc/diff.el: Fix description.
17397
e793a940
LMI
173982011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17399
17400 * server.el (server-eval-at): New function.
17401
8de66e05
LMI
174022011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17403
17404 * net/network-stream.el (open-network-stream): Take a :nowait
17405 parameter and pass it on to `make-network-process'.
17406 (network-stream-open-plain): Ditto.
17407
dcb79f20
AS
174082011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17409
17410 * faces.el (face-spec-set-match-display): Don't match toolkit
17411 options on terminal frames.
17412
14a7fbd8
SM
174132011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17414
7eabc1be
SM
17415 * progmodes/pascal.el: Use lexical binding.
17416 (pascal-mode-map): Remove author preferences.
17417
14a7fbd8
SM
17418 * pcomplete.el (pcomplete-std-complete): Don't abuse
17419 completion-at-point.
17420
50f84510
JB
174212011-04-28 Juanma Barranquero <lekktu@gmail.com>
17422
6e087a44
JB
17423 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17424 removing code that has been dead since 1991 or so.
17425
50f84510
JB
17426 * startup.el (command-line): When warning about "_emacs", use a
17427 delayed warning to allow the user to filter it out.
17428
0ba690bd
DD
174292011-04-28 Deniz Dogan <deniz@dogan.se>
17430
17431 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17432 user has not joined.
17433
08abfaad
SM
174342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17435
17436 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17437 aren't any completions at point.
17438
638f053a
JB
174392011-04-28 Juanma Barranquero <lekktu@gmail.com>
17440
17441 * subr.el (display-delayed-warnings): New function.
17442 (delayed-warnings-hook): New variable.
17443
8fff8daa
SM
174442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17445
08abfaad
SM
17446 * minibuffer.el (completion-at-point, completion-help-at-point):
17447 Don't presume that a given completion-at-point-function will always
17448 use the same calling convention.
17449
8fff8daa
SM
17450 * pcomplete.el (pcomplete-completions-at-point):
17451 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17452 pcomplete-seen is non-nil.
17453 (pcomplete-comint-setup): Also recognize the new comint/shell
17454 completion functions.
17455 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17456 pcomplete-seen is non-nil.
17457
841a1577 174582011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17459
841a1577 17460 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17461 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17462 the first character in the entry. This allows for code to add its
211ec907
UJ
17463 own uid to the entry.
17464 (icalendar--convert-float-to-ical): Add export of
17465 `diary-float'-entries save for those with the optional DAY
17466 argument.
17467
2a782793
DC
174682011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17469
17470 * subr.el (shell-quote-argument): Use alternate escaping strategy
17471 when we spot a variable reference in a string.
17472
0438ce91
DC
174732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17474
17475 * cus-start.el (all): Define customization for debug-on-event.
17476
841a1577 174772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17478
17479 * subr.el (shell-quote-argument): Escape correctly under Windows.
17480
d090ed6c
SM
174812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17482
17483 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17484
bfd31217
MA
174852011-04-25 Michael Albinus <michael.albinus@gmx.de>
17486
d090ed6c
SM
17487 * net/tramp.el (tramp-process-actions): Add POS argument.
17488 Delete region between POS and (pos).
bfd31217 17489
d090ed6c
SM
17490 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17491 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17492 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17493
17494 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17495 position in `tramp-process-actions' call.
17496
17497 * net/trampver.el: Update release number.
17498
e92f3bd3
SM
174992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17500
850256b5
SM
17501 * custom.el (defcustom): Obey lexical-binding.
17502
e92f3bd3
SM
17503 Fix octave-inf completion problems reported by Alexander Klimov.
17504 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17505 Inherit from octave-mode-syntax-table.
17506 (inferior-octave-mode): Set info-lookup-mode.
17507 (inferior-octave-completion-at-point): New function.
17508 (inferior-octave-complete): Use it and completion-in-region.
17509 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17510 comint-filename-completion.
17511 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17512 symbol elements which shouldn't be word elements.
17513 (octave-font-lock-keywords, octave-beginning-of-defun)
17514 (octave-function-header-regexp): Adjust regexps accordingly.
17515 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17516
cd22b309
JB
175172011-04-25 Juanma Barranquero <lekktu@gmail.com>
17518
17519 * net/gnutls.el (gnutls-errorp): Declare before first use.
17520
8b492194
TZ
175212011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17522
17523 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17524 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17525 default trustfile exists before going to use it. Add missing
5a5fa834 17526 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17527 Reported by Claudio Bley <claudio.bley@gmail.com>.
17528 (open-gnutls-stream): Add usage example.
17529
17530 * net/network-stream.el (network-stream-open-starttls): Give host
17531 parameter to `gnutls-negotiate'.
17532 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17533 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17534
841a1577 175352011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17536
cd22b309
JB
17537 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17538 Use correct match group (bug#8438).
05842630 17539
3ba7869c
CY
175402011-04-24 Chong Yidong <cyd@stupidchicken.com>
17541
512e3ae1
CY
17542 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17543 (package-menu--generate): New arg specifying packages to show.
17544 (package-menu-refresh, package-menu-execute, list-packages):
17545 Callers changed.
17546 (package-show-package-list): New function, replacing deleted
17547 package--list-packages (renamed because it is non-internal).
17548
17549 * finder.el (finder-list-matches): Use package-show-package-list
17550 instead of deleted package--list-packages.
17551
e92f3bd3
SM
17552 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17553 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17554 (vc-annotate-mode-map): Bind it to RET.
17555
7031be6d
UR
175562011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17557
17558 * progmodes/etags.el (next-file): Don't use set-buffer to change
17559 buffers (Bug#8478).
17560
4ef177aa
CY
175612011-04-24 Chong Yidong <cyd@stupidchicken.com>
17562
c8d173eb
CY
17563 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17564
4ef177aa
CY
17565 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17566 (apropos-accumulator): Doc fix.
17567 (apropos-function, apropos-macro, apropos-command)
17568 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17569 (apropos-plist): Add face property.
17570 (apropos-symbols-internal): Fix indentation.
17571 (apropos-print): Simplify help, and recognize apropos-multi-type.
17572 (apropos-print-doc): Use button-type-get to extract the button's
17573 face property. Fill docstring (Bug#8352).
17574
4ffd0d6b 175752011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17576
17577 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17578
c6c32125 17579 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17580 (mpuz-mode-map): Use mapc.
c6c32125
JB
17581 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17582 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17583 Fix typos in docstrings.
17584
58d468b4
JB
17585 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17586 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17587
6470c3c6
JB
17588 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17589
4ffd0d6b 175902011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17591
17592 * minibuffer.el (completion--do-completion): Avoid the "Next char
17593 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17594
3ad8bad0
CY
17595 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17596 mouse-2 into unread-command-events, it is interpreted correctly.
17597
71d73c9c 17598 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17599 (image-toggle-display): Doc fix.
71d73c9c 17600
841a1577 176012011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17602
4ffd0d6b
GM
17603 * textmodes/page.el (what-page): Use line-number-at-pos to
17604 calculate line number (Bug#6825).
6e1dbaa9 17605
c2fb1b60
JB
176062011-04-22 Juanma Barranquero <lekktu@gmail.com>
17607
17608 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17609 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17610 Pass argument NO-DEFAULT to `find-tag-interactive'.
17611
e02f48d7
JB
176122011-04-22 Juanma Barranquero <lekktu@gmail.com>
17613
17614 Lexical-binding cleanup.
17615
17616 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17617 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17618 * progmodes/ada-prj.el (ada-prj-initialize-values)
17619 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17620 (ada-prj-show-value):
17621 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17622 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17623 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17624 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17625 * progmodes/bug-reference.el (bug-reference-push-button):
17626 * progmodes/fortran.el (fortran-line-length):
17627 * progmodes/glasses.el (glasses-change):
17628 * progmodes/octave-mod.el (octave-fill-paragraph):
17629 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17630 (python-pdbtrack-grub-for-buffer, python-sentinel):
17631 * progmodes/sql.el (sql-save-connection):
17632 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17633 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17634 Mark unused parameters.
17635
17636 * progmodes/compile.el (compilation--flush-directory-cache)
17637 (compilation--flush-parse, compile-internal): Mark unused parameters.
17638 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17639 (compilation-next-error-function): Remove unused variable `timestamp'.
17640
17641 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17642 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17643
17644 * progmodes/dcl-mode.el (dcl-end-of-command):
17645 Remove unused variable `start'.
17646 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17647 (dcl-option-value-basic, dcl-option-value-offset)
17648 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17649 Mark unused parameters.
17650 (dcl-save-local-variable): Remove unused variable `val'.
17651 (mode): Declare.
17652
17653 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17654 Mark unused parameters.
17655 (delphi-ignore-changes): Move before first use.
17656 (delphi-charset-token-at): Remove unused variable `start'.
17657 (delphi-else-start): Remove unused variable `if-count'.
17658 (delphi-comment-block-start, delphi-comment-block-end):
17659 Remove unused variable `kind'.
17660 (delphi-indent-line): Remove unused variable `new-point'.
17661
17662 * progmodes/ebrowse.el (ebrowse-files-list)
17663 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17664 Mark unused parameters. Don't quote `lambda'.
17665 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17666 Don't quote `lambda'.
17667 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17668 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17669 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17670 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17671 Use `ignore-errors'.
17672 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17673 (ebrowse-view/find-file-and-search-pattern)
17674 (ebrowse-view/find-member-declaration/definition):
17675 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17676 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17677 Rename parameter PREFIX-ARG to PREFIX.
17678 (ebrowse-tags-read-name): Remove unused variables `start' and
17679 `member-info'.
17680 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17681 to `tags-file'.
17682
17683 * progmodes/etags.el (local-find-tag-hook): Declare.
17684 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17685 Mark unused parameters.
17686
17687 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17688 (executable-interpret): Mark unused parameter.
17689
17690 * progmodes/flymake.el (flymake-process-sentinel)
17691 (flymake-after-change-function)
17692 (flymake-create-temp-with-folder-structure)
17693 (flymake-get-include-dirs-dot): Mark unused parameters.
17694 (flymake-safe-delete-directory): Remove unused variable `err'.
17695
17696 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17697 (speedbar-timer-fn, speedbar-line-text)
17698 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17699 (speedbar-center-buffer-smartly): Declare functions.
17700 (gdb-find-watch-expression): Remove unused variable `array'.
17701 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17702 (gdb-starting): Mark unused parameters.
17703 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17704 (gdb-table-string): Remove unused variable `res'.
17705 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17706 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17707 (gdb-display-buffer): Remove unused variable `cur-size'.
17708
17709 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17710 allow lexical-binding compilation.
17711 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17712 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17713 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17714 Mark unused parameters.
17715 (gud-gdb-marker-filter): Remove unused variable `match'.
17716 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17717 lambda expressions and funcall them, instead of using `fset'.
17718
17719 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17720 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17721
17722 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17723 variable `header-beg'; use `let'.
17724
17725 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17726 `restart', `last-sexp' and `at-do'.
17727
17728 * progmodes/js.el (js--debug): Mark unused parameter.
17729 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17730 (js--splice-into-items): Remove unused variable `item'.
17731 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17732
17733 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17734 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17735 (makefile-complete): Remove unused variable `try'.
17736 (makefile-fill-paragraph, makefile-match-function-end):
17737 Mark unused parameters.
17738
17739 * progmodes/octave-inf.el (inferior-octave-complete):
17740 Remove unused variable `proc'.
17741 (inferior-octave-output-digest): Mark unused parameter.
17742
17743 * progmodes/perl-mode.el (perl-calculate-indent):
17744 Remove unused variable `err'.
17745
17746 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17747 (prolog-indent-line): Mark unused parameters.
17748 (prolog-indent-line): Remove unused variable `beg'.
17749
17750 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17751 (reporter-dont-compact-list): Declare.
17752
17753 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17754 Remove unused variable `char'.
17755 (sh-debug): Mark unused parameter.
17756 (sh-get-indent-info): Remove unused variable `start'.
17757 (sh-calculate-indent): Remove unused variable `var'.
17758
17759 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17760 (simula-electric-keyword): Remove unused variable `null'.
17761 (simula-search-backward, simula-search-forward): Remove unused
17762 variables `begin' and `end'.
17763
17764 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17765 Remove unused variable `pos'.
17766 (vera-electric-tab, vera-comment-uncomment-region):
17767 Mark unused parameters.
17768 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17769
7ede3b65
CY
177702011-04-22 Chong Yidong <cyd@stupidchicken.com>
17771
17772 * emacs-lisp/package.el (package--builtins, package-alist)
17773 (package-load-descriptor, package-built-in-p, package-activate)
17774 (define-package, package-installed-p)
17775 (package-compute-transaction, package-buffer-info)
17776 (package--push): Doc fix. Distinguish more clearly between
17777 version strings and version lists.
17778
121656e9
JB
177792011-04-21 Juanma Barranquero <lekktu@gmail.com>
17780
17781 Lexical-binding cleanup.
17782
17783 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17784 (5x5-make-mutate-best):
17785 * play/fortune.el (fortune-in-buffer):
17786 * play/gomoku.el (gomoku-init-display):
17787 * play/solitaire.el (solitaire, solitaire-do-check):
17788 * play/tetris.el (tetris-default-update-speed-function):
17789 Mark unused parameters.
17790
17791 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17792 (bubbles--shift): Remove unused variable `char-org'.
17793 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17794 (bubbles--show-images): Remove unused variable `char'.
17795
17796 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17797 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17798 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17799 (decipher-analyze-buffer): Use ?\s.
17800 (decipher-make-checkpoint): Remove unused variable `mapping'.
17801
17802 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17803
17804 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17805 Remove unused variable `result'; use `let'.
17806
17807 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17808 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17809 (gametree-children-shown-p, gametree-compute-reduced-score):
17810 Use `ignore-errors'.
17811
17812 * play/handwrite.el (ps-lpr-switches): Declare.
17813 (handwrite): Remove unused variables `pmin' and `lastp'.
17814
17815 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17816
17817 * play/landmark.el (landmark-init-display)
17818 (landmark-update-naught-weights): Mark unused parameters.
17819 (landmark-y): Remove unused variable `noise'. Simplify.
17820 (landmark-human-plays): Remove unused variable `score'.
17821
17822 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17823 (mpuz-try-proposal): Remove unused variable `game'.
17824
17825 * play/zone.el (life-patterns): Declare.
17826
80f499c7
JB
178272011-04-20 Juanma Barranquero <lekktu@gmail.com>
17828
17829 * vc/vc.el (ediff-vc-internal): Declare function.
17830
024ff170
SM
178312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17832
c0a193ea
SM
17833 * shell.el: Use lexical-binding and std completion UI.
17834 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17835 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17836 comint-preoutput-filter-functions rather than on
17837 comint-output-filter-functions.
17838 (shell-command-completion, shell--command-completion-data)
17839 (shell-filename-completion, shell-environment-variable-completion)
17840 (shell-c-a-p-replace-by-expanded-directory): New functions.
17841 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17842 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17843 (shell-dynamic-complete-environment-variable): Use them.
17844 (shell-dynamic-complete-as-environment-variable)
17845 (shell-dynamic-complete-as-command): Remove.
17846 (shell-match-partial-variable): Match past point.
17847 * comint.el: Clean up use of completion-at-point-functions.
17848 (comint-completion-at-point): New function.
17849 (comint-mode): Use it completion-at-point-functions.
17850 (comint-dynamic-complete): Make it obsolete.
17851 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17852 (comint-c-a-p-replace-by-expanded-history): New function.
17853 (comint-dynamic-complete-functions)
17854 (comint-replace-by-expanded-history): Use it.
17855 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17856 termination strings. Try harder to avoid second try-completion.
17857 (completion-in-region-mode-map): Disable bindings that don't work yet.
17858
2dbaa080
SM
17859 * comint.el: Use lexical-binding. Require CL.
17860 (comint-dynamic-complete-functions): Use comint-filename-completion.
17861 (comint-completion-addsuffix): Tweak custom type.
17862 (comint-filename-completion, comint--common-suffix)
17863 (comint--common-quoted-suffix, comint--table-subvert)
17864 (comint--complete-file-name-data): New functions.
17865 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17866 (comint-dynamic-list-filename-completions): Use them.
17867 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17868
2dbaa080
SM
17869 * minibuffer.el (completion-in-region-mode):
17870 Keep completion-in-region-mode--predicate global.
17871 (completion-in-region--postch):
17872 Assume completion-in-region-mode--predicate is not null.
17873
c79a6f38
SM
17874 * progmodes/flymake.el (flymake-start-syntax-check-process):
17875 Obey `dir'. Simplify.
17876
024ff170
SM
17877 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17878 we're in VC after all.
17879
1c6c854e
CS
178802011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17881
17882 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17883 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17884 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17885
bed7f140
SM
178862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17887
332e62ab
SM
17888 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17889 add sanity check.
17890
bed7f140
SM
17891 * obsolete/erc-hecomplete.el: Make obsolete.
17892 * obsolete/: Standardize obsolescence info in the header.
17893
f195c582
GM
178942011-04-20 Glenn Morris <rgm@gnu.org>
17895
17896 * calendar/solar.el (solar-horizontal-coordinates):
17897 Use the longitude argument rather than `calendar-longitude'.
17898 (solar-date-next-longitude): Remove unused locals.
17899
cb79b8c0
VJL
179002011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17901
17902 * whitespace.el: New version 13.2.1.
17903
179042011-04-20 felix <EmacsWiki> (tiny change)
17905
d8e4b68b 17906 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17907 switching between major modes on a file.
17908
602ea69d
SM
179092011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17910
17911 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17912 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17913 multi-line comments as well.
17914
06b60517
JB
179152011-04-19 Juanma Barranquero <lekktu@gmail.com>
17916
17917 Lexical-binding cleanup.
17918
17919 * arc-mode.el (archive-mode-revert):
17920 * cmuscheme.el (scheme-interactively-start-process):
17921 * custom.el (custom-initialize-delay):
17922 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17923 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17924 * emacs-lock.el (emacs-lock-clear-sentinel):
17925 * ezimage.el (defezimage):
17926 * follow.el (follow-avoid-tail-recenter):
17927 * fringe.el (set-fringe-mode-1):
17928 * generic-x.el (bat-generic-mode-compile):
17929 * help-mode.el (help-info-variable, help-do-xref)
17930 (help-mode-revert-buffer):
17931 * help.el (view-emacs-todo):
17932 * iswitchb.el (iswitchb-completion-help):
17933 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17934 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17935 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17936 * locate.el (locate-update):
17937 * longlines.el (longlines-encode-region)
17938 (longlines-after-change-function):
17939 * outline.el (outline-isearch-open-invisible):
17940 * ps-def.el (declare-function, charset-dimension, char-width)
17941 (encode-char):
17942 * ps-mule.el (ps-mule-plot-string):
17943 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17944 (recentf-edit-list-select, recentf-edit-list-validate)
17945 (recentf-open-files-action):
17946 * rect.el (delete-whitespace-rectangle-line)
17947 (rectangle-number-line-callback):
17948 * register.el (window-configuration-to-register)
17949 (frame-configuration-to-register):
17950 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17951 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17952 (xselect-convert-to-targets, xselect-convert-to-delete)
17953 (xselect-convert-to-filename, xselect-convert-to-charpos)
17954 (xselect-convert-to-lineno, xselect-convert-to-colno)
17955 (xselect-convert-to-os, xselect-convert-to-host)
17956 (xselect-convert-to-user, xselect-convert-to-class)
17957 (xselect-convert-to-name, xselect-convert-to-integer)
17958 (xselect-convert-to-atom, xselect-convert-to-identity):
17959 * subr.el (declare, ignore, process-kill-without-query)
17960 (text-clone-maintain):
17961 * terminal.el (te-get-char, te-tic-sentinel):
17962 * tool-bar.el (tool-bar-make-keymap):
17963 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17964 * type-break.el (type-break-mode, type-break-noninteractive-query):
17965 * view.el (View-back-to-mark):
17966 * wid-browse.el (widget-browse-action, widget-browse-widget)
17967 (widget-browse-widgets, widget-browse-sexp):
17968 * widget.el (define-widget-keywords):
17969 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17970 Mark unused parameters.
17971
17972 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17973 (align-areas): Remove unused variable `look'.
17974 (align-region): Remove unused variables `real-end' and `pos-list'.
17975
17976 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17977
17978 * bindings.el (mode-line-modified, mode-line-remote):
17979 Mark unused parameters.
17980 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17981
17982 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17983 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17984
17985 * comint.el (comint-history-isearch-pop-state)
17986 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17987 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17988 (comint-substitute-in-file-name): Doc fix.
17989
17990 * completion.el (cmpl-statistics-block): Mark unused parameter.
17991 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17992 (save-completions-to-file, load-completions-from-file):
17993 Remove unused local variable `e'.
17994
17995 * composite.el (compose-chars): Remove unused variable `len'.
17996 (lgstring-insert-glyph): Remove unused variable `g'.
17997 (compose-glyph-string): Remove unused variables `ascent',
17998 `descent', `lbearing' and `rbearing'.
17999 (compose-glyph-string-relative): Remove unused variables
18000 `lbearing', `rbearing' and `wadjust'.
18001 (compose-gstring-for-graphic): Remove unused variables `header',
18002 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18003 (compose-gstring-for-terminal): Remove unused variables `header'
18004 and `nchars'. Use `let', not `let*'.
18005
18006 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18007 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18008 (Custom-buffer-done, custom-buffer-create-internal)
18009 (custom-browse-visibility-action, custom-browse-group-tag-action)
18010 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18011 (widget-magic-mouse-down-action, custom-toggle-parent)
18012 (custom-add-parent-links, custom-toggle-hide-variable)
18013 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18014 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18015 (custom-face-menu-create, custom-variable-menu-create, get)
18016 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18017 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18018 (customize-apropos): Remove unused variable `tests'.
18019 (custom-group-value-create): Remove unused variable `hidden-p'.
18020 (sort-fold-case): Declare.
18021
18022 * cus-theme.el (custom-reset-standard-faces-list)
18023 (custom-reset-standard-variables-list): Declare.
18024 (customize-create-theme, custom-theme-revert, custom-theme-write)
18025 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18026 Mark unused parameters.
18027
18028 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18029
18030 * delim-col.el (delimit-columns-max): Move defvar before first use.
18031
18032 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18033 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18034
18035 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18036 (auto-insert): Declare.
18037 (desktop-restore-file-buffer): Rename desktop-* parameters;
18038 mark unused ones.
18039 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18040 (desktop-buffer): Rename desktop-* parameters.
18041
18042 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18043 (dframe-reposition-frame-xemacs, dframe-help-echo)
18044 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18045 Mark unused parameters.
18046
18047 * dired-aux.el (backup-extract-version-start, overwrite-query)
18048 (overwrite-backup-query, rename-regexp-query)
18049 (rename-non-directory-query): Declare.
18050 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18051 (dired-add-entry): Remove unused variable `orig-file-name'.
18052 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18053 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18054 `dired-copy-preserve-time' directly.
18055 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18056 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18057
18058 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18059 (dired-virtual-revert, dired-make-relative-symlink):
18060 Mark unused parameters.
18061 (manual-program): Declare.
18062 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18063 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18064 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18065
18066 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18067
18068 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18069
18070 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18071 Declare.
18072
18073 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18074
18075 * electric.el (Electric-command-loop): Rename parameter
18076 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18077
18078 * expand.el (expand-in-literal): Remove unused variable `here'.
18079
18080 * facemenu.el (facemenu-add-new-color):
18081 Remove unused variable `docstring'.
18082
18083 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18084 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18085 (face-attr-construct): Mark unused parameter. Doc fix.
18086 (read-color): Remove unused variable `hex-string'.
18087
18088 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18089 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18090 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18091 (display-buffer-other-frame): Remove unused variable `old-window'.
18092 (kill-buffer-hook): Declare.
18093 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18094 Mark unused parameters.
18095 (after-find-file): Pass 1 to `auto-save-mode', not t.
18096
18097 * files-x.el (auto-insert): Declare.
18098 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18099
18100 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18101 variable `buf'. Mark unused parameter.
06b60517
JB
18102 (find-lisp-insert-directory): Mark unused parameter.
18103
18104 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18105 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18106 (format-common-tail): Remove, unused.
18107 (format-deannotate-region): Remove unused variable `loc'.
18108 (format-annotate-region): Remove unused variable `p'.
18109 (format-annotate-single-property-change): Remove unused variables
18110 `default' and `tail'.
18111
18112 * forms.el (read-file-filter): Declare.
18113 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18114
18115 * frame.el (frame-creation-function-alist): Mark unused parameter.
18116 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18117
18118 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18119 Remove unused parameters.
18120 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18121 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18122
18123 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18124 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18125 (hfy-prepare-tag-map): Mark unused parameters.
18126 (htmlfontify-buffer): Use `called-interactively-p'.
18127
18128 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18129 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18130 (ibuffer-do-occur): Mark unused parameters.
18131 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18132 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18133
18134 * ibuffer.el: Don't quote `lambda'.
18135 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18136 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18137 Mark unused parameters.
18138
18139 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18140 (ido-completing-read): Mark unused parameters.
18141 (ido-copy-current-word): Mark unused parameters;
18142 remove unused variable `name'.
18143 (ido-sort-merged-list): Remove unused parameter `dirs'.
18144
18145 * ielm.el (ielm-input-sender): Mark unused parameter.
18146 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18147 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18148 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18149 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18150 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18151
18152 * image-dired.el (image-dired-display-thumbs): Remove unused
18153 variables `curr-file' and `count'.
18154 (image-dired-remove-tag): Remove unused variable `start'.
18155 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18156 variable `curr-file'
18157 (image-dired-rotate-original): Remove unused variable `temp-file'.
18158 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18159 Remove unused variable `file'.
18160 (image-dired-gallery-generate): Remove unused variable `curr'.
18161 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18162
18163 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18164
18165 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18166
18167 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18168
18169 * isearch.el (minibuffer-history-symbol): Declare.
18170 (isearch-edit-string): Remove unused variable `err'.
18171 (isearch-message-prefix, isearch-message-suffix):
18172 Mark unused parameters.
18173
18174 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18175
18176 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18177
18178 * makesum.el (double-column): Remove unused variable `cnt'.
18179
18180 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18181 (ido-ignore-item-temp-list): Declare.
18182
18183 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18184 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18185 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18186 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18187 `mouse-col-delta'.
18188
18189 * mouse-sel.el (mouse-extend-internal):
18190 Remove unused variable `orig-window-frame'.
18191
18192 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18193 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18194 Move declarations before first use.
18195 (pcomplete-opt): Mark unused parameters; doc fix.
18196
18197 * proced.el (proced-revert): Mark unused parameter.
18198 (proced-send-signal): Remove unused variable `err'.
18199
18200 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18201 Rename parameter PREFIX-ARG to ARG.
18202 (ps-basic-plot-string, ps-basic-plot-whitespace):
18203 Mark unused parameters.
18204
18205 * replace.el (replace-count): Define.
18206 (occur-revert-function): Mark unused parameters.
18207 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18208 (isearch-case-fold-search, isearch-string): Declare.
18209 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18210 bind `case-fold-search'. Remove unused variables `beg' and `end',
18211 and simplify.
18212 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18213 COUNT and bind `replace-count'.
18214 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18215 to COUNT.
18216
18217 * savehist.el (print-readably, print-string-length): Declare.
18218
18219 * shadowfile.el (shadow-expand-cluster-in-file-name):
18220 Remove unused variable `cluster'.
18221 (shadow-copy-file): Remove unused variable `i'.
18222 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18223 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18224 (shadow-define-literal-group, shadow-define-regexp-group)
18225 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18226
18227 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18228 (shell): Use `called-interactively-p'.
18229 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18230
18231 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18232 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18233 (delete-backward-char): Remove unused variable `ocol'.
18234 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18235 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18236 (event-apply-hyper-modifier, event-apply-shift-modifier)
18237 (event-apply-control-modifier, event-apply-meta-modifier):
18238 Mark unused parameters.
18239 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18240 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18241
18242 * speedbar.el (speedbar-ignored-directory-expressions)
18243 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18244 (speedbar-find-file, speedbar-dir-follow)
18245 (speedbar-directory-buttons-follow, speedbar-tag-find)
18246 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18247 (speedbar-buffers-line-directory, speedbar-buffer-click):
18248 Mark unused parameters.
18249 (speedbar-tag-file): Remove unused variable `mode'.
18250 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18251
18252 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18253
18254 * talk.el (talk): Remove unused variable `display'.
18255
18256 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18257 (tar-write-region-annotate): Mark unused parameter.
18258
18259 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18260 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18261 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18262 warning by another.
18263
18264 * time-stamp.el (time-stamp-string-preprocess):
18265 Remove unused variable `require-padding'.
18266
18267 * tree-widget.el (widget-glyph-enable): Declare.
18268 (tree-widget-action): Mark unused parameter.
18269
18270 * w32-fns.el (x-get-selection): Mark unused parameter.
18271 (autoload-make-program, generated-autoload-file): Declare.
18272
18273 * wdired.el (wdired-revert): Mark unused parameters.
18274 (wdired-xcase-word): Remove unused variable `err'.
18275
18276 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18277 (whitespace-help-scroll): Remove unused variable `data-help'.
18278
18279 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18280 (widget-image-insert, widget-after-change, default)
18281 (widget-default-format-handler, widget-default-notify)
18282 (widget-default-prompt-value, widget-info-link-action)
18283 (widget-url-link-action, widget-function-link-action)
18284 (widget-variable-link-action, widget-file-link-action)
18285 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18286 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18287 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18288 (widget-insert-button-action, widget-delete-button-action, visibility)
18289 (widget-documentation-link-action, widget-documentation-string-action)
18290 (widget-const-prompt-value, widget-regexp-match, symbol)
18291 (widget-coding-system-prompt-value)
18292 (widget-key-sequence-value-to-external, sexp)
18293 (widget-sexp-value-to-internal, character, vector, cons)
18294 (widget-choice-prompt-value, widget-boolean-prompt-value)
18295 (widget-color--choose-action): Mark unused parameters.
18296 (widget-item-match-inline, widget-choice-match-inline)
18297 (widget-checklist-match, widget-checklist-match-inline)
18298 (widget-group-match): Rename parameter VALUES to VALS.
18299 (widget-field-value-set): Remove unused variable `size'.
18300 (widget-color-action): Remove unused variables `value' and `start'.
18301
18302 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18303 variable `dir'. Doc fix.
06b60517
JB
18304 (windmove-find-other-window): Don't pass it.
18305
18306 * window.el (count-windows): Mark unused parameter.
18307 (bw-adjust-window): Remove unused variable `err'.
18308
18309 * woman.el (woman-file-name): Remove unused variable `default'.
18310 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18311 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18312 (global-font-lock-mode): Declare.
18313 (woman-decode-region): Mark unused parameter.
18314 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18315
18316 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18317 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18318 (x-dnd-handle-moz-url): Remove unused variable `title'.
18319 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18320
18321 * xml.el (xml-parse-tag, xml-parse-attlist):
18322 Remove unused variable `pos'.
18323
bc4f7f3d
GM
183242011-04-19 Glenn Morris <rgm@gnu.org>
18325
18326 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18327 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18328 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18329 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18330 * calendar/cal-html.el (cal-html-insert-minical):
18331 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18332 (calendar-mark-date-pattern):
18333 Prefix "unused" locals.
18334
18335 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18336 optional argument `style'.
18337
18338 * calendar/appt.el (appt-make-list):
18339 * calendar/cal-china.el (calendar-chinese-date-string):
18340 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18341 (diary-hebrew-yahrzeit):
18342 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18343 * calendar/calendar.el (calendar-generate-window):
18344 * calendar/time-date.el (time-to-days):
18345 Remove unused local variables.
18346
16a43933
CY
183472011-04-18 Chong Yidong <cyd@stupidchicken.com>
18348
18349 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18350 glyphless-char-display table.
18351 (tabulated-list-glyphless-char-display): New var.
18352
7eed1860
SS
183532011-04-18 Sam Steingold <sds@gnu.org>
18354
18355 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18356 to acknowledgments.
18357
4d2d1ccd
GM
183582011-04-17 Glenn Morris <rgm@gnu.org>
18359
18360 * calendar/diary-lib.el (diary-sexp-entry):
18361 * calendar/holidays.el (holiday-sexp):
18362 Set debug-on-error rather than the removed stack-trace-on-error.
18363
239da61d
GM
183642011-04-16 Glenn Morris <rgm@gnu.org>
18365
18366 * progmodes/f90.el: Use lexical-binding.
18367 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18368
8b05752a
SM
183692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18370
daca8ba5
SM
18371 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18372 (mail-mode): Setup mailalias completion here instead.
18373 * mail/mailalias.el: Use lexical-binding.
18374 (pattern, mailalias-done): Declare dynamic.
18375 (mail-completion-at-point-function): New function, from mail-complete.
18376 (mail-complete): Use it.
18377 (mail-completion-expand): New function.
18378 (mail-get-names): Use it.
18379 (mail-directory, mail-directory-process, mail-directory-stream):
18380 Don't use `pattern' for lexically bound arg.
18381
6f542485
SM
18382 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18383
037e7c3f
SM
18384 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18385 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18386 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18387
8b05752a
SM
18388 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18389 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18390 (byte-interactive-p): Define them again, for use when inlining
18391 old code.
18392
49093f60
JB
183932011-04-15 Juanma Barranquero <lekktu@gmail.com>
18394
18395 * loadup.el: Use `string-to-number', not `string-to-int'.
18396
b5b8e7de
SM
183972011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18398
18399 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18400 gud-gdb-complete-command.
18401 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18402 (gud-gdb-completion-at-point): New function.
18403 (gud-gdb-completions): Remove.
18404
f42efeb5
MA
184052011-04-14 Michael Albinus <michael.albinus@gmx.de>
18406
49093f60
JB
18407 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18408 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18409 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18410 whether `executable-find' is bound.
f42efeb5
MA
18411
18412 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18413
e240cc21
SM
184142011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18415
18416 * minibuffer.el (completion-in-region-mode-predicate)
18417 (completion-in-region-mode--predicate): New vars.
18418 (completion-in-region, completion-in-region--postch)
18419 (completion-in-region-mode): Use them.
18420 (completion--capf-wrapper): Also return the hook function.
18421 (completion-at-point, completion-help-at-point):
18422 Adjust and provide a predicate.
c2bd2ab0
SM
18423
18424 Preserve arg names for advice of subr and lexical functions (bug#8457).
18425 * help-fns.el (help-function-arglist): Consolidate the subr and
18426 new-byte-code cases. Add argument `preserve-names' to extract names
18427 from the docstring when needed.
18428 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18429 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18430 (ad-arglist): Use help-function-arglist's new arg.
18431 (ad-definition-type): Use cond.
18432
c183f693
JB
184332011-04-13 Juanma Barranquero <lekktu@gmail.com>
18434
06641a47
JB
18435 * autorevert.el (auto-revert-handler):
18436 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18437 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18438 Don't quote lambda.
18439
c183f693
JB
18440 * image-mode.el (image-transform-set-scale):
18441 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18442
1e3b6001
G
184432011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18444
18445 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18446 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18447 Upgrades via gnutls-cli are too slow to be done opportunistically.
18448
2d6af8dd
JB
184492011-04-12 Juanma Barranquero <lekktu@gmail.com>
18450
18451 * dframe.el (dframe-current-frame): Remove spurious quote.
18452
c0749a51
GM
184532011-04-12 Glenn Morris <rgm@gnu.org>
18454
088d0d61
GM
18455 * calendar/cal-tex.el (cal-tex-end-document):
18456 Try to automatically use latin1 input if needed.
18457
c0749a51
GM
18458 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18459 Don't try to cons a mark onto an empty element.
18460
5c90fde0
LL
184612011-04-11 Leo Liu <sdl.web@gmail.com>
18462
18463 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18464 buffers.
18465 (ido-kill-buffer-at-head): Support killing virtual buffers.
18466
369e974d
CY
184672011-04-10 Chong Yidong <cyd@stupidchicken.com>
18468
18469 * minibuffer.el (completion-show-inline-help): New var.
18470 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18471 (minibuffer-force-complete, minibuffer-complete-word):
18472 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18473
18474 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18475 to avoid interference from inline help (Bug#5849).
18476
37f1c930
LL
184772011-04-10 Leo Liu <sdl.web@gmail.com>
18478
099c39a4
JB
18479 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18480 Fix typo.
37f1c930 18481
a32d4040
CY
184822011-04-09 Chong Yidong <cyd@stupidchicken.com>
18483
18484 * image-mode.el (image-toggle-display-image): Signal an error if
18485 not in Image mode.
18486 (image-transform-mode, image-transform-resize)
18487 (image-transform-set-rotation): Doc fix.
daca8ba5 18488 (image-transform-set-resize): Delete.
a32d4040
CY
18489 (image-transform-set-scale, image-transform-fit-to-height)
18490 (image-transform-fit-to-width): Handle image-toggle-display-image
18491 and image-transform-resize directly.
18492
099c39a4 184932011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18494
18495 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18496 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18497 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18498 (doc-view-mode-map): Add bindings for the new functions.
18499
099c39a4 185002011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18501
4d61f28d 18502 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18503 Fix typo in docstring.
18504
3726838a
EZ
185052011-04-08 Eli Zaretskii <eliz@gnu.org>
18506
04f33f1e
EZ
18507 * files.el (file-size-human-readable): Produce one digit after
18508 decimal, like "ls -lh" does.
18509
18510 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18511 the file size representation.
18512
3726838a
EZ
18513 * simple.el (list-processes): If async subprocesses are not
18514 available, error out with a clear error message.
18515
cbb59342
CY
185162011-04-08 Chong Yidong <cyd@stupidchicken.com>
18517
18518 * help.el (help-form-show): New function, to be called from C.
18519 Put help-form output in a buffer named differently than *Help*.
18520
e3971c44
EZ
185212011-04-08 Eli Zaretskii <eliz@gnu.org>
18522
18523 * files.el (file-size-human-readable): New function.
18524
18525 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18526 computing the representation inline. Don't require `cl'.
18527
12544bbe
GM
185282011-04-08 Glenn Morris <rgm@gnu.org>
18529
a1de6c6a
GM
18530 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18531
3c4671f4
GM
18532 * net/browse-url.el (browse-url-firefox):
18533 Test system-type, not system-configuration.
18534
b605679c
GM
18535 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18536 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18537 Use log-edit-empty-buffer-p. (Bug#7598)
18538
56442f0c
GM
18539 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18540 (rlogin-mode-map): Initialize in the defvar.
18541 (rlogin): Use ignore-errors.
18542
12544bbe
GM
18543 * replace.el (occur-mode-map): Some fixes for menu items.
18544
eb237b0f
AH
185452011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18546
18547 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18548
7d668f2c
CY
185492011-04-06 Chong Yidong <cyd@stupidchicken.com>
18550
e67a13ab
CY
18551 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18552 issuing unused warnings.
18553
18554 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18555 macro directly.
18556
7d668f2c
CY
18557 * simple.el: Lisp reimplement of list-processes. Based on an
18558 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18559 (process-menu-mode): New major mode.
18560 (list-processes--refresh, list-processes):
18561 (process-menu-visit-buffer): New functions.
18562
18563 * files.el (save-buffers-kill-emacs): Don't assume any return
18564 value of list-processes, which is undocumented anyway.
18565
a83ec3c9
CY
185662011-04-06 Chong Yidong <cyd@stupidchicken.com>
18567
18568 * emacs-lisp/tabulated-list.el: New file.
18569
e91a96fe
CY
18570 * emacs-lisp/package.el: Use Tabulated List mode.
18571 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18572 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18573 table format using Tabulated List mode variables.
18574 (package--push): New macro, replacing package-list-maybe-add.
18575 (package-menu--generate): Use package--push. Renamed from
18576 package--generate-package-list.
18577 (package-menu-refresh, list-packages): Use it.
daca8ba5 18578 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18579 Return insertion data instead of inserting it directly.
099c39a4
JB
18580 (package-menu-describe-package, package-menu-execute):
18581 Use tabulated-list-get-id.
e91a96fe
CY
18582 (package-menu-mark-delete, package-menu-mark-install)
18583 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18584 (package-menu-mark-obsolete-for-deletion):
18585 Use tabulated-list-put-tag.
e91a96fe
CY
18586 (package--list-packages, package-menu-revert)
18587 (package-menu-get-package, package-menu-get-version)
18588 (package-menu-sort-by-column): Functions deleted.
18589 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18590 (package-menu--status-predicate, package-menu--version-predicate)
18591 (package-menu--name-predicate)
18592 (package-menu--description-predicate): Handle arguments in the
18593 Tabulated List format.
18594 (package-list-packages-no-fetch): Call list-packages.
18595
3e214b50
JB
185962011-04-06 Juanma Barranquero <lekktu@gmail.com>
18597
18598 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18599 (after-find-file): Don't bind it.
3e214b50
JB
18600 (revert-buffer-in-progress-p): New variable.
18601 (revert-buffer): Bind it.
18602 Pass nil for `after-find-file-from-revert-buffer'.
18603
18604 * saveplace.el (save-place-find-file-hook): Use new variable
18605 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18606
3f0f1700
GM
186072011-04-06 Glenn Morris <rgm@gnu.org>
18608
c0274801
GM
18609 * Makefile.in (AUTOGEN_VCS): New variable.
18610 (autoloads): Use $AUTOGEN_VCS.
18611
3f0f1700
GM
18612 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18613 * calendar/calendar.el (calendar-mode-map):
18614 Check for toolkit scroll bars. (Bug#8305)
18615
41ea9e48
CY
186162011-04-05 Chong Yidong <cyd@stupidchicken.com>
18617
18618 * minibuffer.el (completion-in-region--postch)
18619 (completion-in-region-mode): Remove unnecessary messages.
18620
6194c800
JB
186212011-04-05 Juanma Barranquero <lekktu@gmail.com>
18622
33256f14
JB
18623 * font-lock.el (font-lock-refresh-defaults):
18624 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18625 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18626
6194c800
JB
18627 * info.el (Info-directory-list, Info-read-node-name-2)
18628 (Info-split-parameter-string): Doc fixes.
18629 (Info-virtual-nodes): Reflow docstring.
18630 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18631 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18632 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18633 Fix typos in docstrings.
18634 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18635 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18636 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18637 (Info-restore-desktop-buffer): Mark unused parameters.
18638 (Info-directory-find-file, Info-directory-find-node)
18639 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18640 (Info-virtual-index-find-node, Info-apropos-find-file)
18641 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18642 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18643 (Info-virtual-index): Remove unused local variable `nodename'.
18644
b87a8200 186452011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18646
b87a8200
DD
18647 * net/rcirc.el: Update my e-mail address.
18648 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18649
3b2ff876
CY
186502011-04-05 Chong Yidong <cyd@stupidchicken.com>
18651
18652 * startup.el (command-line): Save the cursor's theme-face
18653 directly, instead of using face-override-spec.
18654
18655 * custom.el (load-theme): Minor optimization in assigning faces.
18656
8d17e7ca
JB
186572011-04-04 Juanma Barranquero <lekktu@gmail.com>
18658
18659 * help-fns.el (describe-variable): Complete all variables having
18660 documentation, including keywords.
18661 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18662
2fbc1934
JB
186632011-04-04 Juanma Barranquero <lekktu@gmail.com>
18664
18665 Convert to lexical-binding.
18666
18667 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18668 (bs--get-marked-string, bs--get-modified-string)
18669 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18670 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18671 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18672
18673 * ehelp.el (electric-help-execute-extended)
18674 (electric-help-ctrl-x-prefix):
18675 * hexl.el (hexl-revert-buffer-function):
18676 * linum.el (linum-after-change, linum-after-scroll):
18677 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18678
18679 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18680
74f50695
DU
186812011-04-04 Daiki Ueno <ueno@unixuser.org>
18682
18683 * epa-dired.el:
18684 * epa-mail.el:
18685 * epa-hook.el:
18686 * epa-file.el:
18687 * epa.el:
18688 * epg.el: Use lexical binding.
18689
c11325f7
CY
186902011-04-03 Chong Yidong <cyd@stupidchicken.com>
18691
0d9e9a12
CY
18692 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18693
c11325f7 18694 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18695 dictionary case for flyspell-mark-duplications-exceptions.
18696 Use regexp matching for languages.
c11325f7
CY
18697 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18698 default dictionary (Bug#7926).
18699
da91b5f2
CY
187002011-04-02 Chong Yidong <cyd@stupidchicken.com>
18701
099c39a4
JB
18702 * emacs-lisp/package.el (package--with-work-buffer):
18703 Recognize https URLs.
da91b5f2 18704
099c39a4
JB
18705 * net/network-stream.el: Move from gnus/proto-stream.el.
18706 Change prefix to network-stream throughout.
da91b5f2
CY
18707 (open-protocol-stream): Merge into open-network-stream, leaving
18708 open-protocol-stream as an alias. Handle nil BUFFER args.
18709
18710 * subr.el (open-network-stream): Move to net/network-stream.el.
18711
afa8e9f6
GM
187122011-04-02 Glenn Morris <rgm@gnu.org>
18713
1d2e369d
GM
18714 * find-dired.el (find-exec-terminator): New option.
18715 (find-ls-option): Test for -ls support.
18716 (find-ls-subdir-switches): Test for -b in find-ls-option.
18717 (find-dired, find-grep-dired): Doc fixes.
18718 (find-dired): Use find-exec-terminator.
18719
8abb7da8 18720 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18721 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18722 (find-name-arg): Remove purecopy.
8abb7da8 18723
f3ca7378
GM
18724 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18725 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18726 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18727 accordingly. Don't add the null-device if not needed.
18728
afa8e9f6
GM
18729 * files.el (save-some-buffers): Doc fix.
18730
35eae264
EZ
187312011-04-02 Eli Zaretskii <eliz@gnu.org>
18732
18733 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18734
26b51db5
JB
187352011-04-01 Juanma Barranquero <lekktu@gmail.com>
18736
18737 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18738 Use `dolist' rather than `mapcar'.
18739
7200d79c
SM
187402011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18741
03408648 18742 Add lexical binding.
7200d79c 18743
03408648
SM
18744 * subr.el (apply-partially): Use new closures rather than CL.
18745 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18746 (dolist, dotimes): Use slightly different expansion for lexical code.
18747 (functionp): Move to C.
18748 (letrec): New macro.
18749 (with-wrapper-hook): Use it and apply-partially instead of CL.
18750 (eval-after-load): Preserve lexical-binding.
18751 (save-window-excursion, with-output-to-temp-buffer): Turn them
18752 into macros.
7200d79c 18753
03408648
SM
18754 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18755
18756 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18757 than the arglist.
18758 (help-add-fundoc-usage): Don't add `Not documented'.
18759 (help-function-arglist): Handle closures, subroutines, and new
18760 byte-code-functions.
18761 (help-make-usage): Remove leading underscores.
18762 (describe-function-1): Handle closures.
18763 (describe-variable): Use special-variable-p for completion.
18764
18765 * files.el (lexical-binding): Declare safe.
f488fb65 18766
03408648
SM
18767 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18768 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18769 (pcase): Add `let' pattern.
18770 Change memoization so it actually works.
18771 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18772 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18773 <let>: New case.
f488fb65 18774
03408648
SM
18775 * emacs-lisp/macroexp.el: Use lexical binding.
18776 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18777 Don't convert ' to #' without checking that it's indeed quoting
18778 a lambda.
18779
18780 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18781 Use eval-sexp-add-defvars.
03408648
SM
18782 (eval-sexp-add-defvars): New fun.
18783
18784 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18785
18786 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18787 Don't autoload.
18788 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18789 than the internal `byte-compile-lambda'.
18790 (defmethod): Don't hide code under quotes.
18791 (eieio-defmethod): New `code' argument.
18792
18793 * emacs-lisp/eieio-comp.el: Remove.
18794
18795 * emacs-lisp/edebug.el (edebug-eval-defun)
18796 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18797 (edebug-toggle): Avoid `eval'.
18798
18799 * emacs-lisp/disass.el (disassemble-internal): Handle new
18800 `closure' objects.
18801 (disassemble-1): Handle new byte codes.
18802
18803 * emacs-lisp/cl.el (pushnew): Silence warning.
18804
18805 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18806 (cl-byte-compile-throw): Remove.
18807 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18808
18809 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18810 closures.
18811
18812 * emacs-lisp/cconv.el: New file.
18813
18814 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18815 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18816 (byte-compile-initial-macro-environment):
18817 Handle declare-function here.
18818 (byte-compile--lexical-environment): New var.
18819 (byte-stack-ref, byte-stack-set, byte-discardN)
18820 (byte-discardN-preserve-tos): New lap codes.
18821 (byte-interactive-p): Don't use any more.
18822 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18823 New macros.
18824 (byte-compile-lapcode): Use them and handle new lap codes.
18825 (byte-compile-obsolete): Remove.
18826 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18827 (byte-compile-arglist-warn): Check late def of inlinable funs.
18828 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18829 since they should have been expanded by now.
18830 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18831 (byte-compile-from-buffer): Remove unused second arg.
18832 (byte-compile-preprocess): New function.
18833 (byte-compile-toplevel-file-form): New function to distinguish
18834 file-form calls from outside from file-form calls from hunk-handlers.
18835 (byte-compile-file-form): Simplify.
18836 (byte-compile-file-form-defsubst): Remove.
18837 (byte-compile-file-form-defmumble): Simplify now that
18838 byte-compile-lambda always returns a byte-code-function.
18839 (byte-compile): Preprocess.
18840 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18841 Remove, not used any more.
18842 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18843 (byte-compile-make-args-desc): New funs.
18844 (byte-compile-lambda): Handle lexical functions. Always return
18845 a byte-code-function.
18846 (byte-compile-reserved-constants): New var, to make up room for
18847 closed-over variables.
18848 (byte-compile-constants-vector): Obey it.
18849 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18850 (byte-compile-macroexpand-declare-function): New function.
18851 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18852 byte-code-functions.
18853 (byte-compile-form): Check obsolescence here.
18854 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18855 (byte-compile-variable-ref): Remove.
18856 (byte-compile-dynamic-variable-op): New fun.
18857 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18858 (byte-compile-variable-set): New funs.
18859 (byte-compile-discard): Add 2 args.
18860 (byte-compile-stack-ref, byte-compile-stack-set)
18861 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18862 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18863 macroexpand-all instead.
18864 (byte-compile-quote-form): Remove.
18865 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18866 (byte-compile-bind, byte-compile-unbind): New funs.
18867 (byte-compile-let): Handle let* and lexical binding.
18868 (byte-compile-let*): Remove.
18869 (byte-compile-catch, byte-compile-unwind-protect)
18870 (byte-compile-track-mouse, byte-compile-condition-case):
18871 Handle a new :fun-body form, used for lexical scoping.
18872 (byte-compile-save-window-excursion)
18873 (byte-compile-with-output-to-temp-buffer): Remove.
18874 (byte-compile-defun): Simplify.
18875 (byte-compile-stack-adjustment): New fun.
18876 (byte-compile-out): Use it.
18877 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18878
18879 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18880 handler any more.
18881
18882 * emacs-lisp/byte-opt.el: Use lexical binding.
18883 (byte-inline-lapcode): Remove (to bytecomp).
18884 (byte-compile-inline-expand): Pay attention to inlining to/from
18885 lexically bound code.
18886 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18887 any more.
18888 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18889 any more and don't call compiler-macros.
18890 (byte-compile-splice-in-already-compiled-code): Remove.
18891 (byte-code): Don't inline any more.
18892 (disassemble-offset): Receive `bytes' as argument rather than via
18893 dynamic scoping.
18894 (byte-compile-tag-number): Declare before first use.
18895 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18896 `return' even if make-spliceable.
18897 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18898 obsolete interactive-p.
18899 (byte-optimize-lapcode): Optimize new lap-codes.
18900 Don't trip up on new form of `byte-constant' lap code.
18901
18902 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18903
18904 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18905
18906 * custom.el (custom-initialize-default, custom-declare-variable):
18907 Use `defvar'.
18908
18909 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18910 New variables.
18911 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18912 (COMPILE_FIRST): Add macroexp and cconv.
18913 * makefile.w32-in: Mirror changes in Makefile.in.
18914
18915 * vc/cvs-status.el:
18916 * vc/diff-mode.el:
18917 * vc/log-edit.el:
18918 * vc/log-view.el:
18919 * vc/smerge-mode.el:
18920 * textmodes/bibtex-style.el:
090bd7cb 18921 * textmodes/css-mode.el:
03408648
SM
18922 * startup.el:
18923 * uniquify.el:
da91b5f2
CY
18924 * minibuffer.el:
18925 * newcomment.el:
18926 * reveal.el:
18927 * server.el:
18928 * mpc.el:
18929 * emacs-lisp/smie.el:
18930 * doc-view.el:
18931 * dired.el:
03408648
SM
18932 * abbrev.el: Use lexical binding.
18933
0f0c1f27
EZ
189342011-04-01 Eli Zaretskii <eliz@gnu.org>
18935
18936 * info.el (info-display-manual): New function.
18937
c82b2579
SM
189382011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18939
18940 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18941
221ddf68
TH
189422011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18943
18944 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18945 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18946
cba6e77e
GM
189472011-03-31 Glenn Morris <rgm@gnu.org>
18948
e040639f
GM
18949 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18950
cba6e77e
GM
18951 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18952
6d0f1c9e
CS
189532011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18954
18955 * progmodes/python.el (python-default-interpreter)
18956 (python-python-command-args, python-jython-command-args)
18957 (python-which-shell, python-which-args, python-which-bufname)
18958 (python-file-queue, python-comint-output-filter-function)
18959 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18960 variables and functions.
18961
3e2d70fd
SM
189622011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18965 (completion-in-region-mode): New minor mode.
18966 (completion-in-region): Use it.
18967 (completion-in-region--data, completion-in-region-mode-map): New vars.
18968 (completion-in-region--postch): New function.
18969 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18970 New vars.
18971 (completion--capf-wrapper): New function.
18972 (completion-at-point): Use it to track well-behavedness of
18973 hook functions.
18974 (completion-help-at-point): New command.
18975
f3e4086c
JM
189762011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18977
18978 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18979 syntax class to search for whitespace on a single line
18980 (Message-ID: <4D938140.4030905@redhat.com>).
18981
eb7ffc14
LL
189822011-03-30 Leo Liu <sdl.web@gmail.com>
18983
18984 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18985 New commands.
18986 (edit-abbrevs-map): Bind them here.
18987 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18988
d806ab68
KM
189892011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18990
18991 * allout.el (allout-hide-by-annotation, allout-flag-region):
18992 Reduce possibility of overlay leakage by making them volatile.
18993
18994 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18995 hash is not shared between buffers. Mode initialization is
18996 responsible for giving it a useful starting value.
18997 (allout-item-span): Reduce possibility of overlay leakage by
18998 making them volatile.
18999 (allout-widgets-count-buttons-in-region): Add diagnostic function
19000 for tracking down button overlay leaks.
19001
ea622834
LL
190022011-03-29 Leo Liu <sdl.web@gmail.com>
19003
19004 * ido.el (ido-read-internal): Use the default history var
19005 minibuffer-history if no HISTORY is specified.
19006
b62f8267
G
190072011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19008
03408648
SM
19009 * net/imap.el (imap-shell-open, imap-process-connection-type):
19010 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19011 Kerberos, SSL, other subprocesses.
19012
947b6566
LL
190132011-03-28 Leo Liu <sdl.web@gmail.com>
19014
19015 * abbrev.el (abbrev-table-empty-p): New function.
19016 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19017 nonempty ones. (Bug#5937)
19018
5ffb62aa
JD
190192011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19020
19021 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19022
7a097943
LL
190232011-03-27 Leo Liu <sdl.web@gmail.com>
19024
19025 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19026 for foreground and background colors.
19027 (ansi-color-make-color-map): Adapt.
19028
c5b40130
LL
190292011-03-25 Leo Liu <sdl.web@gmail.com>
19030
1f48f7d2
LL
19031 * midnight.el (midnight-time-float): Remove. Note it calculates
19032 the microsecond component incorrectly and seconds-to-time does the
19033 same job.
625897ec 19034 Remove redundant (require 'timer).
1f48f7d2 19035
c5b40130
LL
19036 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19037 (ido-completions): Remove unused arguments. (Bug#8329)
19038
d86d2721
SM
190392011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19040
19041 * minibuffer.el (completion--flush-all-sorted-completions):
19042 Remove itself from hook.
19043 (completion-at-point): Let the functions perform the completion
19044 immediately and return nil or t.
19045 * comint.el (comint-dynamic-complete-functions): Now identical to
19046 completion-at-point-functions.
19047 (comint-dynamic-list-input-ring): Remove unused var `index'.
19048 (comint--match-partial-filename, comint--unquote&expand-filename):
19049 New funs, split from comint-match-partial-filename.
19050 (comint-dynamic-complete): Use completion-at-point.
19051 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19052
e8974c48
DA
190532011-03-24 Drew Adams <drew.adams@oracle.com>
19054
19055 * thingatpt.el: Support `defun'.
19056
def71b5e
LL
190572011-03-23 Leo Liu <sdl.web@gmail.com>
19058
cb5af48e
LL
19059 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19060
def71b5e
LL
19061 * help-mode.el (help-mode-finish): Tweak regexp.
19062
927c53e7
GM
190632011-03-23 Glenn Morris <rgm@gnu.org>
19064
18d05bed
GM
19065 * eshell/esh-opt.el (eshell-eval-using-options):
19066 Do not bind unused local variable `eshell-option-stub'.
19067
927c53e7
GM
19068 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19069
9d0da923
JB
190702011-03-22 Juanma Barranquero <lekktu@gmail.com>
19071
19072 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19073 keymap variable in `with-no-warnings' to avoid a warning when the
19074 keymap has been already `defconst'ed.
19075
4b978a67
LL
190762011-03-22 Leo Liu <sdl.web@gmail.com>
19077
19078 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19079 encode all chars in abbrevs; otherwise use emacs-mule or
19080 utf-8-emacs. (Bug#8308)
19081
5fd62452
JB
190822011-03-22 Juanma Barranquero <lekktu@gmail.com>
19083
0b1596c6
JB
19084 * simple.el (backward-delete-char-untabify):
19085 Avoid warning about using `delete-backward-char'.
19086
5fd62452
JB
19087 * image.el (image-type-file-name-regexps): Make it variable.
19088 `imagemagick-register-types' modifies it, and the user may want
19089 to add new extensions for known image types.
19090 (imagemagick-register-types): Throw error if not using ImageMagick.
19091
0b4e93f1
LL
190922011-03-22 Leo Liu <sdl.web@gmail.com>
19093
19094 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19095 located before rcirc-prompt-end-marker.
19096 (rcirc-complete): Error if point is not after rcirc prompt.
19097 Handle the case when table is nil.
9882e214 19098 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19099
fccee4ab
CY
191002011-03-22 Chong Yidong <cyd@stupidchicken.com>
19101
19102 * custom.el (custom--inhibit-theme-enable): Make it affect only
19103 custom-theme-set-variables and custom-theme-set-faces.
19104 (provide-theme): Ignore custom--inhibit-theme-enable.
19105 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19106 (custom-enabling-themes): Delete variable.
d86d2721
SM
19107 (enable-theme): Accept only loaded themes as arguments.
19108 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19109 (custom-enabled-themes): Forbid themes from setting this.
19110 Eliminate use of custom-enabling-themes.
19111 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19112
af896da6
LL
191132011-03-21 Leo Liu <sdl.web@gmail.com>
19114
19115 * ido.el (ido-read-internal): Add ido-selected to history instead
19116 of user input.
19117
78f64af0
SM
191182011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19119
19120 * subr.el (deferred-action-list, deferred-action-function):
19121 Mark obsolete.
19122
b16ac1ec
LL
191232011-03-21 Leo Liu <sdl.web@gmail.com>
19124
810f7698
LL
19125 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19126 change on 2011-02-13 (bug#8309).
19127
b16ac1ec
LL
19128 * minibuffer.el (read-file-name-function): Change default value.
19129 (read-file-name--defaults): Rename from read-file-name-defaults.
19130 (read-file-name-default): Rename from read-file-name.
19131 (read-file-name): Call read-file-name-function.
19132
4e05e67e
GM
191332011-03-21 Glenn Morris <rgm@gnu.org>
19134
19135 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19136 Doc fixes.
19137
4359915b
CY
191382011-03-21 Chong Yidong <cyd@stupidchicken.com>
19139
19140 * cus-theme.el: Add missing provide statement.
19141 (customize-create-theme): Extract theme value correctly.
19142 (custom-theme-visit-theme): Autoload.
19143 (customize-create-theme): Prompt before inserting default faces.
19144
1fe275ee
JB
191452011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19146
19147 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19148 units and musical notes.
19149
cd394be1 191502011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19151
19152 * ido.el (ido-read-internal): Use completing-read-default.
19153 (ido-completing-read): Fix compatibility with completing-read.
19154
7d476bde
CO
191552011-03-20 Christian Ohler <ohler@gnu.org>
19156
19157 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19158 (ert-delete-all-tests): Use `called-interactively-p' rather than
19159 `interactive-p'.
19160 (ert--make-xrefs-region): Respect END.
19161
fe0fb33e
CY
191622011-03-19 Chong Yidong <cyd@stupidchicken.com>
19163
ff854b0b
CY
19164 * dired-aux.el (dired-create-directory): Signal an error if the
19165 directory already exists (Bug#8246).
19166
fe0fb33e
CY
19167 * facemenu.el (list-colors-display): Call list-faces-display
19168 inside with-help-window.
19169 (list-colors-print): Use display property to align the final
19170 column, instead of checking window-width.
19171
576bce32
EZ
191722011-03-19 Eli Zaretskii <eliz@gnu.org>
19173
4d61f28d 19174 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19175 windows-nt systems.
19176 (emerge-protect-metachars): Quote correctly for ms-dos and
19177 windows-nt systems.
19178
89c41d68 191792011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19180
19181 * info.el (info-initialize): Replace all uses of `:' with
19182 path-separator for compatibility with non-Unix systems.
19183 Cache quoting of path-separator. (Bug#8258)
19184
b14e3e21 191852011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19186
19187 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19188 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19189 (mouse-avoidance-mode): Fix typos in docstrings.
19190
4525ce3e
CY
191912011-03-19 Chong Yidong <cyd@stupidchicken.com>
19192
19193 * startup.el (package-subdirectory-regexp): Move from package.el.
19194 Omit \\` and \\', and let callers add them.
19195
19196 * emacs-lisp/package.el (package-strip-version)
19197 (package-load-all-descriptors): Add \\` and \\' to
19198 package-subdirectory-regexp before using it.
19199 (package-untar-buffer): New arg DIR; ensure that file untars only
19200 into this expected directory. Remove superfluous delete-region.
19201 (package-unpack): Caller changed.
19202 (package-tar-file-info): Use package-subdirectory-regexp.
19203
a904a09a 192042011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19205
a904a09a
SM
19206 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19207 diff-mode-shared-map (bug#8284).
19208 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19209
192102011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19211
19212 * calendar/time-date.el (format-seconds): Use assoc instead of
19213 assoc-string, since assoc-string doesn't exist in XEmacs.
19214
171fc304
JB
192152011-03-17 Juanma Barranquero <lekktu@gmail.com>
19216
19217 * custom.el (custom-known-themes): Reflow docstring.
19218 (custom-theme-load-path): Fix typo in docstring.
19219 (load-theme): Fix typo in error message.
19220 (custom-available-themes, custom-variable-theme-value):
19221 Use `let', not `let*'.
19222
d71990a1
JB
192232011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19224
19225 * calc/README: Mention inclusion of musical notes.
19226
19227 * calc/calc-units.el (calc-lu-quant): Rename from
19228 `calc-logunits-quantity'.
19229 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19230 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19231 (calc-db): Rename from `calc-dblevel'.
19232 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19233 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19234 (calc-np): Rename from `calc-nplevel'.
19235 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19236 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19237 (calc-lu-plus): Rename from `calc-logunits-add'.
19238 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19239 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19240 (calc-lu-minus): Rename from `calc-logunits-sub'.
19241 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19242 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19243 (calc-lu-times): Rename from `calc-logunits-mul'.
19244 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19245 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19246 (calc-lu-divide): Rename from `calc-logunits-div'.
19247 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19248 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19249
19250 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19251 functions being autoloaded.
19252
19253 * calc/calc.el (calc-lu-power-reference): Rename from
19254 `calc-logunits-power-reference'.
19255 (calc-lu-field-reference): Rename from
19256 `calc-logunits-field-reference'.
19257
7a71b18d
GM
19258 * calc/calc-help.el (calc-l-prefix-help):
19259 Mention musical note functions.
d71990a1 19260
40c2934b
SM
192612011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19262
19263 * minibuffer.el (completion-all-sorted-completions):
19264 Use :completion-cycle-penalty text property if present.
19265
b0911414
KM
192662011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19267
19268 * allout.el (allout-yank-processing): Adjust for new rebulleting
19269 regime so bullet being yanked is used without prompting the user
19270 for a choice.
19271
8a05b668
JB
192722011-03-16 Juanma Barranquero <lekktu@gmail.com>
19273
19274 * startup.el (command-line): Warn the user that _emacs is deprecated.
19275
5ba5fb81
JB
192762011-03-16 Juanma Barranquero <lekktu@gmail.com>
19277
19278 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19279 (delphi-verbose, delphi-comment-face, delphi-string-face)
19280 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19281 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19282 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19283 (delphi-new-comment-line, delphi-font-lock-defaults)
19284 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19285 Fix typos in docstrings.
19286
2dab465b
KM
192872011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19288
5ba5fb81 19289 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19290 Invert the roles of character and string values for INSTEAD, so a
19291 string is used for the more common case of a defaulting prompt.
19292
0adf5618
SM
192932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19294
19295 * progmodes/ruby-mode.el (ruby-backward-sexp):
19296 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19297 * play/gamegrid.el (gamegrid-make-face):
19298 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19299 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19300 * notifications.el (notifications-notify):
19301 * net/xesam.el (xesam-search-engines):
19302 * net/quickurl.el (quickurl-list-insert):
19303 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19304
d72700e5
CY
193052011-03-15 Chong Yidong <cyd@stupidchicken.com>
19306
19307 * startup.el (command-line): Update package subdirectory regexp.
19308
49c5410a
SM
193092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19310
c6eee9aa
SM
19311 * allout.el (allout-abbreviate-flattened-numbering)
19312 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19313
49c5410a
SM
19314 * subr.el (read-char-choice): Only show the cursor after the prompt,
19315 not after the answer.
19316
047b2bb9
KR
193172011-03-15 Kevin Ryde <user42@zip.com.au>
19318
19319 * help-fns.el (variable-at-point): Skip leading quotes, if any
19320 (bug#8253).
19321
0a57d256
SM
193222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19323
19324 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19325 warning message.
19326
77c992bc
MA
193272011-03-14 Michael Albinus <michael.albinus@gmx.de>
19328
19329 * shell.el (shell): When called interactively, offer to change the
19330 shell file name on remote hosts.
19331
eebc475d
TZ
193322011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19333
19334 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19335 integration for LDAP parameters. The host, base, user or binddn,
19336 and secret tokens can be specified in a netrc file, for instance.
19337 This is optional because an `auth-source' parameter must be
19338 specified in the search attributes.
19339
9d05d1ba
JB
193402011-03-13 Juanma Barranquero <lekktu@gmail.com>
19341
19342 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19343
09d9db2c
GM
193442011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19345
19346 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19347 into declaration. Remove redundant and harmful binding.
19348
193492011-03-12 Eli Zaretskii <eliz@gnu.org>
19350
19351 * files.el (file-ownership-preserved-p): Pass `integer' as an
19352 explicit 2nd argument to `file-attributes'. If the file's owner
19353 is the Administrators group on Windows, and the current user is
19354 Administrator, consider that a match.
19355
19356 * server.el (server-ensure-safe-dir): Consider server directory
19357 safe on MS-Windows if its owner is the Administrators group while
19358 the current Emacs user is Administrator. Use `=' to compare
19359 numerical UIDs, since they could be integers or floats.
19360
219bd536
JB
193612011-03-12 Juanma Barranquero <lekktu@gmail.com>
19362
19363 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19364
f3afd36b
MA
193652011-03-12 Michael Albinus <michael.albinus@gmx.de>
19366
19367 Sync with Tramp 2.2.1.
19368
19369 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19370
19371 * net/trampver.el: Update release number.
19372
3aaaa6f1
SM
193732011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19374
94642599
SM
19375 * progmodes/compile.el (compilation--previous-directory): Fix up
19376 various nil/dead-marker mismatches (bug#8014).
19377 (compilation-directory-properties, compilation-error-properties):
19378 Don't call it at a position past the one we're about to change.
19379
3aaaa6f1
SM
19380 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19381 Disable obsolescence warnings in the file that declares it.
19382
14239447
KM
193832011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19384
099c39a4
JB
19385 * allout-widgets.el (allout-widgets-tally):
19386 Initialize allout-widgets-tally as a hash table rather than nil to
19387 prevent mode-line redisplay warnings. Also, clarify the module
19388 description and fix a comment typo.
14239447 19389
135e287c
JB
193902011-03-11 Juanma Barranquero <lekktu@gmail.com>
19391
19392 * help-fns.el (describe-variable): Don't complete keywords.
19393 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19394
ffbf300e
CY
193952011-03-10 Chong Yidong <cyd@stupidchicken.com>
19396
ba08b241
CY
19397 * emacs-lisp/package.el (package-version-join): Impose a standard
19398 string representation for pre/alpha/beta version lists.
19399 (package-unpack-single): Standardize the directory name by passing
19400 it through package-version-join.
19401 (package-strip-rcs-id): Accept any version string that does not
19402 signal an error in version-to-list.
ffbf300e 19403
f346fd6b
MA
194042011-03-10 Michael Albinus <michael.albinus@gmx.de>
19405
19406 * simple.el (delete-trailing-whitespace): Return nil for the
19407 benefit of `write-file-functions'.
19408
ccb55d27
GM
194092011-03-10 Glenn Morris <rgm@gnu.org>
19410
5ceaac0c
GM
19411 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19412
02da65ff
GM
19413 * vc/vc-git.el (vc-git-program): New option.
19414 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19415 (vc-git--call): Use it.
19416
b2f603cc
GM
19417 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19418
5772caab
GM
19419 * cus-edit.el (Custom-newline): If no button at point, look
19420 for a subgroup button at start-of-line. (Bug#2298)
19421
ccb55d27
GM
19422 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19423
ec6ecaed
JD
194242011-03-10 Julien Danjou <julien@danjou.info>
19425
19426 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19427 `cursor-type' is nil.
19428
9d5aa01d
JB
194292011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19430
19431 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19432
b6a5875b
KM
194332011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19434
7a71b18d 19435 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19436 preserves the existing header prefix, rebulleting it if necessary,
19437 rather than replacing it. This is necessary for proper operation
19438 of cooperative addons like allout-widgets.
1154d12e
JB
19439 (allout-make-topic-prefix, allout-rebullet-heading):
19440 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19441 value as alternate bullet to be used, instead of prompting the user
19442 for a bullet character.
b6a5875b 19443
ee545c35
MA
194442011-03-09 Michael Albinus <michael.albinus@gmx.de>
19445
d86d2721
SM
19446 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19447 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19448 `tramp-default-port'.
19449
c47971d7
DD
194502011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19451
19452 * net/rcirc.el (rcirc-handler-001): Remove useless
19453 with-rcirc-process-buffer.
19454 (rcirc-check-auth-status): Swap arguments to string-match.
19455
13522cb4
GM
194562011-03-09 Glenn Morris <rgm@gnu.org>
19457
0be6f4f1
GM
19458 * shell.el (shell-mode):
19459 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19460
13522cb4
GM
19461 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19462 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19463
515de2e3
CY
194642011-03-08 Chong Yidong <cyd@stupidchicken.com>
19465
19466 * emacs-lisp/package.el (package-refresh-contents)
19467 (package-menu-execute): Use condition-case-no-debug.
19468
b511b994
MA
194692011-03-08 Michael Albinus <michael.albinus@gmx.de>
19470
19471 * simple.el (shell-command-to-string): Use `process-file'.
19472
19473 * emacs-lisp/package.el (package-tar-file-info): Handle also
19474 remote files.
19475
d86d2721
SM
19476 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19477 Use `equal' for upload base check.
b511b994 19478
25bbfb31
AM
194792011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19480
19481 * textmodes/texinfo.el (texinfo-environments):
19482 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19483
be996521
GM
194842011-03-08 Glenn Morris <rgm@gnu.org>
19485
e9c8529f
GM
19486 * cus-start.el (cursor-in-non-selected-windows):
19487 Fix :set quoting oddness. (Bug#8192)
19488
be996521
GM
19489 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19490 in some setf expressions. (Bug#2159)
19491
2bb5649e
CY
194922011-03-08 Chong Yidong <cyd@stupidchicken.com>
19493
19494 * custom.el (custom-available-themes): Return themes in
19495 alphabetical order.
19496
33383987 19497See ChangeLog.15 for earlier changes.
e3d51b27
MR
19498
19499;; Local Variables:
19500;; coding: utf-8
e3d51b27
MR
19501;; End:
19502
acaf905b 19503 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19504
19505 This file is part of GNU Emacs.
19506
19507 GNU Emacs is free software: you can redistribute it and/or modify
19508 it under the terms of the GNU General Public License as published by
19509 the Free Software Foundation, either version 3 of the License, or
19510 (at your option) any later version.
19511
19512 GNU Emacs is distributed in the hope that it will be useful,
19513 but WITHOUT ANY WARRANTY; without even the implied warranty of
19514 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19515 GNU General Public License for more details.
19516
19517 You should have received a copy of the GNU General Public License
19518 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.