* lisp/bindings.el (goto-map): Bind M-g TAB to move-to-column.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c4c0c2df
CY
12012-09-30 Chong Yidong <cyd@gnu.org>
2
d39d3c8e
CY
3 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
4
c4c0c2df
CY
5 * help-fns.el (help-fns--obsolete): Fix last change.
6
98a5e33b
SM
72012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8
34cf6f39
SM
9 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
10 (minor-mode-map-alist): Remove redundant code.
11
e01c13fe
SM
12 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
13 visited in a buffer.
14 (cvs-insert-visited-file): New function.
15 (find-file-hook): Use it.
16
17 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
18
02661b3a
SM
19 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
20 chose face.
21 (log-edit-empty-buffer-p): Don't require a space after a header.
22
43711d4b
SM
23 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
24
38a30d64
SM
25 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
26
4ffb41a9
SM
27 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
28 a proper minor-mode.
29
98a5e33b
SM
30 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
31
de82e29b
GM
322012-09-29 Glenn Morris <rgm@gnu.org>
33
5cc2e639
GM
34 * winner.el (winner-mode): Remove variable (let define-minor-mode
35 handle it).
36 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
37 Doc fixes.
38 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
39 (winner-mode): Use define-minor-mode.
40
7bd302eb
GM
41 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
42 the full definition in loaddefs, rather than duplicating it.
43
2923922f 44 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 45
0e3e4156
GM
46 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
47 (inferior-lisp-program, inferior-lisp-load-command)
48 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 49 No need to autoload defcustoms.
0e3e4156 50
de82e29b
GM
51 * hippie-exp.el (hippie-expand-try-functions-list)
52 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
53 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
54 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 55 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
56 * progmodes/vhdl-mode.el (vhdl-line-expand):
57 Explicitly load hippie-exp, so it does not get autoloaded
58 while hippie-expand-try-functions-list is let-bound.
59
e60b51ab
GM
602012-09-28 Glenn Morris <rgm@gnu.org>
61
277f0cfa
GM
62 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
63
e60b51ab
GM
64 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
65 Only "cl.el" counts as cl these days.
66
53baf48a
JL
672012-09-28 Juri Linkov <juri@jurta.org>
68
69 Display archive errors in the echo area instead of inserting
70 to the file buffer.
71
72 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
73 to STDERR-TEST that can be a regexp matching a successful output.
74 Create a temporary file and redirect stderr to it. Search for
75 STDERR-TEST in the stderr output and display it in the echo area
76 if no match is found.
77 (archive-extract-by-file): New function like
78 `archive-extract-by-stdout' but extracting archives to files
79 and looking for successful matches in stdout. Function body is
80 mostly copied from `archive-rar-extract'.
81 (archive-rar-extract): Use `archive-extract-by-file'.
82 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
83
9c1228c3
LL
842012-09-28 Leo Liu <sdl.web@gmail.com>
85
147c0425
LL
86 * pcomplete.el (pcomplete-show-completions): Use
87 minibuffer-message to make pcomplete usable in minibuffer.
88
9c1228c3
LL
89 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
90
7f457c06
SM
912012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
92
3df749b0
SM
93 * type-break.el: Use lexical-binding.
94 (type-break-mode): Use define-minor-mode.
95
7f457c06
SM
96 * emacs-lisp/pcase.el (pcase--mark-used): New.
97 (pcase--u1): Use it (bug#12512).
98
99 * custom.el (load-theme): Set buffer-file-name so the load is recorded
100 in load-history with the right file name.
101
c00ebc98
TH
1022012-09-28 Tassilo Horn <tsdh@gnu.org>
103
104 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
105 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
106 (doc-view-get-bounding-box): Make bounding box slicing work for
107 ODF and DVI documents.
108
96fb7170
GM
1092012-09-28 Glenn Morris <rgm@gnu.org>
110
111 * type-break.el (type-break-mode, type-break-interval)
112 (type-break-good-rest-interval, type-break-keystroke-threshold):
113 No need to autoload.
114 (type-break-good-rest-interval, type-break-keystroke-threshold):
115 Add :set-after.
116
5bc93c67
CY
1172012-09-28 Chong Yidong <cyd@gnu.org>
118
119 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
120 Add :version tag.
121
9cad61d6
SM
1222012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
123
e28e67b3 124 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 125
daee954c
GM
1262012-09-27 Glenn Morris <rgm@gnu.org>
127
a88324d4
GM
128 * faces.el (x-display-name): Declare (for without-x builds).
129
8e5064e5
GM
130 * linum.el (linum-format): Don't autoload it. Improve :type.
131
cc1783c2
GM
132 * progmodes/tcl.el: Don't require outline when compiling.
133 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
134 * textmodes/sgml-mode.el: Don't require outline when compiling.
135 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
136
48c339f2
GM
137 * term.el (term-ansi-reset):
138 Try setting term-ansi-face-already-done to nil. (Bug#11785)
139
daee954c
GM
140 * vc/vc.el (vc-next-action): Only gripe about committing read-only
141 files for RCS and SCCS. (Bug#9781)
142
b7f42161
CY
1432012-09-27 Chong Yidong <cyd@gnu.org>
144
145 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
146 change; value should be t.
147
a2e770db
SM
1482012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
149
83600dc8
SM
150 * image-mode.el: Use lexical-binding.
151 (image-mode-winprops): Use t to stand for the window of
152 a buffer that's not displayed.
153 * doc-view.el (doc-view-new-window-function): Handle the new
154 t in winprops.
155 (doc-view-enlarge): Make it a real nop if the size is not changed.
156 (doc-view-display): Handle the case where the buffer is not (yet?)
157 displayed in any window.
158 (doc-view-saved-settings): New var.
159 (doc-view-mode): Use it.
160 (doc-view-fallback-mode): Set it.
161
a2e770db
SM
162 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
163 Set lexical-binding.
164 (minibuffer-eldef-shorten-default): New var.
165 (minibuffer-default-in-prompt-regexps): Use it for new default.
166 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
167
e3b60857
JB
1682012-09-26 Juanma Barranquero <lekktu@gmail.com>
169
170 * international/uni-bidi.el:
171 * international/uni-category.el:
172 * international/uni-name.el:
173 * international/uni-numeric.el: Regenerate.
174
3a880af4
SM
1752012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
176 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * profiler.el: New file.
179
07b1a5fb
SM
1802012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
183 (testcover-reinstrument): Simplify with CSE.
184
42019c2e
JB
1852012-09-26 Juanma Barranquero <lekktu@gmail.com>
186
187 * window.el (temp-buffer-window-setup): Fix typo in docstring.
188
179f044b
WS
1892012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
190
191 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
192 (verilog-auto-input, verilog-auto-insert-lisp)
193 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
194 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
195 (verilog-auto-unused, verilog-auto-wire)
196 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
197 newline. Reported by Andrew Jones.
198 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
199 Reported by Brad Dobbie.
07b1a5fb
SM
200 (verilog-batch-delete-trailing-whitespace):
201 Create verilog-batch-delete-trailing-whitespace.
202 Reported by Brad Dobbie.
179f044b
WS
203 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
204 parameters from another module. Reported by Dan Katz.
205 (verilog-auto, verilog-auto-assign-modport)
206 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
207 AUTOINOUTMODPORT for UVM interface module shell generation.
208 Reported by Brad Dobbie.
209 (verilog-auto-inst-interfaced-ports): Make default nil, as more
210 standard behavior.
211 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
212 Reported by Matt Martin.
213
9c52dd5a
MR
2142012-09-25 Martin Rudalics <rudalics@gmx.at>
215
216 * window.el (window--resize-child-windows): When resizing child
217 windows proportionally, process them in reverse order to
218 preserve the "when splitting a window the new one gets the odd
219 line" behavior.
220 (window--resize-root-window-vertically): When resizing the
221 minibuffer window try to affect only windows at the bottom of the
222 frame. (Bug#12419)
223
863666eb
CY
2242012-09-25 Chong Yidong <cyd@gnu.org>
225
226 * subr.el (declare): Doc fix.
227
228 * help-fns.el (help-fns--obsolete): Handle macros properly.
229
59f7af81
CY
2302012-09-25 Chong Yidong <cyd@gnu.org>
231
232 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
233 this function obsolete.
234
235 * calendar/cal-x.el (calendar-two-frame-setup)
236 (calendar-only-one-frame-setup, calendar-one-frame-setup):
237 * calendar/calendar.el (american-calendar, european-calendar)
238 (calendar-for-loop):
239 * comint.el (comint-dynamic-simple-complete)
240 (comint-dynamic-complete-as-filename, comint-unquote-filename):
241 * desktop.el (desktop-load-default):
242 * dired-x.el (dired-omit-here-always)
243 (dired-hack-local-variables, dired-default-directory):
244 * emacs-lisp/derived.el (derived-mode-class):
245 * emacs-lisp/timer.el (timer-set-time-with-usecs):
246 * emacs-lock.el (toggle-emacs-lock):
247 * epa.el (epa-display-verify-result):
248 * epg.el (epg-sign-keys, epg-start-sign-keys)
249 (epg-passphrase-callback-function):
250 * eshell/esh-util.el (eshell-for):
251 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
252 (eshell-add-to-window-buffer-names):
253 * files.el (locate-file-completion):
254 * imenu.el (imenu-example--create-c-index)
255 (imenu-example--create-lisp-index)
256 (imenu-example--lisp-extract-index-name)
257 (imenu-example--name-and-position):
258 * international/mule-cmds.el (princ-list):
259 * international/mule-diag.el (decode-codepage-char):
260 * international/mule-util.el (detect-coding-with-priority):
261 * iswitchb.el (iswitchb-read-buffer):
262 * mail/mailalias.el (mail-complete):
263 * mail/sendmail.el (mail-sent-via):
264 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
265 (mouse-major-mode-menu):
266 * password-cache.el (password-read-and-add):
267 * pcomplete.el (pcomplete-parse-comint-arguments):
268 * progmodes/sh-script.el (sh-maybe-here-document):
269 * replace.el (query-replace-regexp-eval):
270 * savehist.el (savehist-load):
271 * simple.el (choose-completion-delete-max-match):
272 * term.el (term-dynamic-simple-complete):
273 * vc/ediff-init.el (ediff-check-version):
274 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
275 * vc/vc.el (vc-diff-switches-list):
276 * view.el (view-return-to-alist-update): Likewise.
277
278 * subr.el (eval-next-after-load, makehash, insert-string)
279 (assoc-ignore-representation, assoc-ignore-case): Use declare to
280 mark obsolete.
281 (mode-line-inverse-video): Variable deleted.
282
283 * international/mule-util.el (string-to-sequence): Remove.
284
285 * calendar/calendar.el (calendar-version):
286 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
287 (icalendar-convert-diary-to-ical):
288 * cus-edit.el (custom-mode):
289 * ansi-color.el (ansi-color-unfontify-region):
290 * international/latin1-disp.el (latin1-char-displayable-p):
291 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
292 * progmodes/which-func.el (which-func-update-1):
293 Use define-obsolete-function-alias.
59f7af81
CY
294
295 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
296 * net/newst-treeview.el (newsticker-groups-filename):
297 Fix incorrect obsolescence declaration.
59f7af81
CY
298
299 * allout.el (allout-passphrase-hint-string): Likewise.
300 (allout-init): Use a declare form to mark obsolete.
301
302 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
303 this applies to functions.
304
305 * iswitchb.el (iswitchb-read-buffer): Move code of
306 iswitchb-define-mode-map here, and delete that obsolete function.
307
308 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
309 font-lock-reference-face.
310
cca96c97
GM
3112012-09-25 Glenn Morris <rgm@gnu.org>
312
b06eeda8
GM
313 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
314 Doc fixes.
315
cca96c97
GM
316 * eshell/em-term.el (eshell-term-name):
317 Default to term-term-name. (Bug#12485)
318
dc4f818b
FEG
3192012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
320
cca96c97
GM
321 * progmodes/python.el (python-shell-send-buffer): Better handling
322 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 323
289c24bd
GM
3242012-09-24 Glenn Morris <rgm@gnu.org>
325
326 * eshell/esh-cmd.el (eshell-find-alias-function):
327 Tighten up file-name regexp. (Bug#12499)
328
8fb8b88f
FEG
3292012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
330
331 Enhancements for triple-quote string syntax.
332 * progmodes/python.el (python-quote-syntax): Remove.
333 (python-syntax-propertize-function): New value.
07b1a5fb
SM
334 (python-syntax-count-quotes, python-syntax-stringify):
335 New functions.
8fb8b88f 336
6c27f0f8
CY
3372012-09-24 Chong Yidong <cyd@gnu.org>
338
a5f2b6ec
CY
339 * mail/supercite.el (sc-version): Remove obsolete function.
340 (sc-describe): Don't mark as obsolete, since it is bound.
341 (sc-submit-bug-report): Remove.
342
343 * vc/log-edit.el (cvs-changelog-full-paragraphs)
344 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
345 (log-edit-require-final-newline)
346 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
347
348 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
349 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
350 * vc/vc.el (vc-checkout-carefully): Likewise.
351
352 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
353 (emerge-version): Remove.
354
355 * progmodes/compile.el (compile-internal): Remove.
356 (compilation-parse-errors-function): Fix typo.
357
358 * international/mule.el (set-char-table-default): Remove.
359 (set-coding-priority, make-coding-system, generic-char-p)
360 (charset-list, charset-bytes, charset-id): Use declare to mark
361 functions as obsolete.
362
363 * vc/pcvs-defs.el (cvs-buffer-name-alist)
364 (cvs-invert-ignore-marks): Remove references to obsolete vars.
365 * vc/vc-hooks.el (vc-default-registered): Don't use
366 vc-master-templates.
367
07b1a5fb
SM
368 * font-lock.el (font-lock-reference-face):
369 Use define-obsolete-variable-alias.
6c27f0f8
CY
370
371 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
372 * calendar/calendar.el (calendar-font-lock-keywords):
373 * calendar/diary-lib.el (diary-font-lock-keywords)
374 (diary-fancy-font-lock-keywords):
375 * textmodes/reftex-sel.el (reftex-insert-docstruct):
376 * textmodes/reftex-index.el (reftex-insert-index):
377 * textmodes/reftex-cite.el (reftex-format-bib-entry):
378 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
379 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
380 * progmodes/prolog.el (prolog-font-lock-keywords):
381 * progmodes/idlwave.el (idlwave-idl-keywords):
382 * progmodes/ada-mode.el (ada-font-lock-keywords):
383 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
384
bcc0adbf
GM
3852012-09-24 Glenn Morris <rgm@gnu.org>
386
387 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
388
095bb823
FEG
3892012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
390
391 * progmodes/python.el (python-indent-line): More consistent cursor
392 movement behavior.
393
70efc5c9
SM
3942012-09-23 Stefan Merten <smerten@oekonux.de>
395
396 * textmodes/rst.el: Fix compiler warning.
397
2f438239
RW
3982012-09-23 Roland Winkler <winkler@gnu.org>
399
07b1a5fb
SM
400 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
401 Transcribe also LaTeX hyphenation.
2f438239
RW
402 (bibtex-reformat): Bug fix. Do not quote twice the elements of
403 bibtex-reformat-previous-options.
404
936ad041
RW
4052012-09-23 Roland Winkler <winkler@gnu.org>
406
407 * proced.el (proced-renice-command): New variable.
408 (proced-marked-processes): New function.
409 (proced-with-processes-buffer): New macro.
410 (proced-send-signal): Use them.
411 (proced-renice): New command bound to r.
412
6fab0274
RW
4132012-09-23 Roland Winkler <winkler@gnu.org>
414
415 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
416 ibuffer-saved-filter-groups has one element, shortcut the call of
417 completing-read. (Bug#12331)
418
9a930676
CY
4192012-09-23 Chong Yidong <cyd@gnu.org>
420
421 * bindings.el (mode-line-toggle-read-only):
422 * bs.el (bs-toggle-readonly):
423 * buff-menu.el (Buffer-menu-toggle-read-only):
424 * dired.el (dired-toggle-read-only):
425 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
426
d07ff9db
CY
4272012-09-23 Chong Yidong <cyd@gnu.org>
428
429 * image.el (image-type-available-p): Adapt to init-image-library
430 argument changes.
431
51c4474e
JL
4322012-09-22 Juri Linkov <juri@jurta.org>
433
434 * dired.el (dired-mode-map): Add [remap read-only-mode] for
435 `dired-toggle-read-only'. (Bug#12462)
436
43bf5e8e
MR
4372012-09-22 Martin Rudalics <rudalics@gmx.at>
438
439 * subr.el (temp-output-buffer-show): New function.
440 (with-output-to-temp-buffer): Call temp-output-buffer-show
441 instead of internal-temp-output-buffer-show.
442
c88b867f
CY
4432012-09-22 Chong Yidong <cyd@gnu.org>
444
3df47cd5
CY
445 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
446 (Bug#12462).
447
c88b867f
CY
448 * repeat.el (repeat): Doc fix (Bug#12348).
449
450 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
451 (Bug#10909).
452
453 * simple.el (shell-command-on-region): Doc fix.
3171e303 454 (read-only-mode): Doc fix.
c88b867f 455
df9685f3
EZ
4562012-09-22 Eli Zaretskii <eliz@gnu.org>
457
458 * emacs-lisp/timer.el (run-with-idle-timer)
459 (timer-activate-when-idle): Warn against reinvoking an idle timer
460 from within its own timer action. (Bug#12447)
461
8e17c9ba
MR
4622012-09-22 Martin Rudalics <rudalics@gmx.at>
463
464 * cus-start.el (window-combination-limit): Add new optional
465 values.
466 * window.el (temp-buffer-window-show)
467 (window--try-to-split-window): Handle new values of
468 window-combination-limit (Bug#1806).
469 (split-window): Test window-combination-limit for t instead of
470 non-nil.
471 (display-buffer-at-bottom): New buffer display action function.
472 * help.el (temp-buffer-resize-regexps): New option.
473 (temp-buffer-resize-mode): Rewrite doc-string.
474 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 475 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 476
48a24920
SM
4772012-09-22 Stefan Merten <smerten@oekonux.de>
478
70efc5c9 479 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
480 (rst-official-version)
481 (rst-package-emacs-version-alist): Sync with official version
482 V1.4.0.
483 (rst-faces-defaults, rst-set-level-default)
484 (rst-level-face-max, rst-level-face-base-color)
485 (rst-level-face-base-light, rst-level-face-format-light)
486 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
487 (rst-adornment-faces-alist): Match new setup.
488 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
489 (rst-level-5, rst-level-6): New faces.
490
82f8cd94
CY
4912012-09-22 Chong Yidong <cyd@gnu.org>
492
493 * simple.el (undo): Handle indirect buffers (Bug#8207).
494
acfa068f 4952012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
496
497 IDO: Disable match re-ordering for buffer switching.
2bc9406c 498 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
499 (ido-set-matches-1): Use it. (Bug#2042)
500
acfa068f 5012012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
502
503 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
504 Fix 2011-05-17 change. (Bug#12418)
505
acfa068f 5062012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
507
508 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
509
acfa068f 5102012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
511
512 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
513 Be more robust about locating simple.el.
514
acfa068f 5152012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
516
517 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
518
acfa068f
CY
5192012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
520
521 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
522
41a97e6f
JL
5232012-09-20 Juri Linkov <juri@jurta.org>
524
eb2deaff
JL
525 * replace.el (query-replace-read-from): Use `read-regexp' instead
526 of `read-from-minibuffer' when `regexp-flag' is non-nil.
527 (occur-read-primary-args): Use `read-regexp' instead of
528 `read-string'.
529 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
530 `read-from-minibuffer'.
531 * isearch.el (isearch-occur): Use `read-regexp' instead of
532 `read-string'.
533 * dired.el (dired-read-regexp): Use `read-regexp' instead of
534 `read-from-minibuffer'.
535 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
536 of `read-string'. (Bug#7567)
537
5825610b
JL
538 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
539 and allow accepting a list of strings prepended to a list of
540 standard default values. Doc fix. (Bug#12321)
541
eebbf404
JL
542 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
543
41a97e6f
JL
544 * replace.el (read-regexp): Don't add ": " when PROMPT already
545 ends with a colon and space. (Bug#12321)
546
c9e452d3
TH
5472012-09-20 Tassilo Horn <tsdh@gnu.org>
548
549 * doc-view.el (doc-view-display): Better fix for the cl-assertion
550 error.
551
ee97deee
SM
5522012-09-20 Stefan Merten <smerten@oekonux.de>
553
70efc5c9 554 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
555 Fixes feature request bug#11711.
556 (rst-mode): Create `imenu-create-index-function'.
557 (rst-get-stripped-line): Delete after refactoring.
558 (rst-section-tree, rst-section-tree-rec)
559 (rst-section-tree-point): Refactor and document properly.
560 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
561 (rst-imenu-convert-cell, rst-imenu-create-index):
562 New function.
ee97deee 563
f490dab9
SM
5642012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
565
95b9712e
SM
566 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
567 (macroexp--expand-all): Use it.
568 (macroexp--funcall-and-return): Remove by folding it into its sole
569 caller (macroexp--warn-and-return).
570 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
571 Use macroexp--obsolete-warning.
572
f490dab9
SM
573 * calc/calc.el: Fix last change by removing the whole chunk, since it
574 was only needed back when Calc was not bundled.
575
96e8d411
MR
5762012-09-20 Martin Rudalics <rudalics@gmx.at>
577
578 * emacs-lisp/debug.el (debug): Restore assignment to
579 debugger-old-buffer removed on 2012-09-08.
580
0876a82d
JL
5812012-09-20 Juri Linkov <juri@jurta.org>
582
583 * dired-aux.el (dired-diff): Remove (require 'diff) since
584 `diff-latest-backup-file' is now autoloaded.
585
9f7c28f0
CY
5862012-09-20 Chong Yidong <cyd@gnu.org>
587
588 * vc/diff.el (diff-latest-backup-file): Autoload.
589
7a04bee9
SM
5902012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
591
e6f0a80d
SM
592 * calc/calc.el: Remove redundant autoload shape check.
593 (sel-mode): Don't defvar.
594 (calc-get-stack-element): Add `sel-mode' arg instead.
595 (calc-top, calc-top-list): Pass it this additional argument.
596 * calc/calc-store.el (calc-store-map):
597 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
598 (calc-map-equation, calc-outer-product, calc-inner-product):
599 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
600
7a04bee9
SM
601 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
602
12734222
JL
6032012-09-19 Juri Linkov <juri@jurta.org>
604
605 * dired-aux.el (dired-diff): Add (require 'diff) because
606 `diff-latest-backup-file' is not autoloaded.
607 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
608 of `dired-get-filename' to t to not report error when there is
609 no default file on the current line.
610
46624b4f
SM
6112012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
612
ce97595b
SM
613 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
614 macroexp--eval-if-compile.
615 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
616 (macroexp--expand-all): Use them (bug#12371).
617
46624b4f
SM
618 * doc-view.el (doc-view-guess-paper-size)
619 (doc-view-scale-bounding-box): Fix unbound `caddr'.
620
db8a5a18
TH
6212012-09-19 Tassilo Horn <tsdh@gnu.org>
622
623 New feature: set optimal slice from BoundingBox information.
624 * doc-view.el (doc-view-mode-map): Add keybinding.
625 (doc-view-menu): Add menu entry.
626 (doc-view-set-slice): Adapt docstring.
627 (doc-view-get-bounding-box, doc-view-guess-paper-size)
628 (doc-view-scale-bounding-box)
629 (doc-view-set-slice-from-bounding-box): New functions.
630 (doc-view-paper-sizes): New defvar.
631
69f6644c
GM
6322012-09-19 Glenn Morris <rgm@gnu.org>
633
35f5b19d
GM
634 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
635 (byte-compile-log-warning): Autoload. (Bug#12371)
636
69f6644c
GM
637 * calendar/calendar.el (calendar-american-month-header)
638 (calendar-european-month-header, calendar-iso-month-header)
639 (calendar-month-header): New options.
640 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
641 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
642
e543ae91
JD
6432012-09-19 Jan Djärv <jan.h.d@swipnet.se>
644
645 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
646
2fd5e67d
JL
6472012-09-18 Juri Linkov <juri@jurta.org>
648
649 * dired-aux.el (dired-diff): Restore original functionality of
650 getting the default value, but keep new feature of using the
651 latest existing backup file (`diff-latest-backup-file').
652
42917e79
JL
6532012-09-18 Juri Linkov <juri@jurta.org>
654
655 * dired.el (dired-mark): If the region is active in Transient Mark
656 mode, mark all files in the active region. Doc fix.
657 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
658 Doc fix. (Bug#10624)
659
20f70ede
JL
6602012-09-18 Juri Linkov <juri@jurta.org>
661
662 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
663 attributes for M-n are pulled from the file at point.
664 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
665 Suggested by Drew Adams. (Bug#10624)
666
32fb8162
DG
6672012-09-18 Dmitry Gutov <dgutov@yandex.ru>
668
669 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
670 whitespace after "end".
671 (ruby-do-end-to-brace): Collapse block to one line if it fits
672 within fill-column.
673
37ab5092
MR
6742012-09-18 Martin Rudalics <rudalics@gmx.at>
675
676 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
677 value.
678 (debug): Don't remove debugger window when debugger is expected
679 to be back.
680
ed1f0bd3
CY
6812012-09-18 Chong Yidong <cyd@gnu.org>
682
683 * custom.el (defface): Doc fix.
684
685 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
686
a11035b8
MB
6872012-09-18 Martin Blais <blais@furius.ca> (tiny change)
688
689 * progmodes/compile.el (compilation-start): Use compilation-always-kill
690 to initialize query-on-exit; then test that instead (bug#12288).
691
64f6a736
SM
6922012-09-17 Stefan Merten <smerten@oekonux.de>
693
70efc5c9 694 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
695 (rst-defcustom-testcover, rst-testcover-add-compose)
696 (rst-testcover-add-1value): New functions.
697 (rst-portable-mark-active-p): Replace by `use-region-p'.
698 (rst-update-section, rst-classify-adornment)
699 (rst-find-title-line): Mark `1value' forms.
700 (rst-classify-adornment): Remove superfluous form.
701 (rst-update-section, rst-get-adornments-around)
702 (rst-adornment-complete-p, rst-get-next-adornment)
703 (rst-adjust, rst-promote-region)
704 (rst-display-adornments-hierarchy, rst-straighten-adornments)
705 (rst-find-pfx-in-region, rst-section-tree-rec)
706 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
707 (rst-toc-node, rst-toc, rst-forward-section)
708 (rst-iterate-leftmost-paragraphs)
709 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
710 (rst-bullet-list-region)
711 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
712 (rst-compile-find-conf, rst-compile)
713 (rst-repeat-last-character): Fix style.
714
580bd868
CY
7152012-09-17 Chong Yidong <cyd@gnu.org>
716
717 * comint.el (comint--complete-file-name-data): Don't add a space
718 if the status is `sole'; that adds a gratuitous space in the
719 completion-cycling case (Bug#12092).
720
721 * pcomplete.el (pcomplete-completions-at-point): Likewise.
722
69de3ec6
RS
7232012-09-17 Richard Stallman <rms@gnu.org>
724
0dee970c
RS
725 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
726 only in the mime-shown mode, not in raw mode.
727 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 728 mime processing. (Bug#12305)
0dee970c 729
6b250df6
GM
730 * mail/rmail.el (rmail-retry-failure):
731 Turn off mime processing first. (Bug#12037)
acb1c47b 732
69de3ec6
RS
733 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
734
d079ee5f
CY
7352012-09-17 Chong Yidong <cyd@gnu.org>
736
737 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
738 (shell-dynamic-complete-functions): Convert to defcustom.
739 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
740
865fe16f
CY
741 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
742 * comint.el (comint-prompt-read-only):
743 * custom.el (defcustom):
744 * hi-lock.el (hi-lock-mode):
745 * ibuffer.el (ibuffer-formats):
746 * ielm.el (ielm-prompt-read-only):
747 * novice.el (disable-command):
748 * saveplace.el (toggle-save-place):
749 * speedbar.el (speedbar-supported-extension-expressions):
750 * startup.el (auto-save-list-file-prefix, init-file-user)
751 (after-init-hook, inhibit-startup-echo-area-message):
752 * strokes.el (strokes-help):
753 * time-stamp.el (time-stamp):
754 * calendar/calendar.el (calendar, diary-file):
755 * calendar/diary-lib.el (diary-mail-entries, diary)
756 (diary-list-entries-hook):
757 * calendar/holidays.el (holidays, calendar-holidays):
758 * calendar/lunar.el (lunar-phases):
759 * calendar/solar.el (sunrise-sunset):
760 * emulation/edt.el (edt-load-keys):
761 * emulation/viper.el (viper-mode):
762 * eshell/em-alias.el (eshell-command-aliases-list):
763 * eshell/esh-util.el (eshell-convert-numeric-arguments):
764 * international/ogonek.el (ogonek-information):
765 * net/tramp-cmds.el (tramp-bug):
766 * net/quickurl.el (quickurl-reread-hook-postfix):
767 * play/decipher.el (decipher-font-lock-keywords):
768 * progmodes/cc-styles.el (c-set-style):
769 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
770 * progmodes/inf-lisp.el (inferior-lisp-prompt):
771 * progmodes/octave-mod.el (octave-mode):
772 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
773 * progmodes/verilog-mode.el (verilog-read-defines):
774 * textmodes/two-column.el (2C-mode): Likewise.
775
48093eb9
KY
7762012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
777
778 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
779 that holds many addresses.
780
c584eaf9
CY
7812012-09-16 Chong Yidong <cyd@gnu.org>
782
40d70ecb
CY
783 * align.el (align-areas): Call the indication function with
784 positions instead of markers for arguments (Bug#12343).
785
1667e065
CY
786 * files.el (parse-colon-path): Use split-string (Bug#12351).
787
fdc2806d 788 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 789 (display-buffer-function): Mark as obsolete.
fdc2806d 790
f1be615c 791 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
792 values similar to font-lock-keywords (Bug#12136).
793 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
794 (compilation-error-regexp-alist): Doc fix.
795
f40a9709
GM
7962012-09-15 Glenn Morris <rgm@gnu.org>
797
72aa16e1
GM
798 * version.el (emacs-bzr-version-bzr): New function.
799 (emacs-bzr-get-version): Add optional EXTERNAL argument.
800
82375160
GM
801 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
802 checkouts, check the parent dirstate matches the branch.
803 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
804 empty string.
805
f40a9709
GM
806 * version.el (emacs-bzr-version): Doc fix.
807 (emacs-bzr-version-dirstate): New function.
808 (emacs-bzr-get-version): For lightweight checkouts, if the parent
809 is local try and check that it matches the branch. If not, just
810 use dirstate information. (Bug#12441)
811
cb26b7f5
JL
8122012-09-14 Juri Linkov <juri@jurta.org>
813
814 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
815 (Bug#12399)
816
2de39f08
SM
8172012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
818
0fb3cb7c
SM
819 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
820
2de39f08
SM
821 * emacs-lisp/edebug.el: Miscellaneous cleanup.
822 Remove obsolete byte-compiler hack that tried to silence some warnings.
823 (edebug-submit-bug-report): Remove.
824 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
825 Remove aliases, use the un-prefixed name instead.
826 (edebug-pop-to-buffer): Consider other frames.
827 (edebug-original-read):: Make it more obvious that it's always defined.
828 (edebug--make-form-data-entry, edebug--form-data-name)
829 (edebug--form-data-begin, edebug--form-data-end): Rename from the
830 single-dashed name, and implement with cl-defstruct.
831 (edebug-set-form-data-entry): Use the standard accessors.
832 (edebug-make-top-form-data-entry): Use push.
833 (edebug-no-match): Drop useless `funcall'.
834 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
835 to functions.
836 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
837 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
838 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
839 (easy-menu-define, with-custom-print): Remove redundant specs.
840 (edebug-outside-overriding-local-map)
841 (edebug-outside-overriding-terminal-local-map): Remove, unused.
842 (edebug--display): Bind unread-command-events directly to nil rather
843 than binding it to unread-command-events and later setting it to nil.
844 (edebug--display): Kill edebug-eval-buffer here...
845 (edebug--recursive-edit): ...rather than here.
846 Bind standard-output and standard-input.
847 (edebug-eval): Check cl-macroexpand-all is fboundp.
848 (edebug-temp-display-freq-count): Fix last change.
849
850 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
851 * subr.el (noreturn, 1value): Add `debug' spec.
852 * emacs-lisp/advice.el: Require cl-lib.
853 (ad-copy-tree): Remove, use copy-tree instead.
854 (ad-dolist): Remove use dolist or cl-dolist instead.
855 (ad-do-return): Remove, use cl-return instead.
856 (defadvice): Add `debug' spec.
857
5b68b333
JL
8582012-09-13 Juri Linkov <juri@jurta.org>
859
860 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
861 (Bug#12399)
862
b9800ec4
GM
8632012-09-13 Glenn Morris <rgm@gnu.org>
864
6a2e6868
GM
865 * calc/calc.el (math-compose-expr):
866 * calc/calc-ext.el (math-compose-expr):
867 * progmodes/cc-defs.el (cl-macroexpand-all):
868 * progmodes/cc-langs.el (delete-duplicates, mapcan)
869 (cl-macroexpand-all): Update declarations.
870
b9800ec4
GM
871 * vc/vc.el: No need to require ediff.
872 (ediff-load-version-control): Declare.
873 (ediff-vc-internal): Fix declaration.
874 (vc-version-ediff): Require ediff.
875
c18e885b
PE
8762012-09-13 Paul Eggert <eggert@cs.ucla.edu>
877
878 Use a more backwards-compatible timer format (Bug#12430).
879 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
880 being right after USECS, as that better supports old code that
881 inadvisedly looked directly at the timer vector.
882
d607d303
KH
8832012-09-13 Kenichi Handa <handa@gnu.org>
884
885 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
886 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
887 `coding-priority' property of these language environment.
888
72eac303
PE
8892012-09-13 Paul Eggert <eggert@cs.ucla.edu>
890
891 Fix glitches caused by addition of psec to timers (Bug#12430).
892 * image.el (image-animate-timer):
893 * time.el (display-time-world-timer):
894 Use timer--function and timer--args rather than raw access to
895 timer vector.
896
2168fe4f
GM
8972012-09-13 Glenn Morris <rgm@gnu.org>
898
899 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
900 If not compiling a file, try using load-file-name.
901
bd8d6108
SM
9022012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
903
c0c54fbd
SM
904 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
905 Fix last change.
906 (edebug-update-eval-list): Use `push'.
907
bd8d6108
SM
908 * emacs-lisp/edebug.el: Use lexical-binding.
909 Remove the "edebug-" prefix from non-dynamically-scoped variables.
910 Mark unused args with underscore.
911 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
912 (edebug-form-data): Use defvar-local.
913 (edebug-make-before-and-after-form, edebug-make-after-form):
914 Use backquote.
915 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
916 Not dynamically scoped any more.
917 (edebug--enter-trace): Add arguments `function' and `args'.
918 Rename from edebug-enter-trace.
919 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
920 (edebug--update-coverage): Add `after-index' and `value' args.
921 Rename from edebug-update-coverage.
922 (edebug-slow-after): Call it accordingly.
923 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
924 edebug-recursive-edit.
925 (edebug--display): Call it accordingly. Add args `value',
926 `offset-index', and `arg-mode'. Rename from edebug-display.
927 (edebug-debugger, edebug): Call it accordingly.
928 (edebug-eval-display-list): Use dolist.
929
a9f9d9de
JL
9302012-09-12 Juri Linkov <juri@jurta.org>
931
932 * info.el (Info-search): Don't check for isearch-mode and
933 isearch-regexp before let-binding search-spaces-regexp to
934 Info-search-whitespace-regexp.
935 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
936 search-whitespace-regexp if isearch-lax-whitespace or
937 isearch-regexp-lax-whitespace is non-nil.
938 (Info-mode): Don't set local variable search-whitespace-regexp.
939 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
940
bfeae2cf
SM
9412012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
944 (debugger-env-macro): Remove support for unread-command-char.
945
946 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
947 the temporary map re-appearing on emulation-mode-map-alists.
948
949 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
950 since 22.1.
951
952 * ehelp.el (with-electric-help): Accept functions in
953 electric-help-form-to-execute.
954 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
955 And replace unread-command-char -> unread-command-events.
956
fbbcaf1b
MA
9572012-09-12 Michael Albinus <michael.albinus@gmx.de>
958
959 Sync with Tramp 2.2.6.
960
961 * net/tramp.el (tramp-accept-process-output): Don't use
962 JUST-THIS-ONE in the XEmacs case.
963
964 * net/trampver.el: Update release number.
965
4dece104
MR
9662012-09-12 Martin Rudalics <rudalics@gmx.at>
967
bfeae2cf
SM
968 * emacs-lisp/debug.el (debugger-previous-window-height):
969 New variable.
4dece104
MR
970 (debug): When debugger-jumping-flag is non-nil try to restore
971 height of debugger window. (Bug#8789)
972
45b82ad0
SM
9732012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
974
60c49c0f
SM
975 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
976 overriding-local-map and pre/post-command-hook here.
977 (edebug-recursive-edit): Do it here instead (bug#12345).
978 (edebug-outside-unread-command-char): Remove all uses of
979 unread-command-char.
980
45b82ad0
SM
981 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
982 inhibit-debugger is bound instead.
983
baa26ea0
BG
9842012-09-11 Bastien Guerry <bzg@gnu.org>
985
986 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 987 (Bug#12346)
baa26ea0 988
04e8abfa
BG
9892012-09-11 Bastien Guerry <bzg@gnu.org>
990
96d03571 991 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 992 (Bug#12347)
96d03571
BG
993
9942012-09-11 Bastien Guerry <bzg@gnu.org>
995
fc0c31f8 996 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 997
04e082b0
MM
9982012-09-10 Michael R. Mauger <mmaug@yahoo.com>
999
1000 * progmodes/sql.el: Version 3.1
1001 (sql-db2-escape-newlines): New variable.
1002 (sql-escape-newlines-filter): Use it.
1003
399a361b
JB
10042012-09-10 Juanma Barranquero <lekktu@gmail.com>
1005
1006 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1007
0780c517
DN
10082012-09-10 Dan Nicolaescu <dann@gnu.org>
1009
45b82ad0
SM
1010 * vc/diff-mode.el (diff-mode-menu):
1011 Bind diff-remove-trailing-whitespace.
0780c517 1012
9b851e25
SM
10132012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1016 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1017 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1018 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1019 (eval-defun-2): Remove bogus interactive spec.
1020 (lisp-indent-line): Remove redundant whole-exp code, now done in
1021 indent-according-to-mode.
1022 (save-match-data): Remove redundant indent data.
1023
1024 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1025 Use `declare'.
1026
3231d532
JL
10272012-09-09 Juri Linkov <juri@jurta.org>
1028
1029 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1030 (replace-lax-whitespace, query-replace-regexp)
1031 (query-replace-regexp-eval, replace-regexp): Doc fix.
1032 (perform-replace, replace-highlight): Let-bind
1033 isearch-lax-whitespace to replace-lax-whitespace and
1034 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1035
1036 * isearch.el (isearch-query-replace): Let-bind
1037 replace-lax-whitespace to isearch-lax-whitespace and
1038 replace-regexp-lax-whitespace to
1039 isearch-regexp-lax-whitespace. (Bug#10885)
1040
70fe8236
SM
10412012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1044
8ed43f15
AM
10452012-09-09 Alan Mackenzie <acm@muc.de>
1046
70fe8236
SM
1047 * progmodes/cc-engine.el (c-state-cache-init):
1048 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1049 (c-record-parse-state-state):
1050 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1051
bfabf70a
AS
10522012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1053
1054 * register.el (register-separator): Rename from
1055 separator-register. All uses changed. Doc fix.
1056 (register): Fix version.
1057
011474aa
CY
10582012-09-09 Chong Yidong <cyd@gnu.org>
1059
1060 * replace.el (query-replace-map): Bind four new symbols for
1061 requesting window scrolling.
1062
1063 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1064 query-replace-map (Bug#8948).
1065
1066 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1067
1068 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1069 since they are now in query-replace-map.
1070
1071 * window.el (scroll-other-window-down): Make the arg optional.
1072
a8b7cd8d
CY
10732012-09-09 Chong Yidong <cyd@gnu.org>
1074
1075 * files.el (hack-local-variables-confirm): Use quit-window to kill
1076 the *Local Variables* buffer.
1077
c3268831
DG
10782012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1079
1080 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1081 not just expect to be at its beginning. Adjust callees.
1082 Succeed when do-end block has no space before the pipe character.
1083 (ruby-brace-to-do-end): When the original block is one-liner,
1084 convert to multiline. Reindent the result.
1085
0979429b
J
10862012-09-08 Jambunathan K <kjambunathan@gmail.com>
1087
1088 * register.el (register): New group.
1089 (register-separator): New user option.
1090 (increment-register): Route it to `append-to-register', if
1091 register contains text. Implication is that `C-x r +' can now be
1092 used for appending to a text register (bug#12217).
1093 (append-to-register, prepend-to-register): Add separator based on
1094 `register-separator.
1095
ace2989a
AM
10962012-09-08 Alan Mackenzie <acm@muc.de>
1097
1098 AWK Mode: make auto-newline work when there's "==" in the pattern.
1099 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1100 correctly.
0979429b
J
1101 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1102 Test more rigorously for "=" token.
ace2989a 1103
616c6c36
DG
11042012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1105
0979429b
J
1106 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1107 Only fail when reached LIMIT.
616c6c36 1108
35d98877
CY
11092012-09-08 Chong Yidong <cyd@gnu.org>
1110
1111 * dired.el (dired-mode-map): Don't bind M-=.
1112
1113 * dired-aux.el (dired-diff): Use backup file as default.
1114
1715f2db
DA
11152012-09-08 Drew Adams <drew.adams@oracle.com>
1116
1117 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1118
6dcef6ec
CY
11192012-09-08 Chong Yidong <cyd@gnu.org>
1120
1121 * subr.el (syntax-after, syntax-class): Doc fix.
1122
fa2bcf43
MR
11232012-09-08 Martin Rudalics <rudalics@gmx.at>
1124
1125 * window.el (display-buffer-in-previous-window): New buffer
1126 display action function.
1127
1128 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1129 (debugger-previous-window): New variable.
1130 (debug): Rewrite using display-buffer-in-previous-window,
1131 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1132
daac280a
SM
11332012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1134
1135 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1136
9dd40b00
MM
11372012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1138
daac280a
SM
1139 * progmodes/python.el (python-shell-send-string):
1140 When default-directory is remote, create temp file on remote
9dd40b00
MM
1141 filesystem.
1142 (python-shell-send-file): When file is remote, pass local view of
1143 file paths to remote Python interpreter. (Bug#12340)
1144
145823ec
CY
11452012-09-07 Chong Yidong <cyd@gnu.org>
1146
cee2e90d
CY
1147 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1148
0d7eb2ea
CY
1149 * files.el (after-find-file): Don't fail on a read-only buffer if
1150 require-final-newline is `visit' or `visit-save' (Bug#11156).
1151
145823ec
CY
1152 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1153
daac280a
SM
1154 * userlock.el (ask-user-about-supersession-threat):
1155 Use read-char-choice (Bug#12093).
145823ec 1156
74c582e6
CY
11572012-09-07 Chong Yidong <cyd@gnu.org>
1158
e5c2edf7
CY
1159 * subr.el (buffer-narrowed-p): New function.
1160
1161 * ses.el (ses-widen):
1162 * simple.el (count-words--buffer-message):
1163 * net/browse-url.el (browse-url-of-buffer): Use it
1164
1165 * simple.el (count-words-region): Don't signal an error if there
1166 is a non-nil prefix arg and the mark is not set.
c640e87d 1167
74c582e6
CY
1168 * help.el (describe-key-briefly): Allow the message to be seen
1169 when invoked from the minibuffer (Bug#7014).
1170
d81ceaaf
DG
11712012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1172
1173 * progmodes/ruby-mode.el (ruby-end-of-defun)
1174 (ruby-beginning-of-defun): Simplify, allow indentation before
1175 block beginning and end keywords.
8f06acce
DG
1176 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1177 (ruby-end-of-defun): Expect that the point is at the beginning of
1178 the defun.
d81ceaaf 1179
d458ef98
SM
11802012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1183 (bug#12367).
1184 (cl--make-usage-args): Strip _ from argument names.
1185
20367d28
RS
11862012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1187
1188 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1189 obsolete alias speedbar-key-map.
1190 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1191 (vhdl-index-menu-init): Don't use obsolete variable
1192 font-lock-maximum-size.
1193
3424a4f6
CY
11942012-09-06 Chong Yidong <cyd@gnu.org>
1195
1196 * frame.el (window-system-version): Mark as obsolete.
1197
fcbfbdea
CY
1198 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1199 of obsolete variable speedbar-key-map.
1200
826b3235
JL
12012012-09-06 Juri Linkov <juri@jurta.org>
1202
1203 * replace.el (replace-lax-whitespace): New defcustom.
1204 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1205 (replace-string, replace-regexp): Mention it in docstrings.
1206 (perform-replace, replace-highlight): Let-bind
1207 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1208 to the values of replace-lax-whitespace and regexp-flag.
1209 Don't let-bind search-whitespace-regexp. (Bug#10885)
1210
1211 * isearch.el (isearch-query-replace): Let-bind
1212 replace-lax-whitespace instead of let-binding
1213 replace-search-function and replace-re-search-function.
1214 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1215 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1216 (isearch-toggle-symbol): Set isearch-regexp to nil
1217 in isearch-word mode (like in isearch-toggle-word).
1218
1ec5e41d
JL
12192012-09-06 Juri Linkov <juri@jurta.org>
1220
1221 * replace.el (replace-search-function)
1222 (replace-re-search-function): Set default values to nil.
1223 (perform-replace): Let-bind isearch-related variables based on
1224 replace-related values, call `isearch-search-fun' and let-bind
1225 the result to `search-function'. Remove code that sets
1226 `search-function' and `search-string' separately for
1227 `delimited-flag'.
1228 (replace-highlight): Add new argument `delimited-flag' and
1229 rename other arguments to the names used in `perform-replace'.
1230 Let-bind `isearch-word' to the argument `delimited-flag'.
1231 (Bug#10885, bug#10887)
1232
0ba2d4b6
DG
12332012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1234
1235 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1236 ruby-beginning-of-indent, simplify, allow all keywords to have
1237 indentation before them.
1238 (ruby-beginning-of-indent): Adjust for above. Search until the
1239 found point is not inside a string or comment.
1240 (ruby-font-lock-keywords): Allow symbols to start with "@"
1241 character, give them higher priority than variables.
1242 (ruby-syntax-propertize-function)
1243 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1244 matchers. Expression expansions are not comments when inside a
1245 string, and there comment syntax status is irrelevant.
1246 (ruby-match-expression-expansion): New function. Check that
1247 expression expansion is inside a string, and it's not escaped.
1248 (ruby-font-lock-keywords): Use it.
1249
ef654460
MR
12502012-09-05 Martin Rudalics <rudalics@gmx.at>
1251
1252 * help.el (temp-buffer-max-height): New default value.
1253 (temp-buffer-resize-frames): New option.
1254 (resize-temp-buffer-window): Optionally resize frame.
1255
1256 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1257 (fit-frame-to-buffer): New function.
1258
7e570fbf 12592012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1260
1261 * emulation/cua-rect.el (cua--init-rectangles):
1262 * textmodes/picture.el (picture-mode-map):
1263 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1264 like forward-char and backward-char. (Bug#12317)
1265
7e570fbf 12662012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1267
1268 * progmodes/flymake.el (flymake-warning-re): New variable.
1269 (flymake-parse-line): Use it.
1270
7e570fbf 12712012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1272
1273 * calendar/holidays.el (holiday-christian-holidays):
1274 Rename an entry. (Bug#12289)
1275
7e570fbf 12762012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1277
1278 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1279 (bug#12222).
1280
972debf2
SM
12812012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * loadup.el: Load macroexp. Remove hack.
1284 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1285 (macroexp--expand-all): Use it to get better warnings.
1286 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1287 (internal-macroexpand-for-load): New functions.
1288 (macroexp--pending-eager-loads): New var.
1289 (emacs-startup-hook): New hack to replace one in loadup.el.
1290 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1291 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1292 (cl-psetf): Simplify.
1293 (cl-defstruct): Add indent rule.
1294
8ce192e3
LI
12952012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1296
1297 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1298 over `user-mail-address' for the SMTP MAIL FROM envelope.
1299 (smtpmail-via-smtp): Ditto.
1300
6578b4d8
DG
13012012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1302
1303 * progmodes/ruby-mode.el: Clean up keybindings.
1304 (ruby-mode-map): Don't bind ruby-electric-brace,
1305 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1306 backward-kill-word, reindent-then-newline-and-indent.
1307 (ruby-mark-defun): Remove.
1308 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1309 (ruby-mode): Set local beginning-of-defun-function and
1310 end-of-defun-function values.
1311
c5e28e39
MR
13122012-09-03 Martin Rudalics <rudalics@gmx.at>
1313
1314 * window.el (temp-buffer-window-setup-hook)
1315 (temp-buffer-window-show-hook): New hooks.
1316 (temp-buffer-window-setup, temp-buffer-window-show)
1317 (with-temp-buffer-window): New functions.
972debf2
SM
1318 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1319 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1320
1321 * help.el (temp-buffer-resize-mode): Fix doc-string.
1322 (resize-temp-buffer-window): New optional argument WINDOW.
1323
1324 * files.el (recover-file, save-buffers-kill-emacs):
1325 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1326
73406194
MA
13272012-09-02 Michael Albinus <michael.albinus@gmx.de>
1328
1329 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1330 remote definition of `default-directory', ensure we can connect.
1331
63dd1c6f
JL
13322012-09-02 Juri Linkov <juri@jurta.org>
1333
1334 Toggle whitespace matching mode with M-s SPC.
1335 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1336
1337 * isearch.el (search-whitespace-regexp): Doc fix.
1338 Remove cons cell customization.
1339 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1340 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1341 New variables.
1342 (isearch-forward, isearch-forward-regexp): Doc fix.
1343 (isearch-toggle-lax-whitespace): New command.
1344 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1345 (re-search-forward-lax-whitespace)
1346 (re-search-backward-lax-whitespace): New functions.
1347 (isearch-whitespace-regexp): Remove function.
1348 (isearch-query-replace): Let-bind replace-search-function and
1349 replace-re-search-function.
1350 (isearch-occur): Let-bind search-spaces-regexp according to the
1351 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1352 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1353 condition for C-q SPC.
1354 (isearch-search-fun-default): Use new functions mentioned above.
1355 (isearch-search-forward, isearch-search-backward): Remove functions.
1356 (isearch-search): Don't let-bind search-spaces-regexp.
1357 (isearch-lazy-highlight-space-regexp): Remove variable.
1358 (isearch-lazy-highlight-lax-whitespace)
1359 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1360 (isearch-lazy-highlight-new-loop): Use them.
1361 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1362
af7dda05
CY
13632012-09-02 Chong Yidong <cyd@gnu.org>
1364
1365 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1366
d67d3afd
GM
13672012-09-02 Glenn Morris <rgm@gnu.org>
1368
1369 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1370
69678719
GM
13712012-09-01 Glenn Morris <rgm@gnu.org>
1372
1373 * term.el: Tidy up menu definitions.
1374 (term-mode-map): Use easymenu for In/Out, Complete menus.
1375 (term-pager-break-map): Initialize in the defvar.
1376 (term-terminal-menu, term-signals-menu): Define with easymenu.
1377 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1378 (term-pager-menu): New, extracted from term-process-pager.
1379 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1380 (term-update-mode-line): Propertize line/char and page items.
1381 (term-process-pager): Move keymap initialization elsewhere.
1382
78dd6ab1
MR
13832012-09-01 Martin Rudalics <rudalics@gmx.at>
1384
1385 * window.el (switch-to-prev-buffer): Handle additional values of
1386 BURY-OR-KILL argument. Don't switch in minibuffer window.
1387 (switch-to-next-buffer): Don't switch in minibuffer window.
1388 (quit-restore-window): New function based on quit-window.
1389 Handle additional values of former KILL argument.
1390 (quit-window): Call quit-restore-window with appropriate
1391 interpretation of KILL argument.
1392 (display-buffer-below-selected): New buffer display action
1393 function.
1394
3d10e134
SM
13952012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * minibuffer.el (completion-at-point-functions): Complete docstring
1398 (bug#12254).
1399
0e23ef9d
PE
14002012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1401
1402 Better seed support for (random).
1403 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1404 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1405 * play/mpuz.el, play/tetris.el, play/zone.el:
1406 * calc/calc-comb.el (math-init-random-base):
1407 * play/blackbox.el (bb-init-board):
1408 * play/life.el (life):
1409 * server.el (server-use-tcp):
1410 * type-break.el (type-break):
1411 Remove unnecessary call to (random t).
1412 * net/sasl.el (sasl-unique-id-function):
1413 Change (random t) to (random), now that the latter is more random.
1414 * play/life.el (life-initialized): Remove no-longer-needed var.
1415
862382df
MR
14162012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1417
1418 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1419 Consider frame's buffer predicate when choosing the buffer.
1420 (Bug#12081)
1421
262a66e1
RS
14222012-08-30 Richard Stallman <rms@gnu.org>
1423
1424 * simple.el (special-mode-map): Delete binding for `z'.
1425
f17e1d00
AS
14262012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1427
1428 * progmodes/compile.el (compilation-always-kill): Doc fix.
1429
24777832
CY
14302012-08-30 Chong Yidong <cyd@gnu.org>
1431
1432 * window.el (display-buffer-reuse-frames): Make the obsolescence
1433 message more informative.
1434
69ba1f04
GM
14352012-08-30 Glenn Morris <rgm@gnu.org>
1436
1437 * paren.el (show-paren-delay):
1438 Add a :set function. Doc fix. (Bug#12297)
1439
f0019ede
MB
14402012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1441
1442 * progmodes/compile.el (compilation-always-kill): New var.
1443 (compilation-start): Use it.
1444
35e62fc9
SM
14452012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1446
af070a1c
SM
1447 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1448 * files.el (read-only-mode): Move to simple.el.
1449
35e62fc9
SM
1450 * files.el (read-only-mode): New minor mode.
1451 (toggle-read-only): Use it and mark obsolete.
1452 (find-file--read-only):
1453 * vc/vc.el (vc-next-action, vc-checkout):
1454 * vc/vc-cvs.el (vc-cvs-checkout):
1455 * obsolete/vc-mcvs.el (vc-mcvs-update):
1456 * ffap.el (ffap--toggle-read-only): Update callers.
1457
c2c43c23
MA
14582012-08-29 Michael Albinus <michael.albinus@gmx.de>
1459
1460 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1461 remote shell scripts.
1462 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1463
1464 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1465 "/usr/local/sbin".
1466
9fba804b
SM
14672012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1470
eada0861 14712012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1472
806f0cc7
LL
1473 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1474 completion-at-point. (Bug#12220)
1475
3bb213b9
LL
1476 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1477
22ab32ef
LL
1478 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1479
eada0861 14802012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1481
19c17fc1
CY
1482 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1483 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1484
eada0861 14852012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1486
1487 * progmodes/hideif.el (hif-compress-define-list):
1488 Fix typo. (Bug#11951)
1489
eada0861 14902012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1491
1492 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1493 buffer local setting.
1494
27d6c5a8
LL
1495 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1496 rcirc-encode-coding-system.
1497
eada0861 14982012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1499
1500 * net/rcirc.el (rcirc-split-message): New function.
1501 (rcirc-send-message): Use it. (Bug#12051)
1502
d44688e4
JL
15032012-08-28 Juri Linkov <juri@jurta.org>
1504
1505 * info.el (Info-fontify-node): Hide empty lines at the end of
1506 the node. (Bug#12272)
1507
34f10d41
MR
15082012-08-27 Drew Adams <drew.adams@oracle.com>
1509
1510 * dired.el (dired-pop-to-buffer): Make window start at beginning
1511 of buffer (Bug#12281).
1512
77f1f99c
CY
15132012-08-26 Chong Yidong <cyd@gnu.org>
1514
1515 * window.el (special-display-regexps, special-display-frame-alist)
1516 (special-display-buffer-names, special-display-function)
1517 (display-buffer-reuse-frames): Mark as obsolete.
1518
1519 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1520
1521 * help.el (help-print-return-message): Don't treat
1522 display-buffer-reuse-frames specially.
1523
d97af5a0
CY
15242012-08-26 Chong Yidong <cyd@gnu.org>
1525
9fba804b
SM
1526 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1527 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1528 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1529 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1530 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1531 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1532 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1533 the functions directly with gdb-display-buffer-other-frame-action.
1534 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1535 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1536 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1537 (gdb-display-registers-buffer): Define directly.
1538 (def-gdb-display-buffer): Macro deleted.
1539 (gdb-display-buffer): Remove second and third args, callers don't
1540 use them. Defer to the default display-buffer behavior, apart
1541 from making windows dedicated.
1542 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1543
1544 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1545
1546 * window.el (display-buffer-pop-up-frame): Handle a
1547 pop-up-frame-parameters alist entry.
1548 (display-buffer): Document it.
1549
dd7ffad6
CY
15502012-08-26 Chong Yidong <cyd@gnu.org>
1551
1552 * isearch.el (search-whitespace-regexp): Make string and nil
1553 values apply to both ordinary and regexp search. Allow a cons
1554 cell value to distinguish between the two.
1555 (isearch-whitespace-regexp, isearch-search-forward)
1556 (isearch-search-backward): New functions.
1557 (isearch-occur, isearch-search-fun-default, isearch-search)
1558 (isearch-lazy-highlight-new-loop): Use them.
1559 (isearch-forward, isearch-forward-regexp): Doc fix.
1560
4c47bd1e
CY
15612012-08-26 Chong Yidong <cyd@gnu.org>
1562
1563 * faces.el (help-argument-name): Always inherit from italic
1564 (Bug#12213).
1565
9aba119d
MR
15662012-08-25 Martin Rudalics <rudalics@gmx.at>
1567
1568 * window.el (window--even-window-heights): Even heights when
1569 WINDOW and the selected window form a vertical combination.
1570 (display-buffer-use-some-window): Provide that window used gets
1571 sized back by quit-window. (Bug#11880) and (Bug#12091)
1572
ca5256ad
PE
15732012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1574
1575 Fix file time stamp problem with bzr and CVS (Bug#12001).
1576 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1577 in the file's time stamp, since the version control system loses
1578 that information.
1579
d1c0d176
JL
15802012-08-22 Juri Linkov <juri@jurta.org>
1581
1582 * info.el (Info-fontify-node): Hide the suffix of the
1583 Info file name in the header line. (Bug#12187)
1584
141562ff
GM
15852012-08-22 Glenn Morris <rgm@gnu.org>
1586
1587 * calendar/cal-tex.el (cal-tex-weekly-common):
1588 Restore leading blank page.
1589
61a48e19 15902012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1591
1592 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1593 the region under `shift-select-mode'. (Bug#12231)
1594
15952012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1596
1597 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1598 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1599 gives details on why the space is never needed.
1600
ea95074e
MR
16012012-08-22 Martin Rudalics <rudalics@gmx.at>
1602
9fba804b
SM
1603 * window.el (walk-window-tree, window-with-parameter):
1604 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1605 should run on the minibuffer window.
1606 (window-at-side-list): Don't operate on minibuffer window.
1607 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1608 (window--size-ignore): Rename to window--size-ignore-p.
1609 Update callers.
caceae25
MR
1610 (display-buffer-in-atom-window, window--major-non-side-window)
1611 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1612 (delete-side-window, display-buffer-in-side-window):
1613 New functions.
caceae25
MR
1614 (window--side-check, window-deletable-p, delete-window)
1615 (delete-other-windows, split-window): Handle side windows and
1616 atomic windows appropriately.
1617 (window--display-buffer): Call display-buffer-record-window also
1618 when the window buffer did not change.
ea95074e 1619
80a51fa0
CS
16202012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1621
1622 * help-fns.el (help-fns--key-bindings):
1623 Abbreviate non-symbol remap targets. (Bug#12174)
1624
fbb6300b
MR
16252012-08-22 Martin Rudalics <rudalics@gmx.at>
1626
1627 * dired.el (dired-mark-remembered): Don't clobber point.
1628 (Bug#11795)
1629
2b2c0794
GM
16302012-08-22 Glenn Morris <rgm@gnu.org>
1631
1632 * progmodes/bug-reference.el (bug-reference): New custom group.
1633 (bug-reference-bug-regexp): Make it a defcustom.
1634
37219830
DU
16352012-08-22 Daiki Ueno <ueno@unixuser.org>
1636
1637 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1638 (js-paren-indent-offset, js-square-indent-offset)
1639 (js-curly-indent-offset): Add :safe (Bug#12257).
1640
94e0e559
EC
16412012-08-22 Edward O'Connor <hober0@gmail.com>
1642
1643 * json.el (json-key-format): Add error properties.
1644 (json-encode-key): New function.
1645 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1646 Use json-encode-key.
1647
da485f5e
GM
16482012-08-22 Glenn Morris <rgm@gnu.org>
1649
1650 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1651 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1652 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1653 Update for above change.
1654
c6cc78b8
AS
16552012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1656
1657 * cus-face.el (custom-face-attributes): Fix customize type for the
1658 :underline attribute. (Bug#11805)
1659
5481664a
MR
16602012-08-21 Martin Rudalics <rudalics@gmx.at>
1661
1662 * window.el (window-point-1, set-window-point-1): Remove.
1663 (window-in-direction, record-window-buffer)
1664 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1665 (window--state-get-1, display-buffer-record-window):
1666 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1667 window-point and set-window-point respectively.
1668
6d74698e
GM
16692012-08-21 Glenn Morris <rgm@gnu.org>
1670
b7fa2691
GM
1671 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1672 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1673 Use it.
1674
52f56d5a
GM
1675 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1676 (cal-tex-shortday): New function.
1677 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1678 (cal-tex-cursor-filofax-daily): Use the above.
1679
9f1ee09e
GM
1680 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1681 New functions.
1682 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1683 (cal-tex-cursor-filofax-week): Use them.
1684
79858159
GM
1685 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1686 New constants.
1687 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1688 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1689
d346b2b4
GM
1690 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1691 (cal-tex-end-document): Don't rely on buffer name.
1692
b2403709
GM
1693 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1694 Use cal-tex-vspace.
1695 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1696 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1697 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1698 Use cal-tex-arg.
b2403709 1699
1cebb5c0
GM
1700 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1701 (cal-tex-cursor-week, cal-tex-cursor-week2)
1702 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1703 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1704 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1705 (cal-tex-insert-preamble, cal-tex-b-document)
1706 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1707 Improve cal-tex-cmd usage.
1708
c68cd5d4
GM
1709 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1710 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1711 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1712 (cal-tex-weekly-paper): New function.
1713 (cal-tex-cursor-week, cal-tex-cursor-week2)
1714 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1715 (cal-tex-cursor-day): Use it.
1716
9dca4801
GM
1717 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1718 (cal-tex-cursor-filofax-week): Remove leading blank page.
1719
1941e134
GM
1720 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1721 Add autoload cookie. For now at least, don't use color, since
1722 no other cal-tex function does.
1723
6d74698e
GM
1724 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1725 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1726 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1727
64cde199
JL
17282012-08-21 Juri Linkov <juri@jurta.org>
1729
1730 * info.el (Info-file-attributes): New variable.
1731 (info-insert-file-contents): Add file attributes to
1732 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1733 `Info-toc-nodes' when previous modtime of the Info file is less
1734 than new modtime.
1735 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1736 of info.el. (Bug#12230)
1737
32757648
GM
17382012-08-20 Glenn Morris <rgm@gnu.org>
1739
1740 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1741 * calendar/holidays.el (calendar-holiday-list):
1742 Report errors with display-warning rather than beep'n'sleep.
1743
a32fbbcf
MA
17442012-08-20 Michael Albinus <michael.albinus@gmx.de>
1745
1746 * net/tramp.el (tramp-accept-process-output): Accept only output
1747 from PROC. Otherwise, process filters and sentinels might be
1748 confused. (Bug#12145)
1749
a05731a0
CY
17502012-08-20 Chong Yidong <cyd@gnu.org>
1751
1752 * descr-text.el (describe-text-properties-1): Use overlays-in to
1753 report on empty overlays (Bug#3322).
1754
36e8d1eb
GM
17552012-08-20 Glenn Morris <rgm@gnu.org>
1756
3d300447
GM
1757 * mail/rmailout.el (rmail-output-read-file-name):
1758 Trap and report errors in rmail-output-file-alist elements.
1759
36e8d1eb
GM
1760 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1761 since most non-font-lock faces are not also variables).
1762
b96e5814
ER
17632012-08-20 Edward Reingold <reingold@iit.edu>
1764
1765 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1766 New function. (Bug12160)
1767
7cef3569
GM
17682012-08-19 Glenn Morris <rgm@gnu.org>
1769
1770 * mail/rmailout.el (rmail-output-read-file-name):
1771 Fix previous change (when the alist is nil or does not match).
1772
17975d7f
CY
17732012-08-19 Chong Yidong <cyd@gnu.org>
1774
1775 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1776 (Bug#12228).
1777
2170b1bd
CY
17782012-08-18 Chong Yidong <cyd@gnu.org>
1779
1780 * simple.el (yank-handled-properties): New defcustom.
1781 (yank-excluded-properties): Add font-lock-face and category.
1782 (yank): Doc fix.
1783
9fba804b
SM
1784 * subr.el (remove-yank-excluded-properties):
1785 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1786 and category is now done this way, instead of being hard-coded.
1787 (insert-for-yank-1): Remove font-lock-face handling.
1788 (yank-handle-font-lock-face-property)
1789 (yank-handle-category-property): New function.
1790
ee218151
GM
17912012-08-17 Glenn Morris <rgm@gnu.org>
1792
1793 * mail/rmailout.el (rmail-output-read-file-name):
1794 Check rmail-output-file-alist against the full message body
1795 in the correct rmail buffer. (Bug#12214)
1796
4a6bc3fd
MA
17972012-08-17 Michael Albinus <michael.albinus@gmx.de>
1798
9fba804b
SM
1799 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1800 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1801
383dcbf9
CY
18022012-08-17 Chong Yidong <cyd@gnu.org>
1803
1804 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1805 font spec, set the font directly (Bug#3228).
1806
998c4a6a
MR
18072012-08-17 Martin Rudalics <rudalics@gmx.at>
1808
1809 * window.el (delete-window): Fix last fix.
1810
52162052
MR
18112012-08-16 Martin Rudalics <rudalics@gmx.at>
1812
1813 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1814 (window-child, window-child-count, window-last-child)
1815 (window-normalize-window, window-combined-p)
1816 (window-combinations, window-atom-root, window-min-size)
1817 (window-sizable, window-sizable-p, window-size-fixed-p)
1818 (window-min-delta, window-max-delta, window--resizable)
1819 (window--resizable-p, window-resizable, window-total-size)
1820 (window-full-height-p, window-full-width-p, window-body-size)
1821 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1822 (minimize-window, window-deletable-p, delete-window)
1823 (delete-other-windows, set-window-buffer-start-and-point)
1824 (next-buffer, previous-buffer, split-window, balance-windows-2)
1825 (set-window-text-height, window-buffer-height)
1826 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1827 (truncated-partial-width-window-p): Minor code adjustments.
1828 In doc-strings state whether the argument window has to denote a
85c2386b 1829 live, valid or any window.
52162052 1830
1c308380
PS
18312012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1832
1833 * progmodes/subword.el (subword-forward-function)
1834 (subword-backward-function, subword-forward-regexp)
1835 (subword-backward-regexp): New variables.
1836 (subword-forward, subword-forward-internal, subword-backward-internal):
1837 Use new variables, eg so that different "word" definitions
1838 can be easily used. (Bug#11411)
1839
94c9ece1
SM
18402012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1843 for composite selectors.
1844 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1845 operation just because we can't find a previous revision.
1846
f2045622
CY
18472012-08-15 Chong Yidong <cyd@gnu.org>
1848
1849 * frame.el (set-frame-font): Accept font objects.
1850
582db660
SM
18512012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1854
2f29c200
WJ
18552012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1856
456e62c2
WJ
1857 * man.el (Man-overstrike-face, Man-underline-face)
1858 (Man-reverse-face): Remove variables.
1859 (Man-overstrike, Man-underline, Man-reverse): New faces.
1860 (Man-fontify-manpage): Use them instead of the variables.
1861 (Man-cleanup-manpage): Comment change.
1862 (Man-ansi-color-map): New variable.
1863 (Man-fontify-manpage): Use it.
1864 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1865
2f29c200
WJ
1866 Implement ANSI SGR parameters 22-27 (bug#12146).
1867 * ansi-color.el (ansi-colors): Doc fix.
1868 (ansi-color-context, ansi-color-context-region): Doc fix.
1869 (ansi-color--find-face): New function.
1870 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1871 Rename the local variable `face' to `codes' since it is now a list of
1872 ansi codes. Doc fix.
1873 (ansi-color-get-face): Remove.
1874 (ansi-color-parse-sequence): New function, derived from
1875 ansi-color-get-face.
1876 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1877 codes 22-27.
1878
b4f5e9df
SM
18792012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * subr.el (read-passwd): Allow use from a minibuffer.
1882
ba025fbd
EZ
18832012-08-14 Eli Zaretskii <eliz@gnu.org>
1884
1885 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1886 inside comments and strings as identifiers.
1887
1888 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1889 expression to evaluate. This allows to evaluate expressions with
1890 embedded whitespace.
1891 (gud-tooltip-tips): Add a blank before the newline in the
1892 message-box text, for the benefit of message-box emulation on
1893 MS-Windows.
1894
1895 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1896 messages from GDB, pop them up in a tooltip to give feedback to
1897 user.
b4f5e9df
SM
1898 (gdb-tooltip-print-1): Quote the expression to evaluate.
1899 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1900 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1901 if the TTY name is nil or empty (which happens when communicating
1902 with the inferior via pipes, e.g. on MS-Windows).
1903 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1904 don't send that to the GUD buffer.
1905
c548f821
GM
19062012-08-14 Glenn Morris <rgm@gnu.org>
1907
1908 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1909 Optimize away setq-default with no args, as for setq. (Bug#12195)
1910
55802e4a
CY
19112012-08-14 Chong Yidong <cyd@gnu.org>
1912
4abcdac8
CY
1913 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1914
55802e4a
CY
1915 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1916 (Bug#12085).
1917
3c3cda1a
GM
19182012-08-14 Glenn Morris <rgm@gnu.org>
1919
1920 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1921
e1873bd0
MA
19222012-08-14 Michael Albinus <michael.albinus@gmx.de>
1923
1924 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1925 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1926 Use cached shell name.
1927
925411b4
FEG
19282012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1929
1930 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1931 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1932
e636fafe
DG
19332012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1934
1935 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1936 (ruby-percent-literal-beg-re): New constant.
1937 (ruby-syntax-general-delimiters-goto-beg): Rename to
1938 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1939 (ruby-syntax-propertize-general-delimiters): Rename to
1940 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1941 popular term. Adjust comments everywhere.
1942 (ruby-syntax-propertize-percent-literal): Only propertize when not
1943 inside a simple string or comment. When the literal is unclosed,
1944 leave the text after it unpropertized.
f063063a
DG
1945 (ruby-syntax-methods-before-regexp): New constant.
1946 (ruby-syntax-propertize-function): Use it to recognize regexps.
1947 Don't look at the text after regexp, just use the whitelist.
e636fafe 1948
e5b19827
AS
19492012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1950
1951 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1952 non-nil always load the compiled file if it exists. (Bug#12197)
1953
a9f6f311
CY
19542012-08-14 Chong Yidong <cyd@gnu.org>
1955
1956 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1957 (hi-lock-set-pattern): When deciding whether to use font lock or
1958 overlays, look at font-lock-mode instead of font-lock-fontified
1959 (Bug#12168).
1960 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1961 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1962
7d806b1e
DU
19632012-08-14 Daiki Ueno <ueno@unixuser.org>
1964
1965 * subr.el (internal--after-with-selected-window): Fix typo
1966 (Bug#12193).
1967
5beed586
FEG
19682012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1969
1970 Use `completion-table-dynamic' for completion functions.
1971 * progmodes/python.el
1972 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1973 (python-shell-completion--get-completions):
1974 Remove functions.
5beed586
FEG
1975 (python-shell-completion-complete-at-point): New function.
1976 (python-completion-complete-at-point): Use it.
1977
92cb3b04
J
19782012-08-13 Jambunathan K <kjambunathan@gmail.com>
1979
1980 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1981 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1982
89660017
SM
19832012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1984
3c98c962
SM
1985 * subr.el (function-get): Refine `autoload' arg so it can also
1986 autoload functions for gv.el (bug#12191).
1987 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1988 autoloads macros.
1989
aa7c6dbe
SM
1990 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1991 Prefer pcase-let over destructuring-bind.
1992 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1993 Also, remove whitespace as we go, rather than after accumulating the
1994 various places.
1995
89660017
SM
1996 * subr.el (internal--before-with-selected-window)
1997 (internal--after-with-selected-window): Fix typo seleted->selected.
1998 (with-selected-window): Adjust callers.
1999 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2000
31cd32c9
BG
20012012-08-13 Bastien Guerry <bzg@gnu.org>
2002
0fcd3d9f 2003 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2004 enhancement. (Bug#12172)
2005
1b15d8ad
AS
20062012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2007
31e54db0
AS
2008 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2009 type 1-6.
2010 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2011 extended headers.
2012
1b15d8ad
AS
2013 * files.el (hack-local-variables-filter): Remove useless eval.
2014
35cb9c06
MR
20152012-08-13 Martin Rudalics <rudalics@gmx.at>
2016
2017 * subr.el (with-selected-window): Fix last change.
2018
1439443b
SM
20192012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * subr.el (internal--before-with-seleted-window)
2022 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2023 (with-selected-window): Use them, to replace dependency on
2024 tty-top-frame.
1439443b 2025
0d9e2599
NN
20262012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2027
2028 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2029 binding for `newline'.
2030 (ruby-move-to-block): When moving backward, stop at block opening,
2031 not indentation.
2032 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2033 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2034 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2035 `ruby-toggle-block'.
2036
ba10c48c
SM
20372012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * ibuffer.el (ibuffer-do-toggle-read-only):
2040 * dired.el (dired-toggle-read-only):
2041 * buff-menu.el (Buffer-menu-toggle-read-only):
2042 * bindings.el (mode-line-toggle-read-only):
2043 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2044
9229c658
AS
20452012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2046
2047 * descr-text.el (describe-char): Put the overlays over the
2048 "displayed as" character.
2049
0fd09128
JB
20502012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2051
2052 * calc/calc-units.el (math-default-units-table): Give an
2053 initial value.
2054 (math-put-default-units): Add options to put composite units and
2055 unit systems in the default units table.
2056 (calc-convert-units): Send composite units to
2057 `math-put-default-units' when appropriate.
2058
9ff9402d 20592012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2060
fbb5e336
GM
2061 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2062
7aacaf15
GM
2063 * tutorial.el (help-with-tutorial):
2064 * emacs-lisp/copyright.el (copyright-update-directory):
2065 * emacs-lisp/autoload.el (autoload-find-generated-file)
2066 (autoload-find-file): Disable local eval: (for insurance).
2067
f40b9f10
GM
2068 * files.el (hack-local-variables-filter): If an eval: form is not
2069 known to be safe, and enable-local-variables is :safe, then ignore
2070 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2071 This is CVE-2012-3479.
f40b9f10 2072
daa9f1a6
SM
20732012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2076 (rx-form): Simplify.
2077
9cd80478
DG
20782012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2079
0d9e2599
NN
2080 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2081 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2082 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2083 (ruby-syntax-propertize-function): Adjust for changes in
2084 `ruby-syntax-propertize-heredoc'.
2085
20862012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2087
9cd80478
DG
2088 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2089 binding (use `M-;' instead).
9cd80478 2090 (ruby-singleton-class-p): New function.
0d9e2599 2091 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2092
d301b413
SM
20932012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2096
1530c98e
CY
20972012-08-10 Chong Yidong <cyd@gnu.org>
2098
2099 * progmodes/python.el (python-shell-get-process-name): Don't mess
2100 with same-window-buffer-names.
2101
2102 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2103 (eshell-remove-from-window-buffer-names): Make obsolete.
2104 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2105 (eshell): Just use pop-to-buffer-same-window instead.
2106
e1293765
CY
21072012-08-10 Chong Yidong <cyd@gnu.org>
2108
2109 * bindings.el: Bind M-= back to count-words-region.
2110
2111 * simple.el (count-words-region): Accept a prefix arg for acting
2112 on the entire buffer.
2113 (count-words--buffer-message): New helper function.
2114
e1894109
SM
21152012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2118 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2119 (event-start, event-end): Use posn-at-point to return a more
2120 informative posn.
2121 (posnp): New function.
2122 * mouse.el (popup-menu-normalize-position): Use it.
2123
c69f56a2
MY
21242012-08-10 Masatake YAMATO <yamato@redhat.com>
2125
2126 * mouse.el (popup-menu-normalize-position): New function.
2127 (popup-menu): Use `popup-menu-normalize-position' to normalize
2128 the form for POSITION argument.
2129
2130 * term/x-win.el (x-menu-bar-open):
2131 Use the value returend from (posn-at-point) as position
2132 passed to `popup-menu'.
2133
31673780
JB
21342012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2135
2136 * calc/calccomp.el (math-compose-expr): Add extra argument
2137 indicating that parentheses should be put around products in
2138 denominators. Give multiplication precedence over division during
2139 composition.
2140
dab7711b
CY
21412012-08-09 Chong Yidong <cyd@gnu.org>
2142
dee4ef93
CY
2143 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2144 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2145 (Man-untabify-command, manual-program): Convert to defcustom
2146 (Bug#10429).
2147
73e2bbc5
CY
2148 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2149
3e861c8a
CY
2150 * descr-text.el (describe-char): Don't insert extra newlines
2151 (Bug#10127).
2152
a9f5a649
CY
2153 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2154 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2155
dab7711b
CY
2156 * align.el (align-region): Delete temporary markers (Bug#10047).
2157 Plus some code cleanups.
2158
e0cc4efa
FEG
21592012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2160
2161 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2162 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2163 (python-shell-internal-last-output): Use make-local-variable
2164 instead of make-variable-buffer-local.
2165
489af14f
FEG
21662012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2167
2168 * progmodes/python.el: Enhancements to forward-sexp.
2169 (python-nav-forward-sexp): Rename from
2170 python-nav-forward-sexp-function.
c69f56a2
MY
2171 (python-nav--forward-sexp, python-nav--backward-sexp):
2172 New functions.
489af14f 2173
0fc50303
JB
21742012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2175
2176 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2177 modes and simplification modes.
2178
5d65606a
SM
21792012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * delsel.el (delete-selection-pre-hook): Don't propagate the
2182 file-supersession signals (bug#12161).
2183
4250fdf5
SM
21842012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2187 (cl-map-extents): Add compatibility aliases (bug#12135).
2188
d9f9b465
MA
21892012-08-08 Michael Albinus <michael.albinus@gmx.de>
2190
2191 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2192 tests by `ignore-error'.
2193 (tramp-find-shell): Open also a new shell, when cache is already
2194 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2195
ce0fcefa
JL
21962012-08-08 Juri Linkov <juri@jurta.org>
2197
2198 * bookmark.el: Add `defaults' property to the bookmark record.
2199 (bookmark-current-buffer): Doc fix.
2200 (bookmark-make-record): Add `defaults' property with default values
2201 to the bookmark record.
2202 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2203 with `bookmark-insert-current-bookmark'.
2204 (bookmark-set): Get `defaults' property from the bookmark record
2205 and use it in `read-from-minibuffer'.
2206 (bookmark-insert-current-bookmark): Remove function.
2207
2208 * info.el (Info-bookmark-make-record): Add `defaults' property
2209 with values of canonical Info node name, the current Info file
2210 name and the current Info node name. (Bug#12107)
2211
53fa8652
JL
22122012-08-08 Juri Linkov <juri@jurta.org>
2213
2214 * files.el (basic-save-buffer): Use `buffer-name' as the default
2215 of `read-file-name' when buffer is not visiting a file (bug#12128).
2216
242c0a95
JL
22172012-08-08 Juri Linkov <juri@jurta.org>
2218
2219 * info.el (Info-isearch-search): Doc fix.
2220 (Info-search): Change search-failed message from "initial node" to
2221 "end of node" (bug#12078).
2222 (Info-isearch-search): Change `isearch-string-state' to
2223 `isearch--state-string'.
2224
32ac3a6b
GM
22252012-08-08 Glenn Morris <rgm@gnu.org>
2226
2227 * language/persian.el: Remove file.
f8c1afd5 2228 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2229 * loadup.el: Remove language/persian.
2230
2c2d9c9c
OF
22312012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2232
2233 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2234
2d79ec42
FEG
22352012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2236
2237 * progmodes/python.el Fixed defsubst warning.
2238 (python-syntax-context) Rename from python-info-ppss-context.
2239 (python-syntax-context-type): Rename from
2240 python-info-ppss-context-type.
2241 (python-syntax-comment-or-string-p): Rename from
2242 python-info-ppss-comment-or-string-p.
2243
2bd255dd
JB
22442012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2245
2246 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2247
c395097f
AS
22482012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2249
6125983e
AS
2250 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2251 a defcustom that is quoted with backquote.
2252
4250fdf5
SM
2253 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2254 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2255 (math-do-arg-check, math-define-function-body): Use backquote forms.
2256 * calc/calc-ext.el (math-defcache): Likewise.
2257 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2258 * allout.el (allout-new-exposure): Likewise.
2259 * calc/calcalg2.el (math-tracing-integral): Likewise.
2260 * info.el (Info-last-menu-item): Likewise.
2261 * emulation/vip.el (vip-loop): Likewise.
2262 * textmodes/artist.el (artist-funcall): Likewise.
2263 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2264 Construct menu-item directly.
2265
4250fdf5
SM
2266 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2267 Don't declare.
c395097f 2268
5fb50dd3
CY
22692012-08-07 Chong Yidong <cyd@gnu.org>
2270
2271 * simple.el (deactivate-mark): Preserve text properties when
2272 saving the primary selection (Bug#8384).
2273
54eea618
KR
22742012-08-07 Kevin Ryde <user42@zip.com.au>
2275
2276 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2277 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2278 and continue processing (Bug#12110).
2279
638eaeb9
SM
22802012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2283 syntax-propertize-function (bug#10095).
2284
ea376861
SM
22852012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2286
f91b35be
SM
2287 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2288 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2289 describe-function-1.
2290 (describe-function-1): Use them. Move compiler macro after sig.
2291 (help-fns--compiler-macro): Use function-get. Assume we're already in
2292 standard-output. Adjust layout to new call order.
2293
ea376861
SM
2294 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2295 re-binding a symbol that has a symbol-macro (bug#12119).
2296
d5be7bd0
MB
22972012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2298
2299 * language/persian.el: New file. (Bug#11812)
2300 * loadup.el: Add language/persian.el.
2301
90749b53
CY
23022012-08-06 Chong Yidong <cyd@gnu.org>
2303
2304 * window.el (window--maybe-raise-frame): New function.
2305 (window--display-buffer): Split off from here.
2306 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2307 (display-buffer-pop-up-window, display-buffer-use-some-window):
2308 Obey an inhibit-switch-frame action alist entry.
2309 (display-buffer): Update doc.
2310
2311 * replace.el (occur-after-change-function): Avoid losing focus by
2312 using the inhibit-switch-frame display parameter (Bug#12139).
2313
ba7b0154
FEG
23142012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2315
2316 Make internal shell process buffer names start with space.
2317 * progmodes/python.el (python-shell-make-comint): Add optional
2318 argument INTERNAL.
2319 (run-python-internal): Use it.
2320 (python-shell-internal-get-or-create-process): Check for new
2321 internal buffer names.
2322
5eaeacb5
GM
23232012-08-06 Glenn Morris <rgm@gnu.org>
2324
e296d94b 2325 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2326 Do less getting and setting of environment variables.
2327
b7ccbdc2
CY
23282012-08-05 Chong Yidong <cyd@gnu.org>
2329
777fe95e
CY
2330 * proced.el (proced): Add substitution string to docstring to
2331 trigger autoloading of the proced library on C-h f (Bug#1768).
2332
4250fdf5
SM
2333 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2334 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2335
2336 * imenu.el (imenu-generic-expression): Move documentation here
2337 from imenu--generic-function.
2338 (imenu--generic-function): Refer to imenu-generic-expression.
2339
9e3b7800 23402012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2341
2342 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2343 indentation declaration.
2344 (viper-loop): Add indentation declaration (Bug#7025).
2345
e5d9c0d1
CY
23462012-08-05 Chong Yidong <cyd@gnu.org>
2347
f0422feb
CY
2348 * help-fns.el (describe-variable): Add hyperlink for
2349 directory-local variables files. Improve buffer-local and
2350 permanent-local reporting; suggested by MON KEY (Bug#6644).
2351
2352 * help-mode.el (help-dir-local-var-def): New button type.
2353
e5d9c0d1
CY
2354 * files.el (kill-buffer-hook): Provide a defvar.
2355
a4f2deaa
GM
23562012-08-05 Glenn Morris <rgm@gnu.org>
2357
2358 * eshell/esh-ext.el (eshell/addpath):
2359 Also update eshell-path-env. (Bug#12013)
2360
a9dd5754
CY
23612012-08-05 Chong Yidong <cyd@gnu.org>
2362
a4f2deaa 2363 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2364
d014c740
CY
2365 * fringe.el (fringe-styles): Add docstring.
2366 (fringe--check-mode): New function.
2367 (set-fringe-mode, set-fringe-style): Use it.
2368 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2369
a9dd5754
CY
2370 * files.el (set-auto-mode): Fix invalid setq call.
2371
7c2dc8bd
SM
23722012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * isearch.el: Misc simplification; use defstruct.
2375 (isearch-mode-map): Dense maps now work like sparse ones.
2376 (isearch--state): New defstruct.
2377 (isearch-string-state, isearch-message-state, isearch-point-state)
2378 (isearch-success-state, isearch-forward-state)
2379 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2380 (isearch-wrapped-state, isearch-barrier-state)
2381 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2382 replaced by defstruct's accessors.
2383 (isearch--set-state): Rename from isearch-top-state and change
2384 calling convention.
2385 (isearch-push-state): Use new isearch--get-state.
2386 (isearch-toggle-word): Disable regexp when enabling word.
2387 (isearch-message-prefix): Remove unused arg _c-q-hack.
2388 (isearch-message-suffix): Remove unused arg _ellipsis.
2389
7fcc0070
AS
23902012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2391
2392 * simple.el (list-processes--refresh): For a server use :host or
2393 :local as the address.
97ad0769 2394 (list-processes): Doc fix.
7fcc0070 2395
a11035b8 23962012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2397
2398 * lisp/mpc.el: Support password in host argument.
2399 (mpc--proc-connect): Parse and use new password element.
2400 Set mpc-proc variable instead of returning process.
2401 (mpc-proc): Adjust accordingly.
2402
6dad7178
EZ
24032012-08-03 Eli Zaretskii <eliz@gnu.org>
2404
18949c2f
EZ
2405 * whitespace.el (whitespace-display-mappings): Use Unicode
2406 codepoints, instead of emacs-mule codepoints. See
2407 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2408 for the details.
2409
6dad7178
EZ
2410 * files.el (file-truename): Don't skip symlink-chasing part on
2411 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2412 Windows into the loop that recursively chases symlinks.
2413 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2414 MS-DOS.
2415
385b0198
CY
24162012-08-03 Chong Yidong <cyd@gnu.org>
2417
6200f3c4
CY
2418 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2419
385b0198
CY
2420 * sort.el (sort-regexp-fields): Doc fix.
2421
b9e74744
TH
24222012-08-03 Tassilo Horn <tsdh@gnu.org>
2423
2424 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2425 labels regex position point at the expected place.
2426
41013cb4
MK
24272012-08-03 MON KEY <monkey@sandpframing.com>
2428
2429 * net/imap.el (imap-interactive-login, imap-authenticate)
2430 (imap-mailbox-lsub, imap-mailbox-list)
2431 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2432 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2433 (imap-parse-response): Doc fix.
2434
0ffee616
JT
24352012-08-03 João Távora <joaotavora@gmail.com>
2436
2437 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2438 if sexp scanning does not move point (Bug#5734).
2439
cfcc9cc8
TH
24402012-08-02 Tassilo Horn <tsdh@gnu.org>
2441
2442 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2443 Add listings, minted, and ctable packages.
2444 (reftex-label-alist-builtin): Move listings, minted, and ctable
2445 entries before LaTeX.
a01bbb84 2446 (reftex-label-alist): Docfix.
cfcc9cc8 2447
66ec2442
BG
24482012-08-02 Bastien Guerry <bzg@gnu.org>
2449
2450 * replace.el (occur): Fix docstring (bug#12122).
2451
837b365b
GM
24522012-08-02 Glenn Morris <rgm@gnu.org>
2453
2454 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2455
e098de97
PE
24562012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2457
2458 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2459 * international/mule-cmds.el: Create
2460 inactivate-current-input-method-function as an obsolete alias for
2461 deactivate-current-input-method-function. See Katsumi Yamaoka in
2462 <http://bugs.gnu.org/10150#46>.
2463
a0f95636
JB
24642012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2465
2466 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2467 of nested `if's.
2468
0d26d7c4
GM
24692012-08-01 Glenn Morris <rgm@gnu.org>
2470
2471 * progmodes/autoconf.el (autoconf-definition-regexp):
2472 Add AH_TEMPLATE, adjust submatch numbering.
2473 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2474 (autoconf-current-defun-function): Update for above change.
2475 (autoconf-current-defun-function): First skip to end of current word.
2476
b686ba06
RS
24772012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2478
2479 * calendar/cal-html.el (cal-html-insert-agenda-days):
2480 Fix typo. (Bug#12018)
2481
0d49da68
FEG
24822012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2483
2484 Shell processes: enhancements to startup and CEDET compatibility.
2485 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2486 (python-shell-make-comint): accept-process-output at startup.
2487 (run-python-internal): Set inferior-python-mode-hook to nil.
2488 (python-shell-internal-get-or-create-process): call sit-for.
2489 (python-preoutput-result): Add obsolete alias.
2490 (python-shell-internal-send-string): Use it.
2491 (python-shell-send-setup-code): Remove call to
2492 accept-process-output.
2493
f1a71c6e
AS
24942012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2495
2496 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2497 (Bug#12108)
2498
d2605269
JB
24992012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2500
2501 * calc-mode.el (calc-basic-simplification-mode): Rename from
2502 `calc-limited-simplification-mode'.
2503 (calc-alg-simplification-mode): New function.
fc0c31f8 2504 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2505
d2605269
JB
2506 * calc.el (calc-set-mode-line): Adjust mode line display for
2507 basic simplification mode.
2508
2509 * calc-help.el (calc-m-prefix-help): Update help message.
2510
2511 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2512 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2513
a3827a43
BG
25142012-07-31 Bastien Guerry <bzg@gnu.org>
2515
2516 * man.el (man): Fix comment. (bug#12101)
2517
502e3f89
MR
25182012-07-31 Martin Rudalics <rudalics@gmx.at>
2519
2520 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2521 Don't return a non-nil value when no suitable buffer was found.
2522
d7714961
FEG
25232012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2524
2525 * progmodes/python.el (run-python-internal): Disable font lock for
2526 internal shells.
2527
1f45e27e
SM
25282012-07-30 Stefan Merten <smerten@oekonux.de>
2529
70efc5c9 2530 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2531 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2532 (rst-official-version, rst-official-cvs-rev)
2533 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2534 (rst-mode-map): New key binding.
2535
0aee6912
PE
25362012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2537
2538 Update .PHONY listings in makefiles.
2539 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2540 autoloads, update-subdirs, updates, bzr-update, update-authors,
2541 compile-onefile, compile-calc, backup-compiled-files,
2542 compile-after-backup, compile-one-process, mh-autoloads,
2543 bootstrap-clean, distclean, maintainer-clean.
2544
9052f9f0
JB
25452012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2546
1823ac5a
JB
2547 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2548 (calc-set-mode-line): Don't display "AlgSimp ".
2549
2550 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2551 (calc-lim-simplify-mode): New function.
2552 (calc-set-simplify-mode): Default to 'alg.
2553 (calc-default-simplify-mode): Make algebraic simplifications
2554 the default.
2555
2556 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2557 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2558
8d7c7eed 2559 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2560 indicate new simplification modes.
2561
1823ac5a
JB
2562 * calc/README: Mention new default simplification mode.
2563
9052f9f0
JB
2564 * calc/calc.el (math-normalize-error): New variable.
2565 (math-normalize): Set `math-normalize-error' to t
2566 when there's an error.
2567
2568 * calc/calc-alg.el (math-simplify): Don't simplify when
2569 `math-normalize' returns an error.
2570
20ba0cb4
EZ
25712012-07-29 Eli Zaretskii <eliz@gnu.org>
2572
2573 * international/mule-cmds.el (set-locale-environment): Revert last
2574 change, since display-graphic-p returns nil when this function is
2575 called during startup. Instead...
2576
2577 * term/w32console.el (terminal-init-w32console): ...setup the
2578 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2579
a5dcc929
JL
25802012-07-29 Juri Linkov <juri@jurta.org>
2581
2582 * simple.el (goto-line): Don't display default line number in the
2583 prompt because it should be displayed by `read-number' (bug#9952).
2584 Add the current line number to the defaults of `goto-line' to
2585 allow its easier modification by users with `M-n' (bug#9201).
2586
2587 * subr.el (read-number): Support multiple default values like in
2588 other minibuffer reading functions. Replace `read' with
2589 `string-to-number' for consistency with `number-to-string'.
2590
72b255c7
PE
25912012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2592
2593 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2594 * emulation/viper-init.el (viper-deactivate-input-method-action):
2595 Rename from viper-inactivate-input-method-action.
2596 (viper-deactivate-input-method):
2597 Rename from viper-inactivate-input-method.
2598 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2599 * international/mule-cmds.el (deactivate-input-method):
2600 Rename from inactivate-input-method.
2601 Also run input-method-deactivate-hook.
2602 (deactivate-current-input-method-function):
2603 Rename from inactivate-current-input-method-function.
2604 (input-method-deactivate-hook): New hook.
2605 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2606 (inactivate-input-method): Mark obsolete.
2607
72b255c7
PE
2608 * international/quail.el (quail-activate):
2609 Also run quail-deactivate-hook.
2610 (quail-deactivate): Rename from quail-inactivate.
2611 * international/robin.el (robin-activate):
2612 Also run robin-deactivate-hook.
2613 (robin-deactivate): Rename from robin-inactivate.
2614
2549c068
CY
26152012-07-29 Chong Yidong <cyd@gnu.org>
2616
2617 * simple.el (indicate-copied-region): New function.
2618 (kill-ring-save): Split off from here.
2619
2620 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2621 (kill-rectangle): Set deactivate-mark to t on read-only error.
2622
2623 * register.el (copy-to-register, copy-rectangle-to-register):
2624 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2625 (append-to-register, prepend-to-register):
2626 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2627
2628 * simple.el (async-shell-command-buffer): New defcustom.
2629 (shell-command): Use it. (Bug#4719)
2630
01bd1b0d
EZ
26312012-07-28 Eli Zaretskii <eliz@gnu.org>
2632
2633 * international/mule-cmds.el (set-locale-environment): In a
2634 console session on MS-Windows, set up keyboard and terminal
2635 encoding from the OEM codepage, not the ANSI codepage.
2636 (Bug#12055)
2637
a55739d3
CY
26382012-07-28 Chong Yidong <cyd@gnu.org>
2639
2640 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2641 gdb-get-location.
2642
0e1a094f 26432012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2644
2645 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2646 the alist (bug#12029).
2647
20329d73
EZ
26482012-07-28 Eli Zaretskii <eliz@gnu.org>
2649
2650 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2651 (compile-always, compile-first)
2652 ($(lisp)/calendar/cal-loaddefs.el)
2653 ($(lisp)/calendar/diary-loaddefs.el)
2654 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2655 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2656 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2657 instead of on update-subdirs.
2658 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2659
345a2258
CY
26602012-07-28 Chong Yidong <cyd@gnu.org>
2661
1eee6341
CY
2662 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2663 directory if vc-deduce-backend returns nil (Bug#7350).
2664
345a2258
CY
2665 * simple.el (delete-trailing-lines): New option.
2666 (delete-trailing-whitespace): Obey it (Bug#11879).
2667
049a0936
DE
26682012-07-28 David Engster <deng@randomsample.de>
2669
2670 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2671 Explanation of new 'symbol-qnames feature in doc-strings.
2672 (xml-maybe-do-ns): Return expanded names as plain symbols if
2673 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2674 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2675
aa81af71
FEG
26762012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2677
2678 Consistent completion in inferior python with emacs -nw.
2679 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2680 binding in inferior-python-mode-map with "\t".
2681 (python-shell-completion-complete-at-point)
2682 (python-completion-complete-at-point): Remove interactive spec.
2683
e827b1eb
JB
26842012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2685
2686 * calc/calccomp.el (math-compose-expr): Undo previous change.
2687
a90dfb95
FEG
26882012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2689
4250fdf5 2690 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2691 run-python.
2692 (python-shell-make-comint): Fix pop-to-buffer call.
2693 (run-python): Autoload. New arg SHOW.
2694 (python-shell-get-or-create-process): Do not pop python process
2695 buffer.
2696
32770973 26972012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2698
2699 * notifications.el (notifications-on-action-signal)
2700 (notifications-on-closed-signal): Use also the bus address for the map.
2701 (notifications-notify, notifications-close-notification)
fc0c31f8 2702 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2703
86332df2
TH
27042012-07-27 Tassilo Horn <tsdh@gnu.org>
2705
4250fdf5
SM
2706 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2707 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2708 ctable macro.
2709 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2710 labels written in keyvals syntax.
2711
ca1302a4
JB
27122012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2713
2714 * calc/calccomp.el (math-compose-expr): Use parentheses when
2715 there is a product in the denominator of a fraction.
2716
f8b91036
EZ
27172012-07-26 Eli Zaretskii <eliz@gnu.org>
2718
2719 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2720 ($(lisp)/calendar/diary-loaddefs.el)
2721 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2722 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2723 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2724 rewritten while the autoload files are built at the same time,
2725 which needs to load subdirs.el.
2726
c8e5a42c
MR
27272012-07-26 Martin Rudalics <rudalics@gmx.at>
2728
2729 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2730 (mouse-drag-line): Don't exit tracking when a switch-frame or
2731 switch-window event occurs (Bug#12006).
2732
670d85ea
SM
27332012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * mouse.el (popup-menu): Fix last change.
2736
7abaf5cc
SM
27372012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 Autoload from Lisp with more care. Follow aliases when looking for
2740 function properties.
2741 * subr.el (autoloadp): New function.
2742 (symbol-file): Use it.
2743 (function-get): New function.
2744 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2745 autoload-do-load.
2746 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2747 (lisp-indent-function):
2748 * emacs-lisp/gv.el (gv-get):
2749 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2750 * emacs-lisp/byte-opt.el (byte-optimize-form):
2751 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2752 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2753 Use function-get.
2754 * emacs-lisp/cl.el: Don't propagate function properties any more.
2755
2756 * speedbar.el (speedbar-add-localized-speedbar-support):
2757 * emacs-lisp/disass.el (disassemble-internal):
2758 * desktop.el (desktop-load-file):
2759 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2760 (describe-function-1):
2761 * emacs-lisp/find-func.el (find-function-noselect):
2762 * emacs-lisp/elp.el (elp-instrument-function):
2763 * emacs-lisp/advice.el (ad-has-proper-definition):
2764 * apropos.el (apropos-safe-documentation, apropos-macrop):
2765 * emacs-lisp/debug.el (debug-on-entry):
2766 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2767 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2768 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2769
b1364986
AA
27702012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2771
2772 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2773 function, not an obsolete variable (Bug#12046).
2774
67ada220
AS
27752012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2776
2777 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2778
f08088e3
CS
27792012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2780
2781 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2782 window only if it is still live (Bug#12034).
2783
8137e7b3
MR
27842012-07-25 Martin Rudalics <rudalics@gmx.at>
2785
2786 * subr.el (redirect-frame-focus): Add advertised calling
2787 convention (Bug#12030).
2788
09ae5da1
PE
27892012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2790
2791 Prefer typical American spelling for "acknowledgment".
2792 * vc/add-log.el (change-log-acknowledgment): Rename from
2793 change-log-acknowledgement, with an alias for the old name.
2794
3cc5a3a8
JB
27952012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2796
2797 * calc-alg.el (math-simplify-divide): Don't cross multiply
2798 in an equation when the lhs is a variable.
2799
b7af7f62
JD
28002012-07-24 Julien Danjou <julien@danjou.info>
2801
2802 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2803 Remove, unused.
2804
ec1b09b1
EZ
28052012-07-23 Eli Zaretskii <eliz@gnu.org>
2806
2807 * startup.el (command-line): Don't display an empty user name in
2808 the error message about non-existent home directory, when
2809 init-file-user was set to an empty string. See
2810 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2811 for the details and context.
2812
b525fd8a
VB
28132012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2814
2815 * ses.el (ses-cell-formula-aset): New macro.
2816 (ses-cell-references-aset): New macro.
2817 (ses-cell-p): New function.
2818 (ses-rename-cell): Do no longer rely on complex operations like
2819 ses-cell-set-formula or ses-set-cell to change the cell and handle
2820 the undo at the same time, but rather use lower level new macros
2821 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2822 the undo directly. Refresh the mode line.
b525fd8a 2823
2c73e345
LL
28242012-07-21 Leo Liu <sdl.web@gmail.com>
2825
670d85ea
SM
2826 * progmodes/cc-cmds.el (c-defun-name):
2827 Use match-string-no-properties instead for consistency.
2c73e345 2828
542dfbde
LL
28292012-07-20 Leo Liu <sdl.web@gmail.com>
2830
3646bcd6
LL
2831 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2832 (Bug#7879)
2833
542dfbde
LL
2834 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2835
25721031
CY
28362012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2838 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2839 * progmodes/bug-reference.el, misearch.el: Provide themselves
2840 (bug#11915).
2841
2842 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2843 of narrowed buffer (bug#11966).
2844
316e68a7
VB
28452012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2846
2847 * ses.el (ses-rename-cell): Set new name also in reference list of
2848 cells of which the renamed cell depends.
2849
bbf0e7d9
MY
28502012-07-20 Masatake YAMATO <yamato@redhat.com>
2851
2852 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2853 to check whether menu-bar is shown or not. If not shown,
2854 show the menu-bar as a popup menu instead of using tmm.
2855 * mouse.el (popup-menu): Accept `point' as `position' argument.
2856
c28662a8
DG
28572012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2858
2859 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2860 up inside string symbol literal (bug#11923).
2861
87ab808f
EZ
28622012-07-20 Eli Zaretskii <eliz@gnu.org>
2863
2864 * startup.el (fancy-startup-text): Read the whole tutorial, not
2865 just its first 256 bytes. Prevents gibberish in display of the
2866 tutorial title.
2867
89dea803
DA
28682012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2869
2870 Drop idle buffer compaction due to an absence of the
2871 proved efficiency.
2872 * compact.el: Remove.
2873
8a4e6db8
SS
28742012-07-19 Sam Steingold <sds@gnu.org>
2875
2876 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2877 vc-bzr-pull & vc-bzr-merge-branch.
2878 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2879 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2880 for consistency with compilation-error-regexp-alist.
2881 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2882 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2883 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2884 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2885
5db81e33
SM
28862012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * emacs-lisp/chart.el: Use lexical-binding.
2889 (chart-emacs-storage): Don't hardcode the list of entries.
2890
5b835e1d
DA
28912012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2892
2893 Next round of tweaks caused by Fgarbage_collect changes.
2894 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2895
9cd47b72
DA
28962012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2897
2898 Compact buffers when idle.
2899 * compact.el: New file.
2900
1d6fc0df
SM
29012012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * subr.el (eventp): Presume that if it looks vaguely like an event,
2904 it's an event (bug#10190).
2905
1d29cc7d
FEG
29062012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2907
2908 Enhancements to ppss related code (thanks Stefan).
2909 * progmodes/python.el (python-indent-context)
2910 (python-indent-calculate-indentation, python-indent-dedent-line)
2911 (python-indent-electric-colon, python-nav-forward-block)
2912 (python-mode-abbrev-table)
1d6fc0df 2913 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2914 for ppss context.
2915 (python-info-continuation-line-p): Cleanup.
2916 (python-info-ppss-context): Do not catch 'quote.
2917 (python-info-ppss-context-type)
2918 (python-info-ppss-comment-or-string-p): Simplify.
2919
d583cbe6
FEG
29202012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2921
2922 * progmodes/python.el: Enhancements to eldoc support.
2923 (python-info-current-symbol): New function.
2924 (python-eldoc-at-point): Use python-info-current-symbol.
2925 (python-info-current-defun): Fix cornercase on first defun scan.
2926 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2927 and signal error when no inferior python process is available.
2928
eceb6feb
DG
29292012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2930
2931 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2932 assume it's always t.
2933 (vc-git-registered): Remove caching, the function is only called
2934 once.
2935 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2936
4c8ff0fe
CY
29372012-07-18 Chong Yidong <cyd@gnu.org>
2938
19fb7186
CY
2939 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2940
9587c688
CY
2941 * simple.el (count-words): Report on narrowing (Bug#9959).
2942
0fe776a1
CY
2943 * bindings.el: Bind M-= to count-words.
2944
4c8ff0fe
CY
2945 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2946
7f5331cc
MY
29472012-07-18 Masatake YAMATO <yamato@redhat.com>
2948
2949 * progmodes/sh-script.el (sh-imenu-generic-expression):
2950 Capture a function with `function' keyword and without parentheses
2951 like "function FOO" (bug#11856).
2952
2dc2a609
TH
29532012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2954
2955 * window.el (split-window-sensibly): Make WINDOW argument
2956 optional.
2957
439f7677
CY
29582012-07-18 Chong Yidong <cyd@gnu.org>
2959
9aeb25a6
CY
2960 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2961
439f7677
CY
2962 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2963 and make C-x 8 RET exit isearch (Bug#11439).
2964
2965 * international/iso-transl.el: Move isearch-mode-map key
2966 definitions to isearch.el.
2967
12999ea8
SM
29682012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2971 (eieio-defclass): Use gv-define-setter when possible.
2972
3ab6e069
DA
29732012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2974
2975 Reflect recent changes in Fgarbage_collect.
2976 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2977 reflect new format of data returned by Fgarbage_collect.
2978
0a60bc10
FEG
29792012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2980
2981 New utility functions + python-info-ppss-context fix (Bug#11910).
2982 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2983 (python-info-ppss-comment-or-string-p): New functions.
2984 (python-info-ppss-context): Small fix for string check.
2985
6dafa0d5
JL
29862012-07-17 Juri Linkov <juri@jurta.org>
2987
2988 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2989 (dired-do-async-shell-command): Don't add `*' at the end of the
2990 command (Bug#11815).
2991 (dired-do-shell-command): Doc fix.
2992 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2993 Join the individual commands using either "&" or ";" as the
2994 separator depending on the values of these trailing characters.
2995 At the end re-add the trailing "&". (Bug#10598)
2996
2997 * simple.el (async-shell-command): Sync the interactive spec with
2998 `shell-command'. Doc fix.
2999 (shell-command): Doc fix.
3000
b19dd9d1
JL
30012012-07-17 Juri Linkov <juri@jurta.org>
3002
3003 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3004
bcdc27d7 30052012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3006
bcdc27d7 3007 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3008 * progmodes/python.el (python-nav-beginning-of-statement):
3009 Rename from python-nav-statement-start.
bcdc27d7
FEG
3010 (python-nav-end-of-statement): Rename from
3011 python-nav-statement-end.
3012 (python-nav-beginning-of-block): Rename from
3013 python-nav-block-start.
3014 (python-nav-end-of-block): Rename from python-nav-block-end.
3015
191da00e
FEG
30162012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3017
7f5331cc
MY
3018 * progmodes/python.el (python-shell-send-string-no-output):
3019 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3020 future interactions (Bug#11868).
3021
4dc7c8d5 30222012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3023
88ecaf8f
SM
3024 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3025
ef501ef0
SM
3026 * emacs-lisp/elint.el (elint-find-args-in-code):
3027 Use help-function-arglist, so as to handle lexical byte-code.
3028
aa7aaf8f
SM
3029 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3030 change (bug#11826).
3031
45fd731c
SM
30322012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3033
2143fa32
SM
3034 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3035 Avoid spuriously marking the buffer as modified because of c-is-sws.
3036
efc26dbe
SM
3037 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3038 as not-a-comment (bug#11946).
3039
f5695c9a
SM
3040 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3041 for uninterned vars.
3042
3043 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3044 Use read-event since we don't really want to read chars but bytes.
3045
45fd731c
SM
3046 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3047 $$..$$ but also $..$ using regexps (bug#11953).
3048 Use tex-verbatim for \url and \path.
3049 (tex-font-lock-keywords): Define as defconst like the others.
3050 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3051
ddfc8813
RK
30522012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3053
3054 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3055 alias for insert-char.
3056
758e556a
FEG
30572012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3058
3059 * progmodes/python.el: Simplified imenu implementation.
3060 (python-nav-jump-to-defun): Remove command.
3061 (python-mode-map): Use `imenu' instead.
3062 (python-nav-list-defun-positions-cache)
3063 (python-imenu-include-defun-type, python-imenu-make-tree)
3064 (python-imenu-subtree-root-label, python-imenu-index-alist):
3065 Remove vars.
3066 (python-nav-list-defun-positions, python-nav-read-defun)
3067 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3068 (python-imenu-make-tree, python-imenu-create-index):
3069 Remove functions.
758e556a
FEG
3070 (python-mode): Update to interact with imenu by setting
3071 `imenu-extract-index-name-function' only.
3072
032d23ab
FEG
30732012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3074
3075 * progmodes/python.el: Enhancements to navigation commands.
3076 (python-nav-backward-sentence)
3077 (python-nav-forward-sentence): Remove.
3078 (python-nav-backward-statement, python-nav-forward-statement)
3079 (python-nav-statement-start, python-nav-statement-end)
3080 (python-nav-backward-block, python-nav-forward-block)
3081 (python-nav-block-start, python-nav-block-end)
3082 (python-nav-forward-sexp-function)
3083 (python-info-current-line-comment-p)
3084 (python-info-current-line-empty-p): New functions.
3085 (python-indent-context): Use `python-nav-statement-start'.
3086
01795a1b
MA
30872012-07-16 Michael Albinus <michael.albinus@gmx.de>
3088
9328d9aa
MA
3089 * eshell/em-ls.el (eshell/ls): Use `apply'.
3090
3091 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3092 multi-hops, instead of Tramp internals.
3093
01795a1b
MA
3094 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3095
3096 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3097 when F1 and F2 are located on different hosts.
3098
63408057
CY
30992012-07-14 Chong Yidong <cyd@gnu.org>
3100
3101 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3102 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3103 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3104 (xterm-mouse--read-event-sequence-1000)
3105 (xterm-mouse--read-event-sequence-1006): New functions. For old
3106 mouse protocol, handle M-mouse-X events correctly.
3107 (xterm-mouse-event): New arg specifying mouse protocol.
3108 (turn-on-xterm-mouse-tracking-on-terminal)
3109 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3110 sequence to toggle extended coordinates on newer XTerms.
3111 This appears to be harmless on terminals which do not support this.
63408057 3112
cd276f6e
LL
31132012-07-14 Leo Liu <sdl.web@gmail.com>
3114
28ca98ac
LL
3115 Add fringe bitmap indicators for flymake. (Bug#11253)
3116 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3117 (flymake-make-overlay): New arg BITMAP.
3118 (flymake-error-bitmap, flymake-warning-bitmap)
3119 (flymake-fringe-indicator-position): New user variables.
3120
cd276f6e
LL
3121 * fringe.el: New bitmap exclamation-mark.
3122
04408072
JD
31232012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3124
3125 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3126 also (Bug#7879).
3127
b5cf7fc4
CY
31282012-07-14 Chong Yidong <cyd@gnu.org>
3129
3130 * electric.el (electric-pair-post-self-insert-function): Fix pair
3131 insertion in empty-region case (Bug#11520).
3132
be755c79
RT
31332012-07-14 Chong Yidong <cyd@gnu.org>
3134
45fd731c
SM
3135 * bindings.el: Consolidate ctl-x-r-map bindings.
3136 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3137
3138 * rect.el, register.el: Move bindings to bindings.el.
3139
31402012-07-14 Reuben Thomas <rrt@sc3d.org>
3141
3142 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3143
7f5b3198
AS
31442012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3145
3146 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3147
97662200
JB
31482012-07-13 Juanma Barranquero <lekktu@gmail.com>
3149
80185fed
JB
3150 * bindings.el (top): Use `mapc' instead of `mapcar'.
3151
97662200
JB
3152 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3153
2bb1ae55
MA
31542012-07-13 Michael Albinus <michael.albinus@gmx.de>
3155
3156 * progmodes/sql.el (sql-comint): Suppress the check for program on
3157 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3158 (Bug#11908)
3159
dea31bd3
CY
31602012-07-13 Chong Yidong <cyd@gnu.org>
3161
3162 * bindings.el: Assign a non-nil permanent-local property to
3163 per-buffer variables which lack a default value (Bug#11930).
3164
3165 * help-fns.el (describe-variable): In the "automatically becomes
3166 local" notice, take note of permanent-local variables.
3167
b68b3337
CY
31682012-07-13 Chong Yidong <cyd@gnu.org>
3169
3170 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3171 to allow printing the message when called from Lisp.
3172
3173 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3174 Remove toggle-read-only.
3175
3176 * bs.el (bs-toggle-readonly):
45fd731c
SM
3177 * buff-menu.el (Buffer-menu-toggle-read-only):
3178 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3179
3180 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3181 Remove with-no-warnings around toggle-read-only.
3182 (ffap-read-only, ffap-read-only-other-window)
3183 (ffap-read-only-other-frame): Callers changed.
3184
3185 * help-mode.el: Don't require view package.
3186 (help-mode-finish): Set buffer-read-only instead of calling
3187 toggle-read-only.
3188
3189 * bindings.el (mode-line-toggle-read-only):
3190 * dired.el (dired-toggle-read-only):
3191 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3192 with non-nil second arg.
3193
3194 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3195 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3196 directly.
3197
56bc1586
EZ
31982012-07-12 Eli Zaretskii <eliz@gnu.org>
3199
3200 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3201 not incf.
3202
a464a6c7
SM
32032012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 More CL cleanups and reduction of use of cl.el.
3206 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3207 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3208 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3209 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3210 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3211 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3212 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3213 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3214 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3215 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3216 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3217 * eshell/em-cmpl.el, eshell/em-banner.el:
3218 * calendar/parse-time.el: Use cl-lib.
3219 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3220 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3221 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3222 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3223 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3224 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3225 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3226 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3227 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3228 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3229 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3230 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3231 `lambda' rather than with `quote'.
3232 (eshell-do-opt): Adjust accordingly.
3233 (eshell-process-option): Simplify.
3234 * eshell/esh-var.el:
3235 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3236 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3237 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3238 to `pcase--dontcare'.
3239 * emacs-lisp/cl.el (labels): Mark obsolete.
3240 (cl--letf, letf): Move to cl-lib.
3241 (cl--letf*, letf*): Remove.
3242 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3243 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3244 (cl-progv): Rewrite.
3245 (cl--letf, cl-letf): Move from cl.el.
3246 (cl-letf*): New macro.
3247 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3248
7ad4afe1
MA
32492012-07-11 Michael Albinus <michael.albinus@gmx.de>
3250
3251 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3252
9af57756
CY
32532012-07-11 Chong Yidong <cyd@gnu.org>
3254
3255 * vc/log-edit.el (log-edit-vc-backend): New variable.
3256 (log-edit): Doc fix.
3257
3258 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3259 argument of log-edit to set up all local variables.
3260 (vc-start-logentry): New optional arg specifying VC backend.
3261
3262 * vc/vc.el (vc-checkin): Use it.
3263 (vc-deduce-fileset): Handle Log Edit buffers.
3264 (vc-diff): Make first argument optional too.
3265
3266 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3267
8477cc7a
MA
32682012-07-10 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3271 command, just in case. The function is not needed anymore.
3272 (eshell-external-command): Do not call `eshell-remote-command'.
3273
19faa8e8
SM
32742012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3275
f58e0fd5
SM
3276 Reduce use of (require 'cl).
3277 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3278 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3279 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3280 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3281 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3282 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3283 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3284 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3285 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3286 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3287 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3288 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3289 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3290 (byte-compile-unfold-bcf, byte-compile-check-variable):
3291 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3292 (byte-compile-nilconstp):
3293 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3294 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3295
2519d43a
SM
3296 * emacs-lisp/gv.el (cond): Make it a valid place.
3297 (if): Simplify slightly.
3298
19faa8e8
SM
3299 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3300 (pcase--self-quoting-p): New function.
3301 (pcase--u1): Use it.
3302
c4907a5e
GM
33032012-07-10 Glenn Morris <rgm@gnu.org>
3304
3305 * emacs-lisp/authors.el (authors-fixed-entries):
3306 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3307
c4444d16
PE
33082012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3309
3310 Rename configure.in to configure.ac (Bug#11603).
3311 * emacs-lisp/authors.el (authors-canonical-file-name):
3312 * progmodes/autoconf.el (autoconf-mode):
3313 Prefer configure.ac to configure.in.
3314
d75be97d
CY
33152012-07-08 Chong Yidong <cyd@gnu.org>
3316
01ac65bd
CY
3317 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3318 Implement the mouse-1-click-follows-link handling properly.
3319
3320 * info.el (Info-link-keymap): Use follow-link mechanism for
3321 header-line links (Bug#374).
3322
d75be97d
CY
3323 * simple.el (deactivate-mark): Do not set the primary selection
3324 if another program has acquired it (Bug#11772).
3325
87a92845 33262012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3327
3328 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3329 (woman-decode-region): Replace escaped-escapes without destroying
3330 bold or underline (Bug#11552).
87a92845 3331 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3332
621b9d6c
CY
33332012-07-07 Chong Yidong <cyd@gnu.org>
3334
3335 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3336 (interprogram-cut-function, interprogram-paste-function):
3337 Mention that we typically mean the clipboard.
621b9d6c 3338
133a11fc
GM
33392012-07-06 Glenn Morris <rgm@gnu.org>
3340
0d27a45e
GM
3341 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3342
133a11fc
GM
3343 * files.el (toggle-read-only): Restrict message to interactive use.
3344
07b151f1
MA
33452012-07-06 Michael Albinus <michael.albinus@gmx.de>
3346
3347 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3348
3349 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3350
211b896b
GM
33512012-07-06 Glenn Morris <rgm@gnu.org>
3352
50394322
GM
3353 * Makefile.in (compile-one-process): Rename from "recompile".
3354
211b896b
GM
3355 * Makefile.in (bzr-update): "compile" is the same as "recompile
3356 autoloads", but parallelizable, so use that instead.
3357
4737eec9
DG
33582012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3359
3360 * window.el (quit-window): Always restore window height when
8137e7b3 3361 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3362
226c3633 33632012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3364
3365 * simple.el (kill-whole-line): Doc tweak.
3366
226c3633 33672012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3368
3369 * files.el (file-relative-name): Compare file names
3370 case-insensitively if on MS-Windows or MS-DOS, or if
3371 read-file-name-completion-ignore-case is non-nil. Don't use
3372 case-fold-search for this purpose. (Bug#11827)
3373
4dc7c8d5
SM
33742012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3375
3376 * calendar/cal-dst.el (calendar-current-time-zone):
3377 Return calendar-current-time-zone-cache if non-nil.
3378
33792012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 33802012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3381
19faa8e8
SM
3382 * calendar/cal-dst.el (calendar-current-time-zone):
3383 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3384
60198fc9
GM
33852012-07-06 Glenn Morris <rgm@gnu.org>
3386
3387 * Makefile.in (cvs-update): Remove old alias.
3388
957b3189
MA
33892012-07-05 Michael Albinus <michael.albinus@gmx.de>
3390
3391 Sync with Tramp 2.2.6-pre.
3392
3393 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3394 compatible declaration.
3395
19faa8e8
SM
3396 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3397 Protect `list-load-path-shadows' call.
957b3189
MA
3398
3399 * net/tramp-compat.el (top): Require packages, which aren't
3400 autoloaded anymore for XEmacs. Protect call of
3401 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3402 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3403 it hurts at least for SXEmacs.
3404 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3405 standard-value for `temporary-file-directory'.
3406
3407 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3408 Redirect stderr to /dev/null.
3409 (tramp-sh-handle-write-region): uid and gid can be floats.
3410 Reported by Russell Sim <russell.sim@gmail.com>.
3411 (tramp-sh-handle-vc-registered): Hide errors.
3412 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3413 and `start-file-process'.
3414 (tramp-maybe-open-connection): Check also whether `non-essential'
3415 is bound.
3416
566df3fc
CY
34172012-07-04 Chong Yidong <cyd@gnu.org>
3418
3419 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3420 (xml-parse-tag): Likewise, and avoid changing entity tables.
3421 (xml-syntax-table): Define from scratch, making sure not to give
3422 x2000 and other Unicode spaces whitespace syntax, since those are
3423 not spaces in XML.
3424 (xml-parse-fragment): Delete unused function.
3425 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3426 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3427 (xml-entity-ref, xml-pe-reference-re)
3428 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3429 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3430 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3431 (xml-entity-value-re): Use syntax references in regexps where
3432 possible; no need to define inside a let-binding.
3433 (xml-parse-dtd): Use xml-pe-reference-re.
3434 (xml-entity-or-char-ref-re): New defconst.
3435 (xml-parse-string, xml-substitute-special): Use it.
3436
30eabd7a
SM
34372012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3438
0781098a
SM
3439 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3440 (find-file--read-only): New function.
3441 (find-file-read-only, find-file-read-only-other-window)
3442 (find-file-read-only-other-frame): Use it.
3443 (insert-file-contents-literally): Don't `fset'.
3444 (get-free-disk-space): Use locate-dominating-file.
3445
b5771c0d
SM
3446 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3447 function is already compiled.
3448
30eabd7a
SM
3449 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3450
b4886f6e
MA
34512012-07-03 Michael Albinus <michael.albinus@gmx.de>
3452
3453 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3454 files on the same host.
3455
b9d82339
AS
34562012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3457
3458 * help-fns.el (describe-function-1): Only call
3459 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3460
a76e6535
CY
34612012-07-03 Chong Yidong <cyd@gnu.org>
3462
3463 * xml.el: Protect parser against XML bombs.
3464 (xml-entity-expansion-limit): New variable.
3465 (xml-parse-string, xml-substitute-special): Use it.
3466 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3467
b544fef2
GM
34682012-07-03 Glenn Morris <rgm@gnu.org>
3469
3470 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3471 Allow linking to specific messages in debbugs reports (eg 123#5).
3472
a7aef6f5
CY
34732012-07-02 Chong Yidong <cyd@gnu.org>
3474
3475 * xml.el: Fix entity and character reference expansion, allowing
3476 them to expand into markup as per XML spec.
3477 (xml-default-ns): New variable.
3478 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3479 (xml-parse-region): Make first two arguments optional.
3480 Discard text properties.
3481 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3482 All callers changed.
a7aef6f5
CY
3483 (xml-parse-tag): Call xml-parse-tag-1. For backward
3484 compatibility, this function should not modify buffer contents.
3485 (xml-parse-tag-1): Fix opening-tag regexp.
3486 (xml-parse-string): Rewrite, handling entity and character
3487 references properly.
3488 (xml--entity-replacement-text): Signal an error if a parameter
3489 entity is undefined.
3490
3df31c9f
SM
34912012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3492
2b5208f1
SM
3493 * comint.el (comint-output-filter): Filter out repeated prompts.
3494
3df31c9f
SM
3495 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3496 and file-name-absolute-p.
3497 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3498 internal calls.
3499
e3ac1281
PE
35002012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3501
3502 Spelling fixes.
3503 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3504 Rename from byte-compile--refiy-function. All uses changed.
3505
fbf2e7ad
CY
35062012-07-01 Chong Yidong <cyd@gnu.org>
3507
3508 * xml.el (xml--parse-buffer): New function. Move most of
3509 xml-parse-region here.
3510 (xml-parse-region): Copy region into a temporary buffer, since
3511 parameter entity substitution requires changing buffer contents.
3512 Use xml--parse-buffer.
3513 (xml-parse-file): Use xml--parse-buffer.
3514 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3515 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3516
9bf0aa15
GM
35172012-06-30 Glenn Morris <rgm@gnu.org>
3518
bbce2853
GM
3519 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3520
9bf0aa15
GM
3521 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3522 Remove outdated and unnecessary dbus declarations.
3523
0d23c240
EZ
35242012-06-30 Eli Zaretskii <eliz@gnu.org>
3525
3526 * emacs-lisp/timer.el (timer-until): Subtract results of
3527 float-time, instead of taking float-time of the result of
3528 time-subtract, since float-time signals an error for negative time
3529 arguments.
3530
b3218de1
CY
35312012-06-30 Chong Yidong <cyd@gnu.org>
3532
3533 * xml.el (xml-*-re): Convert defvars into defconsts, and
3534 eval-and-compile them so eval-and-compile works on derivatives.
3535 (xml--entity-replacement-text): Use eval-and-comple.
3536
a40c87a0
MA
35372012-06-30 Michael Albinus <michael.albinus@gmx.de>
3538
3539 * vc/vc-git.el (vc-git-registered): Use cache property
3540 `git-registered'.
3541 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3542 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3543 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3544
ac87de97
DG
35452012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3546
3547 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3548 removed (likely outside Emacs). (Bug#11757)
ac87de97 3549
ac10fe06
SM
35502012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3df31c9f 3552 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3553
7f3fbd5d
CY
35542012-06-30 Chong Yidong <cyd@gnu.org>
3555
3556 * xml.el: Implement XML parameter entities.
3557 (xml-parameter-entity-alist): New variable.
3558 (xml-parse-region, xml-parse-fragment): Preserve previous values
3559 of xml-entity-alist and xml-parameter-entity-alist, so that
3560 repeated calls on different documents do not change them.
3561 (xml-parse-tag): Fix doctype regexp.
3562 (xml--entity-replacement-text): New function.
3563 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3564 properly requires url retrieval which is unimplemented.
3565 (xml-escape-string): Doc fix.
3566
3cfbebba
SM
35672012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3568
3569 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3570
2af3565e
DA
35712012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3572
3573 * fringe.el (fringe-mode): Doc fix.
3574
929df0e7
MA
35752012-06-29 Michael Albinus <michael.albinus@gmx.de>
3576
3577 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3578 is non-nil.
3579 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3580 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3581
c8d3a25c 35822012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3583
c8d3a25c
GM
3584 * calendar/cal-dst.el (calendar-current-time-zone):
3585 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3586
c8d3a25c 35872012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3588
3589 * progmodes/which-func.el (which-func-format):
3590 Add mouse-face. (Bug#11698)
3591
c8d3a25c
GM
35922012-06-29 Leo Liu <sdl.web@gmail.com>
3593
3594 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3595
35962012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3597
3598 * minibuffer.el (minibuffer-confirm-exit-commands):
3599 Add completion-at-point (bug#11725).
3600
36012012-06-29 Glenn Morris <rgm@gnu.org>
3602
3603 * progmodes/f90.el (f90-font-lock-keywords-2):
3604 Add some preprocessor elements. (Bug#10499)
3605
36062012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3609 Use syntax-propertize (bug#11739).
3610
2badeec4
JB
36112012-06-28 Juanma Barranquero <lekktu@gmail.com>
3612
3613 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3614
ae4969c2
JD
36152012-06-28 Julien Danjou <julien@danjou.info>
3616
3617 * term.el (term-handle-colors-array): Use a set of new faces to
3618 color the terminal. Also uses :inverse-video property.
3619 (term-default-fg-color): Set to nil by default, deprecate in favor
3620 of `term-face'.
3621 (term-default-bg-color): Set to nil by default, deprecate in favor
3622 of `term-face'.
3623 (term-current-face): Use `term-face' by default.
3624 (term-bold-attribute): Variable deleted.
3625
1c9bd870
GM
36262012-06-28 Glenn Morris <rgm@gnu.org>
3627
3628 * simple.el (completion-list-mode-finish):
3629 Don't use toggle-read-only. (Since completion-list-mode has
3630 a special mode-class, it wasn't doing anything extra anyway.)
3631
c207708c
SM
36322012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 Make inlining of other-mode interpreted functions work (bug#11799).
3635 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3636 (byte-compile): Use it to fix compilation of lexical-binding closures.
3637 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3638 function, if needed.
3639
3fd56834
SM
36402012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3641
04901786
SM
3642 * help-mode.el (help-make-xrefs): Don't just withstand
3643 cyclic-variable-indirection but any error in documentation-property.
3644
1ec4b7b2
SM
3645 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3646 memory use.
3647 * bindings.el (bindings--define-key): New function.
3648 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3649 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3650 * bindings.el: Use it to purecopy define-key bindings.
3651
e309e2a5
SM
3652 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3653
d5c6faf9
SM
3654 * emacs-lisp/cl.el (flet): Mark obsolete.
3655 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3656 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3657 * progmodes/js.el (js-c-fill-paragraph):
3658 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3659 (ebrowse-switch-member-buffer-to-derived-class):
3660 * play/5x5.el (5x5-solver): Use cl-flet.
3661
6e9590e2
SM
3662 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3663 (cl--symbol-function): New macro.
3664 (cl--letf, cl--letf*): Use it.
3665
3fd56834
SM
3666 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3667 Strip "toggle-" if any.
3668
35ff222c
GM
36692012-06-27 Glenn Morris <rgm@gnu.org>
3670
1ba6038a
GM
3671 * info.el (Info-default-directory-list): Move here from paths.el.
3672 * paths.el: Remove file, which is now empty.
3673 * loadup.el: No longer load "paths".
3674
0ea0e51b
GM
3675 * custom.el (custom-initialize-delay): Doc fix.
3676
35ff222c
GM
3677 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3678 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3679 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3680 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3681 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3682 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3683 * eshell/eshell.el (eshell-defgroup): Remove alias.
3684
c89926a5
CY
36852012-06-27 Chong Yidong <cyd@gnu.org>
3686
3687 * help.el (help-enable-auto-load): New variable.
3688
3689 * help-fns.el (help-fns--autoloaded-p): New function.
3690 (describe-function-1): Refer to a function as "autoloaded" if it
3691 was autoloaded at any time in the past. Perform autoloading if
3692 help-enable-auto-load is non-nil.
3693
cc06e7e7
EZ
36942012-06-26 Eli Zaretskii <eliz@gnu.org>
3695
3696 * makefile.w32-in (compile, compile-always): Depend on
3697 update-subdirs, not on subdirs.el. Otherwise, several different
3698 sub-targets of 'bootstrap' running in parallel could
3699 simultaneously write to subdirs.el, producing a garbled file.
3700
d2c32364
SS
37012012-06-26 Sam Steingold <sds@gnu.org>
3702
3703 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3704 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3705 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3706 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3707 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3708 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3709 * textmodes/tex-mode.el: Use it.
3710 Did not touch cedet and org because they are maintained elsewhere.
3711
5cf983b2
MR
37122012-06-26 Martin Rudalics <rudalics@gmx.at>
3713
3714 * calendar/calendar.el (calendar-exit): Don't try to delete or
3715 iconify last frame. See:
3716 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3717
8c4f2952
JD
37182012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3719
3720 * server.el (server-process-filter): Remember dir in the
3721 process's `server-client-directory' properties.
3722
772b2e2c
CY
37232012-06-24 Chong Yidong <cyd@gnu.org>
3724
3725 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3726 non-tag text.
3727
711b11e1
JB
37282012-06-23 Juanma Barranquero <lekktu@gmail.com>
3729
3730 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3731
dc5d230c
SM
37322012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * help-fns.el (describe-variable): Don't croak when doc is not found.
3735 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3736 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3737 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3738 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3739 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3740 ((lambda ..) ..).
3741 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3742
136e1c1d
CY
37432012-06-23 Chong Yidong <cyd@gnu.org>
3744
e8c1cabf
CY
3745 * info.el (Info-mouse-follow-link): Accept symbol values of
3746 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3747 (Info-fontify-node): Use Info-link-keymap for all navigation
3748 buttons, with link-args property to perform the desired action.
3749 (Info-link-keymap): Doc fix.
3750 (Info-next-link-keymap, Info-prev-link-keymap)
3751 (Info-up-link-keymap): Delete now-unused keymaps.
3752
0e9e6c6a
CY
37532012-06-23 Chong Yidong <cyd@gnu.org>
3754
05e89fea
CY
3755 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3756
0e9e6c6a
CY
3757 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3758 system abbrevs.
3759
3760 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3761
e33c6771
SM
37622012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3763
b68581e2
SM
3764 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3765 (bug#11719).
3766
e33c6771
SM
3767 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3768 the requote function doesn't work properly (bug#11714).
3769
7117e105
GM
37702012-06-23 Glenn Morris <rgm@gnu.org>
3771
3772 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3773
36cec983
SM
37742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3775
3776 Further GV/CL cleanups.
3777 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3778 gv-expander.
3779 (gv--defun-declaration): New function.
3780 (defun-declarations-alist): Use it.
3781 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3782 (gv-place): Autoload.
3783 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3784 original definition of dotimes and dolist.
3785 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3786 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3787 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3788 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3789 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3790 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3791 to the function's definition.
3792 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3793 * window.el:
3794 * files.el:
3795 * faces.el:
3796 * env.el: Don't use CL.
3797
d35af63c
PE
37982012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3799
3800 Support higher-resolution time stamps (Bug#9000).
3801
3802 * calendar/time-date.el (with-decoded-time-value): New arg
3803 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3804 (encode-time-value): New optional arg PICO. New type 3.
3805 (time-to-seconds) [!float-time]: Support the new picoseconds
3806 component if it's used.
3807 (seconds-to-time, time-subtract, time-add):
3808 Support ps-resolution time stamps as well.
3809
3810 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3811 (timerp): Timer vectors now have length 9, not 8.
3812 (timer--time): Support new-style (4-part) time stamps.
3813 (timer-next-integral-multiple-of-time): Time stamps now have
3814 picosecond resolution, so take a bit more care about rounding.
3815 (timer-relative-time, timer-inc-time): New optional arg psecs.
3816 (timer-set-time-with-usecs): Set psecs to 0.
3817 (timer--activate): Check psecs component, too.
3818
3819 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3820
ac77b21a
SM
38212012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3822
f143bfe3
SM
3823 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3824 Move the non-essential binding to the post/pre-command-hook where it is
3825 more obviously correct.
3826
ac77b21a
SM
3827 * subr.el (read-passwd): Don't use a history at all.
3828 * savehist.el (savehist-save): Remove password saved accidentally
3829 because of the above bug.
3830
76386c5a
BG
38312012-06-22 Bastien Guerry <bzg@gnu.org>
3832
3833 * files.el (toggle-read-only): Display a message telling whether
3834 the buffer is read-only or not (bug#11726).
3835
2ee3d7f0
SM
38362012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * emacs-lisp/gv.el: New file.
3839 * subr.el (push, pop): Extend to generalized variables.
3840 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3841 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3842 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3843 gv-define-simple-setter, and gv-define-expander.
3844 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3845 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3846 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3847 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3848 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3849 gv-letplace.
3850 (cl-defstruct): Don't define setf-method any more.
3851 * emacs-lisp/cl.el (flet): Don't autoload.
3852 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3853 (define-setf-expander, defsetf, define-modify-macro)
3854 (cl-struct-setf-expander): Move from cl-lib.el.
3855 * emacs-lisp/syntax.el:
3856 * emacs-lisp/ewoc.el:
3857 * emacs-lisp/smie.el:
3858 * emacs-lisp/cconv.el:
3859 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3860 (timer--time): Use gv-define-simple-setter.
3861 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3862 to avoid coding-system problems in subr.el. Adjust all users.
3863 (macroexp--maxsize, macroexp-small-p): New functions.
3864 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3865 * scroll-bar.el (scroll-bar-mode):
3866 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3867 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3868 * winner.el (winner-configuration, winner-make-point-alist)
3869 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3870 * files.el (locate-file-completion-table): Avoid list*.
3871
c5695d1d
CY
38722012-06-22 Chong Yidong <cyd@gnu.org>
3873
3874 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3875 (dired-create-files): Doc fix (Bug#11329).
3876 (dired-do-copy): Doc fix (Bug#11334).
3877 (dired-mark-read-string): Doc fix (Bug#11553).
3878
2ee3d7f0
SM
3879 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3880 Doc fix (Bug#11326).
c5695d1d
CY
3881 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3882 (dired-dwim-target): Doc fix.
3883
3884 * wdired.el (wdired-mode): Doc fix.
3885
89b5595a
GM
38862012-06-22 Glenn Morris <rgm@gnu.org>
3887
575db3f1
GM
3888 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3889 (pcmpl-rpm-cache-stamp-file): New constant.
3890 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3891 (pcmpl-rpm-packages): Optionally cache list of packages.
3892
a4c8dd51
GM
3893 * pcmpl-rpm.el (pcmpl-rpm): New group.
3894 (pcmpl-rpm-query-options): New option.
3895 (pcmpl-rpm-packages): No need to inline it.
3896 Use pcmpl-rpm-query-options.
3897
89b5595a
GM
3898 * calendar/calendar.el (calendar-in-read-only-buffer):
3899 Avoid some needless mode changes.
3900
e76f0800
CY
39012012-06-21 Chong Yidong <cyd@gnu.org>
3902
3903 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3904 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3905 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3906
297a8f1d
CY
39072012-06-20 Chong Yidong <cyd@gnu.org>
3908
3909 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3910
d34c18b1
DR
39112012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3912
3913 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3914 (bug#11201).
3915
32f7f28e
CY
39162012-06-20 Chong Yidong <cyd@gnu.org>
3917
3918 * term.el (term-window-width): Handle the case of a missing right
3919 fringe (Bug#8837).
3920 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3921 (term-mode): Use define-derived-mode. Minor cleanups.
3922 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3923 (term-move-columns, term-insert-char, term-emulate-terminal)
3924 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3925
493c6688
MA
39262012-06-20 Michael Albinus <michael.albinus@gmx.de>
3927
d34c18b1
DR
3928 * net/ange-ftp.el (ange-ftp-get-passwd):
3929 Bind `enable-recursive-minibuffers'.
493c6688
MA
3930 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3931
3f06ecf4
DR
39322012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3933
3934 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3935
68f12411
GM
39362012-06-19 Glenn Morris <rgm@gnu.org>
3937
3938 * progmodes/python.el (python-mode): Derive from prog-mode.
3939
b3820318
KG
39402012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3941
3942 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3943 (edt-user-menu-bar-update-buffers): New functions.
3944 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3945
c6bf3022
CY
39462012-06-19 Chong Yidong <cyd@gnu.org>
3947
3948 * subr.el (with-selected-window): Preserve the selected window's
3949 terminal's top-frame (Bug#4702).
3950
3951 * window.el (save-selected-window): Likewise.
3952
25f09295
SM
39532012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3954
3955 * progmodes/python.el (python-rx-constituents): Move backquote.
3956 (python-skeleton-define, python-define-auxiliary-skeleton):
3957 Use `declare'.
3958
6b11952a
MA
39592012-06-18 Michael Albinus <michael.albinus@gmx.de>
3960
3961 * minibuffer.el (read-file-name-default): Revert the patch from
3962 2012-06-17.
3963
ee4b1330
SM
39642012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3967 (pcase--u1, pcase--q1): Don't use apply-partially.
3968
35647f79
GM
39692012-06-18 Glenn Morris <rgm@gnu.org>
3970
3971 * progmodes/python.el (python-proc, python-buffer)
3972 (python-send-receive, python-send-string): Fix obsolete versions.
3973
24b0cff0
MR
39742012-06-18 Martin Rudalics <rudalics@gmx.at>
3975
3976 * window.el (special-display-p): Completely remove stringp
3977 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3978
29855149
MA
39792012-06-17 Michael Albinus <michael.albinus@gmx.de>
3980
3981 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3982
3983 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3984
3985 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3986 * net/tramp-sh.el (tramp-maybe-open-connection):
3987 Throw if `non-essential' is non-nil.
3988
07463363
MR
39892012-06-17 Martin Rudalics <rudalics@gmx.at>
3990
3991 * window.el (special-display-p): Signal an error if BUFFER-NAME
3992 is not a string (Bug#11713).
3993
48d1354e
PE
39942012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3995
3996 * progmodes/python.el (python-info-beginning-of-backslash):
3997 Rename from python-info-beginning-of-backlash, as a spelling fix.
3998
eb4a8a9a
CY
39992012-06-17 Chong Yidong <cyd@gnu.org>
4000
4001 * term.el (term-emulate-terminal): If term-check-size is called,
4002 move point to the process mark without resetting point (Bug#4635).
4003
ddfbf826 40042012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4005
4006 * international/mule-cmds.el (mule-menu-keymap)
4007 (set-language-environment, set-locale-environment): Doc tweaks.
4008
9b0e3eba
AA
40092012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4010
4011 * cus-face.el (custom-face-attributes): Add wave-style underline
4012 attribute.
4013 * faces.el (set-face-attribute): Update docstring to describe
4014 wave-style underline attribute.
4015
771e3eae
CY
40162012-06-16 Chong Yidong <cyd@gnu.org>
4017
4018 * term/xterm.el (terminal-init-xterm): Discard input before
4019 querying background mode (Bug#10959).
4020
7ae2ea10
SM
40212012-06-16 Stefan Merten <smerten@oekonux.de>
4022
4023 * textmodes/rst.el: Added and corrected some comments.
4024 (rst-re-alist-def): Improve symbol syntax.
4025 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4026 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4027 (rst-official-version, rst-official-cvs-rev): Update version
4028 information.
7ae2ea10 4029
b6974efa
JB
40302012-06-15 Juanma Barranquero <lekktu@gmail.com>
4031
4032 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4033 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4034
8826d473
GM
40352012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4036
4037 * progmodes/python.el: New python.el merge.
4038 (python-guess-indent): Obsolete var.
4039 (python-indent-guess-indent-offset): New defcustom.
4040 (python-indent): Obsolete var.
4041 (python-indent-offset): New defcustom.
4042 (python-python-command, python-jython-command): Delete var.
4043 (python-shell-interpreter): New defcustom.
4044 (python-pdbtrack-do-tracking-p): Delete var.
4045 (python-pdbtrack-activate): New defcustom.
4046 (python-use-skeletons): Obsolete var.
4047 (python-skeleton-autoinsert): New defcustom.
4048 (inferior-python-filter-regexp, python-continuation-offset)
4049 (python-honour-comment-indentation, python-indent-string-contents)
4050 (python-jython-packages, python-mode-hook)
4051 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4052 (python-shell-prompt-alist)
4053 (python-source-modes): Delete defcustoms.
4054 (python-check-buffer-name, python-eldoc-setup-code)
4055 (python-eldoc-string-code, python-ffap-setup-code)
4056 (python-ffap-string-code, python-fill-comment-function)
4057 (python-fill-decorator-function, python-fill-paren-function)
4058 (python-fill-string-function, python-imenu-include-defun-type)
4059 (python-imenu-make-tree, python-imenu-subtree-root-label)
4060 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4061 (python-shell-compilation-regexp-alist)
4062 (python-shell-completion-module-string-code)
4063 (python-shell-completion-pdb-string-code)
4064 (python-shell-completion-setup-code)
4065 (python-shell-completion-string-code)
4066 (python-shell-enable-font-lock, python-shell-exec-path)
4067 (python-shell-extra-pythonpaths)
4068 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4069 (python-shell-process-environment)
4070 (python-shell-prompt-block-regexp)
4071 (python-shell-prompt-output-regexp)
4072 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4073 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4074 (python-shell-virtualenv-path): New defcustoms.
4075 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4076 (inferior-python-mode-syntax-table, python--prompt-regexp)
4077 (python-buffer, python-command python-python-command)
4078 (python-default-template, python-imports, python-indent-index)
4079 (python-indent-list, python-indent-list-length)
4080 (python-mode-running, python-pdbtrack-is-tracking-p)
4081 (python-preoutput-continuation, python-preoutput-leftover)
4082 (python-preoutput-result, python-preoutput-skip-next-prompt)
4083 (python-prev-dir/file, python-recursing)
4084 (python-saved-check-command, python-version-checked)
4085 (python-which-func-length-limit)
4086 (view-return-to-alist): Delete vars.
4087 (python-check-custom-command, python-dotty-syntax-table)
4088 (python-imenu-index-alist, python-indent-current-level)
4089 (python-indent-dedenters, python-indent-levels)
4090 (python-nav-beginning-of-defun-regexp)
4091 (python-nav-list-defun-positions-cache)
4092 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4093 (python-shell-internal-buffer)
4094 (python-skeleton-available): New vars.
4095 (def-python-skeleton): Delete macro.
4096 (python-skeleton-define): New macro.
4097 (python-define-auxiliary-skeleton, python-rx): New macros.
4098 (python-insert-class): Delete command.
4099 (python-skeleton-class): New command.
4100 (python-insert-def): Delete command.
4101 (python-skeleton-def): New command.
4102 (python-insert-for): Delete command.
4103 (python-skeleton-for): New command.
4104 (python-insert-if): Delete command.
4105 (python-skeleton-if): New command.
4106 (python-insert-try/except, python-insert-try/finally): Delete commands.
4107 (python-skeleton-try): New command.
4108 (python-insert-while): Delete command.
4109 (python-skeleton-while): New command.
4110 (python-backspace): Delete command.
4111 (python-indent-dedent-line-backspace): New command.
4112 (python-electric-colon): Delete command.
4113 (python-indent-electric-colon): New command.
4114 (python-guess-indent): Delete command.
4115 (python-indent-guess-indent-offset): New command.
4116 (python-shift-left): Delete command.
4117 (python-indent-shift-left): New command.
4118 (python-shift-right): Delete command.
4119 (python-indent-shift-right): New command.
4120 (python-find-function): Delete command.
4121 (python-nav-jump-to-defun): New command.
4122 (python-next-statement): Delete command.
4123 (python-nav-forward-sentence): New command.
4124 (python-previous-statement): Delete command.
4125 (python-nav-backward-sentence): New command.
4126 (python-fill-paragraph): Delete command.
4127 (python-fill-paragraph-function): New command.
4128 (python-send-buffer): Delete command.
4129 (python-shell-send-buffer): New command.
4130 (python-send-defun): Delete command.
4131 (python-shell-send-defun): New command.
4132 (python-send-region, python-send-region-and-go): Delete commands.
4133 (python-shell-send-region)
4134 (python-shell-switch-to-shell): New commands.
4135 (python-send-string): Delete command.
4136 (python-shell-send-string): New command.
4137 (python-switch-to-python): Delete command.
4138 (python-shell-switch-to-shell): New command.
4139 (python-describe-symbol): Delete command.
4140 (python-eldoc-at-point): New command.
4141 (python--set-prompt-regexp, python-args-to-list)
4142 (python-after-info-look, python-check-version)
4143 (python-check-comint-prompt, python-find-imports)
4144 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4145 (python-unload-function, python-expand-template)
4146 (python-maybe-jython, python-preoutput-filter)
4147 (python-pdbtrack-get-source-buffer)
4148 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4149 (python-pdbtrack-toggle-stack-tracking)
4150 (python-pdbtrack-track-stack-file, python-initial-text)
4151 (python-first-word, python-comment-line-p, python-send-command)
4152 (python-setup-brm, python-sentinel, python-set-proc)
4153 (python-skip-out, python-input-filter, python-outdent-p)
4154 (python-outline-level, python-backslash-continuation-line-p)
4155 (python-end-of-block, python-end-of-statement, python-mark-block)
4156 (python-beginning-of-block, python-beginning-of-statement)
4157 (python-blank-line-p, python-beginning-of-string)
4158 (python-open-block-statement-p): Delete functions.
4159 (python-indent-line, python-indent-line-1): Delete functions.
4160 (python-indent-line): New function.
4161 (python-indentation-levels): Delete function.
4162 (python-indent-calculate-levels): New function.
4163 (python-proc): Delete function.
4164 (python-shell-get-process): New function.
4165 (python-send-receive): Delete function.
4166 (python-shell-send-string-no-output): New function.
4167 (python-module-path): Delete function.
4168 (python-ffap-module-path): New function.
4169 (python-completion-at-point)
4170 (python-symbol-completions): Delete functions.
4171 (python-completion-complete-at-point): New function.
4172 (python-load-file): Delete function.
4173 (python-shell-send-file): New function.
4174 (python-calculate-indentation): Delete function.
4175 (python-indent-calculate-indentation): New function.
4176 (python-skip-comments/blanks): Delete function.
4177 (python-util-forward-comment): New function.
4178 (python-continuation-line-p): Delete function.
4179 (python-info-continuation-line-p): New function.
4180 (python-which-func, python-current-defun): Delete function.
4181 (python-info-current-defun): New function.
4182 (python-beginning-of-defun): Delete function.
4183 (python-nav-beginning-of-defun): New function.
4184 (python-close-block-statement-p)
4185 (python-block-end-p): Delete function.
4186 (python-info-closing-block): New function.
4187 (python-comint-output-filter-function)
4188 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4189 (python-fill-comment, python-fill-decorator, python-fill-paren)
4190 (python-fill-string, python-imenu-make-element-tree)
4191 (python-imenu-make-tree, python-imenu-tree-assoc)
4192 (python-indent-context, python-indent-dedent-line)
4193 (python-indent-line-function)
4194 (python-indent-post-self-insert-function)
4195 (python-indent-toggle-levels)
4196 (python-info-assignment-continuation-line-p)
4197 (python-info-beginning-of-backlash)
4198 (python-info-block-continuation-line-p)
4199 (python-info-closing-block-message)
4200 (python-info-line-ends-backslash-p)
4201 (python-info-looking-at-beginning-of-defun)
4202 (python-info-ppss-context, python-info-ppss-context-type)
4203 (python-nav-list-defun-positions, python-nav-read-defun)
4204 (python-nav-sentence-end, python-nav-sentence-start)
4205 (python-pdbtrack-comint-output-filter-function)
4206 (python-pdbtrack-set-tracked-buffer)
4207 (python-shell-calculate-exec-path)
4208 (python-shell-calculate-process-environment)
4209 (python-shell-completion--do-completion-at-point)
4210 (python-shell-completion--get-completions)
4211 (python-shell-completion-complete-at-point)
4212 (python-shell-completion-complete-or-indent)
4213 (python-shell-get-or-create-process)
4214 (python-shell-get-process-name)
4215 (python-shell-internal-get-or-create-process)
4216 (python-shell-internal-get-process-name)
4217 (python-shell-internal-send-string, python-shell-make-comint)
4218 (python-shell-parse-command, python-shell-send-setup-code)
4219 (python-skeleton-add-menu-items)
4220 (python-util-clone-local-variables, python-util-position)
4221 (run-python-internal, python-indentation-levels)
4222 (python-nav-beginning-of-defun)
4223 (python-completion-complete-at-point): New functions.
4224 (run-python): Change arguments. New API requirements.
4225
4302f5ba
SM
42262012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4227
f38ea36d
SM
4228 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4229 (bug#11649).
4230
4231 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4232 (macroexp--expand-all): Use it.
4233
4302f5ba
SM
4234 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4235 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4236 Use `cl-function' instead.
4237
33377562
JB
42382012-06-14 Juanma Barranquero <lekktu@gmail.com>
4239
4240 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4241 Suggested by Stefan Monnier while discussing bug#11657.
4242
54c5ba1a
SS
42432012-06-14 Sam Steingold <sds@gnu.org>
4244
4245 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4246
f9f1b1fe
AS
42472012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4248
4249 * play/doctor.el (doctor-doc): Remove parameter and use
4250 doctor-sent instead of sent.
4251 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4252
a81068ba
SM
42532012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4254
5a315f9c
SM
4255 * files.el: Require cl-lib.
4256 (file-name-non-special): Replace case -> cl-case.
4257
4258 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4259
a81068ba
SM
4260 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4261 mapping from #' to function*.
4262
8cca9703
CY
42632012-06-13 Chong Yidong <cyd@gnu.org>
4264
4265 * mouse.el (mouse-drag-track): Do not set the mark if the user
4266 releases the mouse without selecting anything (Bug#11588).
4267
a12ac9d7
SM
42682012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4269
ccf1dc18
SM
4270 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4271 as well (bug#11646).
4272
ef62b23d
SM
4273 * loadup.el: Count byte-code functions as well.
4274
c4c8444a
SM
4275 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4276 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4277
a12ac9d7
SM
4278 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4279 (bug#11649). Add cl-defun and cl-defmacro.
4280
87e6e64f
DA
42812012-06-13 Drew Adams <drew.adams@oracle.com>
4282
4283 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4284 Fix last change.
4285
682cefaf
MA
42862012-06-13 Michael Albinus <michael.albinus@gmx.de>
4287
4288 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4289 Otherwise, it blocks in batch mode.
4290
773e1f08
JB
42912012-06-13 Juanma Barranquero <lekktu@gmail.com>
4292
4293 * help-mode.el (bookmark-make-record-default): Declare.
4294
60057926
CY
42952012-06-13 Chong Yidong <cyd@gnu.org>
4296
4297 * emacs-lisp/package.el (list-packages): Compute a list of
4298 packages that are newly-available since the last list-packages
4299 invocation.
4300 (package-menu--new-package-list): New var.
4301 (package-menu--generate, package-menu--print-info)
4302 (package-menu--status-predicate, package-menu-mark-install):
4303 Handle new status label "new".
4304
ad4d226c
SM
43052012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4308 conversion to backquotes.
4309
f1a4e679
CY
43102012-06-12 Chong Yidong <cyd@gnu.org>
4311
4312 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4313 Rename from gud-inhibit-global-bindings.
4314
4315 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4316
4317 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4318 hook from nxml-glyph-set-hook.
4319
4320 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4321 declaration.
4322
4323 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4324
4325 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4326 Convert to defcustom.
4327
0c9e42b5
DA
43282012-06-12 Drew Adams <drew.adams@oracle.com>
4329
4330 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4331 New functions.
4332 (help-mode): Use them.
4333
09e06855
GM
43342012-06-11 Glenn Morris <rgm@gnu.org>
4335
4336 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4337 Use preprocessor face for directives.
4338 (fortran-directive-re): Doc fix.
4339
71adb94b
SM
43402012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4341
2eb87922
SM
4342 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4343 conversion to backquotes (bug#11652).
4344
71adb94b
SM
4345 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4346 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4347 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4348 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4349 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4350 (cl-ninth, cl-tenth): Mark them as inlinable.
4351 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4352 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4353 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4354 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4355 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4356 (cl-list*, cl-adjoin): Don't put an autoload manually.
4357 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4358 (cl--compiler-macro-list*): Add autoload cookie.
4359 (cl--compiler-macro-cXXr): New function.
2eb87922 4360
71adb94b
SM
4361 * help-fns.el (help-fns--compiler-macro): New function extracted from
4362 describe-function-1; follow aliases and use `compiler-macro' property.
4363 (describe-function-1): Use it.
4364
a6674402
CY
43652012-06-11 Chong Yidong <cyd@gnu.org>
4366
4367 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4368 is uninstalled, if imagemagick is installed.
4369
bb3faf5b
SM
43702012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * emacs-lisp/cl-lib.el: Use lexical-binding.
4373 (cl-map-extents, cl-maclisp-member): Remove.
4374 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4375 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4376 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4377 * emacs-lisp/cl-extra.el: Use lexical-binding.
4378 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4379 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4380 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4381 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4382 * emacs-lisp/cl-seq.el: Use lexical-binding.
4383 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4384 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4385 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4386 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4387 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4388 CL's internals.
4389
2fe4b125
MA
43902012-06-11 Michael Albinus <michael.albinus@gmx.de>
4391
4392 Sync with Tramp 2.2.6-pre.
4393
4394 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4395 `print-length' and `print-level' to nil, in order to avoid
4396 truncation. Reported by Christopher Schmidt
4397 <christopher@ristopher.com>.
4398
4399 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4400
4401 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4402 New defmacro.
4403 (tramp-compat-copy-directory): Add optional argument
4404 COPY-CONTENTS. It is not handled yet.
4405
4406 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4407 (tramp-ftp-file-name-p): Simplify.
4408
4409 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4410 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4411 connection vector.
4412
4413 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4414 (tramp-methods): Do not use `tramp-password-end-of-line'.
4415 (tramp-completion-function-alist-putty): Handle UNIX case.
4416 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4417 (tramp-do-file-attributes-with-stat)
4418 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4419 gid as real numbers. They could run out of integer range on cygwin.
4420 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4421 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4422 (tramp-open-connection-setup-interactive-shell):
4423 Use `tramp-cleanup'. Move check for busyboxes ...
4424 (tramp-find-shell): ... here. Simplify implementation.
4425 Set "remote-shell" property also for alternative shells.
4426 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4427 If failing, a regular file would be written otherwise.
4428 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4429 (tramp-find-inline-encoding): Cache the coding commands in the
4430 process cache. Apply test command on the remote side, if defined.
4431 (tramp-find-inline-compress): Cache the compress commands in the
4432 process cache.
4433 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4434 when requested. Handle hops.
4435 (tramp-current-connection): New defvar.
87e6e64f
DA
4436 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4437 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4438 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4439 (tramp-get-inline-compress, tramp-get-inline-coding):
4440 Read connection properties from the process cache.
2fe4b125
MA
4441
4442 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4443 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4444 New defconsts.
2fe4b125
MA
4445 (tramp-smb-prompt): Extend for powershell prompt.
4446 (tramp-smb-file-name-handler-alist): Add handlers for
4447 `process-file', `shell-command' and `start-file-process'.
4448 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4449 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4450 (tramp-smb-file-name-p): Simplify.
4451 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4452 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4453 (tramp-smb-shell-quote-argument): New defuns.
4454 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4455 Implement using "tar". By this, time-stamps are preserved.
4456 (tramp-smb-handle-copy-file): Handle also the case of directories.
4457 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4458 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4459 Use `tramp-get-connection-buffer').
2fe4b125
MA
4460 (tramp-smb-handle-rename-file): Use "rename", when source and
4461 target are on the same share.
87e6e64f
DA
4462 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4463 Use `tramp-smb-server-version'.
2fe4b125
MA
4464 (tramp-smb-wait-for-output): Remove prompt.
4465
4466 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4467 (tramp-methods, tramp-rsh-end-of-line):
4468 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4469 (tramp-save-ad-hoc-proxies): New defcustom.
4470 (tramp-completion-function-alist): Adapt docstring.
4471 (tramp-default-password-end-of-line): Remove defcustom.
4472 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4473 (tramp-user-regexp, tramp-file-name-regexp-unified)
4474 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4475 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4476 (tramp-remote-file-name-spec-regexp): New defconst.
4477 (tramp-file-name-structure): Extend structure for hops.
4478 (tramp-get-method-parameter): Move up.
4479 (tramp-file-name-p, tramp-dissect-file-name)
4480 (with-parsed-tramp-file-name): Handle hops.
4481 (tramp-file-name-hop): New defun.
4482 (tramp-make-tramp-file-name): New optional arg HOP.
4483 (tramp-message-show-progress-reporter-message): New defvar.
4484 (tramp-with-progress-reporter): Use it. We cannot use
4485 `tramp-message-show-message' here, because this suppresses also
4486 error buffers.
4487 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4488 `tramp-message-show-message' is nil.
4489 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4490 (tramp-cleanup): New defun.
4491 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4492 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4493 an error unchanged.
4494 (tramp-completion-handle-file-name-all-completions): Handle hops.
4495 Fix an error when called from ido.
4496 (tramp-completion-dissect-file-name): Use better local variable
4497 name. Add hop to the vector.
4498 (tramp-handle-insert-file-contents): Use progress-reporter for the
4499 whole scenario.
4500 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4501 to `t'.
4502 (tramp-check-for-regexp): Simplify search.
4503 (tramp-enter-password): Remove it. Move implementation ...
4504 (tramp-action-password): ... here.
4505 (tramp-mode-string-to-int, tramp-local-host-p)
4506 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4507 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4508 Set tramp-autoload cookie.
2fe4b125
MA
4509
4510 * net/trampver.el: Update release number.
4511
45122012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4513 Michael Albinus <michael.albinus@gmx.de>
4514
4515 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4516 (tramp-parse-group, tramp-parse-file)
4517 (tramp-parse-shostkeys-sknownhosts): New defuns.
4518 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4519 (tramp-parse-shosts-group, tramp-parse-sconfig)
4520 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4521 (tramp-parse-sknownhosts, tramp-parse-hosts)
4522 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4523 Use them.
4524 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4525 (tramp-parse-putty-group): Don't narrow.
4526 (tramp-parse-putty): Make a loop.
4527 (tramp-file-name-handler): Catch the `suppress' signal.
4528
72834e10
CY
45292012-06-11 Chong Yidong <cyd@gnu.org>
4530
4531 * image.el (imagemagick-register-types): Put the ImageMagick entry
4532 at the end of image-type-file-name-regexps.
4533
a4712e11
JB
45342012-06-11 Johan Bockgård <bojohan@gnu.org>
4535
4536 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4537 (pcase, pcase-let*, pcase-dolist): Use them.
4538
82ad98e3
SM
45392012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * emacs-lisp/pcase.el (pcase--let*): New function.
4542 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4543 (pcase--expand): Use macroexp-let².
4544
f80efb86
SM
45452012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4546
4547 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4548 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4549 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4550 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4551 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4552 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4553
31ca4639 45542012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4555
31ca4639
CY
4556 * mail/rmail.el (rmail-yank-current-message): Leave point at
4557 correct position. (Bug#11660)
94f0aa34 4558
31ca4639 45592012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4560
31ca4639 4561 * allout-widgets.el: Fix code header.
9e1b8ec4 4562
31ca4639 45632012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4564
f80efb86
SM
4565 * cus-edit.el (customize-changed-options-previous-release):
4566 Bump to 24.1.
31ca4639 4567
642b6d30
AS
45682012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4569
4570 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4571
4f5d2ba1
CY
45722012-06-09 Chong Yidong <cyd@gnu.org>
4573
4574 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4575
e75852fd
MR
45762012-06-09 Martin Rudalics <rudalics@gmx.at>
4577
4578 * window.el (special-display-popup-frame): Don't use
4579 window--display-buffer (Bug#11651).
4580
1e48e282
EZ
45812012-06-09 Eli Zaretskii <eliz@gnu.org>
4582
8a26b487
EZ
4583 Fix parallel builds: make sure loaddefs.el is not being written
4584 while Lisp files are compiled.
4585 (compile): Don't depend on 'mh-autoloads'.
4586 (compile-CMD, compile-SH): Depend on 'autoloads'.
4587 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4588
1e48e282
EZ
4589 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4590
6175e34b
CY
45912012-06-09 Chong Yidong <cyd@gnu.org>
4592
4593 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4594 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4595 Doc fixes (Bug#11225).
4596
d9857e53
SM
45972012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4600 a function if there's a clear indication that it has a compiler-macro.
4601 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4602 (macro-declarations-alist): Add arglist to declaration functions.
4603 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4604 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4605 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4606 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4607 Also add autoload to find the compiler macro.
4608 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4609 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4610 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4611 (cl--compiler-macro-get): New functions, replacing calls to
4612 cl-define-compiler-macro.
4613 (cl-typep) [compiler-macro]: Use macroexp-let².
4614
f81298f8 46152012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4616
4617 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4618 string properly, fixes Bug#11473.
4619
4b56d0fe
CY
46202012-06-08 Chong Yidong <cyd@gnu.org>
4621
4622 * faces.el (set-face-attribute): Doc fix.
4623 (modify-face): Don't use :bold and :italic.
4624 (error, warning, success): Tweak definitions.
4625
4626 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4627 (custom-modified, custom-set, custom-changed, custom-themed)
4628 (custom-saved, custom-button, custom-button-mouse)
4629 (custom-button-pressed, custom-state, custom-comment-tag)
4630 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4631 (custom-group-subtitle): Use new-style face specs.
4632 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4633 (custom-set-face, custom-changed-face, custom-saved-face)
4634 (custom-button-face, custom-button-pressed-face)
4635 (custom-documentation-face, custom-state-face)
4636 (custom-comment-face, custom-comment-tag-face)
4637 (custom-variable-tag-face, custom-variable-button-face)
4638 (custom-face-tag-face, custom-group-tag-face-1)
4639 (custom-group-tag-face): Remove obsolete face alias.
4640
4641 * epa.el (epa-validity-high, epa-validity-medium)
4642 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4643 (epa-field-name, epa-field-body):
4644 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4645 (font-lock-keyword-face, font-lock-builtin-face)
4646 (font-lock-function-name-face, font-lock-variable-name-face)
4647 (font-lock-type-face, font-lock-constant-face):
4648 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4649 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4650 * speedbar.el (speedbar-button-face, speedbar-file-face)
4651 (speedbar-directory-face, speedbar-tag-face)
4652 (speedbar-selected-face, speedbar-highlight-face)
4653 (speedbar-separator-face):
4654 * whitespace.el (whitespace-newline, whitespace-space)
4655 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4656 (whitespace-line, whitespace-space-before-tab)
4657 (whitespace-space-after-tab, whitespace-indentation)
4658 (whitespace-empty):
4659 * emulation/cua-base.el (cua-global-mark):
4660 * eshell/em-prompt.el (eshell-prompt):
4661 * net/newst-plainview.el (newsticker-new-item-face)
4662 (newsticker-old-item-face, newsticker-immortal-item-face)
4663 (newsticker-obsolete-item-face, newsticker-date-face)
4664 (newsticker-statistics-face, newsticker-default-face):
4665 * net/newst-reader.el (newsticker-feed-face)
4666 (newsticker-extra-face, newsticker-enclosure-face):
4667 * net/newst-treeview.el (newsticker-treeview-face)
4668 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4669 (newsticker-treeview-immortal-face)
4670 (newsticker-treeview-obsolete-face)
4671 (newsticker-treeview-selection-face):
4672 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4673 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4674 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4675 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4676 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4677 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4678 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4679 (mpuz-text):
4680 * progmodes/vera-mode.el (vera-font-lock-number)
4681 (vera-font-lock-function, vera-font-lock-interface):
4682 * textmodes/table.el (table-cell): Use new-style face specs, and
4683 don't use the old :bold and :italic attributes.
4684
4685 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4686 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4687 (ebrowse-member-class, ebrowse-progress): Likewise.
4688 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4689 (ebrowse-file-name-face, ebrowse-default-face)
4690 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4691 (ebrowse-progress-face): Remove obsolete faces.
4692
4693 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4694 Inherit from error and warning faces respectively.
4695
4696 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4697 Likewise.
f80efb86
SM
4698 (flyspell-incorrect-face, flyspell-duplicate-face):
4699 Remove obsolete aliases.
4b56d0fe 4700
03310646
MA
47012012-06-08 Michael Albinus <michael.albinus@gmx.de>
4702
4703 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4704 Avoid infloop.
4705
513749ee
SM
47062012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * startup.el (argv, argi): Make lexically scoped.
4709 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4710 * emacs-lisp/cl-macs.el: Use lexical-binding.
4711 Rename cl-bind-* to cl--bind-*.
4712 * files.el: Don't require `cl' since it doesn't use it.
4713 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4714
595ef4ad
JB
47152012-06-08 Juanma Barranquero <lekktu@gmail.com>
4716
4717 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4718 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4719 instead of calling external sort utility.
4720 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4721
e9f66fcb
EZ
47222012-06-08 Eli Zaretskii <eliz@gnu.org>
4723
4724 * descr-text.el (describe-char): Mention how to insert the
4725 character, if the current input method doesn't support it.
4726 See the discussion in this thread for the details:
4727 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4728
3d10db47
SS
47292012-06-08 Sam Steingold <sds@gnu.org>
4730
4731 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4732 XF86Back to previous-buffer.
4733 (minibuffer-local-map): Bind them to next-history-element and
4734 previous-history-element respectively.
4735 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4736 help-go-back respectively.
4737 * info.el (Info-mode-map): Bind them to Info-history-forward and
4738 Info-history-back respectively.
4739 These are the keys next to Up on the ThinkPad keyboard.
4740
de7e2b36
SM
47412012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4744 * emacs-lisp/cl-macs.el: Provide itself.
4745 (cl--labels-convert-cache): New var.
4746 (cl--labels-convert): New function.
4747 (cl-flet, cl-labels): New implementation with new semantics, relying on
4748 lexical-binding.
4749 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4750 (cl-closure-vars, cl--function-convert-cache)
4751 (cl--function-convert): Move from cl-macs.el.
4752 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4753 rename by removing the "cl-" prefix.
4754 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4755
6fa6c4ae
SM
47562012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4759 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4760 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4761 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4762 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4763 (cl-hash-table-count): Add old compatibility aliases.
4764
4765 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4766 Use macroexpand-all-environment instead.
4767 (cl--old-macroexpand): New var.
4768 (cl--sm-macroexpand): New function.
4769 (cl-symbol-macrolet): Use it during macro expansion.
4770 (cl--function-convert-cache): New var.
4771 (cl--function-convert): New function, extracted from
4772 cl-macroexpand-all.
4773 (cl-lexical-let): Use it.
4774
4775 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4776 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4777 (cl-member): Remove old alias.
4778
4779 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4780 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4781 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4782 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4783 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4784 (cl-macroexpand-cmacs): Remove var.
4785 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4786 Use macroexpand-all instead.
4787
4dd1c416
SM
47882012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4791 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4792 (macroexp-copyable-p): New functions and macros.
4793 * emacs-lisp/edebug.el (edebug-unwrap):
4794 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4795 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4796 (pcase--let*): Remove.
4797 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4798 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4799 macroexp-const-p instead.
4800 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4801
4802 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4803 instead of "cl-" for internal definitions. Use macroexp-const-p.
4804 (cl-old-bc-file-form): Remove var.
4805 (cl-const-exprs-p): Remove fun.
4806 (cl-labels, cl-macrolet): Use backquote.
4807 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4808 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4809 (cl-define-setf-expander): Rename from cl-define-setf-method.
4810 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4811
4812 * international/mule-cmds.el: Don't require CL.
4813 (view-hello-file): Don't use `letf'.
4814
ed8bd4d7
SM
48152012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4816
7287f2f3
SM
4817 * tmm.el (tmm-prompt): Use string-prefix-p.
4818 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4819 (tmm-add-prompt): Use minibuffer-completion-help.
4820 (tmm-delete-map): Remove.
4821
ed8bd4d7
SM
4822 * subr.el (kbd): Make it its own function.
4823
7b4cdbf4
SM
48242012-06-07 Stefan Merten <smerten@oekonux.de>
4825
4826 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4827 Silence compiler warnings. Fix versions.
ed8bd4d7 4828 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4829 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4830 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4831 (rst-package-emacs-version-alist): Correct Emacs version to
4832 represent major merge with upstream.
ed8bd4d7 4833 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4834
2b48d721
GM
48352012-06-06 Glenn Morris <rgm@gnu.org>
4836
4837 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4838 Only print environment variables if set.
4839
fa779ab0
SM
48402012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4843 (macroexp--cons): Rename from maybe-cons.
4844 (macroexp--accumulate): Rename from macroexp-accumulate.
4845 (macroexp--all-forms): Rename from macroexpand-all-forms.
4846 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4847 (macroexp--expand-all): Rename from macroexpand-all-1.
4848
628299e0
SS
48492012-06-06 Sam Steingold <sds@gnu.org>
4850
4851 * calendar/calendar.el (calendar-in-read-only-buffer):
4852 Call `special-mode' to enable the standard read-only keybindings.
4853
b7bb5838
SM
48542012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4857 with "loading" messages (bug#11635).
4858
dfb308ba
MA
48592012-06-06 Michael Albinus <michael.albinus@gmx.de>
4860
4861 * files.el (enable-remote-dir-locals): New option.
4862 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4863
0372ee92
MA
4864 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4865 Ensure, that the temp directory is local.
4866
4867 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4868 `temporary-file-directory'.
4869
eed0bb91
MA
4870 * progmodes/python.el (python-send-region): Ensure, that the
4871 temporary file is created also in the remote case.
4872
7a58f64d
GM
48732012-06-06 Glenn Morris <rgm@gnu.org>
4874
f7dd4e98
GM
4875 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4876 (vc-rcs-update-changelog): Use it.
4877
090bd7cb 4878 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4879
7a58f64d
GM
4880 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4881 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4882 (vc-sccs-diff): Replace use of the external vcdiff script.
4883
daed4003
GM
48842012-06-05 Glenn Morris <rgm@gnu.org>
4885
4886 * ledit.el: Move to obsolete/.
4887
48c455c7
SS
48882012-06-05 Sam Steingold <sds@gnu.org>
4889
ed9265fc 4890 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4891 patch (Bug#11140).
4892
57a7d507
SM
48932012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4894
090bd7cb 4895 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4896
53aacf21
SM
4897 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4898 compiler-macro expansion.
4899
57a7d507
SM
4900 Add native compiler-macro support.
4901 * emacs-lisp/macroexp.el (macroexpand-all-1):
4902 Support compiler-macros directly. Properly follow aliases and apply
4903 the compiler macros more thoroughly.
4904 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4905 macroexpand now properly follows aliases.
4906 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4907 (cl-compiler-macroexpand): Use new prop.
4908 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4909
4910 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4911
51a5f9d8
MR
49122012-06-05 Martin Rudalics <rudalics@gmx.at>
4913
4914 * window.el (get-lru-window, get-mru-window, get-largest-window):
4915 New argument NOT-SELECTED to avoid picking the selected window.
4916 (window--display-buffer-1, window--display-buffer-2): Replace by
4917 new function window--display-buffer
4918 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4919 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4920 Use window--display-buffer.
51a5f9d8
MR
4921 (display-buffer-use-some-window): Remove temporary dedication
4922 hack by calling get-lru-window and get-largest-window with
4923 NOT-SELECTED argument non-nil. Call window--display-buffer.
4924
08f9f738
GM
49252012-06-05 Glenn Morris <rgm@gnu.org>
4926
4927 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4928 Replace external vcdiff script.
4929
e364a2b7
SM
49302012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4933
041df390
CY
49342012-06-04 Chong Yidong <cyd@gnu.org>
4935
e364a2b7
SM
4936 * image.el (imagemagick-types-inhibit): Revert last change.
4937 Add INFO and M.
47b36b94 4938 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4939
7c1898a7
SM
49402012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * emacs-lisp/cl-lib.el: Rename from cl.el.
4943 * emacs-lisp/cl.el: New compatibility file.
4944 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4945 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4946 to obey the "cl-" prefix.
4947 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4948
0c3461de
GM
49492012-06-03 Glenn Morris <rgm@gnu.org>
4950
1e266c88
GM
4951 * emacs-lisp/authors.el (authors-aliases): Addition.
4952
0c3461de
GM
4953 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4954 Fix :version.
4955
d8a52e15
SM
49562012-06-03 Stefan Merten <smerten@oekonux.de>
4957
4958 * textmodes/rst.el: Add comments.
4959 (rst-transition, rst-adornment): New faces.
4960 (rst-adornment-faces-alist): Make default safe to reevaluate.
4961 Fixes
4962 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4963 Improve customization tags.
4964 (rst-define-level-faces): Clarify meaning.
4965
5205d6f6
CY
49662012-06-03 Chong Yidong <cyd@gnu.org>
4967
4968 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4969 (compilation-mode-line-run, compilation-mode-line-exit):
4970 New faces.
5205d6f6
CY
4971 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4972
757ee657
JD
49732012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4974
7c1898a7
SM
4975 * progmodes/which-func.el (which-func-update-ediff-windows):
4976 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4977
5f2c76c6
CY
49782012-06-03 Chong Yidong <cyd@gnu.org>
4979
4980 * bindings.el: Remove explicit help text from format-mode-line.
4981 It is now supplied by mode-line-default-help-echo.
4982 (mode-line-front-space, mode-line-end-spaces)
4983 (mode-line-misc-info): New variables.
4984 (mode-line-modes, mode-line-position): Move the default value to
4985 the variable definition.
4986 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4987 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4988 (mode-line-modified-help-echo): New functions.
4989 (mode-line-mule-info, mode-line-modified): Use them.
4990 (mode-line-eol-desc, propertized-buffer-identification):
4991 Consistency fixes for help text.
cbe46e5f
CY
4992 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4993 set-buffer-file-coding-system (Bug#289).
4994 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4995
f2d6a3df
SM
49962012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * simple.el (execute-extended-command): Set real-this-command
4999 (bug#11506).
5000
37269466
CY
50012012-06-02 Chong Yidong <cyd@gnu.org>
5002
5003 Remove incorrect uses of "modeline" in comments, docstrings, and
5004 function/variable names (Bug#10329).
5005
5006 * cus-edit.el (mode-line):
5007 * dframe.el (dframe-mouse-hscroll):
5008 * emacs-lisp/re-builder.el:
5009 * emacs-lisp/easy-mmode.el (define-minor-mode):
5010 * frame.el (set-frame-name):
5011 * help.el (lookup-minor-mode-from-indicator):
5012 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5013 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5014 (c-toggle-hungry-state):
5015 * progmodes/antlr-mode.el (antlr-language-alist):
5016 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5017 * progmodes/vhdl-mode.el (vhdl-mode):
5018 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5019 * term/ns-win.el (ns-face-at-pos):
5020 * term/sup-mouse.el (sup-mouse-report):
5021 * textmodes/flyspell.el (flyspell-mode-line-string):
5022 * textmodes/ispell.el (ispell-highlight-face):
5023 * textmodes/reftex-global.el:
5024 * vc/vc-arch.el (vc-arch-mode-line-string):
5025 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5026 * vc/vc-git.el (vc-git-mode-line-string):
5027 * vc/vc-hooks.el (vc-display-status)
5028 (vc-default-mode-line-string):
5029 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5030
5031 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5032
5033 * dired.el (dired-sort-set-mode-line): Rename from
5034 dired-sort-set-modeline. All callers changed.
5035
5036 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5037 eshell-status-in-modeline.
5038
5039 * foldout.el (foldout-mode-line-string): Rename from
5040 foldout-modeline-string. All callers changed.
5041 (foldout-update-mode-line): Rename from foldout-update-modeline.
5042
5043 * subr.el (redraw-modeline): Make into obsolete alias.
5044
5045 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5046 timeclock-modeline-display. Make old name an alias.
5047 (timeclock-update-mode-line): Likewise. All callers changed.
5048 (timeclock-mode-line-display): No need to check before using
5049 add-hook.
5050 (timeclock-relative, timeclock-day-over-hook)
5051 (timeclock-use-elapsed, timeclock-mode-string)
5052 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5053
5054 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5055 crisp-mode-modeline-string.
5056
5057 * play/solitaire.el (solitaire-build-mode-line): Rename from
5058 solitaire-build-modeline. All callers changed.
5059
5060 * play/zone.el (zone-hiding-mode-line): Rename from
5061 zone-hiding-modeline. All callers changed.
5062 (zone): Remove unusued `modeline-hidden-level' property.
5063
5064 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5065 xscheme-modeline-initialize. All callers changed.
5066
5067 * strokes.el (strokes-lighter): Rename from
5068 strokes-modeline-string.
5069
5070 * textmodes/sgml-mode.el (html-face-tag-alist)
5071 (html-tag-face-alist): Use mode-line face instead of obsolete
5072 alias modeline.
5073
42152ee4
SM
50742012-06-02 Stefan Merten <smerten@oekonux.de>
5075
5076 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5077 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5078
95f520b5
CY
50792012-06-02 Chong Yidong <cyd@gnu.org>
5080
5081 * image.el (imagemagick-enabled-types): Rename from
5082 imagemagick-types-enable. Add many more types.
5083 (imagemagick-types-inhibit): Change default to nil.
5084 (imagemagick-filter-types): Caller changed.
5085
4a5f187a
SM
50862012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5087
03fef3e6
SM
5088 * emacs-lisp/cl-macs.el: Use backquotes.
5089 (cl-transform-function-property): Use eval-and-compile rather than
5090 abusing `require'.
5091 (defstruct): Use declare-function instead of with-no-warnings.
5092
4a5f187a
SM
5093 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5094 (byte-compile-output-docform): Re-add the print-circle bindings.
5095 (byte-compile-fix-header): Use #$ just because it's shorter.
5096 (byte-compile-output-file-form): Remove defun/defmacro.
5097
bd56924f
MR
50982012-06-01 Martin Rudalics <rudalics@gmx.at>
5099
5100 * simple.el (choose-completion): Remove now obsolete binding for
5101 owindow.
5102
046e38ce
MA
51032012-06-01 Michael Albinus <michael.albinus@gmx.de>
5104
5105 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5106 in order to avoid "Stack overflow in regexp matcher".
5107
32d72c2f
GM
51082012-05-31 Glenn Morris <rgm@gnu.org>
5109
5110 * image.el: For clarity, call imagemagick-register-types at
5111 top-level, rather than relying on a custom :initialize.
5112 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5113 (imagemagick-filter-types): New function. (Bug#7406)
5114 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5115 If disabling support, remove elements altogether rather
5116 than using an impossible regexp.
5117 (imagemagick-types-inhibit): Give it the default init function.
5118
dd41169b
SM
51192012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5120
4a5f187a
SM
5121 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5122 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5123
efc00ab1 51242012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5125
5126 * desktop.el (desktop-read): Clear previous and next buffers for
5127 all windows and bury *Messages* buffer (bug#11556).
5128
500fcedc
SM
51292012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 Add `declare' for `defun'. Align `defmacro's with it.
5132 * emacs-lisp/easy-mmode.el (define-minor-mode)
5133 (define-globalized-minor-mode): Don't autoload the var definitions.
5134 * emacs-lisp/byte-run.el: Use lexical-binding.
5135 (defun-declarations-alist, macro-declarations-alist): New vars.
5136 (defmacro, defun): Use them.
5137 (make-obsolete, define-obsolete-function-alias)
5138 (make-obsolete-variable, define-obsolete-variable-alias):
5139 Use `declare'.
5140 (macro-declaration-function): Mark obsolete.
5141 * emacs-lisp/autoload.el: Use lexical-binding.
5142 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5143
6e8a1786
AM
51442012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5145
5146 * textmodes/ispell.el (ispell-with-no-warnings):
5147 Define as a macro.
500fcedc
SM
5148 (ispell-kill-ispell, ispell-change-dictionary):
5149 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5150 `interactive-p'.
5151
61b108cc
SM
51522012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5155 (macro-declaration-function): Move var from C code.
5156 (macro-declaration-function): Define function with defalias.
5157 * emacs-lisp/macroexp.el (macroexpand-all-1):
5158 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5159 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5160 defun/defmacro any more.
5161 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5162 Provide fallback for unknown arglist.
5163 (byte-compile-arglist-warn): Change calling convention.
5164 (byte-compile-output-file-form): Move print-vars binding.
5165 (byte-compile-output-docform): Simplify accordingly.
5166 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5167 (byte-compile-defmacro-declaration): Remove.
5168 (byte-compile-file-form-defmumble): Generalize to defalias.
5169 (byte-compile-output-as-comment): Return byte-positions.
5170 Simplify callers accordingly.
5171 (byte-compile-lambda): Use `assert'.
5172 (byte-compile-defun, byte-compile-defmacro): Remove.
5173 (byte-compile-file-form-defalias):
5174 Use byte-compile-file-form-defmumble.
5175 (byte-compile-defalias-warn): Remove.
5176
6d3f7c2f
SM
51772012-05-29 Stefan Merten <smerten@oekonux.de>
5178
5179 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5180 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5181
5182 (rst-mode-abbrev-table): Merge definition.
5183 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5184 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5185
6dbaa1c7
UJ
51862012-05-29 Ulf Jasper <ulf.jasper@web.de>
5187
5188 * calendar/icalendar.el
5189 (icalendar-export-region): Export UID properly.
5190
d209e2fb 51912012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5192 * calendar/icalendar.el (icalendar-import-format):
5193 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5194 (icalendar-import-format-uid): New.
5195 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5196 Export UID.
5197
6876a58d
SM
51982012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5201 different alternative patterns.
5202 (pcase-codegen): Be more careful to preserve identity.
5203 (pcase--u1): Don't forget to mark vars as used.
5204
5205 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5206 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5207 (byte-compile-from-buffer): ...rather than here.
5208
5209 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5210 functions from byte-compile-function-environment.
5211
46b7967e
TN
52122012-05-29 Troels Nielsen <bn.troels@gmail.com>
5213
5214 * window.el (window-deletable-p): Avoid deleting the root window
5215 of a frame with an active minibuffer.
5216
69d565e2
MR
52172012-05-29 Martin Rudalics <rudalics@gmx.at>
5218
5219 * simple.el (choose-completion): Use quit-window (Bug#11567).
5220
a149fa51
CY
52212012-05-29 Chong Yidong <cyd@gnu.org>
5222
5223 * whitespace.el (whitespace-cleanup): Fix usage of
5224 whitespace-empty-at-bob-regexp (Bug#11492).
5225
2b311310
AH
52262012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5227
5228 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5229 revert (Bug#11488).
5230
b9cb2387
JL
52312012-05-29 Juri Linkov <juri@jurta.org>
5232
5233 * isearch.el (isearch-mode-map): Bind `M-s _' to
5234 `isearch-toggle-symbol'. Bind `M-s c' to
5235 `isearch-toggle-case-fold'.
5236 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5237 (isearch-forward): Add `M-s _' to the docstring.
5238 (isearch-forward-symbol, isearch-toggle-case-fold)
5239 (isearch-symbol-regexp): New functions. (Bug#11381)
5240
d5e61c1c
JL
52412012-05-29 Juri Linkov <juri@jurta.org>
5242
5243 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5244 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5245 a function, call it to get the regexp.
5246 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5247 property `isearch-message-prefix' instead of the string "word ".
5248 (isearch-search-fun-default): For the case of `isearch-word',
5249 return a lambda that calls re-search-forward/re-search-backward
5250 with a regexp returned by `word-search-regexp' or by the function
5251 in `isearch-word'.
5252
8cbd80f7
JL
52532012-05-29 Juri Linkov <juri@jurta.org>
5254
5255 * isearch.el (isearch-search-fun-default): New function.
5256 (isearch-search-fun): Move default part to the new function
5257 `isearch-search-fun-default'.
5258 (isearch-search-fun-function): Set the default value to
5259 `isearch-search-fun-default'. (Bug#11381)
5260
5261 * comint.el (comint-history-isearch-end):
5262 Use `isearch-search-fun-default'.
5263 (comint-history-isearch-search): Use `isearch-search-fun-default'
5264 and remove spacial case for `isearch-word'.
5265 (comint-history-isearch-wrap): Remove spacial case for
5266 `isearch-word'.
5267
5268 * hexl.el (hexl-isearch-search-function):
5269 Use `isearch-search-fun-default'.
5270
5271 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5272 Use `word-search-regexp' for `isearch-word'.
5273
5274 * misearch.el (multi-isearch-search-fun):
5275 Use `isearch-search-fun-default'.
5276
5277 * simple.el (minibuffer-history-isearch-search):
5278 Use `isearch-search-fun-default' and remove spacial case for
5279 `isearch-word'.
5280 (minibuffer-history-isearch-wrap): Remove spacial case for
5281 `isearch-word'.
5282
5283 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5284 Remove spacial case for `isearch-word'.
5285 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5286
85c8c5b6
AM
52872012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5288
5289 Decrease XEmacs incompatibilities.
5290 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5291 Use `string-match'.
5292 (flyspell-delete-region-overlays): Use alternative definition for
5293 XEmacs.
5294 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5295 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5296 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5297 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5298 `define-obsolete-face-alias' under XEmacs, but old method.
5299
5300 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5301 `with-no-warnings' definition or Emacs alias.
5302 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5303 (ispell-word): Do not use `region-p' if XEmacs.
5304
8cab9efc
AM
53052012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5306
5307 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5308 Check for `ispell-dictionary-base-alist' instead of full
5309 `ispell-dictionary-alist'.
5310 (ispell-init-process): Show spellchecker when starting new Ispell
5311 process.
5312
fda91268
RZ
53132012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5316 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5317
694ea8e3
JB
53182012-05-27 Juanma Barranquero <lekktu@gmail.com>
5319
5320 * version.el (motif-version-string, gtk-version-string)
5321 (ns-version-string): Declare.
5322
e4d4f539
JL
53232012-05-27 Juri Linkov <juri@jurta.org>
5324
5325 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5326 after the `eval-defun-1' specialcaseing
5327 like in `edebug-eval-defun' (bug#10181).
5328
5329 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5330 like in `eval-defun-1'.
5331
33017faf 53322012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5333
fda91268
RZ
5334 * mail/sendmail.el (mail-yank-region):
5335 Recognize rmail-yank-current-message in addition to insert-buffer.
5336 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5337 a *mail* buffer created through rmail-start-mail with sendmail as
5338 mail-user-agent.
5339
33017faf
GM
53402012-05-27 Chong Yidong <cyd@gnu.org>
5341
5342 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5343 Default to 256 (Bug#11267).
5344
5345 * help.el (describe-mode): Doc fix.
5346
04188bb9
GM
53472012-05-26 Glenn Morris <rgm@gnu.org>
5348
38264cc9
GM
5349 * w32-fns.el (w32-init-info): Remove.
5350 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5351
eb7afdad
GM
5352 * info.el (info-initialize): For self-contained NS builds, put the
5353 included info/ directory at the front. (Bug#2791)
5354
04188bb9
GM
5355 * paths.el (Info-default-directory-list): Make it a defcustom,
5356 mainly so that we can use custom-initialize-delay.
5357
a179e3f7
SM
53582012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5359
43416392
SM
5360 * subr.el (buffer-has-markers-at): Mark obsolete.
5361
a179e3f7 5362 * subr.el (lambda): Use declare.
43416392 5363
a179e3f7
SM
5364 * emacs-lisp/lisp-mode.el (lambda):
5365 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5366
34a008d9
AH
53672012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5368
5369 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5370
0a3b289f
GM
53712012-05-26 Glenn Morris <rgm@gnu.org>
5372
5373 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5374
758c81e8
GM
53752012-05-25 Glenn Morris <rgm@gnu.org>
5376
f9f334f0
GM
5377 * paths.el: Remove no-byte-compile.
5378 * loadup.el: No need to load paths.el uncompiled.
5379
87eb79c2
GM
5380 * image.el (imagemagick-types-inhibit): Doc fix.
5381
758c81e8
GM
5382 * version.el: Remove no-byte-compile and associated formatting.
5383 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5384 is ancient code from when there was an "inc-vers.el".
5385
e7e85dc0
SM
53862012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * progmodes/gdb-mi.el: Minor style changes.
5389 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5390 Turn into minor modes.
5391 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5392 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5393 (gdb-shell): Remove unneeded let-binding.
5394 (gdb-get-many-fields): Eliminate O(n²) behavior.
5395
f31237a4
EZ
53962012-05-25 Eli Zaretskii <eliz@gnu.org>
5397
5398 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5399 platforms that don't link in fontset.c.
5400
bc1b21bb
JL
54012012-05-25 Juri Linkov <juri@jurta.org>
5402
5403 Use the same diff color scheme as in modern VCSes (bug#10181).
5404
5405 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5406 to avoid confusion with `diff-added' that now uses green colors.
5407 (diff-removed): Use shades of red.
5408 (diff-added): Use shades of green.
5409 (diff-changed): Leave just the yellow color.
5410 (diff-use-changed-face): New variable.
5411 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5412 how to highlight context diff changes.
5413 (diff-refine-change): Use shades of yellow.
5414 (diff-refine-removed): New face that uses shades of red.
5415 (diff-refine-added): New face that uses shades of green.
5416 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5417 `diff-refine-removed' in the call to `smerge-refine-subst'
5418 depending on the value of `diff-use-changed-face'.
5419
5420 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5421 (smerge-other): Use shades of green.
5422 (smerge-base): Use shades of yellow.
5423 (smerge-refined-change): Empty face.
5424 (smerge-refined-removed): New face that uses shades of red.
5425 (smerge-refined-added): New face that uses shades of green.
5426 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5427 args `props-r' and `props-a', and use them. Doc fix.
5428 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5429 on its value use different faces `smerge-refined-change',
5430 `smerge-refined-removed', `smerge-refined-added' in the call to
5431 `smerge-refine-subst'.
5432
5433 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5434 Add face condition `min-colors 88' with shades of red.
5435 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5436 `min-colors 88' with shades of green.
5437 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5438 `min-colors 88' with shades of yellow.
5439
6df9112c
GM
54402012-05-24 Glenn Morris <rgm@gnu.org>
5441
ead5edc0
GM
5442 * paths.el (prune-directory-list, remote-shell-program): Move to...
5443 * files.el (prune-directory-list, remote-shell-program): ...here.
5444 For the latter, delay initialization, prefer ssh, just search PATH.
5445
f18b81e6
GM
5446 * paths.el (term-file-prefix): Move to faces.el (the only user).
5447 * faces.el (term-file-prefix): Move here, make it a defcustom.
5448
ee2f89a6
GM
5449 * paths.el (news-directory, news-path, news-inews-program):
5450 Move to gnus/nnspool.el.
61a583ca 5451
f8815e4c
GM
5452 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5453
c8f3b42c
GM
5454 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5455 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5456 Make the latter a defcustom, with a delayed initialization.
5457
6df9112c
GM
5458 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5459 These were deleted from Gnus itself late 2010.
5460
5dadff36
JB
54612012-05-22 Juanma Barranquero <lekktu@gmail.com>
5462
9e1701c6
JB
5463 * progmodes/which-func.el (which-func-ff-hook):
5464 Check against user-error, not error.
5465
bd7239f5 5466 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5467 cl-specs.el, which no longer exists.
5468
3290526d
GM
54692012-05-22 Glenn Morris <rgm@gnu.org>
5470
5471 * info.el (info-emacs-bug): New command.
5472 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5473 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5474
ff0c3cfb
GM
54752012-05-21 Glenn Morris <rgm@gnu.org>
5476
5477 * makefile.w32-in (update-subdirs-SH):
5478 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5479
5814f126
SM
54802012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5481
a52c0aa0
SM
5482 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5483
5814f126
SM
5484 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5485 Simplify Maven regexp, and make sure the file can't start with a space
5486 (bug#11517).
5487
b847032c
GM
54882012-05-21 Glenn Morris <rgm@gnu.org>
5489
5490 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5491 Scrap superfluous subshells.
5492
3858bfe7
SM
54932012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5496 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5497
d14b0029
JB
54982012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5499
5500 * calc/calc.el (calc-ensure-consistent-units): New variable.
5501
a52c0aa0
SM
5502 * calc/calc-units.el (math-consistent-units-p)
5503 (math-check-unit-consistency): New functions.
5504 (calc-quick-units, calc-convert-units):
5505 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5506 is non-nil.
d14b0029
JB
5507 (calc-extract-units): Fix typo.
5508
60c4db3a
SM
55092012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5510
77f3b62e
SM
5511 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5512
60c4db3a
SM
5513 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5514 (flyspell-default-deplacement-commands): Don't spell check after
5515 repeated window/frame switches (e.g. triggered by mouse-movement).
5516 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5517 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5518 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5519 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5520 Remove unused vars.
5521 (flyspell-get-casechars, flyspell-get-not-casechars):
5522 Simplify; Don't bother removing a ] just to add it back.
5523 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5524
d209e2fb 55252012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5526
5527 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5528 New functions.
bd7239f5 5529 (math-function-table): Add support for more C functions.
b1a10716 5530
3f1b25b5
AM
55312012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5532
090bd7cb
JB
5533 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5534 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5535 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5536
b581bb5c
SM
55372012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5540 their respective macro declarations.
5541 * skeleton.el (define-skeleton):
5542 * progmodes/compile.el (define-compilation-mode):
5543 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5544 (define-ibuffer-filter):
5545 * emacs-lisp/generic.el (define-generic-mode):
5546 * emacs-lisp/easy-mmode.el (define-minor-mode)
5547 (define-globalized-minor-mode):
5548 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5549 * emacs-lisp/byte-run.el (defsubst):
5550 * custom.el (deftheme): Add doc-string metadata.
5551
70b8ef8f
SM
55522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5555
b1198e17
SM
55562012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5557
9abdc45d
SM
5558 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5559
b1198e17
SM
5560 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5561 * emacs-lisp/cl-macs.el: Idem.
5562 * emacs-lisp/cl-specs.el: Remove.
5563
4735906a
SM
55642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 Minor renaming of internal CL functions and variables.
5567 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5568 (cl--position): Rename from cl-position.
5569 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5570 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5571 (cl--random-state): Rename from *random-state*.
5572
ac348012
SM
55732012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5576 parens around the arg list (bug#11499).
5577
a0a79cde
JL
55782012-05-17 Juri Linkov <juri@jurta.org>
5579
5580 * isearch.el (word-search-regexp, word-search-backward)
5581 (word-search-forward, word-search-backward-lax)
5582 (word-search-forward-lax): Move functions from search.c
5583 (bug#10145, bug#11381).
5584
65034a51
AM
55852012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5586
090bd7cb
JB
5587 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5588 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5589 Delay for otherchars as for normal word components.
65034a51 5590
1a72a195
SM
55912012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * minibuffer.el (completion--sifn-requote): Fix last change.
5594 (minibuffer-local-must-match-filename-map):
5595 Move define-obsolete-variable-alias before its var.
5596
fdb058c2
SM
55972012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5598
c41045e6
SM
5599 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5600
036dfb8b
SM
5601 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5602 behavior.
5603 (completion--string-equal-p): New function.
5604 (completion--twq-all): Use it to get better assertion failure data.
5605
2473256d
SM
5606 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5607 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5608 (shell--requote-argument): New functions.
5609 (shell-completion-vars): Use them.
5610 (shell--parse-pcomplete-arguments): Rename from
5611 shell-parse-pcomplete-arguments.
5612 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5613 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5614 Obey comint-file-name-quote-list.
5615
fdb058c2
SM
5616 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5617 (smie-indent-keyword): Use it.
5618
51fa99f1
SM
56192012-05-14 Stefan Merten <smerten@oekonux.de>
5620
5621 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5622
e18afed7 56232012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5624
5625 * net/rlogin.el (rlogin-mode-map): Fix last change.
5626
e18afed7 56272012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5628
5629 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5630 the following \r\n using a single `process-send-string', since the
5631 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5632 with two `process-send-string's (Bug#11444).
8633b1f4 5633
e18afed7 56342012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5635
fdb058c2
SM
5636 * shell.el (shell-parse-pcomplete-arguments):
5637 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5638
2d21d7f6
WJ
56392012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5640
e18afed7 5641 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5642 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5643 (image-transform-width, image-transform-fit-width): New functions.
5644 (image-transform-properties): Use them.
5645 (image-transform-check-size): New function.
5646 (image-toggle-display-image): Use it (for testing).
5647 (image-transform-set-rotation): Reduce angle mod 360.
5648 Delete obsolete comment.
5649
7102e6d0
WJ
56502012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5651
5652 * image-mode.el: Fix scaling (bug#11399).
5653 (image-transform-resize): Doc fix.
5654 (image-transform-properties): Default scale is 1 and height should
5655 be an integer.
5656
06bc5e6e
SM
56572012-05-13 Johan Bockgård <bojohan@gnu.org>
5658
5659 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5660 than hard-coding `car', to fix misbehavior when moving forward.
5661
0ae03b6a
CY
56622012-05-13 Chong Yidong <cyd@gnu.org>
5663
5664 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5665 (tabulated-list-entries, tabulated-list-padding)
5666 (tabulated-list-sort-key): Make permanent-local.
5667
5668 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5669 (electric-buffer-list): Put electric buffer menu
5670 command descriptions in this docstring, instead of the docstring
5671 of electric-buffer-menu-mode. Code cleanups.
5672 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5673 Electric-buffer-menu-mode.
5674 (electric-buffer-update-highlight): Minor code cleanup.
5675
205a7391
MA
56762012-05-13 Michael Albinus <michael.albinus@gmx.de>
5677
5678 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5679 (Bug#11447)
5680
e5bd0a28
SM
56812012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 Move define-obsolete-variable-alias before the var's definition.
5684 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5685 * tooltip.el (tooltip-hook):
5686 * textmodes/reftex-toc.el (reftex-toc-map):
5687 * textmodes/reftex-sel.el (reftex-select-label-map)
5688 (reftex-select-bib-map):
5689 * textmodes/reftex-index.el (reftex-index-map)
5690 (reftex-index-phrases-map):
5691 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5692 * progmodes/meta-mode.el (meta-mode-map):
5693 * novice.el (disabled-command-hook):
5694 * loadhist.el (unload-hook-features-list):
5695 * frame.el (blink-cursor):
5696 * files.el (find-file-not-found-hooks, write-file-hooks)
5697 (write-contents-hooks):
5698 * emulation/tpu-edt.el (GOLD-map):
5699 * emacs-lock.el (emacs-lock-from-exiting):
5700 * emacs-lisp/generic.el (generic-font-lock-defaults):
5701 * emacs-lisp/chart.el (chart-map):
5702 * dos-fns.el (register-name-alist):
5703 * dired-x.el (dired-omit-files-p):
5704 * desktop.el (desktop-enable):
5705 * cus-edit.el (custom-mode-hook):
5706 * buff-menu.el (buffer-menu-mode-hook):
5707 * bookmark.el (bookmark-read-annotation-text-func)
5708 (bookmark-exit-hooks):
5709 * allout.el (allout-mode-deactivate-hook)
5710 (allout-exposure-change-hook, allout-structure-added-hook)
5711 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5712 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5713 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5714 comes before the corresponding variable's definition.
5715
ac59c2f6
CY
57162012-05-12 Chong Yidong <cyd@gnu.org>
5717
5718 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5719 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5720 (Buffer-menu-mode-map): Bind it.
5721 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5722
dee6c9a3
SM
57232012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5724
2171cea5
SM
5725 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5726 (prolog-upper-case-string, prolog-lower-case-string)
5727 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5728 (prolog-use-smie, prolog-smie-grammar): New vars.
5729 (prolog-smie-forward-token, prolog-smie-backward-token)
5730 (prolog-smie-rules): New funs.
5731 (prolog-comment-indent): Remove.
5732 (prolog-mode-variables): Use default comment indentation instead.
5733 Setup SMIE.
5734 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5735 (prolog-mode): Don't call them any more.
5736 (prolog-electric-colon, prolog-electric-dash)
5737 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5738
aa0382bd
SM
5739 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5740
dbacb4bd
SM
5741 * minibuffer.el (completion--twq-all): Again, allow case differences.
5742
13bdd94c
SM
5743 * term.el: Move keymap initialization code to be more idiomatic.
5744 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5745 (term-terminal-menu): Move initialization into declaration.
5746 (term-escape-char): Let the user set it in her .emacs.
5747
ff46c759
SM
5748 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5749 Provide SMIE-based indentation (not enabled by default yet).
5750 (sh-mode-map): Don't bind electric keys.
5751 Use electric-pair-mode instead of skeleton-pair.
5752 (sh-assignment-regexp): Fit within 80 columns.
5753 (sh-indent-supported): Specify actual shell name instead of boolean.
5754 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5755 (sh-maybe-here-document): Use it. Make obsolete.
5756 (sh-electric-here-document-mode) New minor mode.
5757 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5758 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5759 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5760 (sh-smie-rc-grammar, sh-use-smie): New vars.
5761 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5762 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5763 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5764 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5765 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5766 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5767 (sh-set-shell): Use smie-setup if requested.
5768
dee6c9a3
SM
5769 * term.el (term-set-escape-char): Properly set term-escape-char.
5770 See http://stackoverflow.com/questions/10524656.
5771
9f9aa044
CY
57722012-05-10 Chong Yidong <cyd@gnu.org>
5773
5774 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5775 Use url-generic-parse-url, and handle host names and Windows
5776 filenames properly.
5777 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5778 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5779 URL schemes to work on.
5780 (ffap--toggle-read-only): New function.
5781 (ffap-read-only, ffap-read-only-other-window)
5782 (ffap-read-only-other-frame): Use it.
5783 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5784 necessary for ffap-url-unwrap-remote.
5785
836d29b3
DA
57862012-05-10 Dave Abrahams <dave@boostpro.com>
5787
5788 * cus-start.el (create-lockfiles): Add it.
5789
00fd78ed
CY
57902012-05-09 Chong Yidong <cyd@gnu.org>
5791
5792 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5793 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5794
666b903b 57952012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5796
5797 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5798
666b903b 57992012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5800
5801 * ansi-color.el (ansi-color-process-output): Check for validity of
5802 comint-last-output-start before using it. This avoids a bad
5803 interaction with gdb-mi's input/output buffer.
5804
666b903b 58052012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5806
5807 * files.el (dir-locals-read-from-file):
5808 Mention dir-locals in any error message.
5809
666b903b 58102012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5811
5812 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5813 package (Bug#11410).
5814
f677562b
CY
5815 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5816 variables into description.
5817
666b903b 58182012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5819
5820 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5821 shell-delimiter-argument-list (bug#11348).
5822 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5823
b499d8d0
JB
58242012-05-09 Juanma Barranquero <lekktu@gmail.com>
5825
8f6b6da8
JB
5826 * textmodes/rst.el: Silence byte-compiler warnings.
5827 (rst-re-alist, rst-reset-section-caches): Move around.
5828 (rst-re): Use `characterp', not `char-valid-p'.
5829 (font-lock-beg, font-lock-end): Declare.
5830
4824146a
JB
5831 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5832 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5833
b499d8d0
JB
5834 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5835
ad89bb83
GM
58362012-05-08 Glenn Morris <rgm@gnu.org>
5837
5838 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5839
8bba5a75
SM
58402012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5841
49ed9c8e
SM
5842 * vc/log-edit.el: Add GNU coding standards highlighting.
5843 (log-edit-font-lock-gnu-style)
5844 (log-edit-font-lock-gnu-keywords): New vars.
5845 (log-edit-font-lock-keywords): New fun.
5846 (log-edit-mode): Don't fold case in font-lock.
5847 (log-edit-font-lock-keywords): Do not assume case-folding.
5848
07d00b56
SM
5849 * imenu.el: Misc cleanup. Make docstrings out of comments.
5850 Use lexical-binding.
5851 (imenu--index-alist, imenu--last-menubar-index-alist)
5852 (imenu-menubar-modified-tick): Use defvar-local.
5853 (imenu--split-menu): Remove unused var.
5854 (imenu--cleanup-seen): Declare as global.
5855 (imenu--cleanup): Use dolist.
5856
8bba5a75
SM
5857 * subr.el (defvar-local): Add debug spec and doc-string position.
5858
5075bdb5
GM
58592012-05-08 Glenn Morris <rgm@gnu.org>
5860
090bd7cb 5861 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5862 * language/english.el, language/georgian.el, language/greek.el:
5863 * language/japanese.el, language/khmer.el, language/korean.el:
5864 * language/lao.el, language/misc-lang.el, language/romanian.el:
5865 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5866 * language/thai.el, language/utf-8-lang.el:
5867 Remove no-byte-compile setting.
5868
5075bdb5
GM
5869 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5870
06f679a7
AH
58712012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5872
5873 * progmodes/make-mode.el (makefile-browse):
5874 Remove unnecessary interactive. (Bug#11324)
5875
03794570
GM
58762012-05-07 Glenn Morris <rgm@gnu.org>
5877
af8630f4
GM
5878 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5879
03794570
GM
5880 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5881
f0809a9d
SM
58822012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5883
28be5ce7
SM
5884 * loadup.el: Preload newcomment.el.
5885 * newcomment.el: Move autoload-only code to toplevel.
5886
f0809a9d
SM
5887 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5888 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5889 Handle new :right-align column property.
5890 (tabulated-list-print-col): Idem, plus use `display' text-property to
5891 try and preserve alignment for variable pitch fonts.
5892
1241b724
CY
58932012-05-07 Chong Yidong <cyd@gnu.org>
5894
5895 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5896 (tabulated-list-use-header-line): New var.
5897 (tabulated-list-init-header): Use it.
5898 (tabulated-list-print-fake-header): New function.
5899 (tabulated-list-print): Use it.
5900 (tabulated-list-sort-button-map): Add non-header-line commands.
5901 (tabulated-list-init-header): Add column name property to basic
5902 labels as well.
5903 (tabulated-list-col-sort): Handle non-header-line button case.
5904 (tabulated-list--sort-by-column-name): Fix a corner case.
5905
f0809a9d
SM
5906 * buff-menu.el (list-buffers--refresh):
5907 Handle Buffer-menu-use-header-line.
1241b724 5908
e5f9458f
CY
59092012-05-06 Chong Yidong <cyd@gnu.org>
5910
5911 * buff-menu.el: Convert to Tabulated List mode.
5912 (Buffer-menu-buffer+size-width): Make obsolete.
5913 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5914 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5915 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5916 documentation into docstring of buffer-menu.
5917 (Buffer-menu-toggle-files-only): Add an informative message.
5918 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5919 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5920 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5921 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5922 (Buffer-menu-execute, Buffer-menu-select)
5923 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5924 (Buffer-menu-bury): Use Tabulated List machinery.
5925 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5926 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5927 Delete.
e5f9458f
CY
5928 (list-buffers--refresh): New function.
5929 (list-buffers-noselect): Use it.
5930 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5931 (Buffer-menu--pretty-file-name): New helper functions.
5932
5933 * loadup.el: Preload tabulated-list.
5934
5935 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5936 tabulated-list-sort-column.
5937 (tabulated-list-init-header): Add the initial aligning space even
5938 if tabulated-list-padding is zero.
5939
e129292c
CS
59402012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5941
5942 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5943 whose cdr is not a cons cell correctly (bug#11038).
5944
6632d361
CY
59452012-05-06 Chong Yidong <cyd@gnu.org>
5946
e129292c
CS
5947 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5948 Accept additional plist in column descriptors.
6632d361
CY
5949 (tabulated-list-init-header): Obey it.
5950 (tabulated-list-get-entry): New function.
5951 (tabulated-list-put-tag): Use it. Use string-width instead of
5952 length.
5953 (tabulated-list--column-number): New function.
5954 (tabulated-list-print): Use it.
e129292c
CS
5955 (tabulated-list-print-col): New function.
5956 Set `tabulated-list-column-name' property on each column's text.
6632d361 5957 (tabulated-list-print-entry): Use it.
e129292c
CS
5958 (tabulated-list-delete-entry, tabulated-list-set-col):
5959 New functions.
6632d361
CY
5960 (tabulated-list-sort-column): New command (Bug#11337).
5961
3cc99f68
CY
5962 * buff-menu.el (list-buffers): Move C-x C-b binding from
5963 buff-menu.el to bindings.el.
5964
5965 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5966 :advertised-binding feature.
5967
52b61776
TN
59682012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5969
5970 * progmodes/compile.el (compilation-internal-error-properties):
5971 Calculate start position correctly when end-col is set but
5972 end-line is not (Bug#11382).
5973
ebfe2597
WJ
59742012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5975
5976 * man.el (Man-unindent): Use text-property-default-nonsticky to
5977 prevent untabify from inheriting face properties (Bug#11408).
5978
6d3f7c2f
SM
59792012-05-05 Stefan Merten <smerten@oekonux.de>
5980
5981 * textmodes/rst.el: Major merge with upstream development up to
5982 Docutils SVN r7399 / rst.el V1.2.1.
5983
5984 Clarify maintainership and authors.
5985
5986 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5987 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5988 (rst-official-version, rst-official-cvs-rev, rst-version)
5989 (rst-package-emacs-version-alist): New functions and variables
5990 for version information.
5991
5992 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5993 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5994 (rst-mode-syntax-table, rst-mode): New and corrected functions
5995 and variables representing reStructuredText features.
5996
5997 (rst-re): New function for reStructuredText regexes. Use in
5998 many places.
5999
6000 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6001 (rst-mode-map): Rebind keys.
6002
6003 (rst-mode-lazy, rst-font-lock-keywords)
6004 (rst-font-lock-extend-region)
6005 (rst-font-lock-extend-region-internal)
6006 (rst-font-lock-extend-region-extend)
6007 (rst-font-lock-find-unindented-line-limit)
6008 (rst-font-lock-find-unindented-line-match)
6009 (rst-adornment-level, rst-font-lock-adornment-level)
6010 (rst-font-lock-adornment-match)
6011 (rst-font-lock-handle-adornment-pre-match-form)
6012 (rst-font-lock-handle-adornment-matcher): Major revision of
6013 font-locking. Integrate with other code. Use `jit-lock-mode'.
6014
6015 (rst-preferred-adornments, rst-adjust-hook)
6016 (rst-new-adornment-down, rst-preferred-bullets)
6017 (rst-preferred-bullets, rst-indent, rst-indent-width)
6018 (rst-indent-field, rst-indent-literal-normal)
6019 (rst-indent-literal-minimized, rst-indent-comment): Change,
6020 extend and improve customization.
6021
6022 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6023 (rst-normalize-cursor-position, rst-get-decoration)
6024 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6025 (rst-rstrip, rst-toc-insert-find-delete-contents)
6026 (rst-shift-fill-region, rst-compute-bullet-tabs)
6027 (rst-debug-print-tabs, rst-debug-mark-found)
6028 (rst-shift-region-guts, rst-shift-region-right)
6029 (rst-shift-region-left, rst-use-char-classes)
6030 (rst-font-lock-keywords-function)
6031 (rst-font-lock-indentation-point)
6032 (rst-font-lock-find-unindented-line-begin)
6033 (rst-font-lock-find-unindented-line-end)
6034 (rst-font-lock-find-unindented-line)
6035 (rst-font-lock-adornment-point, rst-font-lock-level)
6036 (rst-adornment-level-alist): Remove functions and variables.
6037
6038 (rst-compare-adornments, rst-get-adornment-match)
6039 (rst-suggest-new-adornment, rst-get-adornments-around)
6040 (rst-adornment-complete-p, rst-get-next-adornment)
6041 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6042 (rst-straighten-adornments): Standardize function names to
6043 use "adornment" instead of "decoration". Correct callers.
6044 Similar standardizing in many places.
6045
6046 (rst-update-section, rst-adjust, rst-promote-region)
6047 (rst-enumerate-region, rst-bullet-list-region)
6048 (rst-repeat-last-character): Correct use of `interactive'.
6049
6050 (rst-classify-adornment, rst-find-all-adornments)
6051 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6052 (rst-find-leftmost-column, rst-repeat-last-character):
6053 Refactor functions.
6054
6055 (rst-find-title-line, rst-reset-section-caches)
6056 (rst-get-adornments-around, rst-adjust-adornment-work)
6057 (rst-arabic-to-roman, rst-roman-to-arabic)
6058 (rst-insert-list-pos, rst-insert-list-new-item)
6059 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6060 New functions.
6061
6062 (rst-all-sections, rst-section-hierarchy)
6063 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6064 New variables.
6065
6066 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6067 configuration instead of only buffer. Change where necessary.
6068
6069 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6070 (rst-shift-region, rst-adaptive-fill): New functions for
6071 indentation and filling.
6072
6073 (rst-comment-line-break, rst-comment-indent)
6074 (rst-comment-insert-comment, rst-comment-region)
6075 (rst-uncomment-region): New functions for handling comments.
6076
6077 (rst-compile): Quote shell arguments.
6078
6079 (rst-compile-pdf-preview, rst-compile-slides-preview):
6080 Delete temporary files after use.
6081
a43f98b3
GM
60822012-05-05 Glenn Morris <rgm@gnu.org>
6083
48176e8b
GM
6084 * calendar/cal-html.el: Optionally include holidays in the output.
6085 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6086 (cal-html-holidays): New option.
6087 (cal-html-css-default): Add holiday entry.
6088 (holiday-in-range): Autoload it.
6089 (cal-html-htmlify-entry): Add optional class argument.
6090 (cal-html-htmlify-list): Add optional holidays argument.
6091 (cal-html-insert-agenda-days): Include holidays in the output.
6092 (cal-html-one-month): Maybe include holidays.
6093
a43f98b3
GM
6094 * calendar/holidays.el (holiday-in-range):
6095 Move here from cal-tex-list-holidays.
6096 * calendar/cal-tex.el (cal-tex-list-holidays):
6097 Make it an obsolete alias for holiday-in-range. Update all callers.
6098
fef9d149 60992012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6100
6101 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6102 Nextstep.
6103
248da2f4
RW
61042012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6105
6106 * files.el (file-auto-mode-skip): New var.
6107 (set-auto-mode-1): Use it.
6108
f95e9344
SM
61092012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6110
df96ab1e
SM
6111 * repeat.el: Use lexical-binding.
6112 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6113 (repeat-undo-count): Remove.
6114 (repeat):
6115 * progmodes/octave-mod.el (octave-abbrev-start):
6116 * progmodes/f90.el (f90-abbrev-start):
6117 * face-remap.el (text-scale-adjust):
6118 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6119
5342bb06
SM
6120 * emacs-lisp/pcase.el (pcase--let*): New function.
6121 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6122 a bit more.
6123 (pcase--split-pred): Be more clever about ruling out overlap between
6124 a predicate and some constant pattern.
6125 (pcase--q1): Use `null' instead of (eq foo nil).
6126
f95e9344
SM
6127 * subr.el (setq-local, defvar-local): New macros.
6128 (kbd): Redefine as an alias.
6129 (with-selected-window): Leave unrelated frames alone.
6130 (set-temporary-overlay-map): New function.
6131
71873e2b
SM
61322012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * subr.el (user-error): New function.
6135 * window.el (switch-to-buffer):
6136 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6137 (smerge-match-conflict):
6138 * simple.el (previous-matching-history-element)
6139 (next-matching-history-element, goto-history-element, undo-more)
6140 (undo-start):
6141 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6142 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6143 (next-file, tags-loop-scan, list-tags, complete-tag):
6144 * progmodes/compile.el (compilation-loop):
6145 * mouse.el (mouse-minibuffer-check):
6146 * man.el (Man-bgproc-sentinel, Man-goto-page):
6147 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6148 (Info-history-forward, Info-follow-reference, Info-menu)
6149 (Info-extract-menu-item, Info-extract-menu-counting)
6150 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6151 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6152 (Info-next-reference, Info-prev-reference, Info-index)
6153 (Info-index-next, Info-follow-nearest-node)
6154 (Info-copy-current-node-name):
6155 * imenu.el (imenu--make-index-alist)
6156 (imenu-default-create-index-function, imenu-add-to-menubar):
6157 * files.el (basic-save-buffer, recover-file):
6158 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6159 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6160 (checkdoc-message-text, checkdoc-defun):
6161 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6162 * cus-edit.el (customize-changed-options, customize-rogue)
6163 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6164 (custom-variable-mark-to-reset-standard)
6165 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6166 (custom-file):
6167 * completion.el (check-completion-length):
6168 * comint.el (comint-search-arg)
6169 (comint-previous-matching-input-string-position)
6170 (comint-previous-matching-input)
6171 (comint-replace-by-expanded-history-before-point, comint-send-input)
6172 (comint-copy-old-input, comint-backward-matching-input)
6173 (comint-goto-process-mark, comint-set-process-mark):
6174 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6175 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6176
8a61ee22
SM
61772012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6178
66408d1e
SM
6179 * dabbrev.el (dabbrev--ignore-case-p): New function.
6180 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6181 Use it.
6182
8a61ee22
SM
6183 * files.el (automount-dir-prefix): Mark as obsolete.
6184
3c74813a
GM
61852012-05-04 Glenn Morris <rgm@gnu.org>
6186
6187 * patcomp.el, play/bruce.el: Move to obsolete/.
6188
0bfcf5c5
PE
61892012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6190
6191 Fix minor Y10k bugs.
6192 * arc-mode.el (archive-unixdate):
6193 * autoinsert.el (auto-insert-alist):
6194 * calc/calc-forms.el (math-this-year):
6195 * emacs-lisp/copyright.el (copyright-current-year)
6196 (copyright-update-year, copyright):
6197 * tar-mode.el (tar-clip-time-string):
6198 * time.el (display-time-update):
6199 Don't assume years have 4 digits.
6200
78f3273a
CY
62012012-05-04 Chong Yidong <cyd@gnu.org>
6202
6203 * dos-w32.el (file-name-buffer-file-type-alist)
6204 (direct-print-region-use-command-dot-com):
6205 * ffap.el (ffap-menu-regexp):
6206 * find-file.el (ff-special-constructs):
6207 * follow.el (follow-debug):
6208 * forms.el (forms--debug):
6209 * iswitchb.el (iswitchb-all-frames):
6210 * ido.el (ido-all-frames):
6211 * emacs-lisp/timer.el (timer-max-repeats):
6212 * mail/feedmail.el (feedmail-mail-send-hook)
6213 (feedmail-mail-send-hook-queued):
6214 * mail/footnote.el (footnote-signature-separator):
6215 * mail/mailabbrev.el (mail-alias-separator-string)
6216 (mail-abbrev-mode-regexp):
6217 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6218 * progmodes/idlwave.el (idlwave-libinfo-file)
6219 (idlwave-default-completion-case-is-down)
6220 (idlwave-library-routines): Convert defvars to defcustoms.
6221
6222 * mail/rmail.el (rmail-decode-mime-charset):
6223 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6224 (idlwave-shell-fix-inserted-breaks)
6225 (idlwave-shell-activate-alt-keybindings)
6226 (idlwave-shell-use-breakpoint-glyph):
6227 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6228
f7ae6719
SM
62292012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6230
6231 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6232
47086495
WS
62332012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6234
6235 * progmodes/verilog-mode.el (font-lock-keywords):
6236 Fix mis-highligting auto. Reported by Craig Barner.
6237 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6238 defines from global name space. Reported by Dan Dever.
47086495
WS
6239 (verilog-auto-reset, verilog-auto-reset-widths)
6240 (verilog-auto-tieoff): Support using unbased numbers for
6241 AUTORESET and AUTOTIEOFF.
6242 (verilog-submit-bug-report): Update variable list.
6243 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6244 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6245 (verilog-auto-template-lint): Fix hash error when linting modules
6246 with no used templates.
6247 (verilog-warn, verilog-warn-error)
6248 (verilog-warn-fatal): When non-interactive report multiple
6249 warnings before exiting. Suggested by Brad Dobbie.
6250 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6251 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6252 to report unused template errors. Reported by Brad Dobbie.
6253 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6254 nets, bug438. Reported by Vns Blore.
47086495
WS
6255 (verilog-auto-inout-module, verilog-auto-reg)
6256 (verilog-read-decls, verilog-read-sub-decls-sig)
6257 (verilog-signals-edit-wire-reg, verilog-signals-with):
6258 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6259 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6260 "reg" for backwards compatibility presuming Verilog 2001.
6261 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6262 (verilog-preprocess): Fix replication of preprocess output.
6263 Reported by Brad Dobbie.
6264 (verilog-auto-inst-interfaced-ports):
6265 Create verilog-auto-inst-interfaced-ports, bug429.
6266 Reported by Julian Gorfajn.
6267 (verilog-after-save-font-hook)
6268 (verilog-before-save-font-hook): New variable.
6269 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6270 (verilog-save-font-mods): Wrap disabling fontification, reported
6271 by David Rogoff.
6272 (verilog-do-indent, verilog-pretty-declarations-auto)
6273 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6274 Reported by Pierre-David Pfister.
6275 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6276 of class declarations, bug292. Reported by Kevin Heilman.
6277 (verilog-read-decls): Fix 'parameter type' not appearing in
6278 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6279 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6280 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6281 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6282 Reported by David Kravitz.
6283
62842012-05-03 Michael McNamara <mac@mail.brushroad.com>
6285
6286 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6287 assignment with tests in ifs and for loops.
6288 (verilog-extended-complete-re, verilog-complete-reg): Change so
6289 that DPI inport functions don't look like fuction declarations.
6290 (verilog-pretty-expr): Don't line up assignment
6291 operations to the test and increment in if and for loops
6292 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6293 that DPI inport functions don't look like fuction declarations.
47086495 6294
2e51d4b5
KH
62952012-05-03 Kenichi Handa <handa@m17n.org>
6296
6297 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6298 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6299 (Bug#11282).
6300
2bd785a2
SM
63012012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * emacs-lisp/bytecomp.el
6304 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6305 since cconv.el might have introduced :fun-body, internal-make-closure,
6306 and friends for bytecomp to handle (bug#11391).
6307 * custom.el (defcustom): Avoid ((λ ..) ..).
6308
99d27583
SM
63092012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6312
55a71479
JB
63132012-05-02 Juanma Barranquero <lekktu@gmail.com>
6314
6315 * notifications.el (dbus-debug):
6316 * term/linux.el (gpm-mouse-enable):
6317 * term/screen.el (xterm-register-default-colors): Declare.
6318
7b97c764
CY
63192012-05-02 Chong Yidong <cyd@gnu.org>
6320
2bc356d7
CY
6321 * cus-start.el (gc-cons-percentage, exec-suffixes)
6322 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6323 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6324 (make-cursor-line-fully-visible, void-text-area-pointer)
6325 (font-list-limit): Add customization data.
6326
7b97c764
CY
6327 * allout.el (allout-exposure-change-functions)
6328 (allout-structure-added-functions)
6329 (allout-structure-deleted-functions)
6330 (allout-structure-shifted-functions): Rename abnormal hooks from
6331 *-hook, and convert to defcustoms.
5d3385a0
JB
6332 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6333 Convert to defcustoms.
7b97c764
CY
6334 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6335
6336 * allout-widgets.el: Hook callers changed.
6337
90207a15 63382012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6339
6340 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6341 the yanked message in preference to the default value of
6342 buffer-file-coding-system.
6343
90207a15 63442012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6345
5d3385a0
JB
6346 * window.el (display-buffer--action-function-custom-type):
6347 Fix entry.
d9558cad 6348
90207a15 63492012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6350
6351 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6352
d80ac57b
GM
63532012-05-01 Glenn Morris <rgm@gnu.org>
6354
976f7668
GM
6355 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6356
beb83b5a
GM
6357 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6358
d80ac57b
GM
6359 * cus-edit.el (custom-variable-documentation): Simplify with format.
6360
b593d6a9 63612012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6362 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6363
6364 * simple.el (suggest-key-bindings, execute-extended-command):
6365 Move from keyboard.c.
6366
782fbf2a
CY
63672012-05-01 Chong Yidong <cyd@gnu.org>
6368
6369 * follow.el: Eliminate advice.
6370 (set-process-filter, process-filter, sit-for): Advice deleted.
6371 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6372 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6373 Vars deleted.
782fbf2a
CY
6374 (follow-auto): Use a :set function.
6375 (follow-mode): Rewritten. Don't advise process filters.
6376 (follow-switch-to-current-buffer-all, follow-scroll-up)
6377 (follow-scroll-down): Assume follow-mode is bound.
6378 (follow-comint-scroll-to-bottom)
6379 (follow-align-compilation-windows): New functions.
6380 (follow--window-sorter): New function.
6381 (follow-all-followers): Use it to explicitly sort windows by their
6382 positions; don't make assumptions about next-window order.
6383 (follow-windows-start-end, follow-delete-other-windows-and-split)
6384 (follow-calc-win-start): Doc fix.
6385 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6386 vertical-motion unnecessarily.
6387 (follow-adjust-window): New function.
6388 (follow-post-command-hook): Use it.
6389 (follow-call-set-process-filter, follow-call-process-filter)
6390 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6391 (follow-stop-intercept-process-output, follow-generic-filter):
6392 Functions deleted.
6393 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6394 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6395 New functions, replacing advice on scroll-bar-* commands.
87233a14 6396 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6397
6398 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6399 (comint-postoutput-scroll-to-bottom): Use it.
6400 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6401
290af740
GM
64022012-05-01 Glenn Morris <rgm@gnu.org>
6403
6404 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6405 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6406 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6407 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6408 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6409 Remove no-byte-compile setting.
6410
6eac8dc9
SM
64112012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6414 all-completions code to not return a number in the last cdr.
6415
9cc7819c
LL
64162012-04-30 Leo Liu <sdl.web@gmail.com>
6417
6418 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6419 read-only error.
6420
c93b886f
CY
64212012-04-29 Chong Yidong <cyd@gnu.org>
6422
6423 * follow.el (follow-calc-win-end): Rewrite to handle partial
6424 screen lines correctly (Bug#8390).
6425 (follow-avoid-tail-recenter): Minor cleanup.
6426
8b6c19f4
SM
64272012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6428
6429 Avoid the obsolete `assoc' package.
6430 * speedbar.el (speedbar-refresh): Avoid adelete.
6431 (speedbar-file-lists): Simplify and avoid aput.
6432 * man.el (Man--sections, Man--refpages): New vars, replacing
6433 Man-sections-alist and Man-refpages-alist.
6434 (Man-build-section-alist, Man-build-references-alist):
6435 Use them; avoid aput.
6436 (Man--last-section, Man--last-refpage): New vars.
6437 (Man-follow-manual-reference): Use them.
6438 Use the `default' arg of completing-read.
6439 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6440
c5bb7569
CY
64412012-04-27 Chong Yidong <cyd@gnu.org>
6442
d1d2e2e8
CY
6443 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6444
15cd8efd
CY
6445 * startup.el (x-apply-session-resources): New function.
6446
6447 * term/ns-win.el (ns-initialize-window-system):
6448 * term/w32-win.el (w32-initialize-window-system):
6449 * term/x-win.el (x-initialize-window-system): Use it to properly
6450 set menu-bar-mode and other vars from X resources, even if the
6451 initial frame is not a window-system frame (Bug#2299).
6452
c5bb7569
CY
6453 * subr.el (read-key): Avoid running filter function when setting
6454 up temporary tool bar entries (Bug#9922).
6455
a8e7d6d7 64562012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6457
6458 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6459 (Bug#11344)
6460
a8e7d6d7 64612012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6462
6463 * select.el (xselect--encode-string): New function, split from
6464 xselect-convert-to-string.
6465 (xselect-convert-to-string): Use it.
6466 (xselect-convert-to-filename, xselect-convert-to-os)
6467 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6468 returned strings are properly encoded (Bug#11315).
6469
a8e7d6d7 64702012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6471
6472 * simple.el (delete-active-region): Move to killing custom group.
6473
a8e7d6d7 64742012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6475
6476 * progmodes/which-func.el (which-func-current): Quote %
6477 characters for mode-line processing.
6478
578c1d4b 64792012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6480
6481 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6482 reaching eob (Bug#11286).
6483
a8e7d6d7 64842012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6485
6486 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6487 (gdb): Make it buffer-local and init to zero.
6488 (gdb-control-commands-regexp): New variable.
6489 (gdb-send): Don't wrap in "-interpreter-exec console" if
6490 gdb-control-level is positive. Increment gdb-control-level
6491 whenever the command matches gdb-control-commands-regexp, and
6492 decrement it each time the command is "end". (Bug#11279)
6493
a8e7d6d7 64942012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6495
6496 * window.el (adjust-window-trailing-edge, enlarge-window)
6497 (shrink-window, window-resize):
6498 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6499 windows (Bug#11276).
6500
b3608390
CY
65012012-04-27 Chong Yidong <cyd@gnu.org>
6502
6503 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6504 fix "missing prefix" warning. All callers changed.
b3608390 6505
797e6e88
SM
65062012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * emacs-lisp/assoc.el: Move to obsolete/.
6509
e95a67dc
SM
65102012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6511
657c21e4 6512 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6513
6514 * term/ns-win.el (ns-define-service):
6515 * progmodes/pascal.el (pascal-goto-defun):
6516 * progmodes/js.el (js--read-tab):
6517 * progmodes/etags.el (tags-lazy-completion-table):
6518 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6519 * emacs-lisp/ewoc.el (ewoc--wrap):
6520 * emacs-lisp/assoc.el (aput, adelete, amake):
6521 * doc-view.el (doc-view-convert-current-doc):
6522 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6523
cb3e7ae0
CY
65242012-04-26 Chong Yidong <cyd@gnu.org>
6525
dce04f7f
CY
6526 * image.el (image-type-from-buffer): Only return supported image
6527 type (Bug#9045).
6528
cb3e7ae0
CY
6529 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6530 value, for symmetry with diff-end-of-hunk.
6531 (diff-split-hunk, diff-find-source-location)
6532 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6533 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6534 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6535 compute the relevant hunk or file properly (Bug#6005).
6536 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6537
0d42eb3e
SM
65382012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * vc/vc-mtn.el:
6541 * vc/vc-hg.el:
6542 * vc/vc-git.el:
6543 * vc/vc-dir.el:
6544 * vc/vc-cvs.el:
6545 * vc/vc-bzr.el:
6546 * vc/vc-arch.el:
6547 * vc/vc.el: Replace lexical-let by lexical-binding.
6548 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6549 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6550 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6551
f08ae1c9
CY
65522012-04-26 Chong Yidong <cyd@gnu.org>
6553
8b71081d
CY
6554 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6555 (diff-mode-shared-map): Bind it to / and [remap undo].
6556
f08ae1c9
CY
6557 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6558 (ediff-window-setup-function): Use it as the default, to set up
6559 windows based on whether the current frame is graphical (Bug#2138).
6560 (ediff-choose-window-setup-function-automatically): Make obsolete.
6561
6562 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6563
ef24141c
SM
65642012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6565
cc356a5d
SM
6566 * ffap.el: Remove old code for obsolete package.
6567 (ffap-complete-as-file-p): Remove.
6568
b4ff4f1f
SM
6569 Use completion-table-with-quoting for comint and pcomplete.
6570 * comint.el (comint--unquote&requote-argument)
6571 (comint--unquote-argument, comint--requote-argument): New functions.
6572 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6573 (comint-quote-filename): Use regexp-opt-charset.
6574 (comint--common-suffix, comint--common-quoted-suffix)
6575 (comint--table-subvert): Remove.
6576 (comint-unquote-function, comint-requote-function): New vars.
6577 (comint--complete-file-name-data): Use them with
6578 completion-table-with-quoting.
6579 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6580 * pcomplete.el (pcomplete-arg-quote-list)
6581 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6582 (pcomplete-unquote-argument-function): Default to non-nil.
6583 (pcomplete-unquote-argument): Simplify.
6584 (pcomplete--common-quoted-suffix): Remove.
6585 (pcomplete-requote-argument-function): New var.
6586 (pcomplete--common-suffix): New function.
6587 (pcomplete-completions-at-point): Use completion-table-with-quoting
6588 and completion-table-subvert.
6589
79c4eeb4
SM
6590 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6591 (minibuffer--double-dollars): Preserve properties.
6592 (completion--sifn-requote): New function.
6593 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6594
ef24141c
SM
6595 * minibuffer.el: Add support for completion of quoted/escaped data.
6596 (completion-table-with-quoting, completion-table-subvert): New funs.
6597 (completion--twq-try, completion--twq-all): New functions.
6598 (completion--nth-completion): New function.
6599 (completion-try-completion, completion-all-completions): Use it.
6600
784e7d6e
LL
66012012-04-25 Leo Liu <sdl.web@gmail.com>
6602
dd2ac746
SM
6603 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6604 Use compilation-message if available to find real filename.
784e7d6e 6605
07875ee7
CY
66062012-04-25 Chong Yidong <cyd@gnu.org>
6607
6608 * vc/diff-mode.el (diff-setup-whitespace): New function.
6609 (diff-mode): Use it.
6610
6611 * vc/diff.el (diff-sentinel):
6612 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6613 Whitespace mode variables based on diff style (Bug#8612).
6614
5055880d
LL
66152012-04-25 Leo Liu <sdl.web@gmail.com>
6616
daf75653
LL
6617 * progmodes/python.el (python-send-region): Add suffix .py to the
6618 temp file.
6619
5055880d
LL
6620 * files.el (auto-mode-alist): Use javascript-mode instead.
6621
db9b177b
AH
66222012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6623
ef24141c 6624 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6625
090bd7cb 6626 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6627 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6628 references, see Bug#9.
ef24141c 6629 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6630 when receiving a fault reply.
ef24141c 6631 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6632
090bd7cb 6633 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6634 (soap-inspect-simple-type): New function.
db9b177b 6635
090bd7cb 6636 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6637 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6638 (soap-decode-basic-type, soap-encode-basic-type):
6639 support unsignedInt and double basic types.
db9b177b 6640 (soap-resolve-references-for-simple-type)
ef24141c
SM
6641 (soap-parse-simple-type, soap-encode-simple-type): New function.
6642 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6643
090bd7cb 6644 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6645 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6646 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6647 the local name of "soapenc:Array".
6648 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6649 decoding integer, byte and anyURI xsd types.
6650
1fc6097b
CY
66512012-04-25 Chong Yidong <cyd@gnu.org>
6652
6653 * cus-edit.el (custom-buffer-create-internal): Update header text.
6654
afc6df87
EZ
66552012-04-25 Eli Zaretskii <eliz@gnu.org>
6656
6657 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6658 settings on 'system-type', not on 'window-system'. On MS-Windows,
6659 set interactive-mode on in GDB.
6660
dfbd787f
SM
66612012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6664 (ruby-syntax-propertize-regexp): Remove.
6665 (ruby-syntax-propertize-function): Split regexp into chunks.
6666 Match following code directly.
6667
85222d44
DG
66682012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6669
51a8ea2a
DG
6670 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6671 (ruby-syntax-propertize-regexp): New function.
6672 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6673 by a special keyword.
6674
85222d44
DG
6675 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6676 (ruby-syntax-general-delimiters-goto-beg)
6677 (ruby-syntax-propertize-general-delimiters): New functions.
6678 (ruby-syntax-propertize-function): Use them to handle GDL.
6679 (ruby-font-lock-keywords): Move old handling of GDL...
6680 (ruby-font-lock-syntactic-keywords): .. to here.
6681 (ruby-calculate-indent): Adjust indentation for GDL.
6682
b613912b
MA
66832012-04-24 Michael Albinus <michael.albinus@gmx.de>
6684
b5380639
MA
6685 * notifications.el (top): Remove unneeded declarations.
6686 (notifications-specification-version): Change to "1.2".
e43042fe 6687 (notifications-interface, notifications-notify-method)
b613912b
MA
6688 (notifications-close-notification-method): Fix docstring.
6689 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6690 (notifications-notify): Add :action-items, :resident and
6691 :transient hints. Change "image_data" to "image-data" and
6692 "image_path" to "image-path".
b613912b
MA
6693 (notifications-get-capabilities): New defun.
6694
257440aa
LL
66952012-04-24 Leo Liu <sdl.web@gmail.com>
6696
6697 * progmodes/python.el: Move hideshow setup to the end.
6698
b1bac16e
MR
66992012-04-24 Martin Rudalics <rudalics@gmx.at>
6700
6701 * window.el (handle-select-window): Clear echo area since this is
6702 no more done by read_char (Bug#11304).
6703
d81bd059
SM
67042012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6705
6706 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6707 and `/ M' to filter-derived-mode.
6708 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6709 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6710 (ibuffer-mark-by-mode): Use default rather than initial-input.
6711 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6712
c4cf6d91
IA
67132012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6714
6715 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6716 (ibuffer-filter-by-derived-mode): New filter.
6717 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6718
7511ded8
CY
67192012-04-23 Andreas Politz <politza@fh-trier.de>
6720
6721 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6722
775c916b
CY
67232012-04-23 Chong Yidong <cyd@gnu.org>
6724
6725 * cus-edit.el (customize-apropos, customize-apropos-options):
6726 Disable matching of non-option variables (Bug#11176).
6727 (customize-option, customize-option-other-window)
6728 (customize-changed-options): Doc fix.
6729 (customize-apropos-options, customize-apropos-faces)
6730 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6731
6732 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6733 Fix word list splitting (Bug#11132).
46c71e23
CY
6734 (apropos-symbol, apropos-keybinding, apropos-label)
6735 (apropos-property, apropos-function-button)
6736 (apropos-variable-button, apropos-misc-button): New faces.
6737 (apropos-symbol-face, apropos-keybinding-face)
6738 (apropos-label-face, apropos-property-face, apropos-match-face):
6739 Variables removed (Bug#8396).
6740 (apropos-library-button, apropos-format-plist, apropos-print)
6741 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6742
2df41f9c
MA
67432012-04-23 Michael Albinus <michael.albinus@gmx.de>
6744
6745 * net/xesam.el (xesam-mode-map): Use let-bound map in
6746 initialization. (Bug#11292)
6747
da00640a
AM
67482012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6749
6750 Preserve ispell session localwords when switching back to
6751 original buffer.
6752
090bd7cb
JB
6753 * textmodes/ispell.el (ispell-buffer-session-localwords):
6754 New buffer-local variable to hold buffer session localwords.
ed9265fc 6755 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6756 localwords.
6757 (ispell-command-loop, ispell-change-dictionary)
6758 (ispell-buffer-local-words): Preserve session localwords when
6759 needed.
6760
090bd7cb
JB
6761 * textmodes/flyspell.el (flyspell-process-localwords)
6762 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6763
f621ccf5
AM
67642012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6765
090bd7cb
JB
6766 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6767 using obsolete `translation-table-for-input'.
ef24141c
SM
6768 (ispell-word, ispell-process-line, ispell-complete-word):
6769 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6770
c2d1019e
CY
67712012-04-22 Chong Yidong <cyd@gnu.org>
6772
6773 * cus-edit.el (custom-variable-menu)
6774 (custom-variable-reset-saved, custom-face-menu)
6775 (custom-face-reset-saved): If there is no saved value, make the
6776 "reset-saved" operation bring back the default (Bug#9509).
6777 (custom-face-state): Properly detect themed faces.
6778
eeddc531
CY
6779 * faces.el (face-spec-set): Stop supporting deprecated form of
6780 third arg.
6781
dcbf5805
MA
67822012-04-22 Michael Albinus <michael.albinus@gmx.de>
6783
6784 Move functions from C to Lisp. Make non-blocking method calls
6785 the default. Implement further D-Bus standard interfaces.
6786
ef24141c
SM
6787 * net/dbus.el (dbus-message-internal): Declare function.
6788 Remove unneeded function declarations.
dcbf5805
MA
6789 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6790 (dbus-message-type-method-return, dbus-message-type-error)
6791 (dbus-message-type-signal): Declare variables. Remove local
6792 definitions.
6793 (dbus-interface-dbus, dbus-interface-peer)
6794 (dbus-interface-introspectable, dbus-interface-properties)
6795 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6796 Adapt docstring.
6797 (dbus-interface-objectmanager): New defconst.
6798 (dbus-call-method, dbus-call-method-asynchronously)
6799 (dbus-send-signal, dbus-method-return-internal)
6800 (dbus-method-error-internal, dbus-register-service)
6801 (dbus-register-signal, dbus-register-method): New defuns, moved
6802 from dbusbind.c
6803 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6804 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6805 New defuns.
dcbf5805
MA
6806 (dbus-call-method-non-blocking): Make it an obsolete function.
6807 (dbus-unregister-object, dbus-unregister-service)
6808 (dbus-handle-event, dbus-register-property)
6809 (dbus-property-handler): Obey the new structure of
6810 `bus-registered-objects'.
6811 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6812 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6813 Use `dbus-call-method'.
6814
cf20dee0
CY
68152012-04-22 Chong Yidong <cyd@gnu.org>
6816
6817 * cus-edit.el (custom-commands, custom-reset-menu)
6818 (Custom-reset-standard): Tweak labels.
6819 (custom-reset-button-menu): Change default to t.
6820 (custom-buffer-create-internal): For the custom-reset-button-menu
6821 case, put the revert button first.
6822 (custom-group-subtitle): New face.
6823 (custom-group-value-create): Align docstring to a specific column.
6824
6825 * wid-edit.el (widget-documentation-link-add): Don't handle
6826 indentation in this function.
6827 (widget-documentation-string-indent-to): New function.
6828 (widget-documentation-string-value-create): Use it.
6829
6830 * autorevert.el (auto-revert):
6831 * epg-config.el (epg):
6832 * ibuffer.el (ibuffer):
6833 * mpc.el (mpc):
6834 * ses.el (ses):
6835 * eshell/eshell.el (eshell):
6836 * net/ange-ftp.el (ange-ftp):
6837 * progmodes/ebnf2ps.el (postscript):
6838 * progmodes/flymake.el (flymake):
6839 * progmodes/prolog.el (prolog):
6840 * progmodes/verilog-mode.el (verilog-mode):
6841 * progmodes/which-func.el (which-func):
6842 * term/xterm.el (xterm):
6843 * textmodes/picture.el (picture):
6844 * textmodes/tildify.el (tildify):
6845 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6846 customization buffers.
6847
583e23bd
AM
68482012-04-22 Alan Mackenzie <acm@muc.de>
6849
6850 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6851 Adding a ) can hide the resulting (..) from searches. Fix it.
6852 Bound the backward search to the position of the existing (.
6853
7dd51bf1
JB
68542012-04-21 Juanma Barranquero <lekktu@gmail.com>
6855
6856 * progmodes/verilog-mode.el (verilog-mode): Check whether
6857 which-func-modes is t before adding verilog-mode.
6858 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6859
d64a438f
LL
68602012-04-21 Leo Liu <sdl.web@gmail.com>
6861
7dd51bf1 6862 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6863
081e8d65
MV
68642012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6865
6866 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6867 filling of the last column of a table (Bug#5635).
6868 (woman-find-next-control-line): New arg, specifying an additional
6869 regexp component for the control line.
6870 (woman2-roff-buffer): Use it.
6871 (woman-break-table): New function.
6872 (woman2-TS): Use it.
6873
68742012-04-21 Chong Yidong <cyd@gnu.org>
6875
6876 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6877 (woman-horizontal-escapes, woman-negative-vertical-space)
6878 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6879 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6880
ed571ccb
SM
68812012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * minibuffer.el (completion-file-name-table): Complete user names.
6884
39773899
LL
68852012-04-20 Leo Liu <sdl.web@gmail.com>
6886
6887 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6888 and pcase-let*.
6889
de6ff46d
CY
68902012-04-20 Chong Yidong <cyd@gnu.org>
6891
6892 * server.el (server-execute): Respect initial-buffer-choice if it
6893 is a string and there are no files to open (Bug#2825).
6894 (server-create-window-system-frame, server-create-tty-frame):
6895 Don't switch buffers here.
2d0e8e61
CY
6896 (server-process-filter): Only try to open a window system frame if
6897 compiled with graphical support (Bug#8314).
de6ff46d 6898
54071013
DN
68992012-04-20 Dan Nicolaescu <dann@gnu.org>
6900
6901 * battery.el (battery-echo-area-format): Display remaining time
6902 for sysfs backend too (Bug#11269).
6903 (battery-linux-sysfs): Fix conditional for the charge.
6904
f30d612a
CY
69052012-04-20 Chong Yidong <cyd@gnu.org>
6906
c07a4c0b 6907 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6908 (gdb-inferior-io--init-proc): New function.
6909 (gdb-init-1): Use it.
6910 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6911 responsible for allocating a new pty and hooking it to gdb when
6912 the old pty gets an EIO due to process exit.
6913 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6914 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6915 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6916
2116e93c
EZ
69172012-04-20 Eli Zaretskii <eliz@gnu.org>
6918
6919 * window.el (window-min-size, window-sizable, window-min-delta)
6920 (window-max-delta, window--resizable, window-resizable)
6921 (window-total-size, window-full-height-p, window-full-width-p)
6922 (window-in-direction, window--resize-mini-window, window-resize)
6923 (window--resize-child-windows-normal)
6924 (window--resize-child-windows, window--resize-siblings)
6925 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6926 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6927
c07a4c0b 69282012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6929
ef24141c
SM
6930 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6931 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6932 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6933 pty process (Bug#11273).
6934 (gdb-update): New arg to suppress talking to the gdb process.
6935 (gdb-done-or-error): Use it.
6936 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6937 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6938 sentinel not being called.
6939
6940 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6941
d02766ab
CY
6942 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6943
c07a4c0b 69442012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6945
6946 * net/network-stream.el (open-network-stream): Doc fix.
6947
c07a4c0b 69482012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6949
6950 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6951
c07a4c0b 69522012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6953
6954 Ensure searching for keywords is case sensitive.
6955
6956 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6957 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6958 (c-defun-name, c-mark-function, c-cpp-define-name)
6959 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6960 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6961
ef24141c
SM
6962 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6963 Bind case-fold-search to nil.
f0f6bc35 6964
c07a4c0b 69652012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6966
6967 * mail/sendmail.el (mail-bury): Call return action with the right
6968 Rmail buffer (Bug#11242).
6969
9a864fa2
CY
6970 * server.el (server-process-filter): Handle corner case where both
6971 tty and nowait options are present (Bug#11102).
6972
539aa513
EZ
69732012-04-20 Eli Zaretskii <eliz@gnu.org>
6974
6975 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6976 (top level): Put into the executable the ident-style '$Id:' tag on
6977 windows-nt as well.
539aa513 6978
cfc7d5da
SM
69792012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * electric.el (electric-indent-post-self-insert-function): Check that
6982 electric-indent-mode is enabled in current buffer.
6983
5b01685c
JB
69842012-04-19 Juanma Barranquero <lekktu@gmail.com>
6985
6986 * imenu.el (imenu-progress-message): Restore; it is "used" in
6987 erc/erc-imenu.el and net/snmp-mode.el.
6988
4d6769e1
JB
69892012-04-19 Juanma Barranquero <lekktu@gmail.com>
6990
6991 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6992 (mouse-avoidance-nudge-mouse): Remove unused binding.
6993
6994 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6995
6996 * descr-text.el (describe-char):
6997 * progmodes/python.el (python-describe-symbol):
6998 Don't call `toggle-read-only', set `buffer-read-only'.
6999
7000 * imenu.el (imenu-default-goto-function): Mark unused args.
7001 (imenu-progress-message): Remove obsolete macro; all callers changed.
7002
7003 * subr.el (keymap-canonicalize): Remove unused binding.
7004 (read-passwd): Mark unused arg.
7005
7006 * tutorial.el (tutorial--display-changes): Remove unused binding.
7007 (tutorial--save-tutorial-to): Remove unused variable.
7008
7009 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7010 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7011 (package-generate-autoloads, package-menu--generate)
7012 (package-menu--find-upgrades): Remove unused bindings.
7013
7014 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7015 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7016 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7017 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7018 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7019 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7020 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7021 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7022 (cua-delete-char-rectangle): Mark unused args.
7023 (cua-align-rectangle): Remove unused binding.
7024
7025 * mail/rmail.el (compilation--message->loc)
7026 (epa--find-coding-system-for-mime-charset): Declare.
7027
7028 * net/dbus.el (dbus-register-service): Declare.
7029 (dbus-name-owner-changed-handler): Remove unused binding.
7030
7031 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7032 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7033 (nxml-scan-backward-within): Mark unused arg.
7034 (nxml-dynamic-markup-word): Remove unused binding.
7035
7036 * mouse.el (mouse-menu-major-mode-map):
7037 * emacs-lisp/authors.el (authors-scan-change-log)
7038 (authors-add-to-author-list):
7039 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7040 * emacs-lisp/smie.el (smie-auto-fill):
7041 * mail/sendmail.el (mail-bury):
7042 * mail/unrmail.el (unrmail):
7043 * net/tls.el (open-tls-stream):
7044 * textmodes/picture.el (picture-mouse-set-point):
7045 Remove unused bindings.
7046
8c8fc5df
MA
70472012-04-19 Michael Albinus <michael.albinus@gmx.de>
7048
7049 * net/tramp.el (tramp-action-password): Let-bind
7050 `enable-recursive-minibuffers' to t.
7051
a77b0ac9
SS
70522012-04-18 Sam Steingold <sds@gnu.org>
7053
7054 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7055 instead of 'string to accommodate values like [f11].
7056 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7057 * progmodes/gdb-mi.el: Likewise.
7058
12a106a9
LL
70592012-04-18 Leo Liu <sdl.web@gmail.com>
7060
7061 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7062 current buffer.
7063 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7064 LOCAL is nil.
7065
bc6494ef
CY
70662012-04-18 Chong Yidong <cyd@gnu.org>
7067
7068 * simple.el (line-move): Use forward-line if in batch mode
7069 (Bug#11053).
7070
c09c46b2
CS
70712012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7072
7073 * files.el (after-find-file): Do not try to add a final newline if
7074 the buffer is read-only (Bug#11156).
7075
5f6530ea
RS
70762012-04-17 Richard Stallman <rms@gnu.org>
7077
7078 * mail/rmail.el (rmail-start-mail):
7079 Pass (rmail-mail-return...) for the return-action.
7080 Pass (rmail-yank-current-message...) for the yank-action.
7081 (rmail-yank-current-message): New function.
7082 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7083 (rmail-reply): Likewise.
7084 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7085
7086 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7087 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7088 buffer, not newbuf.
7089
197b6f3c
JB
70902012-04-17 Juanma Barranquero <lekktu@gmail.com>
7091
7092 * server.el (server-ensure-safe-dir): Simplify.
7093
2311d8e5 70942012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7095
2311d8e5
GM
7096 * emacs-lisp/smie.el: Provide smarter auto-filling.
7097 (smie-auto-fill): New function.
7098 (smie-setup): Use it.
98fb480e 7099
2311d8e5
GM
7100 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7101
71022012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7103
7104 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7105 (comment-indent): Use it.
7106
2311d8e5 71072012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7108
7109 * ses.el: The overall change is to add cell renaming, that is
7110 setting fancy names for cell symbols other than name matching
7111 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7112 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7113 (ses-create-cell-variable): New defun.
2311d8e5 7114 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7115 (ses-relocate-formula): Relocate formulas only for cells the
7116 symbols of which are not renamed, i.e. symbols whose names do not
7117 match regexp "\\`[A-Z]+[0-9]+\\'".
7118 (ses-relocate-all): Relocate values only for cells the symbols of
7119 which are not renamed.
7120 (ses-load): Create cells variables as the (ses-cell ...) are read,
7121 in order to check row col consistency with cell symbol name only
7122 for cells that are not renamed.
7123 (ses-replace-name-in-formula): New defun.
7124 (ses-rename-cell): New defun.
4bdf2ad2 7125
fc72b15c
PO
71262012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7127
7128 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7129 New option (bug#11118).
7130 (perl-calculate-indent): Respect it.
7131
12e10e61
GM
71322012-04-17 Glenn Morris <rgm@gnu.org>
7133
7134 * dired-aux.el (dired-mark-read-string): Doc fix.
7135
30009afd
DA
71362012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7137
7138 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7139 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7140
41f03f4d
GM
71412012-04-17 Glenn Morris <rgm@gnu.org>
7142
7143 * mouse.el (mouse-drag-track):
7144 * speedbar.el (speedbar-frame-mode):
7145 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7146
f45f90f3
LL
71472012-04-16 Leo Liu <sdl.web@gmail.com>
7148
7149 * progmodes/python.el: Trivial cleanup.
7150
94ee8db5
GM
71512012-04-16 Glenn Morris <rgm@gnu.org>
7152
121b8917
GM
7153 * vc/vc.el (vc-string-prefix-p):
7154 * vc/pcvs-util.el (cvs-string-prefix-p):
7155 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7156 * mpc.el (mpc-string-prefix-p):
7157 Make all of these into obsolete aliases for string-prefix-p.
7158 Update callers.
7159 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7160
1197ecfa
GM
7161 * textmodes/two-column.el: Move custom options to the start.
7162 (frame-width): Remove compat definition.
7163 (2C-associate-buffer, 2C-dissociate):
7164 Use with-current-buffer rather than save-excursion.
7165 (2C-dissociate): Force a mode-line update.
7166 (2C-autoscroll): Use ignore-errors.
7167
099e7202
GM
7168 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7169 Autoload trivia.
7170
bf350d6a
GM
7171 * emacs-lisp/cl-extra.el (*random-state*):
7172 Remove unnecessary declaration.
7173
0e829eab
GM
7174 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7175
e3ad7552
GM
7176 * play/cookie1.el (cookie-snarf):
7177 Give an explicit error if input file cannot be read.
7178
68892d27
GM
7179 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7180
20f0c46d
GM
7181 * progmodes/perl-mode.el (c-macro-expand):
7182 Remove unnecessary autoload (it is in loaddefs.el).
7183
5a0978ce
GM
7184 * textmodes/picture.el (picture-desired-column)
7185 (picture-update-desired-column): Convert comments to doc-strings.
7186 (picture-substitute): Remove function.
7187 (picture-mode-map): Initialize in the defvar.
7188
6b955486
GM
7189 * woman.el: Remove eval-after-load for tar-mode.
7190 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7191 (woman-tar-extract-file): Autoload it.
7192
94ee8db5
GM
7193 * frame.el (automatic-hscrolling): Make this alias obsolete.
7194
177eca34
AM
71952012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7196
090bd7cb 7197 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7198 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7199 (ispell-dictionary-base-alist): Revert to original XEmacs
7200 friendly version for default. [:alpha:] will be added in
090bd7cb 7201 `ispell-set-spellchecker-params' if needed.
177eca34 7202
c505aaeb
CY
72032012-04-16 Chong Yidong <cyd@gnu.org>
7204
b19dd9d1 7205 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7206 (imagemagick-register-types): Use it.
7207 (imagemagick-types-inhibit): Add :set function. Allow new value
7208 of t to inhibit all types.
7209
7210 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7211 so we can preload it.
7212
7213 * loadup.el (fboundp): Preload regexp-opt, needed by
7214 imagemagick-register-types.
7215
60efac0f
CY
72162012-04-15 Chong Yidong <cyd@gnu.org>
7217
7218 * frame.el (scrolling): Remove nearly unused customization group.
7219
7220 * scroll-all.el (scroll-all-mode): Move to windows group.
7221
5dd1713e
CY
72222012-04-15 Chong Yidong <cyd@gnu.org>
7223
7224 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7225
e6fd457e
CY
72262012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7229 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7230
e153c136
GM
72312012-04-15 Glenn Morris <rgm@gnu.org>
7232
7233 * simple.el (process-file-side-effects): Doc fix.
7234
e6fd457e 72352012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7236
7237 * international/mule-cmds.el (set-language-environment): Doc fix.
7238
3603c3b1
JB
72392012-04-14 Juanma Barranquero <lekktu@gmail.com>
7240
7241 * server.el (server-auth-key, server-generate-key): Doc fixes.
7242 (server-get-auth-key): Doc fix. Use `string-match-p'.
7243 (server-start): Reflow docstring.
7244
e6de100c
LI
72452012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7246
7247 * server.el (server-generate-key): `called-interactively-p'
7248 requires a parameter.
7249
29734c21
MN
72502012-04-14 Michal Nazarewicz <mina86@mina86.com>
7251
7252 * server.el (server-auth-key): New variable.
75f1671a 7253 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7254 (server-start): Use the new variable and functions to allow
7255 setting a permanent server key (bug#9423).
7256
d65c9521
LL
72572012-04-14 Leo Liu <sdl.web@gmail.com>
7258
7259 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7260
5ae255c7
PE
72612012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7262
7263 Spelling fixes.
7264 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7265 Emacs uses American spelling.
7266
d5e6342e
JB
72672012-04-14 Juanma Barranquero <lekktu@gmail.com>
7268
7269 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7270 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7271 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7272 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7273
ab036cd7
SM
72742012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * progmodes/which-func.el (which-func-modes): Change default.
7277
35dc09a1 72782012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7279
7280 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7281 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7282
35dc09a1 72832012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7284
7285 * custom.el (custom-theme-set-variables): Doc fix.
7286
35dc09a1 72872012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7288
7289 * international/mule.el (set-auto-coding-for-load): Doc fix.
7290
35dc09a1 72912012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7292
35dc09a1
GM
7293 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7294 imenu work again for Objective C Mode. Correct the *-index values,
7295 these having been disturbed by a previous change in 2011-08.
57f845ee 7296
0de3da9f
AM
7297 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7298 Correct two search limits.
7299
35dc09a1 73002012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7301
7302 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7303
35dc09a1 73042012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7305
7306 * international/characters.el: Fix sorting.
7307
35dc09a1 73082012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7309
7310 * international/characters.el: Add more missing Latin case pairs.
7311
35dc09a1 73122012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7313
7314 * files.el (dir-locals-set-class-variables): Doc fix.
7315
35dc09a1 73162012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7317
3f1b5bf8
EZ
7318 * international/characters.el: Add set-case-syntax-pair call for
7319 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7320 counterpart. (Bug#11209)
7321
9f847f41
EZ
7322 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7323
35dc09a1 73242012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7325
7326 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7327
35dc09a1 73282012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7329
35dc09a1
GM
7330 * textmodes/ispell.el (ispell-dictionary-base-alist):
7331 Add data for Hebrew.
e2627d21 7332
35dc09a1 73332012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7334
35dc09a1
GM
7335 * net/rcirc.el (rcirc-cmd-quit):
7336 Revert 2012-03-18 change (Bug#11192).
5c14e333 7337
35dc09a1 73382012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7339
7340 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7341
35dc09a1 73422012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7343
4517fe3a
SM
7344 * minibuffer.el (completion-in-region-mode-map):
7345 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7346
b472a594
VD
73472012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7348
7349 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7350
09b95ce3
MY
73512012-04-13 Masatake YAMATO <yamato@redhat.com>
7352
7353 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7354 to allow `C-M-f' and `C-M-b' to move to the nearest path
7355 separator (bug#9511).
7356
4b63a9ca
LI
73572012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7358
7359 * avoid.el: Require cl when compiling. And also move the
7360 `provide' to the end.
7361
7b55b8bf
TV
73622012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7363
7364 * avoid.el (mouse-avoidance-banish-position): New variable.
7365 (mouse-avoidance-banish-destination): Use it (bug#10165).
7366
adedaa1f
LL
73672012-04-13 Leo Liu <sdl.web@gmail.com>
7368
7369 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7370
70e74021
KB
73712012-04-13 Ken Brown <kbrown@cornell.edu>
7372
7373 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7374 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7375 (browse-url-filename-alist): For the same reason, don't modify
7376 file:// URLs on Cygwin.
7377
e75e89ba
SM
73782012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7381 the region on shift if the binding is already shifted (bug#11221).
7382
82f289a4
GM
73832012-04-12 Glenn Morris <rgm@gnu.org>
7384
7385 * mail/mailpost.el: Move to obsolete/.
7386
d333dc4c
DA
73872012-04-12 Drew Adams <drew.adams@oracle.com>
7388
7389 * imenu.el (imenu--generic-function): Ignore invisible definitions
7390 (bug#10123).
7391
0d15b5ba
VD
73922012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7393
7394 * hexl.el (hexl-bits): New variable.
7395 (hexl-options): Mention the variable in the doc string.
75f1671a 7396 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7397 (hexl-mode): Mention the new variable.
75f1671a
JB
7398 (hexl-mode, hexl-current-address, hexl-current-address):
7399 Use the displen.
0d15b5ba
VD
7400 (hexl-ascii-start-column): New function.
7401 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7402 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7403
64a440db
AM
74042012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7405
7406 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7407 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7408 the encoding, as expected by hunspell.
7409
6decb6c2
SM
74102012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7411
7412 * battery.el (battery--linux-sysfs-regexp): New const.
7413 (battery-status-function): Use it. Remove yeeloong special case.
7414 (battery-yeeloong-sysfs): Remove.
7415 (battery-echo-area-format): Remove yeeloong special case.
7416
088be6fb
SM
74172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7418
6622e416
SM
7419 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7420 Reported by Noah Friedman.
7421
088be6fb
SM
7422 * subr.el (read-passwd): Use read-string.
7423
b49f886e
LMI
74242012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7425
7426 * vcursor.el (vcursor-move): Increase the priority of the overlay
7427 (bug#9663).
7428
a63067fc
DD
74292012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7430
7431 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7432 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7433
ac3cf14a
WS
74342012-04-11 William Stevenson <yhvh2000@gmail.com>
7435
7436 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7437 define-minor-mode (bug#10760).
7438
c4fc691b 74392012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7440
4d6769e1 7441 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7442 that directories matching `grep-find-ignored-files' won't be
7443 pruned (bug#10351).
7444
af23e2e5
CY
74452012-04-11 Chong Yidong <cyd@gnu.org>
7446
7447 * startup.el (command-line): Remove support for long-obsolete
7448 variable font-lock-face-attributes.
7449
ab7ce8c1
GM
74502012-04-11 Glenn Morris <rgm@gnu.org>
7451
7452 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7453
de8c03dc
SM
74542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7455
7456 * window.el (window--state-get-1): Obey window-point-insertion-type.
7457
050cc68b
LB
74582012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7459
7460 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7461 to previous function when point is on the first character of a
75f1671a 7462 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7463
a38c310c
GM
74642012-04-11 Glenn Morris <rgm@gnu.org>
7465
effed0c2
GM
7466 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7467 not just file-errors.
7468
a38c310c
GM
7469 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7470 (vc-bzr-sha1): Use internal sha1.
7471
0221e323
SM
74722012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7475
43956923
SG
74762012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7477
7478 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7479 that start in the middle of the line (bug#10496).
7480
6a8c9eaf
DN
74812012-04-10 Dan Nicolaescu <dann@gnu.org>
7482
7483 * battery.el (battery-linux-proc-acpi): Only one battery is
7484 discharged at a time, but that seems to confuse battery.el when
7485 computing `rate-type' for the battery not being discharged
7486 (bug#10332).
7487
1930bf5d
SM
74882012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7489
2a718f6f
SM
7490 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7491
599430d0
SM
7492 * international/quail.el: Use dolist and simplify.
7493 (quail-define-package, quail-update-keyboard-layout)
7494 (quail-define-rules): Use dolist.
7495 (quail-insert-kbd-layout, quail-get-translation): CSE.
7496
a2754b6c
SM
7497 * tmm.el: Use dolist, remove left over hook.
7498 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7499 Use dolist.
7500 (calendar-load-hook): Don't mess with it.
7501
1930bf5d
SM
7502 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7503 Use derived-mode-p. Run the diff asynchronously.
7504
9f67961c
LMI
75052012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7506
7507 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7508
2a8ce227
JB
75092012-04-10 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7512 (list-dynamic-libraries--loaded): New function.
7513 (list-dynamic-libraries--refresh): Use it.
7514
8f33b5f8
NW
75152012-04-10 Nathan Weizenbaum <nweiz@google.com>
7516
1930bf5d
SM
7517 * progmodes/python.el (python-fill-paragraph):
7518 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7519 disabled (bug#7018).
7520
b12f0439
L
75212012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7522
1930bf5d 7523 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7524 DOS/MS Windows for the Baltic languages. There are still plenty
7525 of texts written in this encoding/codepage (bug#6519).
b12f0439 7526
57c3bd01
GM
75272012-04-10 Glenn Morris <rgm@gnu.org>
7528
7529 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7530 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7531
6c3eab30
FA
75322012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7533
1930bf5d 7534 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7535 next-line "n" and previous-line "p" in order to make recentf more
7536 consistent with ibuffer, dired or org-mode (bug#9387).
7537
24d78a88
LMI
75382012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7539
bc72b5d9
LMI
7540 * image.el (put-image): Return the overlay created instead of the
7541 optional input string (bug#7834). Note that this may break code
7542 that is (for some reason or other) depending on `put-image'
7543 returning the string.
7544
bd2dba5a
LMI
7545 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7546
74beb59f
LMI
7547 * simple.el (zap-to-char): Allow zapping using input methods
7548 (bug#1580).
7549
24d78a88
LMI
7550 * textmodes/fill.el (fill-region): Leave point and mark where they
7551 were before filling (bug#5399).
7552
263f20cd
GM
75532012-04-09 Glenn Morris <rgm@gnu.org>
7554
7555 * version.el (emacs-bzr-get-version):
7556 Handle lightweight checkouts of local branches.
7557
58d1f797
AS
75582012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7559
263f20cd 7560 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7561
b4d3bc10
CY
75622012-04-09 Chong Yidong <cyd@gnu.org>
7563
7564 * custom.el (custom-variable-p): Return nil for non-symbol
7565 arguments instead of signaling an error.
7566 (user-variable-p): Obsolete alias for custom-variable-p.
7567
7568 * apropos.el (apropos-variable):
7569 * files-x.el (read-file-local-variable):
7570 * simple.el (set-variable):
7571 * woman.el (woman-mini-help):
7572 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7573
fd06db5d
GM
75742012-04-09 Glenn Morris <rgm@gnu.org>
7575
e5fcdb5e
GM
7576 * startup.el (normal-top-level): Don't look for leim-list.el
7577 in places where it will not be found. (Bug#910)
7578
fd06db5d
GM
7579 * international/mule-cmds.el (set-default-coding-systems):
7580 * files.el (normal-mode):
7581 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7582 This function was removed with ucs-tables.el in 2008.
7583
b39bb7e1
EZ
75842012-04-08 Eli Zaretskii <eliz@gnu.org>
7585
7586 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7587 ispell-encoding8-command to "-i", without a trailing space.
7588 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7589 separate command-line arguments, to specify the encoding, since
7590 that's how hunspell expects it.
7591
5c5b8e23
GM
75922012-04-08 Glenn Morris <rgm@gnu.org>
7593
7594 * loadup.el: Load bindings before cus-start.
7595 This reduces somewhat the number of "rogue" settings in emacs -Q.
7596
a1ed8b05
GM
75972012-04-07 Glenn Morris <rgm@gnu.org>
7598
7599 * version.el (emacs-bzr-get-version): New function.
dfae128a 7600 (emacs-bzr-version): New variable.
a1ed8b05
GM
7601 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7602 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7603
b142f158
EZ
76042012-04-07 Eli Zaretskii <eliz@gnu.org>
7605
dfae128a
GM
7606 * international/uni-bidi.el, international/uni-category.el:
7607 * international/uni-combining.el, international/uni-decimal.el:
7608 * international/uni-decomposition.el, international/uni-digit.el:
7609 * international/uni-lowercase.el, international/uni-mirrored.el:
7610 * international/uni-name.el, international/uni-numeric.el:
7611 * international/uni-titlecase.el, international/uni-uppercase.el:
7612 Update for Unicode 6.1.
b142f158 7613
9078ead6
EZ
76142012-04-07 Eli Zaretskii <eliz@gnu.org>
7615
7616 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7617
f23d2c7d
LMI
76182012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7619
7620 * window.el (shrink-window): Mention the `window-min-height'
7621 variable in the doc string.
7622
0a0a3573
BG
76232012-04-05 Bastien Guerry <bzg@altern.org>
7624
7625 * color.el (color-lighten-name): Fix typo.
7626
e5248ac9
SM
76272012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * server.el (server--on-display-p): New function.
7630 (server--on-display-p): Use it.
7631
b4243e22
GV
76322012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7633
7634 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7635 (bug#11145).
7636
305d9f44
SM
76372012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * comint.el (comint--common-quoted-suffix): Check string boundary
7640 before comparing (bug#11158).
7641 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7642
3d439cd1
CY
76432012-04-04 Chong Yidong <cyd@gnu.org>
7644
321cc491
CY
7645 * minibuffer.el (completion-extra-properties): Doc fix.
7646
3d439cd1
CY
7647 * subr.el (delayed-warnings-hook): Doc fix.
7648
2d562c0f
DU
76492012-04-04 Daiki Ueno <ueno@unixuser.org>
7650
7651 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7652 selection (Bug#11159).
7653 (epa-insert-keys): Inform that the default public key will be
7654 exported if no key is selected.
7655
4443f204
RS
76562012-04-04 Richard Stallman <rms@gnu.org>
7657
7658 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7659
529c06b6
CY
76602012-04-03 Chong Yidong <cyd@gnu.org>
7661
7662 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7663 mail-insert-file, not its obsolete alias mail-attach-file.
7664
66b907dc
MA
76652012-04-03 Michael Albinus <michael.albinus@gmx.de>
7666
7667 * notifications.el (notifications-notify): Fix docstring.
7668
c0ea195d
GM
76692012-04-02 Glenn Morris <rgm@gnu.org>
7670
7671 * emacs-lisp/authors.el (authors-aliases): Another addition.
7672
5ca64e00
MA
76732012-04-02 Michael Albinus <michael.albinus@gmx.de>
7674
7675 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7676 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7677 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7678
42ee526b
CY
76792012-04-01 Chong Yidong <cyd@gnu.org>
7680
7681 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7682 Handle root directory properly.
7683 (copy-directory): Caller changed.
7684
7685 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7686 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7687
0b021094
GM
76882012-03-31 Glenn Morris <rgm@gnu.org>
7689
40f86458
GM
7690 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7691
7019c177
GM
7692 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7693
a1daddd6
GM
7694 * calendar/calendar.el (calendar-window-list)
7695 (calendar-hide-window): Restore. (Bug#11140)
7696 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7697
0b021094
GM
7698 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7699
40311efc
TV
77002012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7701
7702 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7703 Check if file is a symlink (Bug#10489).
7704
7705 * files.el (copy-directory): Likewise.
7706
5319014e
CY
77072012-03-30 Chong Yidong <cyd@gnu.org>
7708
7709 * image.el (imagemagick-types-inhibit)
7710 (imagemagick-register-types): Doc fix.
7711
935d1290
AM
77122012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7713
090bd7cb 7714 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7715 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7716 and treats ~word as ordinary words in pipe mode.
935d1290 7717
61c6e8fd
GM
77182012-03-30 Glenn Morris <rgm@gnu.org>
7719
7720 * tutorial.el (help-with-tutorial): Ensure local variables don't
7721 happen to make the buffer read-only. (Bug#11127)
7722
81fdff00
SM
77232012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7726 (perl-calculate-indent): Return `noindent' in strings.
7727
6e7a6ec0
SS
77282012-03-28 Sam Steingold <sds@gnu.org>
7729
7730 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7731 instead of the broken adhockery which does not prevent calendar
7732 buffers from being displayed at random after exit.
7733 (calendar-window-list, calendar-hide-window): Remove the broken
7734 adhockery.
7735
fee88ca0
GM
77362012-03-28 Glenn Morris <rgm@gnu.org>
7737
7738 * replace.el (query-replace-map): Doc fix.
7739
38de3354
AS
77402012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7741
7742 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7743 contents. (Bug#11109)
7744
b973155e
SM
77452012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7748 (bug#11077).
7749 (avl-tree--check, avl-tree--check-node): New funs.
7750
dcb6e7b3
MR
77512012-03-27 Martin Rudalics <rudalics@gmx.at>
7752
7753 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7754 (switch-to-prev-buffer, switch-to-next-buffer):
7755 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7756 showing a buffer already is done on the same frame.
7757
b4fa35fa
GM
77582012-03-27 Glenn Morris <rgm@gnu.org>
7759
7760 * startup.el (mail-host-address): Doc fix.
7761
f9210e18
SM
77622012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7763
7764 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7765 than 197 variables.
7766
c0bf7753
AF
77672012-03-26 Ami Fischman <ami@fischman.org>
7768
7769 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7770
33da7b16
GM
77712012-03-26 Glenn Morris <rgm@gnu.org>
7772
02243d9d
GM
7773 * files.el (save-buffers-kill-emacs): Doc fix.
7774
33da7b16
GM
7775 * startup.el (normal-top-level, command-line, command-line-1):
7776 Give them doc strings.
7777
e5a69fd0
EZ
77782012-03-25 Eli Zaretskii <eliz@gnu.org>
7779
7780 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7781 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7782
9a69676a
CY
77832012-03-25 Chong Yidong <cyd@gnu.org>
7784
4125cb8b
CY
7785 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7786 theme if it was previously enabled before (Bug#11031).
7787
dd470960
CY
7788 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7789 spec with custom-face-get-current-spec if its :shown-value is not
7790 determined yet (Bug#9337).
4125cb8b 7791 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7792
9a69676a
CY
7793 * button.el (button-at): Minor addition to docstring.
7794
6e7e90fa
SL
77952012-03-24 Simon Leinen <simon.leinen@gmail.com>
7796
7797 * vc/vc.el (vc-merge): Fix a prompt.
7798
f06e2758
CY
77992012-03-24 Chong Yidong <cyd@gnu.org>
7800
7801 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7802 point (Bug#9623).
7803
6e7e90fa
SL
7804 * button.el (button-at): Minor addition to docstring.
7805
b9d0879b
SM
78062012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7807
7808 * newcomment.el (comment-choose-indent): No space after BOL.
7809
e71cebb3
SS
78102012-03-22 Sam Steingold <sds@gnu.org>
7811
7812 * window.el (switch-to-prev-buffer): Revert last patch because the
7813 bug turned out to be an advertised feature (Elisp manual 28.14).
7814
335aff35
GM
78152012-03-22 Glenn Morris <rgm@gnu.org>
7816
7817 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7818 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7819
c676576a
LMI
78202012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7821
7822 * net/network-stream.el (network-stream-open-starttls): Make error
7823 message under Windows be less misleading.
7824
126f3d39
LW
78252012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7826
7827 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7828 understands (bug#9942).
7829
64fee311
CY
78302012-03-22 Chong Yidong <cyd@gnu.org>
7831
7832 * simple.el (end-of-visible-line): Handle return value of
7833 next-single-property-change properly (Bug#9371).
7834
a640d29a
KH
78352012-03-22 Kenichi Handa <handa@m17n.org>
7836
7837 * international/quail.el (quail-insert-kbd-layout): Fix previous
7838 change. To avoid unwanted bidi reordering, use
7839 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7840
39675016
DG
78412012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7842
7843 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7844 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7845 (ruby-beginning-of-indent): Be more careful with the difference
7846 between word-boundary and symbol boundary.
7847 (ruby-mode-syntax-table): Make : a symbol constituent.
7848
0a6934fc 78492012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7850
3d008e4f
SM
7851 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7852
0a6934fc
SM
78532012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7854
af67c9d7
SM
7855 * progmodes/etags.el (tags-completion-at-point-function):
7856 Improve last fix.
7857
1acad97c
SM
7858 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7859
e298b5da
SS
78602012-03-21 Sam Steingold <sds@gnu.org>
7861
7862 * progmodes/etags.el (tags-completion-at-point-function):
7863 Avoid the error when point is inside the pattern.
7864
91d82a70
JY
78652012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7866
7867 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7868 line (Bug#10855).
7869
69188b79
CY
78702012-03-21 Drew Adams <drew.adams@oracle.com>
7871
7872 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7873
99fc91fe
AK
78742012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7875
7876 * ido.el (ido-set-current-directory, ido-read-internal)
7877 (ido-choose-completion-string, ido-completion-help): Handle nil
7878 value of ido-completion-buffer (Bug#11008).
7879
087bbb4c
SS
78802012-03-21 Sam Steingold <sds@gnu.org>
7881
7882 * window.el (switch-to-prev-buffer): Do not switch to a visible
7883 window previous buffer, just like with the frame previous buffers.
7884
fb5b8aca
CY
78852012-03-21 Chong Yidong <cyd@gnu.org>
7886
7887 * faces.el (make-face, make-empty-face, copy-face):
7888 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7889 Doc fixes.
7890
dc9924b8
SM
78912012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7894 (widget-complete): Remove broken use of it.
7895
f0bcceb9
CY
78962012-03-20 Chong Yidong <cyd@gnu.org>
7897
dc9924b8
SM
7898 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7899 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7900 characters.
7901
ee52ebf3
TH
79022012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7903
7904 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7905 to draw rectangles, not squares. (Regression introduced by revno
7906 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7907
4c5779ab
CY
79082012-03-18 Chong Yidong <cyd@gnu.org>
7909
7910 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7911 it is not yet defined (for temacs).
7912
15360934
LL
79132012-03-18 Leo Liu <sdl.web@gmail.com>
7914
dc9924b8 7915 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7916
d9a8eb66
EZ
79172012-03-17 Eli Zaretskii <eliz@gnu.org>
7918
7919 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7920 (ispell-choices-win-default-height, ispell-silently-savep)
7921 (ispell-dictionary-alist, ispell-encoding8-command)
7922 (ispell-check-version, ispell-aspell-find-dictionary)
7923 (ispell-valid-dictionary-list, ispell-words-keyword)
7924 (ispell-get-word, ispell-internal-change-dictionary)
7925 (ispell-region, ispell-skip-region-list)
7926 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7927 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7928 (ispell-message-text-end, ispell-message)
7929 (ispell-buffer-local-parsing): Doc fix.
7930
f02ff80d
J
79312012-03-13 Jambunathan K <kjambunathan@gmail.com>
7932
7933 * htmlfontify.el: Add support for code block fontification for ODT
7934 export (Bug #9914).
7935 (hfy-optimisations): Define new option
7936 `body-text-only'
7937 (hfy-fontify-buffer): Honor above setting.
7938 (hfy-begin-span, hfy-end-span): New routines factored out form
7939 `hfy-fontify-buffer'.
7940 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7941 that permit insertion of custom tags.
7942 (hfy-fontify-buffer): Use above handlers.
7943 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7944 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7945 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7946 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7947 bind a special variable `hfy-user-sheet-assoc'.
7948 (htmlfontify-string): New defun.
7949 (hfy-compile-face-map): Make sure that the last char in the
7950 buffer is correctly fontified.
7951 (hfy-face-resolve-face): Whitespace only change.
7952
9ac7a13f
EZ
79532012-03-17 Eli Zaretskii <eliz@gnu.org>
7954
7955 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7956 message more clear.
7957
e2b5bdd7
LL
79582012-03-16 Leo Liu <sdl.web@gmail.com>
7959
7960 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7961
2e492df3
AM
79622012-03-16 Alan Mackenzie <acm@muc.de>
7963
7964 Further optimise the handling of large macros.
7965
7966 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7967 limit to a call of `c-literal-limits'.
7968 (c-determine-+ve-limit): New function.
dc9924b8
SM
7969 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7970 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7971 In CASE 5B, restrict a search limit to 500.
7972 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7973
7974 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7975 Restrict macro bounds to +-500 from after-change's BEG END.
7976
50e94f0c
LL
79772012-03-16 Leo Liu <sdl.web@gmail.com>
7978
7979 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7980
6f09f6ed
AH
79812012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7982
7983 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7984 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7985
c7e73d51
GM
79862012-03-16 Glenn Morris <rgm@gnu.org>
7987
da986230
GM
7988 * view.el (view-buffer, view-buffer-other-window)
7989 (view-buffer-other-frame): Doc fixes re special mode-class.
7990
0835f01e
GM
7991 * subr.el (eval-after-load): If named feature is provided not from
7992 a file, run after-load forms. (Bug#10946)
7993
c7e73d51
GM
7994 * calendar/calendar.el (calendar-insert-at-column):
7995 Handle non-unit-width characters a bit better. (Bug#10978)
7996
3f2eafd1
CY
79972012-03-15 Chong Yidong <cyd@gnu.org>
7998
7999 * emacs-lisp/ring.el (ring-extend): New function.
8000 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8001
8002 * comint.el (comint-read-input-ring)
8003 (comint-add-to-input-history): Grow comint-input-ring lazily.
8004
103af3fe
SM
80052012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8006
663b1677
SM
8007 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8008 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8009
103af3fe
SM
8010 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8011 (imenu-add-to-menubar): Don't add a redundant index.
8012 (imenu-update-menubar): Handle a dynamically composed keymap.
8013
899cb7cb
KY
80142012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8015
8016 * mail/sendmail.el (mail-encode-header):
8017 Bind rfc2047-encode-encoded-words to nil.
8018
3809f91d
GM
80192012-03-13 Glenn Morris <rgm@gnu.org>
8020
8021 * calendar/calendar.el (calendar-string-spread):
8022 Handle non-unit-width characters a bit better. (Bug#10978)
8023
9e345a01
LL
80242012-03-13 Leo Liu <sdl.web@gmail.com>
8025
8026 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8027 directory and file as argument (Bug#10822).
8028
4a07df36
KS
80292012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8030
8031 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8032 For dynamically generated code, follow $PC.
8033 (gdb-disassembly-handler-custom): Handle no function name case.
8034
4aaa9356
TL
80352012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8036
8037 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8038 * emulation/ws-mode.el (ws-query-replace):
8039 * sort.el (sort-regexp-fields):
8040 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8041
225979da
SM
80422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * dabbrev.el: Fix cycle completion order (bug#10963).
8045 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8046 (dabbrev-completion): Don't use an obarray; provide
8047 a cycle-sort-function.
8048
e2f1fdab
LL
80492012-03-12 Leo Liu <sdl.web@gmail.com>
8050
dc9924b8 8051 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8052 (kill-do-not-save-duplicates): Doc fix.
8053
b19490ed
SM
80542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * dabbrev.el: Fix cycle completion (bug#10963).
8057 Use lexical binding and wrap to 80 columns.
8058 (dabbrev-completion): Delay computing the list of completions.
8059
4b05d722
KH
80602012-03-12 Kenichi Handa <handa@m17n.org>
8061
8062 * international/quail.el (quail-insert-kbd-layout): Surround each
8063 row by LRO and PDF instead of inserting many LRMs. Pad the left
8064 and right of each non-spacing marks. Insert invisible space
8065 between lower and upper characters to prevent composition.
8066
dbbc2e69
SM
80672012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * minibuffer.el (minibuffer-complete): Don't get confused when the
8070 function is run twice via different commands (bug#10958).
8071 (complete-with-action): Fix docstring.
8072
292112ed
CY
80732012-03-12 Chong Yidong <cyd@gnu.org>
8074
5d1ac394
CY
8075 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8076 (nxml-completion-at-point-function): New function.
8077 (nxml-mode): Use it.
8078 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8079
292112ed
CY
8080 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8081 Load generated autoloads file before byte compiling (Bug#10970).
8082 (package--make-autoloads-and-compile): New helper fun.
8083
4098f8f7
CS
80842012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8085
8086 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8087
8f754691
MA
80882012-03-11 Michael Albinus <michael.albinus@gmx.de>
8089
8090 * autorevert.el (auto-revert-handler): Ensure, that
8091 file-readable-p is applied only for local files or in
8092 auto-revert-tail-mode.
8093
e29ab36b
AS
80942012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8095
dbbc2e69
SM
8096 * server.el (server-eval-at): Handle non-tcp connections.
8097 Decode result string.
ad0bf5b6 8098
e29ab36b
AS
8099 * server.el (server-msg-size): New constant.
8100 (server-reply-print): New function.
8101 (server-eval-and-print): Use it.
8102 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8103 Handle -print-nonl.
8104
de5939ba
CS
81052012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8106
8107 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8108 (Bug#10987).
8109
0c93eabf
CY
81102012-03-11 Chong Yidong <cyd@gnu.org>
8111
397a688f
CY
8112 * simple.el (goto-line): Doc fix (Bug#9938).
8113
2cc775f9
CY
8114 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8115
0c93eabf
CY
8116 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8117 when finished (Bug#10963).
8118
c491fa41
MR
81192012-03-11 Martin Rudalics <rudalics@gmx.at>
8120
8121 * window.el (split-window-below): Fix bug in case where
8122 split-window-keep-point is nil (Bug#10971).
8123
300e8fa5
JL
81242012-03-11 Juri Linkov <juri@jurta.org>
8125
8126 * replace.el (replace-highlight): Set isearch-word to nil
8127 unconditionally. (Bug#10887)
8128
dbf6c5a1
EZ
81292012-03-10 Eli Zaretskii <eliz@gnu.org>
8130
8131 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8132 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8133 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8134 (mairix-widget-create-query): Add usage information about mairix
8135 search forms: negating words, searching for substrings, etc.
8136
b9e501de
JP
81372012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8138
8139 * international/fontset.el (font-encoding-alist): Add an entry for
8140 ksx1001 (Bug#5667).
8141
92795c91
RS
81422012-03-10 Richard Stallman <rms@gnu.org>
8143
1694e6c1
RS
8144 * mail/sendmail.el (mail-encode-header):
8145 Set rfc2047-encode-encoded-words.
8146
607e8555
RS
8147 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8148
de3bc99a
RS
8149 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8150 view buffer means not swapped.
8151 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8152 (rmail-write-region-annotate): Error if real text has disappeared.
8153
92795c91
RS
8154 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8155
699bd04e
CY
81562012-03-10 Chong Yidong <cyd@gnu.org>
8157
8158 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8159 * emulation/cua-base.el (cua--init-keymaps):
8160 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8161
570a1714
MR
81622012-03-10 Martin Rudalics <rudalics@gmx.at>
8163
dbbc2e69
SM
8164 * speedbar.el (speedbar-unhighlight-one-tag-line):
8165 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8166
82dcf4e4
CY
81672012-03-10 Chong Yidong <cyd@gnu.org>
8168
7a2c7ca7
CY
8169 * minibuffer.el (completion-in-region, completion-help-at-point):
8170 Give the completion field overlay a high priority (Bug#6830).
8171
82dcf4e4
CY
8172 * dired.el (dired-goto-file): Recognize absolute file name
8173 listings (Bug#7126).
8174 (dired-goto-file-1): New helper function.
8175 (dired-toggle-read-only): Inhibit warnings.
8176
052e28ac
MA
81772012-03-09 Michael Albinus <michael.albinus@gmx.de>
8178
75f1671a 8179 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8180 there are no properties.
8181
95d5e396
LL
81822012-03-09 Leo Liu <sdl.web@gmail.com>
8183
8184 * savehist.el (savehist-printable): Stricter check for string
8185 value (Bug#10937).
8186
3f018d6d
EZ
81872012-03-09 Eli Zaretskii <eliz@gnu.org>
8188
dbbc2e69
SM
8189 * mail/smtpmail.el (smtpmail-send-it):
8190 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8191 valid mbox format.
8192
f7fd3d79
GM
81932012-03-09 Glenn Morris <rgm@gnu.org>
8194
8195 * files.el (dir-locals-find-file):
8196 Don't check result is regular, readable.
8197 (dir-locals-read-from-file): Demote errors.
8198
6ff6e72f
EZ
81992012-03-08 Eli Zaretskii <eliz@gnu.org>
8200
dbbc2e69
SM
8201 * international/quail.el (quail-insert-kbd-layout):
8202 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8203 layout cell, to prevent their reordering by bidi display engine.
8204 For details, see the discussion in
8205 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8206
9cec7834
AM
82072012-03-08 Alan Mackenzie <acm@muc.de>
8208
8209 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8210 the starting position; make it extend the marked region when
8211 invoked repeatedly - all under appropriate circumstances.
8212 Fixes bugs #5525, #10906.
8213
9a40b8d4
GM
82142012-03-08 Glenn Morris <rgm@gnu.org>
8215
8216 * files.el (locate-dominating-file, dir-locals-find-file):
8217 Undo 2012-03-06 change.
8218
7a08ed35
EZ
82192012-03-07 Eli Zaretskii <eliz@gnu.org>
8220
dbbc2e69
SM
8221 * international/quail.el (quail-help):
8222 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8223 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8224 for the reason.
8225
5aca4f71 82262012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8227
8228 Avoid superfluous registering of signals. (Bug#10807)
8229
8230 * notifications.el (notifications-on-action-object)
8231 (notifications-on-close-object): New defvars.
8232 (notifications-on-action-signal, notifications-on-closed-signal):
8233 Unregister the signal if not needed any longer.
8234 (notifications-notify): Register `notifications-action-signal' or
8235 `notifications-closed-signal', if :on-action or :on-close has been
8236 passed as argument.
8237
78e8b10a
CY
82382012-03-07 Chong Yidong <cyd@gnu.org>
8239
8240 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8241 non-X platforms.
8242
69481eb8
GM
82432012-03-06 Glenn Morris <rgm@gnu.org>
8244
8245 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8246 (x-disown-selection-internal, x-get-selection-internal):
8247 Doc fix (add arglist signatures). (Bug#10783)
8248
133b8e11
KS
82492012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8250
8251 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8252 Handle breakpoints with no "type".
8253
99a83064
GM
82542012-03-06 Glenn Morris <rgm@gnu.org>
8255
8256 * files.el (locate-dominating-file): Add optional predicate argument.
8257 (dir-locals-find-file): Make use of above change.
8258
17798e78
TTN
82592012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8260
8261 * info.el (Info-insert-dir): Also try "dir.gz".
8262
eb182446
GM
82632012-03-06 Glenn Morris <rgm@gnu.org>
8264
8f2114ee
GM
8265 * files.el (dir-locals-find-file):
8266 Ignore non-readable or non-regular files. (Bug#10928)
8267
eb182446
GM
8268 * files.el (locate-dominating-file): Doc fix.
8269
24679323
AS
82702012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8271
8272 * calendar/calendar.el (calendar-set-mode-line):
8273 `getenv' returns a string. (Bug#10951)
8274
01d972a9
LL
82752012-03-05 Leo Liu <sdl.web@gmail.com>
8276
109aa8a9
LL
8277 * simple.el (backward-delete-char-untabify): Constrain point to
8278 field (Bug#10939).
8279
01d972a9
LL
8280 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8281
10607bea
CY
82822012-03-05 Chong Yidong <cyd@gnu.org>
8283
8284 * simple.el (count-words): If called from Lisp, return the word
8285 count, for symmetry with `count-lines'. Arglist changed.
8286 (count-words--message): Args changed. Consolidate counting code
8287 from count-words and count-words-region.
8288 (count-words-region): Caller changed.
8289 (count-lines-region): Make it an obsolete alias.
8290
5dd11cfe
TH
82912012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8292
8293 * saveplace.el (save-place-to-alist)
8294 (save-place-ignore-files-regexp): Allow value nil to disable this
8295 feature.
8296
c349f4e6
CY
82972012-03-04 Chong Yidong <cyd@gnu.org>
8298
8299 * faces.el (face-spec-reset-face): For the default face, reset the
8300 attributes to default values (Bug#10748).
8301
e627be4c
LMI
83022012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8303
8304 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8305 previous patch: Check `message-send-mail-function', and not the
8306 default function (bug#10897).
8307
ebeabff4
MA
83082012-03-04 Michael Albinus <michael.albinus@gmx.de>
8309
a41a6cf4
MA
8310 * notifications.el (notifications-on-action-signal)
8311 (notifications-on-closed-signal): Check for unique service name of
8312 incoming event. Fix error in removing entry.
ebeabff4 8313 (top): Register for signals with wildcard service name.
a41a6cf4 8314 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8315
c1ca42b4
CY
83162012-03-04 Chong Yidong <cyd@gnu.org>
8317
dc9924b8 8318 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8319
ea16568d
GM
83202012-03-04 Glenn Morris <rgm@gnu.org>
8321
8322 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8323 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8324 (expand-abbrev, define-abbrev-table): Doc fixes.
8325
fbae4637
LMI
83262012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8327
8328 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8329 `message-default-send-mail-function' and not `send-mail-function'
8330 when doing the prompting for `sendmail-query-once' before sending
8331 in Message buffers (bug#10897).
8332
a1e7225c
LMI
8333 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8334 This is inconsistent with all the other stream functions, which leave
8335 the setting up to the higher levels (if so wanted) (bug#10931).
8336
56d093a9
AM
83372012-03-02 Alan Mackenzie <acm@muc.de>
8338
8339 Depessimize the handling of very large macros.
8340
8341 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8342 (c-macro-cache-syntactic): New variables to implement a one
8343 element macro cache.
8344 (c-invalidate-macro-cache): New function.
8345 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8346 Adapt to use the new cache.
8347 (c-state-safe-place): Use better the cache of safe positions.
8348 (c-state-semi-nonlit-pos-cache)
8349 (c-state-semi-nonlit-pos-cache-limit):
8350 New variables for...
8351 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8352 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8353 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8354 Use c-state-semi-safe-place.
56d093a9 8355
dbbc2e69
SM
8356 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8357 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8358
817e5c3d
MA
83592012-03-02 Michael Albinus <michael.albinus@gmx.de>
8360
dbbc2e69
SM
8361 * jka-compr.el (jka-compr-call-process):
8362 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8363 not remote.
8364
a032a702
MA
83652012-03-01 Michael Albinus <michael.albinus@gmx.de>
8366
8367 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8368 access of FILE2, if FILE1 does not exist.
8369
99a54f21
MA
8370 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8371 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8372
8373 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8374 Add "PAGER=" to `process-environment'.
8375
f6561e1f
MM
83762012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8377
8378 * progmodes/sql.el: Bug fix
8379 (sql-get-login-ext): Save login values in globals.
8380 (sql-get-login): Use new version of `sql-get-login-ext'.
8381 (sql-interactive-mode): Set global `sql-connection' to nil.
8382 (sql-connect): Set global values for connection.
8383 (sql-product-interactive): Save global values as buffer local.
8384
2d44d9cc
LL
83852012-02-29 Leo Liu <sdl.web@gmail.com>
8386
8387 * abbrev.el (define-abbrevs): Reset sys to nil.
8388
96b49301 83892012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8390
bf7f9bc5
JB
8391 * files.el (file-equal-p): Rename from `files-equal-p'.
8392 Return nil when one or both files don't exist.
96b49301 8393 (file-subdir-of-p): Now only top directory must exists,
8394 return nil if it doesn't.
bf7f9bc5
JB
8395 (copy-directory): No need to test with `file-subdir-of-p' after
8396 creating dir.
8397 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8398 to `file-equal-p'.
96b49301 8399
44e97401
GM
84002012-02-28 Glenn Morris <rgm@gnu.org>
8401
8402 * shell.el (shell-mode):
8403 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8404 * play/landmark.el (landmark-font-lock-face-O):
8405 * play/handwrite.el (handwrite):
8406 * play/gomoku.el (gomoku-O):
8407 * net/browse-url.el (browse-url-browser-display):
8408 * international/mule.el (define-charset):
8409 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8410 * filesets.el (filesets-find-file-delay):
8411 * eshell/em-xtra.el (eshell-xtra):
8412 * eshell/em-unix.el (eshell-grep):
8413 * emulation/viper.el (viper-mode):
8414 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8415 * emacs-lisp/easymenu.el (easy-menu-define):
8416 * calendar/timeclock.el (timeclock-use-display-time):
8417 * bs.el (bs-mode):
8418 * bookmark.el (bookmark-save-flag):
8419 Doc fix (standardize possessive apostrophe usage).
8420
c98c6276
CY
84212012-02-27 Chong Yidong <cyd@gnu.org>
8422
bf7f9bc5
JB
8423 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8424 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8425
c98c6276
CY
8426 * font-lock.el (font-lock-specified-p): Rename from
8427 font-lock-spec-present. Callers changed.
8428
9c62cd04 84292012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8430
bf7f9bc5
JB
8431 * emacs-lisp/package.el (package-compute-transaction):
8432 Handle holding a package version to t in package-load-list.
8ac9e529 8433
530739c9
MA
84342012-02-26 Michael Albinus <michael.albinus@gmx.de>
8435
8436 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8437 (tramp-get-inode, tramp-get-device): Use cached values.
8438
487915d7
AM
84392012-02-26 Alan Mackenzie <acm@muc.de>
8440
8441 Check there is a font-lock specification before doing initial
8442 fontification.
8443
8444 * font-core.el (font-lock-mode): Move the conditional from
8445 :after-hook to font-lock-initial-fontify.
8446 (font-lock-default-function): Move the check for a specification
8447 to font-lock-spec-present.
8448
dc9924b8 8449 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8450 (font-lock-spec-present): New function.
8451
4fd96557
JB
84522012-02-26 Jim Blandy <jimb@red-bean.com>
8453
8454 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8455 (gdb-send): Apply it to the operand of the '-interpreter-exec
8456 console' command, so that we can pass arguments with (say) quotes
8457 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8458
9a4888c0
CY
84592012-02-26 Chong Yidong <cyd@gnu.org>
8460
07498861
CY
8461 * help-fns.el (describe-function-1): Clarify description of
8462 remapping (Bug#10844).
8463
9a4888c0
CY
8464 * files.el (files-equal-p): Doc fix.
8465 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8466 and quit the loop once a mismatch is found.
8467
ea8fb88d
JB
84682012-02-25 Juanma Barranquero <lekktu@gmail.com>
8469
8470 * bs.el (bs--show-with-configuration): Don't throw an error
8471 if the window cannot be split; otherwise, subsequent calls to
8472 bs-show fail, restoring a stale window config. (Bug#10882)
8473
525795c1
JD
84742012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8475
8476 * term/ns-win.el (global-map): Bind ns-drag-file to
8477 ns-find-file (Bug#5855, Bug#10050).
8478
f008086f
AS
84792012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8480
8481 * calendar/parse-time.el (parse-time-string): Allow extractor to
8482 return nil.
8483
a3fcfa99
MA
84842012-02-25 Michael Albinus <michael.albinus@gmx.de>
8485
91027d08
JB
8486 * net/tramp.el (tramp-file-name-for-operation):
8487 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8488
8489 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8490 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8491 Add COPY-CONTENTS argument.
a3fcfa99 8492
67b0de11
CY
84932012-02-25 Chong Yidong <cyd@gnu.org>
8494
8495 Add custom groups for VC backends, for consistency with vc-bzr.
8496
8497 * vc/vc-arch.el (vc-arch):
8498 * vc/vc-cvs.el (vc-cvs):
8499 * vc/vc-git.el (vc-git):
8500 * vc/vc-hg.el (vc-hg):
8501 * vc/vc-mtn.el (vc-mtn):
8502 * vc/vc-rcs.el (vc-rcs):
8503 * vc/vc-sccs.el (vc-sccs):
8504 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8505 All relevant defcustoms reassigned.
8506
3c9dfce6
CY
85072012-02-25 Chong Yidong <cyd@gnu.org>
8508
1339bf43
CY
8509 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8510
3c9dfce6
CY
8511 * term/x-win.el (x-initialize-window-system): Reduce default for
8512 x-selection-timeout to 5 seconds (Bug#8869).
8513
25b2e303 85142012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8515
ec70a47d
GM
8516 * files.el (files-equal-p, file-subdir-of-p): New functions.
8517 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8518 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8519 * dired-aux.el (dired-copy-file-recursive): Same.
8520 (dired-create-files): Modify destination when source is equal to
8521 dest when copying files.
53a46cd0 8522 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8523
914260cd
MA
85242012-02-24 Michael Albinus <michael.albinus@gmx.de>
8525
8526 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8527 (Bug#10874)
8528
2cb228f7
AM
85292012-02-23 Alan Mackenzie <acm@muc.de>
8530
8531 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8532 parameter "after-hook:" to allow the expansion to run code after
8533 the execution of the mode hooks.
8534
8535 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8536 from font-lock-mode-internal.
2cb228f7 8537
91027d08 8538 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8539 :after-hook.
8540
8f0fde21
SM
85412012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8542
3e88618b
SM
8543 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8544 (completion--cache-all-sorted-completions): New function.
8545 (completion-all-sorted-completions): Use it.
8546 (completion--do-completion, minibuffer-force-complete):
8547 Use it to re-instate the flush hook.
8548
8f0fde21
SM
8549 * icomplete.el (icomplete-completions): Replace last fix with a better
8550 one (bug#10850).
8551
8e911f6f
DG
85522012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8553
8554 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8555 when it might call us back infinitely (bug#10797).
8556
49fe4321
GM
85572012-02-23 Glenn Morris <rgm@gnu.org>
8558
8559 * minibuffer.el (completion-category-overrides): Doc fix.
8560
b291b572
SM
85612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8564 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8565
31a9ef2e
GM
85662012-02-23 Glenn Morris <rgm@gnu.org>
8567
5e6e6794 8568 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8569 (authors-obsolete-files-regexps, authors-ignored-files)
8570 (authors-ambiguous-files, authors-renamed-files-alist):
8571 Add more entries.
8572
0bd1e074
JL
85732012-02-23 Juri Linkov <juri@jurta.org>
8574
8575 * isearch.el (isearch-occur): Sync interactive spec with occur's
8576 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8577
b617673c
JL
8578 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8579
19e9789e
JL
85802012-02-22 Juri Linkov <juri@jurta.org>
8581
8582 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8583 (ucs-insert): Doc fix. Check for hex digits in the string.
8584 Don't display `nil' in the error message. (Bug#10857)
8585
f41ce09d
AM
85862012-02-22 Alan Mackenzie <acm@muc.de>
8587
7a71b18d 8588 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8589
ac2eceee
GM
85902012-02-22 Glenn Morris <rgm@gnu.org>
8591
8592 * ffap.el (ffap-c-path):
8593 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8594
abd1f678
CY
85952012-02-22 Chong Yidong <cyd@gnu.org>
8596
8597 * custom.el (load-theme): Doc fix.
8598
f25aef2e
GM
85992012-02-22 Glenn Morris <rgm@gnu.org>
8600
8601 * dired-x.el (dired-guess-shell-alist-default):
8602 Remove escape sequences from nroff output. (Bug#172)
8603
5f8dc2ca
GM
86042012-02-21 Glenn Morris <rgm@gnu.org>
8605
6ff86ec4
GM
8606 * vc/emerge.el (emerge-defvar-local):
8607 Set `permanent-local' property rather than unused `preserved'.
8608
be3223a3 8609 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8610 (picture-mode-map): Use it. (Bug#10860)
8611 (picture-mode): Doc fix.
8612
3fe58f4f
JB
86132012-02-21 Juanma Barranquero <lekktu@gmail.com>
8614
8615 * newcomment.el (uncomment-region-default): Remove unused binding.
8616
f9a998c3
GM
86172012-02-21 Glenn Morris <rgm@gnu.org>
8618
8619 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8620 (picture-self-insert, picture-tab-chars): Doc fix.
8621 (picture-mode-map): Fix C-a, C-e.
8622
c6029348
GM
86232012-02-20 Glenn Morris <rgm@gnu.org>
8624
8625 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8626
ab1ce9d7
LL
86272012-02-20 Leo Liu <sdl.web@gmail.com>
8628
8629 * icomplete.el (icomplete-completions): Check FROM arg before
8630 passing to substring (Bug#10850).
8631
0fd40f89
CY
86322012-02-19 Chong Yidong <cyd@gnu.org>
8633
8634 * comint.el: Require ansi-color.
8635 (comint-output-filter-functions): Add ansi-color-process-output.
8636
8637 * ansi-color.el: Don't set comint-output-filter-functions; it is
8638 now in the initial value defined in comint.el.
8639 (ansi-color-apply-face-function): New variable.
8640 (ansi-color-apply-on-region): Use it.
8641 (ansi-color-apply-overlay-face): New function.
8642
8643 * shell.el (shell): No need to require ansi-color.
8644 (shell-mode): Use ansi-color-apply-face-function to highlight
8645 color escapes using font-lock-face property (Bug#10835).
8646
20af2394
CY
86472012-02-19 Chong Yidong <cyd@gnu.org>
8648
8649 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8650 mode-line formats (Bug#10839).
8651
e23a3fbe
GM
86522012-02-18 Glenn Morris <rgm@gnu.org>
8653
b474519e
GM
8654 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8655
8656 * mail/undigest.el (unforward-rmail-message): Doc fix.
8657
e23a3fbe
GM
8658 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8659
57939ff4
EZ
86602012-02-18 Eli Zaretskii <eliz@gnu.org>
8661
8662 * international/characters.el (script-list): Sync with the latest
8663 Unicode Character Database.
8664
0c23686e
AS
86652012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8666
8667 * international/titdic-cnv.el: Remove duplicate coding tag.
8668 * language/cham.el: Likewise.
8669 * language/tai-viet.el: Likewise.
8670
6818b449
GM
86712012-02-18 Glenn Morris <rgm@gnu.org>
8672
8673 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8674 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8675 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8676 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8677 * calendar/holidays.el (holiday-bahai-holidays)
8678 (calendar-holidays, list-holidays):
8679 Use utf-8 Bahá'í in doc-strings, menus, etc.
8680
0311a3fc
TH
86812012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8682
8683 * saveplace.el (save-place-ignore-files-regexp): New variable
8684 allowing for excluding files from saving their location of point.
8685 The default value matches the temporary commit message editing
8686 files from Git, SVN, Bazaar, and Mercurial.
8687 (save-place-to-alist): Use it.
8688
d209e2fb 86892012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8690 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8691
8692 * newcomment.el (uncomment-region-default): Don't leave extra space
8693 when an arg is provided (bug#8150).
8694
ee0ce425
TZ
86952012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8696
eb864a71 8697 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8698
95ddf442
GM
86992012-02-17 Glenn Morris <rgm@gnu.org>
8700
8701 * net/socks.el: Require network-stream. (Bug#10599)
8702
48dd1e39 87032012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8704
8705 * international/charprop.el:
8706 * international/uni-name.el:
8707 * international/uni-old-name.el:
8708 * international/uni-comment.el: Regenerate.
8709
d68cd087
GM
87102012-02-16 Glenn Morris <rgm@gnu.org>
8711
8712 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8713 Interactively in calendar buffer, give an error if not on a date.
8714
13932042
GM
87152012-02-15 Glenn Morris <rgm@gnu.org>
8716
8717 * shell.el (shell-delimiter-argument-list):
8718 Revert 2011-02-17 change. (Bug#8027)
8719
c3a70e2b
CY
87202012-02-15 Chong Yidong <cyd@gnu.org>
8721
60236b0d
CY
8722 * minibuffer.el (completion-at-point-functions): Doc fix.
8723
c3a70e2b
CY
8724 * custom.el (defcustom): Doc fix; note use of defvar.
8725
9f26dc24
GM
87262012-02-15 Glenn Morris <rgm@gnu.org>
8727
8728 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8729 Doc fixes.
8730
6546b134
GM
87312012-02-14 Glenn Morris <rgm@gnu.org>
8732
8733 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8734
d29b2b4c
LI
87352012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8736
8737 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8738 way the ports list is computed.
835bdcba
LI
8739 (smtpmail-query-smtp-server): Prompt the user for a port number if
8740 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8741
08dcdbc9
TZ
87422012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8743
8744 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8745
2605051a
GM
87462012-02-13 Glenn Morris <rgm@gnu.org>
8747
8748 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8749
7ee99f32
TZ
87502012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8751
8752 * net/gnutls.el (gnutls-trustfiles): New variable.
8753 (gnutls-negotiate): Use it.
8754
5f0af64f
LI
87552012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8756
8757 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8758 does its stuff if Gnus is running.
8759
c14fcc95
AM
87602012-02-13 Alan Mackenzie <acm@muc.de>
8761
8762 Fix a loop in c-set-fl-decl-start.
8763
7a71b18d 8764 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8765 c-backward-syntactic-ws actually moves backwards.
8766
142b4d90
LL
87672012-02-13 Leo Liu <sdl.web@gmail.com>
8768
8769 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8770 beginning so that all \C-o chars are removed.
8771
fa9958a6
TZ
87722012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8773
dc9924b8 8774 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8775
0bc5886a
AM
87762012-02-12 Alan Mackenzie <acm@muc.de>
8777
8778 Fix infinite loop with long macros.
4d6769e1 8779 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8780
d4bd55e7
CY
87812012-02-12 Chong Yidong <cyd@gnu.org>
8782
8783 * window.el (display-buffer): Doc fix (Bug#10785).
8784
66f3fe22
GM
87852012-02-12 Glenn Morris <rgm@gnu.org>
8786
bd7da63e
GM
8787 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8788 (x-disown-selection-internal, x-get-selection-internal):
8789 Sync docs with the xselect.c versions.
8790
66f3fe22
GM
8791 * allout-widgets.el: Add missing license notice.
8792
3e0d2fa7
GM
87932012-02-11 Glenn Morris <rgm@gnu.org>
8794
cfecdf09
GM
8795 * select.el (x-get-selection-internal, x-own-selection-internal)
8796 (x-disown-selection-internal):
8797 * x-dnd.el (x-get-selection-internal): Update declarations.
8798
6d216d7f
GM
8799 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8800
2bed3f04
GM
8801 * window.el (window-sides-slots):
8802 * tool-bar.el (tool-bar-position):
8803 * term/xterm.el (xterm-extra-capabilities):
8804 * ses.el (ses-self-reference-early-detection):
8805 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8806 (verilog-auto-wire-type)
8807 (verilog-auto-delete-trailing-whitespace)
8808 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8809 (verilog-auto-tieoff-declaration):
8810 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8811 (sql-oracle-statement-starters, sql-oracle-scan-on):
8812 * progmodes/prolog.el (prolog-align-comments-flag)
8813 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8814 (prolog-left-indent-regexp, prolog-paren-indent-p)
8815 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8816 (prolog-types, prolog-mode-specificators)
8817 (prolog-determinism-specificators, prolog-directives)
8818 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8819 (prolog-electric-dot-flag)
8820 (prolog-electric-dot-full-predicate-template)
8821 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8822 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8823 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8824 (prolog-program-switches, prolog-prompt-regexp)
8825 (prolog-debug-on-string, prolog-debug-off-string)
8826 (prolog-trace-on-string, prolog-trace-off-string)
8827 (prolog-zip-on-string, prolog-zip-off-string)
8828 (prolog-use-standard-consult-compile-method-flag)
8829 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8830 (prolog-imenu-max-lines, prolog-info-predicate-index)
8831 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8832 (prolog-char-quote-workaround):
8833 * progmodes/cc-vars.el (c-defun-tactic):
8834 * net/tramp.el (tramp-encoding-command-interactive)
8835 (tramp-local-end-of-line):
8836 * net/soap-client.el (soap-client):
8837 * net/netrc.el (netrc-file):
8838 * net/gnutls.el (gnutls):
8839 * minibuffer.el (completion-category-overrides)
8840 (completion-cycle-threshold)
8841 (completion-pcm-complete-word-inserts-delimiters):
8842 * man.el (Man-name-local-regexp):
8843 * mail/feedmail.el (feedmail-display-full-frame):
8844 * international/characters.el (glyphless-char-display-control):
8845 * eshell/em-ls.el (eshell-ls-date-format):
8846 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8847 (lisp-lambda-list-keyword-parameter-indentation)
8848 (lisp-lambda-list-keyword-parameter-alignment):
8849 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8850 * dired-x.el (dired-omit-verbose):
8851 * cus-theme.el (custom-theme-allow-multiple-selections):
8852 * calc/calc.el (calc-highlight-selections-with-faces)
8853 (calc-lu-field-reference, calc-lu-power-reference)
8854 (calc-note-threshold):
8855 * battery.el (battery-mode-line-limit):
8856 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8857 (archive-7z-update):
8858 * allout.el (allout-prefixed-keybindings)
8859 (allout-unprefixed-keybindings)
8860 (allout-inhibit-auto-fill-on-headline)
8861 (allout-flattened-numbering-abbreviation):
8862 * allout-widgets.el (allout-widgets-auto-activation)
8863 (allout-widgets-icons-dark-subdir)
8864 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8865 (allout-widgets-theme-dark-background)
8866 (allout-widgets-theme-light-background)
8867 (allout-widgets-item-image-properties-emacs)
8868 (allout-widgets-item-image-properties-xemacs)
8869 (allout-widgets-run-unit-tests-on-load)
8870 (allout-widgets-time-decoration-activity)
8871 (allout-widgets-hook-error-post-time)
8872 (allout-widgets-track-decoration):
8873 Add missing :version tags to new defcustoms and defgroups.
8874
5fec1b8e
GM
8875 * progmodes/sql.el (sql-ansi-statement-starters)
8876 (sql-oracle-statement-starters): Add custom type.
8877
3e0d2fa7
GM
8878 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8879 (prolog-system-version): Give it a type.
8880
90b671e2
EZ
88812012-02-11 Eli Zaretskii <eliz@gnu.org>
8882
8883 * term/pc-win.el (x-select-text, x-selection-owner-p)
8884 (x-own-selection-internal, x-disown-selection-internal)
8885 (x-get-selection-internal): Sync doc strings and argument lists
8886 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8887
5eac0c02
LL
88882012-02-11 Leo Liu <sdl.web@gmail.com>
8889
8890 * progmodes/python.el (python-end-of-statement): Fix infinite
8891 loop. (Bug#10788)
8892
f82cb659
GM
88932012-02-10 Glenn Morris <rgm@gnu.org>
8894
8895 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8896 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8897
cc26d239
LI
88982012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8899
8900 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8901 about SMTP before checking the From header.
8902
91027d08 8903 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8904 into own function for reuse by emacsbug.el.
8905
1be3ca5a
LL
89062012-02-10 Leo Liu <sdl.web@gmail.com>
8907
8908 * subr.el (condition-case-unless-debug): Rename from
8909 condition-case-no-debug. All callers changed.
8910 (with-demoted-errors): Fix caller.
8911
8912 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8913 * nxml/rng-valid.el (rng-do-some-validation):
8914 * emacs-lisp/package.el (package-refresh-contents)
8915 (package-menu-execute):
8916 * desktop.el (desktop-create-buffer):
91027d08 8917 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8918
b011fbfe
GM
89192012-02-10 Glenn Morris <rgm@gnu.org>
8920
b2096d72
GM
8921 * textmodes/bibtex.el:
8922 Add missing :version tags for new/changed defcustoms.
8923
b011fbfe
GM
8924 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8925
4c7e65bf
LI
89262012-02-09 Lars Ingebrigtsen <larsi@rusty>
8927
8928 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8929 (smtpmail-via-smtp): Use it, or fall back on the From address.
8930 (smtpmail-send-it): Ditto.
8931
f3934f6f
SM
89322012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8933
8934 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8935 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8936 (byte-compile-tmp-var): New const.
8937 (byte-compile-defvar): Use it to minimize .elc size.
8938 Just use `defvar' rather than simulate it (bug#10761).
8939
a075a2c5
GM
89402012-02-09 Glenn Morris <rgm@gnu.org>
8941
cf3aa21b
GM
8942 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8943
354998cd
GM
8944 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8945 Add :version tags.
8946
dc9924b8
SM
8947 * progmodes/compile.el (compilation-error-screen-columns)
8948 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8949
dab3703d
GM
8950 * vc/log-view.el (log-view-toggle-entry-display):
8951 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8952
3f88cd72
GM
8953 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8954 (report-emacs-bug-can-use-xdg-email):
8955 (report-emacs-bug-insert-to-mailer): Doc fixes.
8956 (report-emacs-bug): Message fix.
8957
d95b247d
GM
8958 * net/browse-url.el (browse-url-can-use-xdg-open)
8959 (browse-url-xdg-open): Doc fixes.
8960
a075a2c5
GM
8961 * electric.el (electric-indent-mode, electric-pair-mode)
8962 (electric-layout-rules, electric-layout-mode): Doc fixes.
8963 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8964
ffb6157e
MR
89652012-02-08 Martin Rudalics <rudalics@gmx.at>
8966
8967 * server.el (server-unselect-display): Don't inadvertently kill
8968 the current buffer. (Bug#10729)
8969
e1ac4066
GM
89702012-02-08 Glenn Morris <rgm@gnu.org>
8971
34e8a2da
GM
8972 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8973 (sql-list-table): Doc fixes.
8974
b4ac6e8c
GM
8975 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8976 Comment out (does nothing).
8977
e1ac4066
GM
8978 * completion.el (dynamic-completion-mode):
8979 * dirtrack.el (dirtrack-debug-mode):
8980 * electric.el (electric-layout-mode):
8981 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8982 * face-remap.el (text-scale-mode, buffer-face-mode):
8983 * iimage.el (iimage-mode):
8984 * image-mode.el (image-transform-mode):
8985 * minibuffer.el (completion-in-region-mode):
8986 * scroll-lock.el (scroll-lock-mode):
8987 * simple.el (next-error-follow-minor-mode):
8988 * tar-mode.el (tar-subfile-mode):
8989 * tooltip.el (tooltip-mode):
8990 * vcursor.el (vcursor-use-vcursor-map):
8991 * wid-browse.el (widget-minor-mode):
8992 * emulation/tpu-edt.el (tpu-edt-mode):
8993 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8994 * international/iso-ascii.el (iso-ascii-mode):
8995 * language/thai-util.el (thai-word-mode):
8996 * mail/supercite.el (sc-minor-mode):
8997 * net/goto-addr.el (goto-address-mode):
8998 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8999 * progmodes/cwarn.el (cwarn-mode):
9000 * progmodes/flymake.el (flymake-mode):
9001 * progmodes/glasses.el (glasses-mode):
9002 * progmodes/hideshow.el (hs-minor-mode):
9003 * progmodes/pascal.el (pascal-outline-mode):
9004 * textmodes/enriched.el (enriched-mode):
9005 * vc/smerge-mode.el (smerge-mode):
9006 Doc fixes (minor mode argument).
9007
5e0d957f
EZ
90082012-02-07 Eli Zaretskii <eliz@gnu.org>
9009
9010 * ls-lisp.el (ls-lisp-sanitize): New function.
9011 (ls-lisp-insert-directory): Use it to fix or remove any elements
9012 in file-alist with missing attributes. (Bug#4673)
9013
98d7371e
AM
90142012-02-07 Alan Mackenzie <acm@muc.de>
9015
9016 Fix spurious recognition of c-in-knr-argdecl.
9017
9018 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9019 putative K&R region.
9020
667ced3a
AM
90212012-02-07 Alan Mackenzie <acm@muc.de>
9022
eb864a71
LM
9023 * progmodes/cc-engine.el (c-forward-objc-directive):
9024 Prevent looping in "#pragma mark @implementation".
667ced3a 9025
5b77774d
MA
90262012-02-07 Michael Albinus <michael.albinus@gmx.de>
9027
9028 * notifications.el (notifications-on-closed-signal): Make `reason'
9029 optional. (Bug#10744)
9030
af008560
GM
90312012-02-07 Glenn Morris <rgm@gnu.org>
9032
60d47423
GM
9033 * emacs-lisp/easy-mmode.el (define-minor-mode):
9034 Doc fixes for the macro and the mode it defines.
9035
dd605cc4
GM
9036 * image.el (imagemagick-types-inhibit): Doc fix.
9037
af008560
GM
9038 * cus-start.el (imagemagick-render-type): Add it.
9039
5cc59a37
LI
90402012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9041
4d6769e1
JB
9042 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9043 Set the default at load time, too, so that `font-lock-fontify-buffer'
9044 can be called without setting up the entire mode first. This fixes
9045 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9046
9a6dd747
CY
90472012-02-06 Chong Yidong <cyd@gnu.org>
9048
2d16b285
CY
9049 * simple.el (list-processes--refresh): Delete exited processes
9050 (Bug#8094).
9051
171e9b6e
CY
9052 * comint.el (comint-next-prompt): next-single-char-property-change
9053 and prev-single-char-property-change never return nil (Bug#8657).
9054
9a6dd747
CY
9055 * custom.el (defcustom): Doc fix (Bug#9711).
9056
aa4589a7
CY
90572012-02-05 Chong Yidong <cyd@gnu.org>
9058
5c2a252f
CY
9059 * cus-edit.el (custom-variable-reset-backup): Quote the value
9060 before storing it in the customized-value property (Bug#6712).
4aab9006 9061 (custom-display): Add a customization type tag.
983b9602 9062 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9063
aa4589a7
CY
9064 * wid-edit.el (widget-field-value-get): New optional arg to
9065 suppress trailing whitespace truncation.
9066 (character): Use it (Bug#2689).
9067
1ff980ae
AS
90682012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9069
9070 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9071 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9072
03988c98
CY
90732012-02-05 Chong Yidong <cyd@gnu.org>
9074
eeb6cc88
CY
9075 * cus-edit.el (custom-variable-value-create): For mismatched
9076 types, show the current value (Bug#7600).
9077
03988c98
CY
9078 * custom.el (defcustom): Doc fix.
9079
f8cdeef0
GM
90802012-02-05 Glenn Morris <rgm@gnu.org>
9081
9082 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9083
0696d255
JB
90842012-02-05 Juanma Barranquero <lekktu@gmail.com>
9085
9086 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9087 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9088 (pp-last-sexp): Use `looking-at-p'.
9089
34c99998
GM
90902012-02-04 Glenn Morris <rgm@gnu.org>
9091
8f05da42
GM
9092 * files.el (revert-buffer):
9093 Doc fix (mention revert-buffer-in-progress-p).
9094
f160676e
GM
9095 * emacs-lisp/ert-x.el (ert-simulate-command):
9096 Check deferred-action-list (which is obsolete) is bound.
9097
c7291ad9
GM
9098 * subr.el (with-wrapper-hook): Doc fixes.
9099
34c99998
GM
9100 * simple.el (filter-buffer-substring-functions)
9101 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9102
6283a7d3
LL
91032012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9104
9105 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9106 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9107
e96e3013
LL
91082012-02-04 Leo Liu <sdl.web@gmail.com>
9109
9110 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9111
8ded50f2
GM
91122012-02-04 Glenn Morris <rgm@gnu.org>
9113
82ff1d13
GM
9114 * image.el (image-extension-data): Add obsolete alias.
9115
987a0a16
GM
9116 * isearch.el (isearch-update): Doc fix.
9117
ea32ef46
GM
9118 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9119
8ded50f2
GM
9120 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9121
eea14f31
GM
91222012-02-03 Glenn Morris <rgm@gnu.org>
9123
9124 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9125 (image-animate-timeout): Doc fix.
9126
9127 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9128
12f381b7
GM
91292012-02-02 Glenn Morris <rgm@gnu.org>
9130
953cebf5
GM
9131 * server.el (server-auth-dir): Doc fix.
9132 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9133
12f381b7
GM
9134 * subr.el (run-mode-hooks): Doc fix.
9135
953a8c3b
JL
91362012-02-02 Juri Linkov <juri@jurta.org>
9137
9138 * image-mode.el (image-toggle-display-image): Remove tautological
9139 `major-mode' from the `derived-mode-p' test.
9140
c5d3843c
KH
91412012-02-02 Kenichi Handa <handa@m17n.org>
9142
9f6e692e 9143 * composite.el (compose-region): Cancel previous change.
c5d3843c 9144
159462d4 91452012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9146
9147 * composite.el (compose-region, compose-string): Signal error for
9148 a null string component (Bug#6988).
9149
9f562668
CY
91502012-02-01 Chong Yidong <cyd@gnu.org>
9151
e2cef717
CY
9152 * view.el (view-buffer-other-window, view-buffer-other-frame):
9153 Handle special modes like view-buffer (Bug#10650).
9154 (view-buffer): Simplify.
9155
9f562668
CY
9156 * frame.el (set-frame-font): Tweak meaning of third argument.
9157
9f6e692e
JB
9158 * dynamic-setting.el (font-setting-change-default-font):
9159 Use set-frame-font (Bug#9982).
9f562668 9160
781acb9f
GM
91612012-02-01 Glenn Morris <rgm@gnu.org>
9162
6035be52
GM
9163 * progmodes/compile.el (compilation-internal-error-properties):
9164 Respect compilation-first-column in the "*compilation*" buffer.
9165
781acb9f
GM
9166 * emacs-lisp/easy-mmode.el (define-minor-mode):
9167 Relax :variable's test for a named function.
9168
abbceb00
AM
91692012-01-31 Alan Mackenzie <acm@muc.de>
9170
9171 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9172 off by one error.
9173
fce3fdeb
CY
91742012-01-31 Chong Yidong <cyd@gnu.org>
9175
9176 * frame.el (set-frame-font): New arg ALL-FRAMES.
9177
9178 * menu-bar.el (menu-set-font): Use set-frame-font.
9179
9180 * faces.el (face-spec-reset-face): Don't apply unspecified
9181 attribute values to the default face.
9182
47893581
JB
91832012-01-31 Juanma Barranquero <lekktu@gmail.com>
9184
9185 * progmodes/cwarn.el (cwarn): Remove dead link.
9186 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9187 Remove * from defcustom docstrings.
9188 (turn-on-cwarn-mode): Make obsolete.
9189 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9190 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9191
e58e988a
GM
91922012-01-31 Glenn Morris <rgm@gnu.org>
9193
60dc2671 9194 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9195 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9196 Allow named functions to be used as the cdr of :variable.
e58e988a 9197
7a3f511d
GM
91982012-01-30 Glenn Morris <rgm@gnu.org>
9199
9200 * emacs-lisp/authors.el (authors-fixed-entries):
9201 Remove reference to deleted file rnewspost.el.
9202
cb882333
JB
92032012-01-29 Juanma Barranquero <lekktu@gmail.com>
9204
9205 * window.el (window-with-parameter): Remove unused variable `windows'.
9206 (window--side-check): Remove unused variable `code'.
9207 (window--resize-siblings): Remove unused variable `first'.
9208 (adjust-window-trailing-edge): Remove unused variable `failed'.
9209 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9210 Use `let', not `let*'.
9211 (balance-windows-2): Remove unused variable `found'.
9212 (window--state-put-2): Remove unused variable `splits'.
9213 (window-state-put): Remove unused variable `selected'.
9214 (same-window-p): Use `string-match-p'.
9215 (display-buffer-assq-regexp): Remove unused variable `value'.
9216 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9217 Mark argument ALIST as ignored.
9218 (pop-to-buffer): Remove unused variable `old-window'.
9219
907201af
EZ
92202012-01-29 Eli Zaretskii <eliz@gnu.org>
9221
9222 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9223 and .lzma compressed files.
9224
ea162670
CY
92252012-01-29 Chong Yidong <cyd@gnu.org>
9226
5b95ee8a
CY
9227 * frame.el (window-system-default-frame-alist): Doc fix.
9228
ea162670
CY
9229 * dynamic-setting.el (font-setting-change-default-font): Don't
9230 change the default face if SET-FONT argument is non-nil (Bug#9982).
9231
d6e6f4b1
SB
92322012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9233
9234 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9235
0f29fa41 92362012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9237
9238 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9239 breakpoints in files outside current directory (Bug#6098).
9240
db174434
CY
92412012-01-29 Chong Yidong <cyd@gnu.org>
9242
6b25e4e2
SE
9243 * progmodes/python.el: Require ansi-color at top-level.
9244
6df6ae42
JB
9245 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9246 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9247 (lisp-mode-abbrev-table): Add doc.
9248 (lisp-mode-variables): Don't set local-abbrev-table.
9249 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9250
e70ee681
RW
92512012-01-28 Roland Winkler <winkler@gnu.org>
9252
9253 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9254
ace88aa2
RW
92552012-01-28 Roland Winkler <winkler@gnu.org>
9256
9257 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9258 (bibtex-set-dialect): Use it. Either set global values of
9259 dialect-dependent variables or bind these variables buffer-locally
9260 (Bug#10254).
9261 (bibtex-mode): Call bibtex-set-dialect via
9262 hack-local-variables-hook.
eb864a71
LM
9263 (bibtex-dialect): Update docstring.
9264 Add safe-local-variable predicate.
ace88aa2
RW
9265 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9266 bibtex-set-dialect.
9267 (bibtex-mode-map): Define menu for each dialect.
9268 (bibtex-entry): Fix docstring.
9269
93376c5b
CY
92702012-01-28 Chong Yidong <cyd@gnu.org>
9271
9272 * eshell/esh-arg.el (eshell-quote-argument): New function.
9273
9274 * eshell/esh-ext.el (eshell-invoke-batch-file):
9275 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9276 first arg to eshell-parse-command (Bug#10523).
9277
4372494f
DA
92782012-01-28 Drew Adams <drew.adams@oracle.com>
9279
9280 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9281 `default-directory' is non-nil.
9282
4d4ec1f8
EZ
92832012-01-28 Eli Zaretskii <eliz@gnu.org>
9284
9285 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9286 line that displays system-configuration-options. (Bug#9924)
9287
7c188927
DA
92882012-01-28 Drew Adams <drew.adams@oracle.com>
9289
9290 * descr-text.el (describe-char): Show information about POS, in
9291 addition to information about the character at POS. Improve and
9292 update the doc string. Change "code point" to "code point in
9293 charset", to avoid confusion with the character's Unicode code
9294 point shown above that. (Bug#10129)
9295
e0da685a
EZ
92962012-01-28 Eli Zaretskii <eliz@gnu.org>
9297
9298 * descr-text.el (describe-char): Show the raw character, not only
9299 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9300 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9301 for the reasons.
9302
70550acf
PH
93032012-01-28 Phil Hagelberg <phil@hagelb.org>
9304
eb864a71
LM
9305 * emacs-lisp/package.el (package-install):
9306 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9307
0ce8e868
CY
93082012-01-28 Chong Yidong <cyd@gnu.org>
9309
cb882333
JB
9310 * emacs-lisp/package.el (package-maybe-load-descriptor):
9311 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9312 (package-maybe-load-descriptor): Use it.
9313 (package-download-transaction): Fully load required packages
9314 inside the loop, so that `require' calls work (Bug#10593).
9315 (package-install): No need to call package-initialize now.
9316
2e7f3bea
CY
93172012-01-28 Chong Yidong <cyd@gnu.org>
9318
6e9bad14
CY
9319 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9320
f823b8ca
CY
9321 * tooltip.el (tooltip-mode): Doc fix.
9322 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9323
2680c309
CY
9324 * frame.el (set-cursor-color): Doc fix (Bug#352).
9325
d7a9e63b
CY
9326 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9327 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9328
2e7f3bea
CY
9329 * cus-edit.el (custom-buffer-create-internal): Fix search button
9330 action (Bug#10542).
2ae01800 9331 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9332
fc4f7a23
EW
93332012-01-27 Eduard Wiebe <usenet@pusto.de>
9334
9335 * dired.el (dired-mark-files-regexp):
9336 Include any subdirectory components. (Bug#10445)
9337
7dd37071
ML
93382012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9339
9340 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9341 Handle [host]:port syntax. (Bug#10533)
9342
a268160b
AH
93432012-01-27 Alex Harsanyi <harsanyi@mac.com>
9344
9345 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9346
e43273ef
GM
93472012-01-26 Glenn Morris <rgm@gnu.org>
9348
9349 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9350 * term.el (term-raw-escape-map): Use Control-X-prefix.
9351 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9352
1edf595d
MR
93532012-01-25 Martin Rudalics <rudalics@gmx.at>
9354
9355 * window.el (window-state-get, window--state-get-1): Don't deal
9356 with fixed-sizeness of windows. Simplify code.
9357
fa8eafef
JC
93582012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9359
6df6ae42
JB
9360 * window.el (window--state-get-1, window--state-put-2):
9361 Don't save and restore the mark.
fa8eafef 9362
0b21c100
CY
93632012-01-25 Chong Yidong <cyd@gnu.org>
9364
9365 * custom.el (custom-variable-p): Doc fix.
9366
5ae1a6c8
GM
93672012-01-25 Glenn Morris <rgm@gnu.org>
9368
40047858
GM
9369 * dired.el (dired-goto-file): Handle some of the more common
9370 characters that `ls -b' escapes. (Bug#10596)
9371
5ddce96c
GM
9372 * progmodes/compile.el (compilation-next-error-function):
9373 Respect compilation-first-column in the "*compilation*" buffer.
9374 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9375
5ae1a6c8
GM
9376 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9377
b559f1a9
GM
93782012-01-24 Glenn Morris <rgm@gnu.org>
9379
9380 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9381
6725d21a
JD
93822012-01-24 Julien Danjou <julien@danjou.info>
9383
9384 * color.el (color-rgb-to-hsl): Fix value computing.
9385 (color-hue-to-rgb): New function.
9386 (color-hsl-to-rgb): New function.
9387 (color-clamp, color-saturate-hsl, color-saturate-name)
9388 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9389 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9390
70df4bbe
GM
93912012-01-24 Glenn Morris <rgm@gnu.org>
9392
9393 * vc/vc-rcs.el (vc-rcs-create-tag):
9394 * vc/vc-sccs.el (vc-sccs-create-tag):
9395 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9396
802a2ae2
ML
93972012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9398
9399 * eshell/esh-util.el (eshell-read-hosts-file):
9400 Skip comment lines. (Bug#10549)
9401
d7128bb1
ML
9402 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9403
d1a5c3b4
JB
94042012-01-23 Juanma Barranquero <lekktu@gmail.com>
9405
2724d9c7
JB
9406 * subr.el (display-delayed-warnings): Doc fix.
9407 (collapse-delayed-warnings): New function to collapse identical
9408 adjacent warnings.
9409 (delayed-warnings-hook): Add it.
d1a5c3b4 9410
a5509865
MA
94112012-01-22 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9414
a5509865
MA
9415 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9416 (tramp-default-user-alist): Don't add "pscp".
9417 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9418 property "login-as", if set. (Bug#10530)
9419
cc6d5805
MA
94202012-01-21 Michael Albinus <michael.albinus@gmx.de>
9421
9422 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9423 "plink1" and "psftp". (Bug#10530)
9424
94252012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9426
9427 * international/mule-cmds.el (prefer-coding-system): Show a
9428 warning message if the default value of file-name-coding-system
9429 was not changed.
9430
f0960428
JC
94312012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9432
cb882333
JB
9433 * windmove.el (windmove-reference-loc):
9434 Fix windmove-reference-loc miscalculation.
f0960428 9435
dd6f2a63
JB
94362012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9437
9438 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9439 default unit.
9440
7b447e9b
GM
94412012-01-21 Glenn Morris <rgm@gnu.org>
9442
117a9ea1
GM
9443 * international/mule.el (auto-coding-alist): Add .tbz.
9444
7b447e9b
GM
9445 * files.el (local-enable-local-variables): Doc fix.
9446 (inhibit-local-variables-regexps): Rename from
9447 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9448 Doc fix. Add some extensions from auto-coding-alist.
9449 (inhibit-local-variables-suffixes):
9450 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9451 (inhibit-local-variables-p):
9452 New function, extracted from set-auto-mode-1.
9453 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9454 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9455 (hack-local-variables): Doc fix. Make the mode-only case
9456 respect enable-local-variables and friends.
9457 Respect inhibit-local-variables-regexps for file-locals, but
9458 not for directory-locals.
9459 (set-visited-file-name):
9460 Take account of inhibit-local-variables-regexps.
9461 Whether it applies may change as the file name is changed.
9462 * jka-cmpr-hook.el (jka-compr-install):
9463 * jka-compr.el (jka-compr-uninstall):
9464 Update for inhibit-first-line-modes-suffixes name change.
9465
dd6e3cdd
MR
94662012-01-20 Martin Rudalics <rudalics@gmx.at>
9467
9468 * help-macro.el (make-help-screen): Temporarily restore original
9469 binding for minor-mode-map-alist (Bug#10454).
9470
0d0deb38
JD
94712012-01-19 Julien Danjou <julien@danjou.info>
9472
9473 * color.el (color-name-to-rgb): Use the white color to find the max
9474 color component value and return correctly computed values.
9475 (color-name-to-rgb): Add missing float conversion for max value.
9476
34a02f46
MR
94772012-01-19 Martin Rudalics <rudalics@gmx.at>
9478
9479 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9480 special state value for window-persistent-parameters.
9481 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9482 (window--state-put-2): Reset all window parameters to nil before
9483 assigning values of persistent parameters.
9484
606c44c4
AM
94852012-01-18 Alan Mackenzie <acm@muc.de>
9486
9487 Eliminate sluggishness and hangs in fontification of "semicolon
9488 deserts".
9489
cb882333
JB
9490 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9491 Change value 10000 -> 3000.
606c44c4
AM
9492 (c-state-safe-place): Reformulate so it doesn't stack up an
9493 infinite number of wrong entries in c-state-nonlit-pos-cache.
9494 (c-determine-limit-get-base, c-determine-limit): New functions to
9495 determine backward search limits disregarding literals.
9496 (c-find-decl-spots): Amend commenting.
9497 (c-cheap-inside-bracelist-p): New function which detects "={".
9498
9499 * progmodes/cc-fonts.el
9500 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9501 backward search.
9502 (c-font-lock-declarations): Fix an occurrence of point being
9503 undefined. Check additionally for point being in a bracelist or
9504 near a macro invocation without a semicolon so as to avoid a
9505 fruitless time consuming search for a declarator. Give a more
9506 precise search limit for declarators using the new
9507 c-determine-limit.
9508
f3860cea
GM
95092012-01-18 Glenn Morris <rgm@gnu.org>
9510
9511 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9512 (set-auto-mode): Doc fixes.
9513
1db03b16
GM
95142012-01-17 Glenn Morris <rgm@gnu.org>
9515
0e6038be
GM
9516 * isearch.el (search-nonincremental-instead): Fix doc typo.
9517
1db03b16
GM
9518 * dired.el (dired-insert-directory): Handle newlines in directory name.
9519 (dired-build-subdir-alist): Unescape newlines in directory name.
9520
4cb0aa75
MA
95212012-01-17 Michael Albinus <michael.albinus@gmx.de>
9522
9523 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9524 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9525 (tramp-action-terminal): Use it. (Bug#10530)
9526
1d00653d
SM
95272012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9530
6a6ee00d
MR
95312012-01-16 Martin Rudalics <rudalics@gmx.at>
9532
9533 * window.el (window-state-ignored-parameters): Remove variable.
9534 (window--state-get-1): Rename argument MARKERS to IGNORE.
9535 Handle persistent window parameters. Make copy of clone-of
9536 parameter only if requested. (Bug#10348)
9537 (window--state-put-2): Install a window parameter only if it has
9538 a non-nil value or an existing parameter shall be overwritten.
9539
97912def
MA
95402012-01-15 Michael Albinus <michael.albinus@gmx.de>
9541
9542 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9543
688070a5
EZ
95442012-01-14 Eli Zaretskii <eliz@gnu.org>
9545
9546 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9547 don't pass the (nil) value of `upnode' to string-match.
9548
301afadc
CY
95492012-01-14 Chong Yidong <cyd@gnu.org>
9550
9551 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9552 Fix values recognized by the cursorBlink resource.
301afadc 9553
9e5788aa
PE
95542012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9555
9556 * epg.el (epg--make-temp-file): Avoid permission race condition
9557 when running on old Emacs versions (bug#10403).
9558
3cdb7f5a
GM
95592012-01-14 Glenn Morris <rgm@gnu.org>
9560
9561 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9562
8c82b1b4
AM
95632012-01-13 Alan Mackenzie <acm@muc.de>
9564
9565 Fix filling for when filladapt mode is enabled.
9566
9567 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9568 c-mask-paragraph, pass in `fill-paragraph' rather than
9569 `fill-region-as-paragraph'. (This is a reversion of a previous
9570 change.)
eb864a71
LM
9571 * progmodes/cc-mode.el (c-basic-common-init):
9572 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9573
e517eda4
GM
95742012-01-13 Glenn Morris <rgm@gnu.org>
9575
1498536e
GM
9576 * dired.el (dired-switches-escape-p): New function.
9577 (dired-insert-directory): Use dired-switches-escape-p.
9578 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9579
e517eda4
GM
9580 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9581
328f984d
GM
95822012-01-12 Glenn Morris <rgm@gnu.org>
9583
9584 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9585 changes in adaptive-fill-regexp. (Bug#10276)
9586
2cc769a8
AM
95872012-01-11 Alan Mackenzie <acm@muc.de>
9588
9589 Fix Emacs bug #10463 - put `widen's around the critical spots.
9590
1d00653d 9591 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9592 widen around each invocation of c-state-pp-to-literal. Remove an
9593 unused let variable.
9594
e52c37fa
GM
95952012-01-11 Glenn Morris <rgm@gnu.org>
9596
9597 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9598 Doc fix.
e52c37fa 9599
96f8741e
CY
96002012-01-10 Chong Yidong <cyd@gnu.org>
9601
1d00653d
SM
9602 * net/network-stream.el (network-stream-open-starttls):
9603 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9604 response to the capability command.
9605
b09a806e
GM
96062012-01-10 Glenn Morris <rgm@gnu.org>
9607
9608 * mail/unrmail.el (unrmail): Tweak previous change.
9609
7655cb66
CY
96102012-01-09 Chong Yidong <cyd@gnu.org>
9611
9612 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9613
9d5a8f0b
AM
96142012-01-08 Alan Mackenzie <acm@muc.de>
9615
9616 Optimise font locking in long enum definitions.
9617
9618 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9619 arm to a cond form to handle enums.
9620 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9621 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9622
9a0115ab 96232012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9624
9625 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9626 (Bug#10401)
6bb72cbd 9627
f186bb95
LMI
96282012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9629
29232a68
LMI
9630 * faces.el (set-face-attribute): Clarify the meaning of the nil
9631 frame (bug#10294).
9632
4e5d086d
LMI
9633 * subr.el (with-selected-frame): Mention that the selected frame
9634 is restored (bug#9980).
9635
8e66aebe
LMI
9636 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9637 (bug#9759).
9638
cd394be1 9639 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9640 (password-read): Don't autoload unused function.
9641
adf4e762
JB
96422012-01-07 Juanma Barranquero <lekktu@gmail.com>
9643
9644 * progmodes/which-func.el (which-func-mode): Turn into a
9645 non-interactive function and mark as obsolete (bug#10428).
9646
89bd9ccd
CY
96472012-01-06 Chong Yidong <cyd@gnu.org>
9648
9649 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9650 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9651 functions, along with 1 and -1.
9652
4afee9d5
EZ
96532012-01-06 Eli Zaretskii <eliz@gnu.org>
9654
9655 * time.el (display-time-load-average)
9656 (display-time-default-load-average): Doc fixes. See the thread
9657 starting at
9658 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9659 for the details.
9660
536aea70
GM
96612012-01-06 Glenn Morris <rgm@gnu.org>
9662
665ae865
GM
9663 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9664 has no messages. (Bug#10377)
9665
c869783d
GM
9666 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9667 than Info-edit. (Bug#10385)
9668
2bb4227e
GM
9669 * time.el (display-time-load-average, display-time-next-load-average):
9670 Doc fixes.
9671
7d5944b9
GM
9672 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9673 local setting of buffer-read-only to the input buffer. (Bug#10419)
9674
536aea70
GM
9675 * calendar/calendar.el (calendar-mode):
9676 Locally set scroll-margin to 0. (Bug#10379)
9677
7dccca16
UM
96782012-01-06 Ulrich Mueller <ulm@gentoo.org>
9679
9680 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9681
afbb7930
GM
96822012-01-05 Glenn Morris <rgm@gnu.org>
9683
9684 * eshell/em-unix.el (diff-no-select): Autoload it.
9685 (eshell/diff): Use diff-no-select. (Bug#10420)
9686
04482335
CY
96872012-01-05 Chong Yidong <cyd@gnu.org>
9688
7baca3bc
CY
9689 * shell.el (shell-dynamic-complete-functions): Revert last change.
9690 (shell-command-completion-function): New function.
9691 (shell-completion-vars): Use it to implement
9692 shell-completion-execonly (Bug#10417).
9693
04482335
CY
9694 * custom.el (enable-theme): Don't set custom-safe-themes.
9695
1d00653d
SM
9696 * cus-theme.el (custom-theme-merge-theme):
9697 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9698
bb5aa5d6
MM
96992012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9700
9701 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9702 first prompt in `sql-interacive-mode'.
9703 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9704 keywords.
6df6ae42 9705 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9706 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9707 context of original buffer. Invoke `sql-login-hook'.
9708
a7183d7c
EZ
97092012-01-04 Eli Zaretskii <eliz@gnu.org>
9710
9711 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9712 letters in cite-prefix.
9713
a1eacd1e
LMI
97142012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9715
9716 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9717
787cdb34
CY
97182012-01-03 Chong Yidong <cyd@gnu.org>
9719
1d00653d
SM
9720 * shell.el (shell-dynamic-complete-functions):
9721 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9722 comint-filename-completion first (Bug#10417).
9723
30710442
RS
97242012-01-02 Richard Stallman <rms@gnu.org>
9725
9726 * battery.el (battery-status-function):
9727 Detect when to use battery-yeeloong-sysfs.
9728 (battery-echo-area-format): Add string for Yeeloong.
9729 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9730 (battery-yeeloong-sysfs): New function.
9731
f75bfc33
CY
97322012-01-02 Chong Yidong <cyd@gnu.org>
9733
9734 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9735 (dirtrack): Merge code for handling relative filenames in prompt
9736 from shell-dir-cookie-watcher.
9737 (dirtrack-debug-message): New arg to avoid excess format calls.
9738
9739 * shell.el (shell-dir-cookie-re): Variable deleted.
9740 (shell-dir-cookie-watcher): Function deleted.
9741 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9742 with dirtrack-mode.
9743
651e947e
EZ
97442012-01-01 Eli Zaretskii <eliz@gnu.org>
9745
1d00653d
SM
9746 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9747 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9748 libgnutls-26.dll.
9749
94d4c7dc
AS
97502011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9751
9752 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9753
8d43f3cd
EZ
97542011-12-31 Eli Zaretskii <eliz@gnu.org>
9755
9756 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9757 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9758
98c8795a
MA
97592011-12-29 Michael Albinus <michael.albinus@gmx.de>
9760
9761 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9762 also for alternative shells.
9763 (tramp-open-connection-setup-interactive-shell): Check, whether
9764 the shell is a busybox.
9765 (tramp-send-command): Don't suppress multiple prompts for
9766 busyboxes, it hurts.
9767
51281b32
CY
97682011-12-28 Chong Yidong <cyd@gnu.org>
9769
9770 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9771 (gdb-get-source-file): Move mode line update to
9772 gdb-get-source-file (Bug#10087).
9773
2170cb53
CY
97742011-12-25 Chong Yidong <cyd@gnu.org>
9775
9776 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9777 gud-gdb-marker-filter without taking it as an argument.
9778 (gud-gdb-run-command-fetch-lines): Caller changed.
9779 (gud-gdb-completion-function): New variable.
9780 (gud-gdb-completion-at-point): Use it.
9781 (gud-gdb-completions-1): Split from gud-gdb-completions.
9782
9783 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9784 function as separate arguments.
9785 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9786 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9787 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9788 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9789 (gdb-stopped, def-gdb-auto-update-trigger)
9790 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9791 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9792 Callers changed.
2170cb53
CY
9793 (gud-gdbmi-completions): New function.
9794 (gdb): Use it for generating the completion table.
9795
be8b11bb
AM
97962011-12-24 Alan Mackenzie <acm@muc.de>
9797
9798 Introduce a mechanism to widen the region used in context font
1d00653d 9799 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9800
1d00653d
SM
9801 * progmodes/cc-langs.el (c-before-font-lock-functions):
9802 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9803 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9804 functions to be run just before context (etc.) font locking.
9805
9806 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9807 New, functionality extracted from
be8b11bb 9808 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9809 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9810 (c-after-change): Set c-in-after-change-fontification.
9811 (c-set-fl-decl-start): Rejig its interface, so it can be called
9812 from both after-change and context fontifying.
b81d40f0
JB
9813 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9814 New functions.
9815 (c-standard-font-lock-fontify-region-function): New variable.
9816 (c-font-lock-fontify-region): New function.
be8b11bb 9817
341cf6ac
JL
98182011-12-24 Juri Linkov <juri@jurta.org>
9819
9820 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9821 (Bug#10348)
9822
bffcee0a
MA
98232011-12-23 Michael Albinus <michael.albinus@gmx.de>
9824
9825 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9826 existence of source file. (Bug#10325)
9827
cb5e207c
AM
98282011-12-23 Alan Mackenzie <acm@muc.de>
9829
9830 Fix unstable fontification inside templates.
9831
b81d40f0
JB
9832 * progmodes/cc-langs.el (c-before-font-lock-functions):
9833 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9834 additionally has c-set-fl-decl-start. The other languages (apart
9835 from AWK) have that as a single entry.
9836
b81d40f0
JB
9837 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9838 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9839 c-set-fl-decl-start.
9840
b81d40f0
JB
9841 * progmodes/cc-mode.el (c-common-init, c-after-change):
9842 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9843 (c-set-fl-decl-start): New function, extracted from
9844 c-font-lock-enclosing-decls and enhanced.
9845
60ff536c
JB
98462011-12-23 Juanma Barranquero <lekktu@gmail.com>
9847
9848 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9849
1c4757d6
JL
98502011-12-22 Juri Linkov <juri@jurta.org>
9851
9852 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9853
d031f2c7
CY
98542011-12-22 Chong Yidong <cyd@gnu.org>
9855
9856 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9857
bace743a
DA
98582011-12-21 Drew Adams <drew.adams@oracle.com>
9859
9860 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9861
728a1f2b
JC
98622011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9863
9864 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9865
0d373f73
TZ
98662011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9867
fec0aaa4
TZ
9868 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9869 highlighting and support. Fix up comments for capitalization.
9870 (cfengine-mode-debug): New var.
9871 (cfengine3-mode): Change the modeline indicator to "CFE3".
9872 (cfengine3-font-lock-keywords): Improve defun highlighting.
9873 (cfengine2-actions): Rename from `cfengine-actions'.
9874 (cfengine2-font-lock-keywords): Rename from
9875 `cfengine-font-lock-keywords'.
9876 (cfengine2-imenu-expression): Rename from
9877 `cfengine-imenu-expression'.
9878 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9879 (cfengine2-beginning-of-defun): Rename from
9880 `cfengine-beginning-of-defun'.
9881 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9882 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9883 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9884 modeline indicator to "CFE2".
9885 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9886 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9887
bc86f573
CY
98882011-12-21 Chong Yidong <cyd@gnu.org>
9889
9890 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9891 filename argument.
9892
d45ba96b
MR
98932011-12-20 Martin Rudalics <rudalics@gmx.at>
9894
9895 * window.el (window-normalize-buffer-to-display): Remove.
9896 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9897
a6198c90
CY
98982011-12-19 Chong Yidong <cyd@gnu.org>
9899
9900 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9901 Don't signal an error in a predicate function; return non-nil.
9902 (vc-dir-mark-file): Move the error here.
9903 (vc-dir-mark-unmark): If acting on the region, keep going if one
9904 of the entries cannot be marked/unmarked.
9905 (vc-dir-mark-all-files): If current entry is a directory, mark
9906 only child files, as documented.
9907
34c5fb55
VB
99082011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9909
9910 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9911 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9912 addition.
9913
c803b2b7
JD
99142011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9915
9916 * term/ns-win.el (ns-get-selection-internal)
9917 (ns-store-selection-internal): Declare.
1154d12e
JB
9918 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9919 Declare as obsolete.
9920 (ns-get-pasteboard, ns-paste-secondary):
9921 Use ns-get-selection-internal.
41e9b956 9922 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 9923 Use ns-store-selection-internal.
c803b2b7 9924
9cff91f8 99252011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9926
9927 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9928 (vc-deduce-fileset): Doc fix.
99a289d9 9929
f16c898a
AS
99302011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9931
9932 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9933
763237c4
SS
99342011-12-13 Sam Steingold <sds@gnu.org>
9935
9936 * man.el (Man-getpage-in-background): When running under a
9937 window-system, ignore $MANWIDTH and $COLUMNS.
9938
5fc1c122
KH
99392011-12-15 Kenichi Handa <handa@m17n.org>
9940
9941 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9942 (setup-ethiopic-environment-internal): Comment out key-binding for
9943 ethio-toggle-punctuation.
9944
13d49cbb
AM
99452011-12-13 Alan Mackenzie <acm@muc.de>
9946
898169a2
AM
9947 Add the switch statement to AWK Mode.
9948
7a71b18d 9949 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9950 "default" to the keywords regexp.
9951
7a71b18d 9952 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9953 expression as the rest.
1d00653d
SM
9954 (c-nonlabel-token-key): Allow string literals for AWK.
9955 Refactor for the other modes.
898169a2 9956
13d49cbb 9957 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9958 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9959 routines. Limit backward searching in c-font-lock-enclosing.decl.
9960
9961 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9962 pp-state and literal type in addition to the limits.
1d00653d 9963 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9964 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9965 (c-slow-in-literal, c-fast-in-literal): Remove.
9966 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9967
9968 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9969 being in a literal. Add a limit for backward searching.
9970
9971 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9972 c-slow-in-literal.
9973
15e0efc7
SM
99742011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9977
454592a6
MR
99782011-12-13 Martin Rudalics <rudalics@gmx.at>
9979
9980 * window.el (delete-other-windows): Use correct frame in call to
9981 window-with-parameter.
9982
87393f26
DP
99832011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9984
9985 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9986 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9987 (makefile-gmake-statements, makefile-makepp-statements):
9988 Use it and add new makepp keywords.
9989 (makefile-makepp-font-lock-keywords): Add new patterns.
9990 (makefile-match-function-end): Match new [...] and [[...]].
9991
11636b22
JB
99922011-12-11 Juanma Barranquero <lekktu@gmail.com>
9993
9994 * ses.el (ses-call-printer-return, ses-cell-property-get)
9995 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9996 (ses-create-cell-variable, ses-reset-header-string)
9997 (ses-cell-set-formula, ses-repair-cell-reference-all)
9998 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9999 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10000 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10001 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10002 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10003 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10004 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10005 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10006 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10007 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10008 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10009 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10010
cf018193
VB
100112011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10012
10013 * ses.el: The overall change is to add cell renaming, that is
10014 setting fancy names for cell symbols other than name matching
10015 "\\`[A-Z]+[0-9]+\\'" regexp .
10016 (ses-create-cell-variable): New defun.
10017 (ses-relocate-formula): Relocate formulas only for cells the
10018 symbols of which are not renamed, i.e. symbols whose names do not
10019 match regexp "\\`[A-Z]+[0-9]+\\'".
10020 (ses-relocate-all): Relocate values only for cells the symbols of
10021 which are not renamed.
10022 (ses-load): Create cells variables as the (ses-cell ...) are read,
10023 in order to check row col consistency with cell symbol name only
10024 for cells that are not renamed.
10025 (ses-replace-name-in-formula): New defun.
10026 (ses-rename-cell): New defun.
10027
ee957461
CY
100282011-12-11 Chong Yidong <cyd@gnu.org>
10029
10030 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10031 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10032
9a9e9ef0
MR
100332011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10034
10035 * window.el (other-window): Fix docstring.
10036
92a8eba5
EZ
100372011-12-10 Eli Zaretskii <eliz@gnu.org>
10038
10039 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10040 `from' or `to' address before taking its substring.
10041 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10042 encoded name is chopped in the middle of the encoded string, and
10043 thus displayed encoded.
10044
e152e577
JB
100452011-12-10 Juanma Barranquero <lekktu@gmail.com>
10046
10047 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10048
e5d84bfe
EZ
100492011-12-10 Eli Zaretskii <eliz@gnu.org>
10050
10051 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10052 to use texinfo-update-node and commands that call it if the
10053 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10054 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10055 (texinfo-all-menus-update, texinfo-master-menu)
10056 (texinfo-update-node, texinfo-every-node-update)
10057 (texinfo-multiple-files-update): Doc fix. Warn against updating
10058 all the @node lines.
10059 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10060 argument is numeric. Explain better in the doc string what the
10061 function really does.
10062 (texinfo-insert-master-menu-list): Improve the error message
10063 displayed if there's no menu in the Top node.
10064 (Bug#2975) See also this thread:
e5d84bfe
EZ
10065 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10066
1d84e9bb
MG
100672011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10068
10069 * speedbar.el (speedbar-supported-extension-expressions):
10070 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10071
382c953b
JB
100722011-12-09 Juanma Barranquero <lekktu@gmail.com>
10073
10074 * printing.el (pr-mode-alist):
10075 * simple.el (filter-buffer-substring-functions)
10076 (completion-list-insert-choice-function):
10077 * window.el (window-with-parameter, window-atom-root)
10078 (window-sides-slots, window-size-fixed, window-min-delta)
10079 (window-max-delta, window--resize-mini-window)
10080 (window--resize-child-windows-normal, window-tree)
10081 (delete-other-windows, quit-window, split-window)
10082 (display-buffer-record-window, special-display-buffer-names)
10083 (special-display-regexps, special-display-popup-frame)
10084 (same-window-p, split-window-sensibly)
10085 (display-buffer-overriding-action, display-buffer-alist)
10086 (display-buffer-base-action, display-buffer, switch-to-buffer)
10087 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10088 (fit-window-to-buffer, recenter-positions)
10089 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10090 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10091 and remove unneeded backslashes in docstrings.
10092
39c9faef
SM
100932011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10094
98449af8
SM
10095 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10096
39c9faef
SM
10097 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10098 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10099 end in ".mk".
10100 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10101 when reading the makefile (bug#10116).
10102
86ed9fdc
SM
101032011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10106 (bug#10116).
10107
5580f89d
GM
101082011-12-06 Glenn Morris <rgm@gnu.org>
10109
10110 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10111
28d3917c
CY
101122011-12-06 Chong Yidong <cyd@gnu.org>
10113
10114 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10115
a98edce9
JB
101162011-12-06 Juanma Barranquero <lekktu@gmail.com>
10117
10118 * textmodes/table.el (table-shorten-cell): Fix typo.
10119
e65adfac
CG
101202011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10121
10122 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10123
71cc0b74
EZ
101242011-12-05 Eli Zaretskii <eliz@gnu.org>
10125
10126 * descr-text.el (describe-char): Fix display of strong
10127 right-to-left characters and directional embeddings and overrides.
10128
10129 * simple.el (what-cursor-position): Fix display of codepoints of
10130 strong right-to-left characters.
10131
315bc30d
CY
101322011-12-05 Chong Yidong <cyd@gnu.org>
10133
10134 * faces.el (read-color): Doc fix.
10135
58a70b94
GM
101362011-12-05 Glenn Morris <rgm@gnu.org>
10137
10138 * align.el (align--set-marker): Add doc-string.
10139 Don't try to move something that is not a marker. (Bug#10216)
10140
5158face
GM
101412011-12-04 Glenn Morris <rgm@gnu.org>
10142
10143 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10144 overly zealous deletion of trailing whitespace.
10145
520fca41
JB
101462011-12-04 Juanma Barranquero <lekktu@gmail.com>
10147
10148 * server.el (server-delete-client): On Windows, do not try to delete
10149 the only terminal.
10150 (server-process-filter): On Windows, treat requests for a tty frame as
10151 if they were for a GUI frame if the running server is in GUI mode.
10152
5e605a2e
GM
101532011-12-03 Glenn Morris <rgm@gnu.org>
10154
10155 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10156
5c3fe83f
SM
101572011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10158
6f5e57e7
SM
10159 * electric.el: Streamline electric-indent's hook.
10160 (electric-indent-chars): Revert to simple list.
10161 (electric-indent-functions): New var.
10162 (electric-indent-post-self-insert-function): Use it.
10163
5c3fe83f
SM
10164 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10165 there's no inferior buffer (bug#10196).
10166 (prolog-consult-compile): Don't use toggle-read-only.
10167
6bdac736
MA
101682011-12-02 Michael Albinus <michael.albinus@gmx.de>
10169
10170 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10171 interrupt. (Bug#10187)
10172
6131ba7f
SM
101732011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10174
99c79fee
SM
10175 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10176 (bug#9160).
10177
6131ba7f
SM
10178 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10179 (bug#10191).
10180
cb0a02ea
JL
101812011-12-02 Juri Linkov <juri@jurta.org>
10182
10183 * info.el (Info-search): Display "end of manual" when Isearch
10184 reaches the end of single-file Info manual. (Bug#9918)
10185
66e0570c
EZ
101862011-12-02 Eli Zaretskii <eliz@gnu.org>
10187
10188 * isearch.el (isearch-message-prefix): Run the input method part
10189 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10190
02b16839
JL
101912011-12-02 Juri Linkov <juri@jurta.org>
10192
10193 * isearch.el (isearch-occur): Use `word-search-regexp' for
10194 `isearch-word'.
10195 (isearch-search-and-update): Add condition for `isearch-word' and
10196 call `word-search-regexp'. (Bug#10145)
10197
0b950688
GM
101982011-12-01 Glenn Morris <rgm@gnu.org>
10199
10200 * eshell/em-hist.el (eshell-hist-initialize):
10201 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10202 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10203
9505c3c7
SM
102042011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10207
1bbe96b2 102082011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10209
a1beca85
SM
10210 * progmodes/verilog-mode.el (verilog-pretty-expr):
10211 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10212 verilog, such as += *= and the like.
10213 (verilog-assignment-operator-re): Regular expression to find the
10214 assigment operator in a verilog assignment.
10215 (verilog-assignment-operation-re): Regular expression to find an
10216 assignment statement for pretty-expr.
10217 (verilog-in-attribute-p): Query returns true if point is in an
10218 attribute context; used to skip these for expression line up from
10219 pretty-expr.
10220 (verilog-in-parameter-p): Query returns true if point is in an
10221 parameter definition context; used to skip these for expression
10222 line up from pretty-expr.
10223 (verilog-in-parenthesis-p): Query returns true if point is in a
10224 parenthetical expression, specifically ( ) but not [ ] or { };
10225 used by pretty-expr.
10226 (verilog-just-one-space): If there is no space, don't add one.
10227 (verilog-get-lineup-indent-2): Specifically skip just attribute
10228 contexts for expression lineup, rather than skipping all
10229 parenthetical expressions.
10230 (verilog-calculate-indent): Fix comment, and fix indent.
10231 (verilog-do-indent): Indent declarations in lists (suggested by
10232 Joachim Lechner).
10233 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10234 skeleton items.
10235 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10236 by Alain Mellan).
10237
1bbe96b2 102382011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10239
10240 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10241 parameters with embedded comments. Reported by Ray Stevens.
10242 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10243 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10244 Reported by Tim Holt.
10245 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10246 instantiated by upper module causing wrong expansion until AUTOed a
10247 second time. Reported by K C Buckenmaier.
10248 (verilog-diff-auto): Fix showing .* as a difference when
10249 `verilog-auto-star-save' off. Reported by Dan Dever.
10250 (verilog-auto-reset, verilog-read-always-signals)
10251 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10252 temporary signals in reset list if
10253 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10254 style to each signal's assignment type, bug381.
10255 Reported by Thomas Esposito.
6288f0ca
WS
10256 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10257 (verilog-uvm-statement-re): Support UVM indentation and
10258 highlighting, with old OVM keywords only.
a1beca85 10259 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10260 Support AUTOTIEOFF creating non-wire data types.
10261 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10262 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10263 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10264 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10265 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10266 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10267 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10268 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10269 non-numeric vector width. Reported by Alex Reed.
10270 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10271 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10272 (verilog-auto-delete-trailing-whitespace):
10273 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10274 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10275 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10276 Fix verilog-scan-cache corruption when running user AUTO expansion
10277 hooks that call indentation routines.
10278 (verilog-simplify-range-expression): Fix typo ignoring lower case
10279 identifiers.
10280 (verilog-delete-auto): Fix delete-autos to also remove user created
10281 automatics, as long as they start with AUTO.
10282 (verilog-batch-diff-auto, verilog-diff-auto)
10283 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10284 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10285 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10286 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10287 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10288 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10289 is disabled and its cache will get corrupt, causing AUTOS not to
10290 expand. Instead use only -quick functions.
10291 (verilog-scan-region): Fix scanning over escaped quotes.
10292 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10293 (verilog-re-search-backward-quick)
10294 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10295 related functions now ignore strings, to fix misparsing of strings
10296 with magic comments embedded in them.
a1beca85
SM
10297 (verilog-read-auto-template):
10298 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10299 Reported by Brad Dobbie.
10300 (verilog-read-auto-template):
10301 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10302 Reported by Brad Dobbie.
6288f0ca
WS
10303 (verilog-auto-inst, verilog-auto-inst-param)
10304 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10305 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10306 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10307 debugging templates without merge conflicts, bug357.
10308 Reported by Brad Dobbie.
10309 (verilog-read-auto-template):
10310 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10311 Reported by Brad Dobbie.
10312 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10313 abbrevs so user won't be asked to save.
10314 (verilog-read-auto-lisp-present): Fix to start at beginning of
10315 buffer in case called outside of verilog-auto.
10316 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10317 to "X-2". Reported by Matthew Myers.
10318 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10319 all inputs from module templates. Reported by Leith Johnson.
10320 (verilog-module-inside-filename-p): Fix locating programs as with
10321 modules.
10322 (verilog-auto-inst-port): Fix vl-width expressions when using
10323 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10324 (verilog-decls-get-regs, verilog-decls-get-signals,
10325 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10326 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10327 verilog-read-decls): Combine reg and wire structures into one var
10328 structure to represent SystemVerilog concepts.
10329 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10330 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10331 (verilog-auto-wire-type, verilog-insert-definition):
10332 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10333 SystemVerilog "logic" keyword instead of "wire"/"reg".
10334 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10335 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10336 ifdef or generate if so there's not a driver conflict).
10337 Reported by Matthew Myers.
10338 (verilog-auto-declare-nettype, verilog-insert-definition):
10339 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10340 `default_nettype none. Reported by Julian Gorfajn.
10341 (verilog-read-always-signals-recurse, verilog-read-decls)
10342 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10343 malformed end statement, bug325. Reported by Joshua Wise and
10344 Andrew Drake.
10345 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10346 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10347 when expanding .* in interfaces, bug320.
10348 Reported by Pierre-David Pfister.
6288f0ca 10349 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10350 name and open parenthesis, bug317.
10351 Reported by Pierre-David Pfister.
6288f0ca
WS
10352 (verilog-simplify-range-expression): Fix simplification of
10353 multiplications inside AUTOWIRE connections, bug303.
10354 (verilog-auto-inst-port): Support parameter expansion in
10355 multidimensional arrays.
10356 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10357 after "assert property". Reported by Julian Gorfajn.
10358 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10359 with multiplication, bug303.
10360 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10361 Reported by Jan Frode Lonnum.
10362
1bbe96b2
GM
103632011-11-30 Juanma Barranquero <lekktu@gmail.com>
10364
10365 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10366 (hfy-shell-file-name, hfy-shell):
10367 * international/fontset.el (x-decompose-font-name): Fix typos.
10368
103692011-11-29 Ken Brown <kbrown@cornell.edu>
10370
10371 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10372 (gdb-version): Remove defvar.
10373 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10374 (gdb-gud-context-command, gdb-non-stop-handler)
10375 (gdb-current-context-command, gdb-stopped): Use it.
10376 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10377 (gdb-non-stop-handler): Don't enable pretty-printing here.
10378 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10379 non-stop mode. Use the following.
10380 (gdb-check-target-async): New defun.
10381 (gud-watch, gdb-stopped): Fix whitespace.
10382 (gdb-get-source-file): Don't try to display the source file if
10383 `gdb-main-file' is nil.
10384
103852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10386
10387 * align.el: Try to generate fewer markers (bug#10047).
10388 (align--set-marker): New macro.
10389 (align-region): Use it.
10390
c935221f
SM
103912011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10394
e70b5064
CY
103952011-11-29 Chong Yidong <cyd@gnu.org>
10396
10397 * indent.el (indent-for-tab-command, indent-according-to-mode):
10398 Doc fix.
10399 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10400
f3af92b7
MA
104012011-11-29 Michael Albinus <michael.albinus@gmx.de>
10402
10403 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10404 aware of remote file names. (Bug#10124)
10405
ed472be9
CY
104062011-11-29 Chong Yidong <cyd@gnu.org>
10407
10408 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10409
24510c22
SM
104102011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10411
10412 * files.el (find-file): Don't use force-same-window (bug#10144).
10413 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10414 use pop-to-buffer if the selected window can't be used.
10415 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10416
c60c3703
EZ
104172011-11-28 Eli Zaretskii <eliz@gnu.org>
10418
10419 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10420 special-mode-map.
10421
e95def75
CY
104222011-11-28 Chong Yidong <cyd@gnu.org>
10423
10424 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10425
c3f1c606
NR
104262011-11-27 Nick Roberts <nickrob@snap.net.nz>
10427
10428 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10429 gdb-get-source-file-list on gdb-create-source-file-list.
10430
00db469c
EZ
104312011-11-26 Eli Zaretskii <eliz@gnu.org>
10432
10433 * whitespace.el (whitespace-newline): Use a different foreground
10434 color for 16-color light-background displays.
10435
4ad3bc2a
CY
104362011-11-24 Chong Yidong <cyd@gnu.org>
10437
10438 * window.el (display-buffer--special-action): Doc fix.
10439
e9fce1ac
JB
104402011-11-25 Juanma Barranquero <lekktu@gmail.com>
10441
10442 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10443 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10444 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10445 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10446 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10447 (avl-tree-stack-first):
10448 * emacs-lisp/cconv.el (cconv--analyse-use):
10449 * net/gnutls.el (gnutls-negotiate): Fix typos.
10450
cb825e5d
GM
104512011-11-24 Glenn Morris <rgm@gnu.org>
10452
3adbe224
GM
10453 * lpr.el (lpr-windows-system, lpr-lp-system):
10454 * mail/binhex.el (binhex-begin-line):
10455 * progmodes/grep.el (grep-history, grep-find-history):
10456 * textmodes/flyspell.el:
10457 * vc/pcvs-defs.el (cvs-global-menu):
10458 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10459 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10460 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10461
321decc8
GM
10462 * net/tls.el: Fix case of "GnuTLS".
10463
420b63ad
GM
10464 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10465
cb825e5d
GM
10466 * version.el (emacs-build-system): Give it a doc-string.
10467
a0649f08
JL
104682011-11-24 Juri Linkov <juri@jurta.org>
10469
10470 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10471
c0bc0fd4
GM
104722011-11-24 Glenn Morris <rgm@gnu.org>
10473
10474 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10475 if called on a non-mime message just toggle the headers. (Bug#8006)
10476
20db1522
JB
104772011-11-24 Juanma Barranquero <lekktu@gmail.com>
10478
10479 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10480 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10481 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10482 (allout-rebullet-heading, allout-open-sibtopic)
10483 (allout-toggle-current-subtree-encryption)
10484 (allout-toggle-subtree-encryption, allout-encrypt-string)
10485 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10486 (allout-distinctive-bullets-string, allout-auto-activation):
10487 * window.el (window-normalize-buffer-to-display):
10488 * progmodes/verilog-mode.el (verilog-batch-indent):
10489 * textmodes/bibtex.el (bibtex-field-braces-opt)
10490 (bibtex-field-strings-opt):
10491 * vc/cvs-status.el (cvs-tree-merge):
10492 Fix typos.
10493
7262a87c
MA
104942011-11-23 Michael Albinus <michael.albinus@gmx.de>
10495
10496 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10497 `non-essential' to t, in order to avoid remote connections.
10498
283430a1
EZ
104992011-11-23 Eli Zaretskii <eliz@gnu.org>
10500
a1beca85
SM
10501 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10502 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10503 case-insensitively.
10504
d2992a38
ML
105052011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10506
10507 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10508
50419064
GM
105092011-11-23 Glenn Morris <rgm@gnu.org>
10510
da94eca1
GM
10511 * paths.el (rmail-file-name): Reformat the doc-string so that it
10512 is picked up.
10513
9aac4de2
GM
10514 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10515 (rmail-auto-file): Ignore case in the "special" field names,
10516 as mail-fetch-field does for all others.
10517
8038d2d2
GM
10518 * mail/rmail.el (rmail-forward):
10519 * mail/rmailkwd.el (rmail-set-label):
10520 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10521 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10522
f3fe222a
GM
10523 * mail/rmail.el (rmail-current-message): Doc fix.
10524
50419064
GM
10525 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10526
28109f49
SM
105272011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10530
394c65f1
GM
105312011-11-22 Glenn Morris <rgm@gnu.org>
10532
10533 * mail/rmailmm.el (test-rmail-mime-handler)
10534 (test-rmail-mime-bulk-handler)
10535 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10536
f2a0aa3a
JL
105372011-11-21 Juri Linkov <juri@jurta.org>
10538
1154d12e
JB
10539 * calc/calc.el (calc-read-key-sequence):
10540 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10541
9c34a344
LMI
105422011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10543
10544 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10545 Tell the caller that the next line needs recomputation, even
10546 though it doesn't start a sexp (bug#10094).
10547
f04a3be9
SM
105482011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10551
7978747f
SM
105522011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10553
f04a3be9
SM
10554 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10555 Use force-same-window.
7978747f 10556
fe7a3057
JB
105572011-11-20 Juanma Barranquero <lekktu@gmail.com>
10558
10559 * descr-text.el (describe-char-unicode-data):
10560 * json.el (json-string-escape):
10561 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10562 (Footnote-unicode, Footnote-style-p):
10563 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10564
24901d61
CY
105652011-11-20 Chong Yidong <cyd@gnu.org>
10566
10567 * window.el (replace-buffer-in-windows): Restore interactive spec.
10568
bac7ff22
SM
105692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10570
24f3d7b9
SM
10571 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10572
bac7ff22
SM
10573 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10574 (byte-compile-global-not-obsolete-vars): New var.
10575 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10576 Use it.
10577 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10578
cd1181db
JB
105792011-11-20 Juanma Barranquero <lekktu@gmail.com>
10580
10581 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10582 * progmodes/pascal.el (electric-pascal-equal):
10583 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10584 * xml.el (xml-substitute-special): Fix typos.
10585
7fb18e9e
GM
105862011-11-20 Glenn Morris <rgm@gnu.org>
10587
10588 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10589 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10590 Doc fixes.
10591 (rmail-decode-mime-charset): Mark as obsolete.
10592
10593 * mail/rmailsum.el (rmail-message-regexp-p-1):
10594 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10595 Before using mime functions, check they are set. (Bug#10077)
10596
d5a6b3ba
JL
105972011-11-19 Juri Linkov <juri@jurta.org>
10598
10599 * info.el (Info-finder-find-node): Use `package--builtins' instead
10600 of `package-alist'. Use node names formed by the pattern "Keyword "
10601 and the keyword name.
10602
e981b61f
AS
106032011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10604
1d00653d 10605 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10606
3ffbc301
JL
106072011-11-19 Juri Linkov <juri@jurta.org>
10608
10609 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10610 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10611 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10612 `old-history', `old-history-forward'. Add let-binding
10613 `window-selected'. Remove calls to `kill-buffer',
10614 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10615 before calling `Info-find-node', so `Info-find-node-2' will reread
10616 the Info file. Restore window positions only when `window-selected'
10617 is non-nil.
10618
30c62133
JL
106192011-11-19 Juri Linkov <juri@jurta.org>
10620
10621 * isearch.el (isearch-lazy-highlight-new-loop):
10622 Remove condition `(not isearch-error)'. (Bug#9918)
10623
10624 * misearch.el (multi-isearch-search-fun): Add condition
10625 `(not bound)' to ignore lazy-highlighting search.
10626 Add the search-failed message "end of multi" when the end of
10627 multi-sequence is reached. Uncapitalize the search-failed
10628 message "Repeat for next buffer".
10629
10630 * info.el (Info-search): Add the search-failed message
10631 "end of the manual" when the end of the manual is reached
10632 in Isearch mode.
10633
645ca9cf
JL
106342011-11-19 Juri Linkov <juri@jurta.org>
10635
10636 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10637 Use non-destructive `remove' instead of `delete' because
10638 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10639 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10640
df754f66
JL
106412011-11-19 Juri Linkov <juri@jurta.org>
10642
10643 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10644 to nil instead of binding `search-ring' and `regexp-search-ring'.
10645 (Bug#9185)
10646
0e23d96a
EZ
106472011-11-19 Eli Zaretskii <eliz@gnu.org>
10648
10649 * simple.el (line-move): Force movement by logical lines for any
10650 hscrolled window, not only when auto-hscroll-mode is on.
10651 (line-move-visual): Update doc string to that effect. (Bug#10076)
10652
8a6ccb66
AS
106532011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10654
10655 * language/european.el (macintosh): Define as alias for mac-roman.
10656
49ae5b39
EZ
106572011-11-19 Eli Zaretskii <eliz@gnu.org>
10658
10659 * mail/rmailmm.el (rmail-mime-display-header)
10660 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10661 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10662 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10663 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10664 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10665 of a raw aref.
10666 (rmail-mime-entity-segment): To get past the tagline, move forward
10667 2 more lines, to account for the 2 empty lines that precede and
10668 follow the line with the buttons.
10669 (rmail-mime-update-tagline): Move one more line, to get past the
10670 empty line that follows the buttons in the tagline. (Bug#9520)
10671
c56cad4a
MR
106722011-11-19 Martin Rudalics <rudalics@gmx.at>
10673
10674 * window.el (window-max-delta-1, window-min-delta-1)
10675 (window-min-size-1, window-state-get-1, window-state-put-1)
10676 (window-state-put-2): Use "window--" prefix.
10677
cbe71af3
SM
106782011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10679
2ad52c60
SM
10680 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10681 (smie-warning-count): New var.
10682 (smie-set-prec2tab): Use it.
10683 (smie-bnf->prec2): Improve warnings. Add docstring.
10684 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10685 (smie-bnf--set-class): New function.
10686 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10687 corner case.
10688
6944dbc1
SM
10689 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10690 (compilation-error-properties, compilation-move-to-column):
10691 Handle compilation-first-column while in the target buffer.
10692
c400c4d7
SM
10693 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10694 Don't hardcode point-min==1.
10695
6dbe3e96
SM
10696 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10697 (eshell-rewrite-for-command): Remove workaround.
10698 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10699 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10700 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10701
cbe71af3
SM
10702 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10703
a8e1496d
GM
107042011-11-17 Glenn Morris <rgm@gnu.org>
10705
10706 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10707 Ignore buffer-local generated-autoload-file if it is the same
10708 as the global value. (Bug#10049)
10709
df85d315
JB
107102011-11-17 Juanma Barranquero <lekktu@gmail.com>
10711
10712 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10713 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10714 (reftex-toc-previous-heading, reftex-toc-max-level)
10715 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10716 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10717 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10718 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10719 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10720 (reftex-toc-rename-label, reftex-toc-visit-location)
10721 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10722 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10723 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10724 leaving "*toc*" only for references to the buffer.
10725
a0c2d0ae
MR
107262011-11-17 Martin Rudalics <rudalics@gmx.at>
10727
10728 * window.el (window-resize, delete-window, split-window):
10729 Replace window-splits by window-combination-resize.
1d00653d 10730 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10731
35c0bac8
GM
107322011-11-17 Glenn Morris <rgm@gnu.org>
10733
10734 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10735 Make bash entry derive from sh entry, not shell entry.
10736
d0c8fc8a
MA
107372011-11-16 Michael Albinus <michael.albinus@gmx.de>
10738
7262a87c
MA
10739 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10740 local file name.
10741
7877f373
JB
107422011-11-16 Juanma Barranquero <lekktu@gmail.com>
10743
10744 * menu-bar.el (menu-bar-file-menu):
10745 * printing.el (pr-ps-utility):
10746 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10747 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10748 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10749 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10750 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10751 (icalendar--convert-cyclic-to-ical)
10752 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10753 (icalendar--convert-ical-to-diary)
10754 (icalendar--convert-recurring-to-diary)
10755 (icalendar--convert-non-recurring-all-day-to-diary)
10756 (icalendar-import-format-sample):
10757 * progmodes/idlw-shell.el (idlwave-shell-mode):
10758 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10759 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10760 (vhdl-ps-print-init): Fix typos.
10761
10649b82
KM
107622011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10763
9d0cfcd6
GM
10764 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10765 FSF and collapse date sequence, obscure author/maintainer email address
10766 better, remove extra version line, track relocation of author's webpage.
10649b82 10767
9d0cfcd6
GM
10768 * progmodes/python.el (python-pdbtrack-input-prompt)
10769 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10770 regular python pdb prompts. Adjustments shamelessly taken exactly as
10771 suggested in EmacsWiki page (tiny change):
10772 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10773
58179cce
JB
107742011-11-16 Juanma Barranquero <lekktu@gmail.com>
10775
10776 * expand.el (expand-pos, expand-index, expand-point):
10777 Remove redundant info from docstring.
10778 (expand-add-abbrevs): Doc fix.
10779 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10780 (expand-sample-perl-mode-expand-list): Fix typos.
10781
10782 * net/dbus.el (dbus-event-member-name):
10783 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10784 * term/pc-win.el (msdos-create-frame-with-faces):
10785 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10786
b6f67890
MR
107872011-11-16 Martin Rudalics <rudalics@gmx.at>
10788
10789 * window.el (split-window, window-state-get-1)
10790 (window-state-put-1, window-state-put-2): Rename occurrences of
10791 window-nest to window-combination-limit.
1d00653d 10792 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10793
ce7ddba0
CY
107942011-11-16 Chong Yidong <cyd@gnu.org>
10795
10796 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10797 regexp (Bug#10033).
10798
3ae704f4
SM
107992011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10802 `completing-read' will remove *Completions* and will preserve
10803 current-buffer for us.
10804 (tmm-add-prompt): Users of *Completions* will always (re)set its
10805 major mode.
10806 (tmm-old-comp-map): Remove.
10807
6ad1cdde
GM
108082011-11-16 Glenn Morris <rgm@gnu.org>
10809
10810 * mail/rmailedit.el: Require rmailmm when compiling.
10811 (rmail-old-mime-state): New declaration.
10812 (rmail-edit-current-message): If editing a mime message,
10813 edit the "raw" message from the mbox buffer.
10814 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10815
d20faa20
GM
108162011-11-15 Glenn Morris <rgm@gnu.org>
10817
10818 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10819 which wasn't being used. Add optional arg to force given state.
10820 (rmail-mime): Add optional arg to force given state.
10821
c7015153
JB
108222011-11-15 Juanma Barranquero <lekktu@gmail.com>
10823
10824 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10825 * frame.el (display-mm-dimensions-alist):
10826 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10827 (outline-move-subtree-down):
10828 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10829 (newsticker--treeview-do-get-node):
10830 * net/quickurl.el (quickurl-list-buffer-name):
10831 * progmodes/dcl-mode.el (dcl-mode):
10832 * progmodes/gdb-mi.el (gdb-mapcar*):
10833 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10834
45261b50
GM
108352011-11-15 Glenn Morris <rgm@gnu.org>
10836
10837 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10838 in a boolean sense, so just make it a boolean, and fix the doc.
10839 (rmail-show-mime-function, rmail-mime-feature)
10840 (rmail-require-mime-maybe): Doc fixes.
10841 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10842
10843 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10844
0d26e0b6
JB
108452011-11-15 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10848 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10849 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10850 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10851
447f30f6
GM
108522011-11-15 Glenn Morris <rgm@gnu.org>
10853
672b871d
GM
10854 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10855 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10856 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10857 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10858 (rmail-mime, rmail-show-mime): Doc fixes.
10859
f6aa5bb1
GM
10860 * term/ns-win.el (mode-line-frame-identification):
10861 Leave it alone. (Bug#10051)
10862
947cd66b
GM
10863 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10864
447f30f6
GM
10865 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10866 Handle empty buffers. (Bug#9978)
10867
0b381c7e
JB
108682011-11-14 Juanma Barranquero <lekktu@gmail.com>
10869
10870 * international/mule.el (define-charset):
10871 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10872 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10873 * progmodes/verilog-mode.el (verilog-backward-token):
10874 * textmodes/ispell.el (lookup-words):
10875 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10876
71e027ac
GM
108772011-11-14 Glenn Morris <rgm@gnu.org>
10878
56632ce4
GM
10879 * progmodes/executable.el
10880 (executable-make-buffer-file-executable-if-script-p):
10881 Handle file-modes returning nil.
10882
40500957
GM
10883 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10884 message - not necessary, and causes problems. (Bug#9831)
10885
071c2340
GM
10886 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10887
d3cfca60
GM
10888 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10889
71e027ac
GM
10890 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10891 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10892 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10893
89d61221
MR
108942011-11-12 Martin Rudalics <rudalics@gmx.at>
10895
10896 * window.el (window-resize, delete-window): Use window-splits
10897 variable instead of function.
10898 (window-state-get-1, window-state-put-2, window-state-put):
10899 Don't deal with windows' splits status.
10900
98282f6f
GM
109012011-11-12 Glenn Morris <rgm@gnu.org>
10902
10903 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10904 (apropos-documentation): Doc fixes.
10905
40a8bdf6
JB
109062011-11-11 Juanma Barranquero <lekktu@gmail.com>
10907
10908 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10909 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10910
65bd19ff
SM
109112011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * electric.el (electric-indent-post-self-insert-function): Make it
10914 possible for a char to only indent in some circumstances.
10915 (electric-indent-mode): Simplify.
10916
54f9154c
MR
109172011-11-11 Martin Rudalics <rudalics@gmx.at>
10918
10919 * window.el (windows-with-parameter): Remove unused function.
10920 (windows-at-side): Rename to window-at-side-list.
10921 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10922 (window-side-check, window-size-ignore, window-size-fixed-1)
10923 (window-in-direction-2): Prefix with "window--".
10924 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10925
68cbc58b
GM
109262011-11-11 Glenn Morris <rgm@gnu.org>
10927
10928 * subr.el (eval-after-load): If FILE is already loaded,
10929 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10930
b2621720
GM
109312011-11-10 Glenn Morris <rgm@gnu.org>
10932
9a4de110
GM
10933 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10934 Call svn via vc-svn-command rather than vc-do-command.
10935 (vc-svn-command): Add --non-interactive. (Bug#9993)
10936 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10937
b2621720
GM
10938 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10939 Add toggle-read-only. (Bug#7292)
10940 * files.el (toggle-read-only): Mention that it should only
10941 be used interactively. (Bug#10006)
10942
1dce7193
SM
109432011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10944
d9ac1a1e
SM
10945 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10946 Adjust regexp for OCaml warnings.
10947
0c325082
SM
10948 * electric.el (electric-pair-post-self-insert-function): Let user
10949 turn it off buffer-locally (bug#9932).
10950
90132c14
SM
10951 * progmodes/python.el (python-beginning-of-statement):
10952 Rewrite (bug#2703).
10953
1dce7193
SM
10954 * progmodes/compile.el: Better handle TABs (bug#9749).
10955 (compilation-internal-error-properties)
10956 (compilation-next-error-function): Obey the target buffer's
10957 compilation-error-screen-columns.
10958
c4e7c63a
JB
109592011-11-09 Juanma Barranquero <lekktu@gmail.com>
10960
10961 * progmodes/meta-mode.el: Remove obsolete comments.
10962 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10963 Fix typos in docstrings.
10964
2cffd681
MR
109652011-11-09 Martin Rudalics <rudalics@gmx.at>
10966
10967 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10968 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10969 (window--resizable): New function. Make all callers of
10970 window-resizable call window--resizable instead.
10971 (window-resizable): Rewrite in terms of window--resizable.
10972
0edcba87
GM
109732011-11-08 Glenn Morris <rgm@gnu.org>
10974
10975 * progmodes/delphi.el (delphi-mode-syntax-table):
10976 Let define-derived-mode define a proper syntax table. (Bug#9994)
10977
4b0d61e3
SM
109782011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * window.el: Stay away from defsubst.
10981 (window-list-no-nils): Remove.
10982 (window-state-get-1, window-state-get): Use backquote instead.
10983
cd394be1 109842011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10985
4b0d61e3 10986 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10987 Fix incorrect use of default argument in `completing-read'.
10988
e1c2c6f2
MR
109892011-11-08 Martin Rudalics <rudalics@gmx.at>
10990
10991 * window.el (display-buffer-function, special-display-function):
10992 Mention display-buffer-record-window but do not mention
10993 help-setup parameter in doc-strings.
b3f4a882 10994 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10995
105216ed
CY
109962011-11-08 Chong Yidong <cyd@gnu.org>
10997
10998 * window.el (window-total-height, window-total-width): Doc fix.
10999 (window-body-size): Move from C.
11000 (window-body-height, window-body-width): Move to C.
11001
0a9f9ab5
SM
110022011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11003
11004 * window.el: Make special-display like display-buffer-alist (bug#9532).
11005 (display-buffer--special-action): New function, morphed
11006 from display-buffer--special.
11007 (display-buffer): Use it to handle special-display-buffers at higher
11008 priority (just after display-buffer-alist).
11009 (display-buffer-fallback-action, display-buffer--other-frame-action)
11010 (pop-to-buffer-same-window): Remove display-buffer--special.
11011
a769dd15
GM
110122011-11-07 Glenn Morris <rgm@gnu.org>
11013
11014 * calendar/cal-menu.el (cal-menu-set-date-title):
11015 Do nothing if not in a calendar. (Bug#9976)
11016
05a61ee3
SM
110172011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * files.el (find-file): Always use selected-window.
11020
be7f5545
MR
110212011-11-07 Martin Rudalics <rudalics@gmx.at>
11022
11023 * window.el (window-combinations): Make WINDOW argument
11024 mandatory. Rewrite doc-string.
11025 (walk-window-subtree, window-atom-check, window-min-delta)
11026 (window-max-delta, window--resize-this-window)
11027 (window--resize-root-window-vertically, window-tree)
11028 (balance-windows, window-state-put): Rewrite doc-strings as to
11029 not mention the term "subwindow".
11030 (window--resize-subwindows-skip-p): Rename to
11031 window--resize-child-windows-skip-p.
11032 (window--resize-subwindows-normal): Rename to
11033 window--resize-child-windows-normal.
11034 (window--resize-subwindows): Rename to
11035 window--resize-child-windows.
11036 (window-or-subwindow-p): Rename to window--in-subtree-p.
11037
3c6702ef
ML
110382011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11039
11040 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11041 Ensure that mbox format messages end in two newlines (Bug#9974).
11042
49745b39
CY
110432011-11-06 Chong Yidong <cyd@gnu.org>
11044
11045 * window.el (window-combination-p): Function deleted; its
11046 side-effect is not used in any existing code.
11047 (window-combinations, window-combined-p): Call window-*-child
11048 directly.
11049
24300f5f
CY
110502011-11-05 Chong Yidong <cyd@gnu.org>
11051
11052 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11053 (window-size-ignore, window-state-get): Callers changed.
11054 (window-normalize-window): Rename from window-normalize-any-window.
11055 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11056 (window-normalize-live-window): Delete.
447f16b8
CY
11057 (window-combination-p, window-combined-p, window-combinations)
11058 (walk-window-subtree, window-atom-root, window-min-size)
11059 (window-sizable, window-sizable-p, window-size-fixed-p)
11060 (window-min-delta, window-max-delta, window-resizable)
11061 (window-resizable-p, window-full-height-p, window-full-width-p)
11062 (window-current-scroll-bars, window-point-1, set-window-point-1)
11063 (window-at-side-p, window-in-direction, window-resize)
11064 (adjust-window-trailing-edge, maximize-window, minimize-window)
11065 (window-deletable-p, delete-window, delete-other-windows)
11066 (record-window-buffer, unrecord-window-buffer)
11067 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11068 (quit-window, split-window, window-state-put)
11069 (set-window-text-height, fit-window-to-buffer)
11070 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11071
89bd5ee1
EZ
110722011-11-04 Eli Zaretskii <eliz@gnu.org>
11073
53479029
EZ
11074 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11075 rfc2047-decode-string.
11076 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11077 warnings.
11078
89bd5ee1
EZ
11079 * window.el (window-body-height, window-body-width): Mention in
11080 the doc string that the return values are in frame's canonical
11081 units. (Bug#9949)
11082
bd17fdee
AM
110832011-11-03 Alan Mackenzie <acm@muc.de>
11084
11085 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11086 change in cc-engine.el.
11087
acc825c5
SM
110882011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11091
1885e5b8
MR
110922011-11-02 Martin Rudalics <rudalics@gmx.at>
11093
11094 * window.el (quit-window): Call unrecord-window-buffer after
11095 showing another buffer in the window. (Bug#9937)
acc825c5 11096 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11097
ebe06da9
JB
110982011-11-02 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11101 Accept status with more than 9 shelves. (Bug#9935)
11102 Reported by Colin D Bennett <colin@gibibit.com>.
11103
4ee88440
MR
111042011-11-01 Martin Rudalics <rudalics@gmx.at>
11105
11106 * help.el (with-help-window): Don't reference
11107 temp-buffer-show-specifiers in doc-string.
11108
08e1d82c
AS
111092011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11110
11111 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11112 menu-item.
11113
84bd6e9e
VJL
111142011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11115
11116 * whitespace.el: New version 13.2.2.
11117 (whitespace-newline-mode): Disable properly. Reported by Sarah
11118 <EmacsWiki>.
11119
dba0634a
UJ
111202011-10-30 Ulf Jasper <ulf.jasper@web.de>
11121
11122 * net/newst-treeview.el: Remove "Time-stamp".
11123 (newsticker--group-manage-orphan-feeds): Do not call
11124 newsticker--treeview-tree-update.
db22a3c2
JB
11125 (newsticker-treeview-update, newsticker-treeview):
11126 Call newsticker--treeview-tree-update if necessary.
dba0634a 11127
3d8daefe
MR
111282011-10-30 Martin Rudalics <rudalics@gmx.at>
11129
11130 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11131 (window-iso-combinations): Remove "iso-" infix.
11132 Suggested by Chong Yidong.
3d8daefe
MR
11133 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11134 (window-max-delta-1, window-resize, window--resize-siblings)
11135 (window--resize-this-window, adjust-window-trailing-edge)
11136 (split-window, balance-windows-1)
11137 (shrink-window-if-larger-than-buffer):
11138 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11139 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11140
1bc4c3ae
SM
111412011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11144 in place (bug#9907).
11145 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11146 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11147 (eshell-structure-basic-command, eshell-rewrite-while-command)
11148 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11149 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11150 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11151 (eshell-do-pipelines-synchronously, eshell-eval-command):
11152 Use backquotes and prefer setq to set.
11153 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11154 (eshell-macrop): Use functionp.
c1e2f5fa 11155 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11156
30b65d9c
CY
111572011-10-30 Chong Yidong <cyd@gnu.org>
11158
11159 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11160 instead of set-mark (Bug#9810).
11161
2d197ffb
CY
111622011-10-30 Chong Yidong <cyd@gnu.org>
11163
11164 * window.el (split-window-below, split-window-right): Rename from
11165 split-window-above-each-other and split-window-side-by-side
11166 respectively. All callers changed.
11167 (split-window-sensibly, split-window-sensibly): Use them.
11168 (split-window-keep-point): Doc fix.
11169
11170 * isearch.el: Add isearch-scroll property to split-window-below
11171 and split-window-right.
11172
11173 * follow.el (follow-mode):
11174 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11175 * progmodes/ada-xref.el (ada-gdb-application):
11176 * emulation/vip.el (vip-buffer-in-two-windows):
11177 * image-dired.el (image-dired-dired-with-window-configuration):
11178 * dired-x.el (dired-do-find-marked-files):
11179 * dired.el (dired-pop-to-buffer):
11180 * bs.el (bs--show-with-configuration):
11181 * vc/emerge.el (emerge-setup-windows):
11182 * textmodes/two-column.el (2C-two-columns):
11183 * textmodes/reftex-toc.el (reftex-toc):
11184 * progmodes/gdb-mi.el (gdb-setup-windows):
11185 * progmodes/fortran.el (fortran-window-create):
11186 * net/newst-treeview.el (newsticker--treeview-window-init):
11187 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11188 * emulation/tpu-edt.el (tpu-gold-map):
11189 * emulation/crisp.el (crisp-mode-map):
11190 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11191
38bb2ca8
CY
111922011-10-29 Chong Yidong <cyd@gnu.org>
11193
aa4de341
CY
11194 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11195
e1eb5385
CY
11196 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11197
5d2ece3c
CY
11198 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11199 forged Ispell output (Bug#7904).
11200
38bb2ca8
CY
11201 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11202
d0af9f77
SM
112032011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * doc-view.el: Avoid ugly errors about not finding nil.
11206 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11207 (doc-view-dvipdf-program, doc-view-unoconv-program)
11208 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11209 Avoid nil or absolute file name as default value.
11210 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11211
52bedd34
AM
112122011-10-28 Alan Mackenzie <acm@muc.de>
11213
db22a3c2 11214 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11215
7e43cfa5
AM
112162011-10-28 Alan Mackenzie <acm@muc.de>
11217
11218 Amend the handling of c-beginning/end-of-defun in nested declaration
11219 scopes.
11220
52bedd34
AM
11221 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11222 cc-langs.el. Change it to a defcustom.
7e43cfa5 11223
52bedd34
AM
11224 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11225 cc-vars.el.
7e43cfa5 11226
d0af9f77
SM
11227 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11228 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11229
52bedd34 11230 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11231 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11232 (c-widen-to-enclosing-decl-scope): New function.
11233 (c-while-widening-to-decl-block): New macro.
11234 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11235 outward for defun boundaries, and correspondingly change symbol
11236 `respect-enclosure' to `go-outward'.
11237 (c-declaration-limits): Change algorithm to report only the "innermost"
11238 defun's boundaries.
11239
1a2ce9ee
DD
112402011-10-28 Deniz Dogan <deniz@dogan.se>
11241
11242 * net/rcirc.el (rcirc-mode): Use hard newlines.
11243
bc97a826
AM
112442011-10-28 Alan Mackenzie <acm@muc.de>
11245
11246 Amend to indent and fontify macros "which include their own semicolon"
11247 correctly, using the "virtual semicolon" mechanism.
11248
52bedd34 11249 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11250
d0af9f77 11251 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11252 Recode to scan one line at a time rather than having \n and \r
58179cce 11253 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11254 (c-forward-label): Amend for virtual semicolons.
58179cce 11255 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11256
52bedd34
AM
11257 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11258 of the new C macros.
bc97a826 11259
52bedd34 11260 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11261 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11262 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11263 (c-opt-cpp-macro-define): Make into a full language variable.
11264 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11265 AWK Mode (including \n, \r) removed, no longer needed.
11266
d0af9f77
SM
11267 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11268 Invoke c-make-macro-with-semi-re.
bc97a826 11269
52bedd34
AM
11270 * progmodes/cc-vars.el (c-macro-with-semi-re):
11271 (c-macro-names-with-semicolon): New variables.
58179cce 11272 (c-make-macro-with-semi-re): New function.
bc97a826 11273
7a6c0941
SM
112742011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * vc/log-edit.el: Fill empty field rather than adding new one.
11277 (log-edit-add-field): New function.
11278 (log-edit-insert-changelog): Use it.
11279
b0c4cdcf
ML
112802011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11281
11282 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11283
ee1f1da9
SM
112842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11285
11286 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11287 (gdb--check-interpreter): New function.
11288 (gdb): Use it.
11289
51bc5f8b
GM
112902011-10-27 Glenn Morris <rgm@gnu.org>
11291
416a2c45
GM
11292 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11293 (least-positive-float, least-negative-float)
11294 (least-positive-normalized-float, least-negative-normalized-float)
11295 (float-epsilon, float-negative-epsilon):
11296 Remove unnecessary declarations.
11297
11298 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11299 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11300 (least-positive-float, least-negative-float)
11301 (least-positive-normalized-float, least-negative-normalized-float)
11302 (float-epsilon, float-negative-epsilon): Add doc-strings,
11303 based on those in cl.texi.
11304
51bc5f8b
GM
11305 * files.el (set-visited-file-name): If the major-mode changed,
11306 reload the local variables. (Bug#9796)
11307
15de15c6
CY
113082011-10-27 Chong Yidong <cyd@gnu.org>
11309
11310 * subr.el (change-major-mode-after-body-hook): New hook.
11311 (run-mode-hooks): Run it.
11312
ee1f1da9
SM
11313 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11314 Use change-major-mode-before-body-hook.
15de15c6
CY
11315
11316 * simple.el (fundamental-mode):
11317 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11318 change introducing fundamental-mode-hook.
11319
5430d399
JB
113202011-10-26 Juanma Barranquero <lekktu@gmail.com>
11321
acc825c5 11322 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11323
ad74a69e
MA
113242011-10-26 Michael Albinus <michael.albinus@gmx.de>
11325
11326 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11327 tramp.el explicitly. (Bug#7583)
ad74a69e 11328
71d4c2a5
SM
113292011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * progmodes/octave-mod.el:
11332 * progmodes/octave-inf.el: Update maintainer.
11333
b1f6fa26
CY
113342011-10-26 Chong Yidong <cyd@gnu.org>
11335
11336 * subr.el (with-wrapper-hook): Rewrite doc.
11337
3f04efd6
MA
113382011-10-25 Michael Albinus <michael.albinus@gmx.de>
11339
11340 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11341 filenames "/method:foo:". (Bug#9793)
3f04efd6 11342
410488d3
SM
113432011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11346 (bug#9865).
11347
c1ebb47e
GM
113482011-10-24 Glenn Morris <rgm@gnu.org>
11349
11350 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11351
7f5c46c7
MA
113522011-10-24 Michael Albinus <michael.albinus@gmx.de>
11353
11354 * notifications.el: Add the requirement of a running D-Bus session
11355 bus to the Commentary.
11356
db2440b6
JL
113572011-10-24 Juri Linkov <juri@jurta.org>
11358
11359 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11360 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11361 (Bug#9364)
11362
feecf435
JL
113632011-10-24 Juri Linkov <juri@jurta.org>
11364
11365 * info.el (Info-following-node-name-re): Add newline to the list
11366 of allowed characters for leading space. (Bug#9824)
11367
a3839de2
SM
113682011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11369
acc825c5
SM
11370 * progmodes/octave-inf.el (inferior-octave-mode-map):
11371 Fix C-c C-h binding.
a3839de2
SM
11372 * progmodes/octave-mod.el (octave-help): Remove.
11373
09388e76
MA
113742011-10-23 Michael Albinus <michael.albinus@gmx.de>
11375
11376 Sync with Tramp 2.2.3.
11377
11378 * net/tramp-cache.el (top): Pacify byte-compiler using
11379 `init-file-user' and `site-run-file'.
11380
11381 * net/trampver.el: Update release number.
11382
86c60681
CY
113832011-10-23 Chong Yidong <cyd@gnu.org>
11384
11385 * files.el (toggle-read-only): Remove obsolete comment about
11386 version control.
11387
11388 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11389 for toggle-read-only. Note that this hasn't called vc-next-action
11390 since 2008-05-02, though it wasn't documented at the time.
11391
a3839de2
SM
11392 * vc/ediff-init.el (ediff-toggle-read-only-function):
11393 Use toggle-read-only.
86c60681 11394
cd5495ff
AM
113952011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11396
11397 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11398 of c-parse-state.
11399
00b77525 11400 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11401 correct faulty logical expression.
cd5495ff
AM
11402 (c-parse-state-state, c-record-parse-state-state):
11403 (c-replay-parse-state-state): New defvar/defuns.
11404 (c-debug-parse-state): Use new functions.
11405
42ee24ed
MR
114062011-10-22 Martin Rudalics <rudalics@gmx.at>
11407
11408 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11409 last fix. Use window-in-direction correctly.
42ee24ed 11410
a7dee7e7
CY
114112011-10-21 Chong Yidong <cyd@gnu.org>
11412
11413 * progmodes/idlwave.el (idlwave-mode):
11414 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11415 require-final-newline; that's done in prog-mode.
11416 Suggested by Stefan Monnier.
a7dee7e7 11417
e07b9a6d
MR
114182011-10-21 Martin Rudalics <rudalics@gmx.at>
11419
11420 * mouse.el (mouse-drag-window-above)
11421 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11422 (mouse-drag-mode-line-1, mouse-drag-header-line)
11423 (mouse-drag-vertical-line-rightward-window): Remove.
11424 (mouse-drag-line): New function.
11425 (mouse-drag-mode-line, mouse-drag-header-line)
11426 (mouse-drag-vertical-line): Call mouse-drag-line.
11427 * window.el (window-at-side-p, windows-at-side): New functions.
11428
7e1361d9
UM
114292011-10-21 Ulrich Mueller <ulm@gentoo.org>
11430
11431 * tar-mode.el (tar-grind-file-mode):
11432 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11433
30fcaf3a
CY
114342011-10-21 Chong Yidong <cyd@gnu.org>
11435
11436 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11437 * progmodes/vera-mode.el (vera-mode):
11438 Use mode-require-final-newline.
30fcaf3a 11439
516eddb0
GM
114402011-10-20 Glenn Morris <rgm@gnu.org>
11441
db22a3c2 11442 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11443
10d5f513
CS
114442011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11445
11446 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11447
ac6c8639
CY
114482011-10-20 Chong Yidong <cyd@gnu.org>
11449
11450 * emulation/cua-base.el (cua-mode):
11451 * mail/footnote.el (footnote-mode):
11452 * mail/mailabbrev.el (mail-abbrevs-mode):
11453 * net/xesam.el (xesam-minor-mode):
11454 * progmodes/bug-reference.el (bug-reference-mode):
11455 * progmodes/cap-words.el (capitalized-words-mode):
11456 * progmodes/compile.el (compilation-minor-mode)
11457 (compilation-shell-minor-mode):
11458 * progmodes/gud.el (gud-tooltip-mode):
11459 * progmodes/hideif.el (hide-ifdef-mode):
11460 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11461 * progmodes/subword.el (subword-mode):
11462 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11463 * progmodes/which-func.el (which-function-mode):
11464 * term/tvi970.el (tvi970-set-keypad-mode):
11465 * term/vt100.el (vt100-wide-mode):
11466 * textmodes/flyspell.el (flyspell-mode):
11467 * textmodes/ispell.el (ispell-minor-mode):
11468 * textmodes/nroff-mode.el (nroff-electric-mode):
11469 * textmodes/paragraphs.el (use-hard-newlines):
11470 * textmodes/refill.el (refill-mode):
11471 * textmodes/reftex.el (reftex-mode):
11472 * textmodes/rst.el (rst-minor-mode):
11473 * textmodes/sgml-mode.el (html-autoview-mode)
11474 (sgml-electric-tag-pair-mode):
11475 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11476 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11477 * emulation/crisp.el (crisp-mode):
11478 * emacs-lisp/eldoc.el (eldoc-mode):
11479 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11480 minor mode behavior.
11481
aa42ab43
JL
114822011-10-19 Juri Linkov <juri@jurta.org>
11483
11484 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11485 the list of hard-coded chars with escape-glyph face.
11486
89400f1d
SM
114872011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11490
305c07f6
MA
114912011-10-19 Michael Albinus <michael.albinus@gmx.de>
11492
11493 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11494 running process.
11495
13754b54
GM
114962011-10-19 Glenn Morris <rgm@gnu.org>
11497
11498 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11499 Ignore ignored files. (Bug#9726)
11500
06e21633
CY
115012011-10-19 Chong Yidong <cyd@gnu.org>
11502
11503 Doc fix for minor modes, stating that an omitted argument enables
11504 the mode unconditionally when called from Lisp.
11505
11506 * abbrev.el (abbrev-mode):
11507 * allout.el (allout-mode):
11508 * autoinsert.el (auto-insert-mode):
11509 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11510 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11511 (global-auto-revert-mode):
11512 * battery.el (display-battery-mode):
11513 * composite.el (global-auto-composition-mode)
11514 (auto-composition-mode):
11515 * delsel.el (delete-selection-mode):
11516 * desktop.el (desktop-save-mode):
11517 * dired-x.el (dired-omit-mode):
11518 * dirtrack.el (dirtrack-mode):
11519 * doc-view.el (doc-view-minor-mode):
11520 * double.el (double-mode):
11521 * electric.el (electric-indent-mode, electric-pair-mode):
11522 * emacs-lock.el (emacs-lock-mode):
11523 * epa-hook.el (auto-encryption-mode):
11524 * follow.el (follow-mode):
11525 * font-core.el (font-lock-mode):
11526 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11527 * help.el (temp-buffer-resize-mode):
11528 * hilit-chg.el (highlight-changes-mode)
11529 (highlight-changes-visible-mode):
11530 * hi-lock.el (hi-lock-mode):
11531 * hl-line.el (hl-line-mode, global-hl-line-mode):
11532 * icomplete.el (icomplete-mode):
11533 * ido.el (ido-everywhere):
11534 * image-file.el (auto-image-file-mode):
11535 * image-mode.el (image-minor-mode):
11536 * iswitchb.el (iswitchb-mode):
11537 * jka-cmpr-hook.el (auto-compression-mode):
11538 * linum.el (linum-mode):
11539 * longlines.el (longlines-mode):
11540 * master.el (master-mode):
11541 * mb-depth.el (minibuffer-depth-indicate-mode):
11542 * menu-bar.el (menu-bar-mode):
11543 * minibuf-eldef.el (minibuffer-electric-default-mode):
11544 * mouse-sel.el (mouse-sel-mode):
11545 * msb.el (msb-mode):
11546 * mwheel.el (mouse-wheel-mode):
11547 * outline.el (outline-minor-mode):
11548 * paren.el (show-paren-mode):
11549 * recentf.el (recentf-mode):
11550 * reveal.el (reveal-mode, global-reveal-mode):
11551 * rfn-eshadow.el (file-name-shadow-mode):
11552 * ruler-mode.el (ruler-mode):
11553 * savehist.el (savehist-mode):
11554 * scroll-all.el (scroll-all-mode):
11555 * scroll-bar.el (scroll-bar-mode):
11556 * server.el (server-mode):
11557 * shell.el (shell-dirtrack-mode):
11558 * simple.el (auto-fill-mode, transient-mark-mode)
11559 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11560 (line-number-mode, column-number-mode, size-indication-mode)
11561 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11562 * strokes.el (strokes-mode):
11563 * time.el (display-time-mode):
11564 * t-mouse.el (gpm-mouse-mode):
11565 * tool-bar.el (tool-bar-mode):
11566 * tooltip.el (tooltip-mode):
11567 * type-break.el (type-break-mode-line-message-mode)
11568 (type-break-query-mode):
11569 * view.el (view-mode):
11570 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11571 (global-whitespace-mode, global-whitespace-newline-mode):
11572 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11573
a3839de2
SM
11574 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11575 Fix autogenerated docstring.
06e21633 11576
5214e501
JL
115772011-10-19 Juri Linkov <juri@jurta.org>
11578
11579 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11580 by checking environment variables "DESKTOP_SESSION" and
11581 "XDG_CURRENT_DESKTOP". (Bug#9779)
11582
195f8db9
JL
115832011-10-19 Juri Linkov <juri@jurta.org>
11584
11585 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11586 (browse-url-chromium-program, browse-url-chromium-arguments):
11587 New defcustoms.
11588 (browse-url-default-browser): Check for `browse-url-chromium' and
11589 call `browse-url-chromium-program'.
11590 (browse-url-chromium): New command. (Bug#9779)
11591
343a34ff
JB
115922011-10-18 Juanma Barranquero <lekktu@gmail.com>
11593
11594 * facemenu.el (list-colors-duplicates): On Windows, detect more
11595 duplicates by assuming that only colors matching "^System" are
11596 special "system colors". (Bug#9722)
11597
6978a151
SM
115982011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11601 to distinguish the author from the committer.
11602
6a80b297
MA
116032011-10-18 Michael Albinus <michael.albinus@gmx.de>
11604
11605 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11606
b31a5677
JK
116072011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11608
11609 * international/mule.el (sgml-html-meta-auto-coding-function):
11610 Add support for detecting encoding in HTML5 specified only as
11611 <meta charset="UTF-8">. Implementation just makes http-equiv and
11612 content-type parts from HTML4 encoding string optional. (Bug#9716)
11613
80c6d77f
GM
116142011-10-18 Glenn Morris <rgm@gnu.org>
11615
11616 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11617
08b0fee8
CY
116182011-10-18 Chong Yidong <cyd@gnu.org>
11619
11620 * faces.el (cursor): Doc fix.
11621
67e729a5
CY
116222011-10-17 Chong Yidong <cyd@gnu.org>
11623
11624 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11625
343a34ff 116262011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11627
11628 * dirtrack.el (dirtrack): Support shell buffers with path
11629 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11630
0bc06380
TZ
116312011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11632
11633 * json.el: Bump version to 1.3 and note change in History.
11634 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11635
8b79f3e0
SM
116362011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11637
5a7c536b
SM
11638 * comint.el (comint-insert-input, comint-send-input)
11639 (comint-get-old-input-default, comint-backward-matching-input)
11640 (comint-next-prompt): Use nil instead of `input' for field property of
11641 past user input (bug#114).
11642
96a8a0df
SM
11643 * minibuffer.el (completion--replace): Inherit surrounding properties
11644 (bug#114).
11645 (minibuffer-complete-and-exit): Use it.
11646
8b79f3e0
SM
11647 * comint.el (comint--table-subvert): Quote the all-completions output
11648 (bug#9160).
11649
b8f7ff0d
MR
116502011-10-17 Martin Rudalics <rudalics@gmx.at>
11651
8b79f3e0 11652 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11653
b8f7ff0d 11654 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11655 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11656 entries and separate them from frame entries.
11657
c235b555
GM
116582011-10-15 Glenn Morris <rgm@gnu.org>
11659
11660 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11661 Doc fixes.
11662
6bbfa6e1
CY
116632011-10-15 Chong Yidong <cyd@stupidchicken.com>
11664
8b79f3e0
SM
11665 * net/network-stream.el (network-stream-open-starttls):
11666 Improve detection of failure due to lack of TLS support.
ec5c990d 11667
6bbfa6e1
CY
11668 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11669 putting the input text in front and in bold.
11670
98488977
SM
116712011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11672
3d1337be
SM
11673 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11674
ee0b45e4
SM
11675 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11676 empty buffer.
11677
98488977
SM
11678 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11679 unread-command-events rather than pushing yet-another event.
11680
186f4720
EZ
116812011-10-14 Eli Zaretskii <eliz@gnu.org>
11682
11683 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11684 the explanation of the possible choices. Make the options passed
11685 to completing-read shorter.
11686
8b7a997c
AM
116872011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11688
11689 * textmodes/flyspell.el (flyspell-large-region): Make sure
11690 extended character mode is used if defined (Bug#1339).
11691
12587bbb
EZ
116922011-10-13 Eli Zaretskii <eliz@gnu.org>
11693
11694 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11695 character info for LRE, LRO, RLE, and RLO characters by appending
11696 an invisible PDF.
12587bbb 11697
bad41229
SM
116982011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11699
11700 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11701 even in case of error; add debug spec; simplify data flow.
11702 (with-timeout-handler): Remove.
11703
28dbc92f
MA
117042011-10-12 Michael Albinus <michael.albinus@gmx.de>
11705
11706 Fix Bug#6019, Bug#9315.
11707
11708 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11709 complete `buffer-file-name', the local file name part could look
11710 remotely (for example on VMS).
11711
11712 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11713 `tramp-run-real-handler'.
11714 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11715 already quoted by '"'.
11716
11717 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11718 Let `file-name-handler-alist' be nil, the local file name part
11719 could look remotely (for example on VMS).
11720
e1b0b23a
SM
117212011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11722
11723 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11724 from here...
11725 (flyspell-post-command-hook): ...to here.
11726
a120bde9
SM
117272011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11728
11729 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11730 if not needed.
11731 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11732 using completion. Protect against "slow" callers.
11733 Remove the "message hack".
11734
7ce7717b
JL
117352011-10-11 Juri Linkov <juri@jurta.org>
11736
11737 * isearch.el (isearch-lazy-highlight-word): New variable.
11738 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11739 Use it. (Bug#9727)
11740
c02ee9d6
GM
117412011-10-11 Glenn Morris <rgm@gnu.org>
11742
11743 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11744 like f90-previous-statement does.
11745
93e616fd 117462011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11747
1f190e73 11748 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11749 only in interactive use, to avoid error.
11750
af7b6078
SM
117512011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * minibuffer.el (completion-file-name-table): Fix last change,
11754 i.e. ignore normal errors but not the other ones.
11755
0563dae9
MR
117562011-10-10 Martin Rudalics <rudalics@gmx.at>
11757
11758 * window.el (special-display-buffer-names)
11759 (special-display-regexps): Remove some remnants of earlier
11760 changes from doc-strings.
366ca7f3
MR
11761 (quit-windows-on): New function.
11762
11763 * vc/vc.el (vc-revert, vc-rollback):
11764 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11765 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11766 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11767
49677495
MR
117682011-10-09 Martin Rudalics <rudalics@gmx.at>
11769
11770 * window.el (frame-auto-hide-function): Add version tag.
11771 (Bug#9699)
11772
56f2d1e1
MA
117732011-10-09 Michael Albinus <michael.albinus@gmx.de>
11774
11775 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11776 condition.
11777
112a6592
LL
117782011-10-09 Leo Liu <sdl.web@gmail.com>
11779
11780 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11781 (Bug#9701)
11782
0812589b
GM
117832011-10-08 Glenn Morris <rgm@gnu.org>
11784
11785 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11786 before the first code statement zero indent. (Bug#9690)
11787
b2b0776e
CY
117882011-10-08 Chong Yidong <cyd@stupidchicken.com>
11789
11790 * simple.el (count-words-region): Always count in the region.
11791 Report the number of lines and characters too.
11792 (count-words): New command, which counts in the buffer if the
11793 region is inactive, as count-words-region used to.
11794 (count-words--message): New function. Handle plurals.
11795 (count-lines-region): Make it an alias for count-words-region.
11796
11797 * bindings.el (esc-map): Replace count-lines-region with
11798 count-words-region.
11799
c557cd6b
MR
118002011-10-08 Martin Rudalics <rudalics@gmx.at>
11801
11802 * window.el (window--delete): Delete dedicated frame
11803 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11804 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11805
61a57ef4 118062011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11807
3a7d293b 11808 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11809
c3833279
CY
118102011-10-07 Chong Yidong <cyd@stupidchicken.com>
11811
11812 * bindings.el ([M-left],[M-right]): Bind to left-word and
11813 right-word respectively.
11814
21ce8245
GM
118152011-10-07 Glenn Morris <rgm@gnu.org>
11816
11817 * cus-start.el (debug-on-quit): Fix custom type.
11818
6d823bb2
LMI
118192011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11820
0181e193
LMI
11821 * subr.el (define-key-after): Clarify that the function is not
11822 useful for non-menu keymaps.
11823
6d823bb2
LMI
11824 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11825
8e3459ce 118262011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11827
21ce8245 11828 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11829 in current minibuffer (Fix bug with recursive minibuffers).
11830
a1c2d21e
CY
118312011-10-06 Chong Yidong <cyd@stupidchicken.com>
11832
11833 * progmodes/gdb-mi.el (gdb): Doc fix.
11834
5a4cf282
MR
118352011-10-05 Martin Rudalics <rudalics@gmx.at>
11836
11837 * window.el (frame-auto-hide-function): New option replacing
11838 frame-auto-delete. Suggested by Stefan Monnier.
11839 (window--delete): Call frame-auto-hide-function instead of
11840 investigating frame-auto-delete.
c96111ea
MR
11841 (window-point-1, set-window-point-1): New functions.
11842 (window-in-direction, record-window-buffer, window-state-get-1)
11843 (display-buffer-record-window): Use window-point-1 instead of
11844 window-point.
11845 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11846
9854542e
SM
118472011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11850
8943cfb0
GM
118512011-10-05 Glenn Morris <rgm@gnu.org>
11852
11853 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11854 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11855
647ab967
LL
118562011-10-05 Leo Liu <sdl.web@gmail.com>
11857
11858 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11859 works with buffer object.
11860
3ddfbced
SM
118612011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11862
11863 * mpc.el (mpc-tool-bar-map): Add labels.
11864
bdfa5dd2
GM
118652011-10-04 Glenn Morris <rgm@gnu.org>
11866
11867 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11868
0e2070b5
MR
118692011-10-04 Martin Rudalics <rudalics@gmx.at>
11870
11871 * window.el (window--delete): New function.
11872 (frame-auto-delete): Resuscitate option.
11873 (bury-buffer, replace-buffer-in-windows)
11874 (quit-window): Rewrite using window--delete.
11875 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11876 Pass display-buffer-mark-dedicated to window--display-buffer-2
11877 (Bug#9639).
11878
3dc61a09
SM
118792011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11880
915a9b64
SM
11881 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11882 returns a list (bug#9554). Add remote file name completion.
11883 * comint.el (comint--table-subvert): Curry and get quote&unquote
11884 functions as arguments.
11885 (comint--complete-file-name-data): Adjust call accordingly.
11886 * pcomplete.el (pcomplete--table-subvert): Remove.
11887 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11888
3dc61a09
SM
11889 * minibuffer.el (completion-table-case-fold): Use currying.
11890 (completion--styles-type, completion--cycling-threshold-type):
11891 New constants.
11892 (completion-styles, completion-category-overrides)
11893 (completion-cycle-threshold): Use them.
11894 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11895 completion-table-case-fold.
11896
8ea0a993
SB
118972011-10-03 Stephen Berman <stephen.berman@gmx.net>
11898
11899 * minibuffer.el (completion-category-overrides): Fix type of styles
11900 and add more user friendly tags (bug#9660).
11901
8c24b7f6
SM
119022011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11905 (mule-input-method-string): New widget.
11906 (default-input-method, language-info-custom-alist): Use it.
11907
428fe61a
SM
119082011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11909
32c1fffd
SM
11910 * pcomplete.el: Require comint.
11911 (pcomplete--common-suffix): Remove.
11912 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11913 (pcomplete--table-subvert): Sync with comint--table-subvert.
11914 (pcomplete--entries): Use comint-completion-file-name-table.
11915 * comint.el (comint-unquote-filename): Simplify.
11916 (comint-completion-file-name-table): New function (bug#9616).
11917 (comint--complete-file-name-data): Use it.
11918
428fe61a
SM
11919 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11920 (pcmpl-gnu-tar-buffer): Remove.
11921 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11922 around. Make sure pcomplete-suffix-list is only changed temporarily.
11923 Don't look inside the tar's file if it's too large.
428fe61a 11924
04c52e2f
CY
119252011-10-01 Chong Yidong <cyd@stupidchicken.com>
11926
ce3cefcc
CY
11927 * cus-edit.el (custom-mode-map):
11928 * epa.el (epa-key-list-mode-map):
11929 * man.el (Man-mode-map):
11930 * startup.el (splash-screen-keymap):
11931 * simple.el (special-mode-map): Use scroll-up-command and
11932 scroll-down-command.
11933
11934 * progmodes/idlw-help.el (idlwave-help-mode-map):
11935 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11936 * net/newst-plainview.el (newsticker-mode-map):
11937 * emulation/ws-mode.el (wordstar-mode-map):
11938 * emulation/vi.el (vi-com-map):
11939 * calc/calc-graph.el (calc-graph-show-dumb):
11940 * term/sun.el (terminal-init-sun):
11941 * term/ns-win.el (global-map):
11942 * progmodes/grep.el (grep-mode-map):
11943 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11944 * mail/rmail.el (rmail-mode-map):
11945 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11946
04c52e2f
CY
11947 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11948 custom-safe-themes as special.
11949
79adf8c8
JD
119502011-10-01 Julien Danjou <julien@danjou.info>
11951
11952 * notifications.el (notifications-notify): Fix docstring.
11953
63bd50d3
PS
119542011-10-01 Per Starbäck <per@starback.se>
11955
11956 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11957
199e4c7e
MR
119582011-09-30 Martin Rudalics <rudalics@gmx.at>
11959
11960 * startup.el (command-line-1): Fix last fix by inserting
11961 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11962 (Bug#9605) and (Bug#9636)
199e4c7e 11963
fe5f08dd
EZ
119642011-09-29 Eli Zaretskii <eliz@gnu.org>
11965
11966 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11967 window is hscrolled, move by logical lines. (Bug#9607)
11968 (line-move-visual): Update the doc string to the above effect.
11969
b5516bbd
MR
119702011-09-29 Martin Rudalics <rudalics@gmx.at>
11971
ccee00c0
MR
11972 * window.el (display-buffer-record-window): When WINDOW is the
11973 selected window use `point' instead of `window-point'. (Bug#9626)
11974
b5516bbd
MR
11975 * startup.el (command-line-1): Use insert-before-markers when
11976 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11977
b5516bbd
MR
11978 * help.el (help-window): Remove variable.
11979
52aa0014
GM
119802011-09-29 Glenn Morris <rgm@gnu.org>
11981
11982 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11983
df9a7357
JB
119842011-09-29 Juanma Barranquero <lekktu@gmail.com>
11985
11986 * descr-text.el (describe-char-categories): Accept category
11987 descriptions more than one line long.
11988
a8406c20
SM
119892011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11990
88d9610c
SM
11991 * simple.el (delete-trailing-whitespace): Fix last change.
11992
a5daf810
SM
11993 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11994 Don't confuse "y => 3" as the beginning of a `y' operation.
11995
a8406c20
SM
11996 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11997 object has more than 4 slots (bug#9613).
11998
a239d4e9
JB
119992011-09-28 Juanma Barranquero <lekktu@gmail.com>
12000
12001 * subr.el (with-output-to-temp-buffer):
12002 * net/quickurl.el (quickurl, quickurl-browse-url):
12003 Fix typos in docstrings.
12004
693fbdb6
EZ
120052011-09-27 Eli Zaretskii <eliz@gnu.org>
12006
12007 * minibuffer.el (completion-styles)
12008 (completion-category-overrides): Cross reference each other in doc
12009 strings.
12010
8b457e28
GM
120112011-09-27 Glenn Morris <rgm@gnu.org>
12012
12013 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12014 to split-string. (Bug#9606)
12015
85a16208
LMI
120162011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12017
12018 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12019 (bug#9615).
12020
502f9ebd
CY
120212011-09-27 Chong Yidong <cyd@stupidchicken.com>
12022
12023 * emacs-lisp/package.el (list-packages): Fix echo area message.
12024
7690bdea
LL
120252011-09-27 Leo Liu <sdl.web@gmail.com>
12026
12027 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12028
e2ee6f30
MA
120292011-09-25 Michael Albinus <michael.albinus@gmx.de>
12030
12031 * net/dbus.el (dbus-unregister-object): Don't release services for
12032 registered signals. (Bug#9581)
12033
f3f98342
TZ
120342011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12035
12036 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12037 function that picks between cfengine 2 and 3 support
12038 automatically. Update docs accordingly.
12039
dd7aa8dd
KH
120402011-09-22 Kenichi Handa <handa@m17n.org>
12041
12042 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12043 ZERO.
12044 (indian-itrans-v5-table-for-tamil): New variable.
12045 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12046
3f2b07f8
KM
120472011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12048
12049 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12050 that's true if the current command involved collapsing of text.
12051 It's reset to false at the beginning of the next command.
12052 (allout-post-command-business): Move the cursor to the beginning
12053 of entry if the cursor is hidden and collapsing activity just
12054 happened.
12055
371d6a61
CY
120562011-09-24 Chong Yidong <cyd@stupidchicken.com>
12057
12058 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12059 tracking (Bug#9541).
12060
2ac2721a
UJ
120612011-09-24 Ulf Jasper <ulf.jasper@web.de>
12062
12063 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12064 (newsticker-show-news): Automatically load html rendering package
12065 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12066 because w3m-fill-column is let-bound" and the error "Symbol's value
12067 as variable is void: w3m-fill-column".
2ac2721a 12068
fac7ae53
MA
120692011-09-24 Michael Albinus <michael.albinus@gmx.de>
12070
12071 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12072 Release services only if they are defined. (Bug#9581)
12073
e08b633b
RS
120742011-09-23 Richard Stallman <rms@gnu.org>
12075
e488d29c
RS
12076 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12077 distinguish start of paragraph from start of its text.
12078
19c38752
RS
12079 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12080
e08b633b
RS
12081 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12082 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12083 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12084
0a39f27e
AS
120852011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12086
12087 * international/mule-diag.el (mule-diag): Insert a newline after
12088 each fontset description.
12089
db4e950d
SM
120902011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12091
12092 * simple.el (delete-trailing-whitespace):
12093 Document last change; simplify.
12094
eca3f3ea
PW
120952011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12096
d68e189a
PW
12097 * simple.el (delete-trailing-whitespace): Also delete
12098 extra newlines at the end of the buffer.
12099
eca3f3ea
PW
12100 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12101 (picture-newline): Use forward-line so as to ignore fields.
12102
01c157cc
SM
121032011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12104
12105 * subr.el (with-wrapper-hook): Fix edebug spec.
12106
022de23e
LMI
121072011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12108
12109 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12110 (bug#4538).
12111
91683089
MA
121122011-09-23 Michael Albinus <michael.albinus@gmx.de>
12113
eca3f3ea
PW
12114 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12115 Fix nasty bug using wrong cached values.
91683089 12116
5bdd6fa4
AM
121172011-09-23 Alan Mackenzie <acm@muc.de>
12118
12119 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12120
97adfb97
CY
121212011-09-23 Chong Yidong <cyd@stupidchicken.com>
12122
12123 * window.el (pop-to-buffer): Ensure right window is selected if we
12124 chose another frame.
12125
d4ef2b50
EZ
121262011-09-22 Eli Zaretskii <eliz@gnu.org>
12127
12128 * simple.el (what-cursor-position): Use get-char-property-change
12129 and next-single-char-property-change, to be able to show display
12130 properties that come from overlays as well as text properties.
12131
72258fe5
CY
121322011-09-22 Chong Yidong <cyd@stupidchicken.com>
12133
12134 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12135
12136 * cmuscheme.el (run-scheme, switch-to-scheme):
12137 * cus-edit.el (customize-group, custom-buffer-create)
12138 (customize-browse):
12139 * info.el (info):
12140 * shell.el (shell):
12141 * mail/sendmail.el (mail):
12142 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12143
8f098516
RS
121442011-09-22 Richard Stallman <rms@gnu.org>
12145
12146 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12147 move back only to line beg, don't move back over blank lines.
12148
e74f1bb6
MA
121492011-09-22 Michael Albinus <michael.albinus@gmx.de>
12150
12151 * files.el (copy-directory): Set directory attributes only in case
12152 they could be retrieved from the source directory. (Bug#9565)
12153
bfeef8b6
DK
121542011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12155
12156 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12157 (hs-find-block-beginning, hs-hide-level-recursive):
12158 Ignore strings as well as comments. (Bug#9502)
12159
7e423bb8
AS
121602011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12161
12162 * progmodes/sql.el (sql-comint-postgres):
12163 Convert port number to a string. (Bug#9566)
12164
b4d72fcf
MR
121652011-09-22 Martin Rudalics <rudalics@gmx.at>
12166
12167 * window.el (quit-window): Undedicate window when switching to
12168 previous buffer. Reported by Thierry Volpiatto
12169 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12170 (special-display-popup-frame): When popping up a new frame reset
12171 its previous buffers to nil. Simplify code.
b4d72fcf 12172
a7b88dc6
MA
121732011-09-21 Michael Albinus <michael.albinus@gmx.de>
12174
12175 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12176 and process filter, as done also in `shell-command'.
12177
cf4eacfd
MR
121782011-09-21 Martin Rudalics <rudalics@gmx.at>
12179
eca3f3ea 12180 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12181 Call set-window-start with NOFORCE argument t.
12182 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12183 (quit-window): Reword doc-string. Handle new format of
12184 quit-restore parameter. Don't delete window if it has a
12185 previous buffer we can show instead of the present one.
12186 (display-buffer-record-window): Rewrite using a new format for
12187 the quit-restore window parameter
12188 (special-display-popup-frame, display-buffer-same-window)
12189 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12190 (display-buffer-pop-up-window, display-buffer-use-some-window):
12191 Adapt symbol passed to display-buffer-record-window.
12192 * help.el (help-window-setup): Handle new format of quit-restore
12193 parameter.
12194
8d28cb95
SM
121952011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12196
94ab793f
SM
12197 * faces.el (face-list): Fix docstring (bug#9564).
12198
8d28cb95
SM
12199 * window.el (display-buffer--action-function-custom-type):
12200 Don't include internal functions in the Custom interface.
12201
3820edeb
JL
122022011-09-20 Juri Linkov <juri@jurta.org>
12203
12204 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12205 (Info-forward-node, Info-backward-node, Info-next-preorder)
12206 (Info-last-preorder): Use it. (Bug#9528)
12207
5147931d
JL
122082011-09-20 Juri Linkov <juri@jurta.org>
12209
12210 * info.el (Info-last-preorder): Visit last menu item only when
12211 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12212
cf499a1a
JD
122132011-09-20 Julien Danjou <julien@danjou.info>
12214
12215 * password-cache.el (password-cache-remove): Remove entries even if the
12216 value is nil, so that password with a nil value (negative caching) is
12217 possible to invalidate.
12218
f84e2fe2
LM
122192011-09-20 Lawrence Mitchell <wence@gmx.li>
12220
12221 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12222 all whitespace around breakpoint. (Bug#9553)
12223 (f90-find-breakpoint): Only break at whitespace inside a comment.
12224
78054a46
SM
122252011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12226
12227 * minibuffer.el (completion-file-name-table): Keep track of errors.
12228 (completion-table-with-predicate): Handle the case where pred1 is nil.
12229 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12230
345083b2
SM
122312011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12232
e24e27be
SM
12233 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12234 (debugger-return-value): Signal an error if the debugging context does
12235 not await any return value.
12236
345083b2
SM
12237 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12238 * image-mode.el (image-toggle-display-text)
12239 (image-toggle-display-image): Stay away from evil `intangible'.
12240
08d355e3
LL
122412011-09-19 Leo Liu <sdl.web@gmail.com>
12242
12243 * replace.el (occur-revert-arguments): Make it permanent-local.
12244 (occur-mode): Don't call font-lock-defontify.
12245
f01da43f
CY
122462011-09-19 Chong Yidong <cyd@stupidchicken.com>
12247
12248 * net/ldap.el (ldap-search-internal): Don't push empty search
12249 result (Bug#9508).
12250
b6072fa6
SM
122512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12252
12253 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12254
443d6696
MA
122552011-09-19 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12258 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12259
7cc6e154
JL
122602011-09-18 Juri Linkov <juri@jurta.org>
12261
12262 * buff-menu.el (Buffer-menu-mode-map):
12263 * dired.el (dired-mode-map):
12264 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12265 (lisp-interaction-mode-map):
12266 * emacs-lisp/package.el (package-menu-mode-map):
12267 * epa.el (epa-key-list-mode-map):
12268 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12269 (menu-bar-options-menu):
12270 * outline.el (outline-mode-menu-bar-map):
12271 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12272 * vc/vc-dir.el (vc-dir-menu-map):
12273 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12274 Capitalize non-function content words in menu item strings.
12275
12276 * dired.el (dired-mode-map): Add menu item for
12277 `image-dired-dired-toggle-marked-thumbs'.
12278
80302a81
JL
122792011-09-18 Juri Linkov <juri@jurta.org>
12280
12281 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12282 to `isearch-case-fold-search' and restore its original value
12283 after the `isearch-mode' call.
12284
46c5cf66
JL
122852011-09-18 Juri Linkov <juri@jurta.org>
12286
12287 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12288 because `zgrep' returns 1 for successful matches (bug#9226).
12289
d18b513b
JL
122902011-09-18 Juri Linkov <juri@jurta.org>
12291
12292 * info.el (Info-extract-menu-node-name): Check the second match
12293 for empty string (second test-case of bug#9528).
12294 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12295 intermediate nodes to the history (first test-case of bug#9528).
12296
72753f87
JL
122972011-09-18 Juri Linkov <juri@jurta.org>
12298
12299 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12300 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12301
c9384295
JL
123022011-09-18 Juri Linkov <juri@jurta.org>
12303
1154d12e
JB
12304 * info.el (Info-file-supports-index-cookies):
12305 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12306 outputs one more line for long file names (bug#4142).
c9384295 12307
d473dce8
CY
123082011-09-18 Chong Yidong <cyd@stupidchicken.com>
12309
12310 * newcomment.el (comment-normalize-vars): If prompting for
12311 comment-start, set comment-start-skip too (Bug#8424).
12312
2176854d
JB
123132011-09-18 Johan Bockgård <bojohan@gnu.org>
12314
12315 * icomplete.el: Fix previous fix of Bug#5849.
12316 (icomplete-mode): Don't set completion-show-inline-help.
12317 (icomplete-minibuffer-setup): Set completion-show-inline-help
12318 locally during icompletion.
12319
3aace4e4
CY
123202011-09-18 Chong Yidong <cyd@stupidchicken.com>
12321
c940224f
CY
12322 * woman.el (woman2-process-escapes): Don't delete unrecognized
12323 escapes (Bug#7843).
12324
3aace4e4
CY
12325 * files.el (inhibit-first-line-modes-regexps): Add image files.
12326 (hack-local-variables-prop-line): Return nil for malformed
12327 prop-lines (Bug#9044).
12328
710dec63
MA
123292011-09-18 Michael Albinus <michael.albinus@gmx.de>
12330
12331 * net/tramp.el (top): Don't require 'shell.
12332 (tramp-methods): Fix docstring.
12333 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12334 Return complete remote file name. Handle "smb" case.
12335 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12336 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12337
12338 * net/tramp-compat.el (top): Require 'shell.
12339
12340 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12341 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12342 `tramp-current-host'.
12343 (tramp-get-remote-tmpdir): Remove.
12344
12345 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12346 `tramp-tmpdir' entries.
12347 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12348 (tramp-smb-handle-file-attributes): Ignore errors.
12349 (tramp-smb-wait-for-output): Check also for process end.
12350
5d5ac8ec
LMI
123512011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12352
12353 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12354 when sending QUIT (bug#9312).
12355
8c0f49f0
CY
123562011-09-17 Chong Yidong <cyd@stupidchicken.com>
12357
12358 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12359 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12360 occur-mode-display-occurrence.
12361 (occur-edit-mode): Add usage message.
12362 (occur-cease-edit): New command.
12363 (occur-after-change-function): Use text properties to find the
12364 position of the prefix text.
12365 (occur-engine): Set stickiness of prefix text properties.
12366
8f1383f7
GM
123672011-09-17 Glenn Morris <rgm@gnu.org>
12368
12369 * progmodes/etags.el (complete-tag):
12370 Fix call to completion-in-region. (Bug#9526)
12371
744ba0e3
JL
123722011-09-17 Juri Linkov <juri@jurta.org>
12373
12374 * textmodes/ispell.el (ispell-word): Add to the error message
12375 the word, ispell program name and current dictionary (bug#9121).
12376 (ispell-tex-arg-end): Capitalize "error" in the error message.
12377
d9bbf400
AS
123782011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12379
12380 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12381 check. (Bug#4251)
12382
8da11505
JL
123832011-09-17 Juri Linkov <juri@jurta.org>
12384
12385 * window.el (window-safe-min-height, window-safe-min-width):
12386 Fix typos (followup to bug#9522).
12387
a91adc7e
SJ
123882011-09-17 Sven Joachim <svenjoac@gmx.de>
12389
12390 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12391
064f328a
EZ
123922011-09-16 Eli Zaretskii <eliz@gnu.org>
12393
12394 * simple.el (line-move): If goal-column is set, move by logical
12395 lines, not by display lines. (Bug#971)
12396 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12397 to reflect the above change.
12398
e69df516
SM
123992011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * image.el (imagemagick-register-types): Use regexp-opt.
12402
cbb0f9ab
CY
124032011-09-15 Chong Yidong <cyd@stupidchicken.com>
12404
12405 * window.el (display-buffer-base-action): Rename from
12406 display-buffer-default-action. Make default value empty.
12407 (display-buffer-overriding-action): Convert to defvar.
12408 (display-buffer-fallback-action): New var.
12409
25322144
CY
124102011-09-15 Chong Yidong <cyd@stupidchicken.com>
12411
12412 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12413 declaration.
12414 (package--add-to-archive-contents): If there is a duplicate entry
12415 with an older version, remove it.
12416 (package-menu-mark-delete, package-menu-mark-install)
12417 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12418 (package-menu-mark-obsolete-for-deletion):
12419 Use package-menu-get-status instead of a regexp search.
25322144
CY
12420 (package-menu-get-status): Use tabulated-list-entry.
12421 (package-menu-mark-upgrades): New command.
d770725a 12422 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12423 (package-menu-execute): Do installation before deletion.
12424 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12425 instead of checking major-mode.
12426 (package-menu--find-upgrades): New function.
12427
7520339c
LMI
124282011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12429
12430 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12431 passwords in the log buffer.
65a046c4
LMI
12432 (smtpmail-process-filter): Update the process marker so that the
12433 "broken by peer" status message is inserted in the right place.
7520339c 12434
d3c30954
SM
124352011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12436
3fe48822
SM
12437 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12438 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12439 bibtex-completion-at-point-function.
12440 (bibtex-completion-at-point-function): Use them.
12441
1b8b3954
SM
12442 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12443
d3c30954
SM
12444 * mpc.el (mpc-constraints-tag-lookup): New function.
12445 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12446 also to browser "album|playlist".
12447
72779976
JL
124482011-09-14 Juri Linkov <juri@jurta.org>
12449
12450 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12451 (isearch-edit-string): Use length of `isearch-string' when
12452 `isearch-fail-pos' returns nil.
12453 (isearch-message): Remove duplicate code and call
12454 `isearch-fail-pos' with arg `t'.
12455
a0bf2bcd
CY
124562011-09-14 Chong Yidong <cyd@stupidchicken.com>
12457
17bb0a2d
CY
12458 * replace.el (occur-mode-goto-occurrence): Don't force using other
12459 window (Bug#9499).
12460
a0bf2bcd
CY
12461 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12462
f678e0b6
MR
124632011-09-14 Martin Rudalics <rudalics@gmx.at>
12464
12465 * window.el (display-buffer-window): Remove.
12466 (display-buffer-record-window): Use help-setup window parameter
12467 instead of variable display-buffer-window.
12468 (display-buffer-function, special-display-buffer-names)
12469 (special-display-function): Mention help-setup parameter instead
12470 of display-buffer-window in doc-string.
d3c30954
SM
12471 * help.el (help-window-setup): New argument help-window.
12472 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12473 Reword some messages.
12474 (with-help-window): Pass window used for displaying the buffer
12475 to help-window-setup. Don't set display-buffer-window.
12476
8e39b2e8
GM
124772011-09-13 Glenn Morris <rgm@gnu.org>
12478
12479 * emacs-lisp/debug.el (debugger-make-xrefs):
12480 Preserve point. (Bug#9462)
12481
85e9c04b
CY
124822011-09-13 Chong Yidong <cyd@stupidchicken.com>
12483
12484 * window.el (window-deletable-p): Use next-frame.
12485
1b36ed6a
MR
124862011-09-13 Martin Rudalics <rudalics@gmx.at>
12487
12488 * window.el (window-auto-delete): Remove.
12489 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12490 dedication and previous buffers.
1b36ed6a
MR
12491 (switch-to-prev-buffer): Don't delete window.
12492 (delete-windows-on): Delete a window's frame if and only if the
12493 window is dedicated.
12494 (replace-buffer-in-windows): Delete buffer's window or frame if
12495 and only if window is dedicated.
12496 (quit-window): Handle quit-restore as before last change.
4d61f28d 12497 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12498
ef8ef9fb
CY
124992011-09-13 Chong Yidong <cyd@stupidchicken.com>
12500
12501 * window.el (window-deletable-p): Never delete the last frame on a
12502 given terminal.
12503
b2cba41e
GM
125042011-09-13 Glenn Morris <rgm@gnu.org>
12505
12506 * help.el (describe-key-briefly): Copy previous standard-output change.
12507
51553db6 125082011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12509
12510 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12511
b7556719
GM
125122011-09-13 Glenn Morris <rgm@gnu.org>
12513
12514 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12515 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12516
64b51947
CY
125172011-09-12 Chong Yidong <cyd@stupidchicken.com>
12518
12519 * dired-aux.el (dired-mark-read-string): Don't return default
12520 value on empty input (Bug#9361).
12521 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12522 Omit initial minibuffer contents.
12523 (dired-do-chmod): Signal an error on empty input.
12524 (dired-mark-read-string): Don't return default on empty input.
12525
12526 * files.el (file-modes-symbolic-to-number): Doc fix.
12527
393a301e
SM
125282011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12529
12530 * international/mule-cmds.el (ucs-completions): Remove.
12531 (read-char-by-name): Use complete-with-action instead; add metadata.
12532
fa5660f9
CY
125332011-09-11 Chong Yidong <cyd@stupidchicken.com>
12534
12535 * window.el (display-buffer--action-function-custom-type)
12536 (display-buffer--action-custom-type): New vars.
12537 (display-buffer-alist, display-buffer-default-action)
12538 (display-buffer-overriding-action): Add defcustom types.
12539
4a592f66
CY
12540 * frame.el (delete-other-frames): Doc fix (Bug#276).
12541
73d56dbd
LMI
125422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12543
12544 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12545
37ac18a3
CY
125462011-09-11 Chong Yidong <cyd@stupidchicken.com>
12547
12548 Change modes that used same-window-* vars to use switch-to-buffer.
12549
12550 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12551 Use switch-to-buffer.
12552
12553 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12554 (customize-browse, custom-buffer-create-other-window):
12555 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12556
12557 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12558 (Info-prev, Info-up, Info-speedbar-goto-node)
12559 (info-display-manual): Use switch-to-buffer.
12560 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12561
12562 * mail/sendmail.el (mail): Use switch-to-buffer.
12563 (mail-recover): Use switch-to-buffer-other-window.
12564
12565 * cmuscheme.el (run-scheme, switch-to-scheme):
12566 * ielm.el (ielm):
12567 * shell.el (shell):
12568 * net/rlogin.el (rlogin):
12569 * net/telnet.el (telnet, rsh):
12570 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12571
10195bd6
AS
125722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12573
12574 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12575
b322f63a
LMI
125762011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12577
39d7fed6
LMI
12578 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12579 so don't mention it (bug#9301).
ba5a81f1 12580 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12581
ee0e9f11
LMI
12582 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12583 match `x', `w32' and `ns', like the manual says (bug#9029).
12584
0b1c89c1 12585 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12586 (process-kill-buffer-query-function): Mention the buffer name in
12587 the query.
0b1c89c1 12588
77549ea8
LMI
12589 * image-mode.el (image-next-line): The line parameter is mandatory
12590 (bug#9258).
12591
803ef892
LMI
12592 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12593 which can be useful (bug#9301).
12594
12980837
LMI
12595 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12596
91054f8f
LMI
12597 * subr.el (match-string): Mention that the current buffer should
12598 be the same as the search was done in (bug#9282).
12599
b322f63a
LMI
12600 * facemenu.el: Disable the remove-* commands if the mark isn't
12601 active (bug#9162).
12602
3199b96f
CY
126032011-09-10 Chong Yidong <cyd@stupidchicken.com>
12604
12605 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12606 of display-buffer.
12607 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12608
12609 * replace.el (occur-mode-goto-occurrence)
12610 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12611 and display-buffer.
12612
12613 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12614 display-buffer.
12615
12616 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12617 special-display and same-window variables.
12618 (mail-other-window): Use switch-to-buffer-other-window.
12619 (mail-other-frame): USe switch-to-buffer-other-frame.
12620
393a301e
SM
12621 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12622 Use display-buffer-other-frame.
3199b96f
CY
12623 (gdb-display-gdb-buffer): Use pop-to-buffer.
12624
12625 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12626
12627 * progmodes/python.el: Don't set same-window-buffer-names.
12628
12629 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12630
12631 * window.el (display-buffer-alist): Add *Python*.
12632
8319e0bf
CY
126332011-09-10 Chong Yidong <cyd@stupidchicken.com>
12634
12635 * window.el (display-buffer-alist): Add entry for buffers
12636 previously handled same-window-*.
12637 (display-buffer-alist, display-buffer-default-action)
12638 (display-buffer-overriding-action): Mark as risky.
12639 (display-buffer-alist): Document action function changes.
12640 (display-buffer--same-window-action)
12641 (display-buffer--other-frame-action): New variables.
12642 (switch-to-buffer, display-buffer-other-frame): Use them.
12643 (display-buffer): Rename reuse-frame entry to reusable-frames.
12644 (display-buffer-reuse-selected-window): Function deleted.
12645 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12646 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12647 (display-buffer-special): New function.
12648 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12649 display-buffer-reuse-or-pop-window. Split off special-display
12650 part into display-buffer-special.
12651 (display-buffer-use-some-window): Don't perform any special
12652 pop-up-frames handling.
12653 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12654 (display-buffer--maybe-same-window): Rename from
0d3ff375 12655 display-buffer-maybe-same-window.
8319e0bf 12656
919a69aa
CY
12657 * info.el: Don't set same-window-regexps.
12658 (info-setup): New function.
12659 (info-other-window, info): Call it.
12660
12661 * cus-edit.el: Don't set same-window-regexps.
12662 (customize-group): New argument.
12663 (customize-group-other-window): Use it.
12664 (customize-face, customize-face-other-window): Likewise.
12665 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12666
8319e0bf
CY
12667 * net/rlogin.el:
12668 * net/telnet.el:
12669 * progmodes/gud.el: Don't set same-window-regexps.
12670
12671 * cmuscheme.el:
12672 * ielm.el:
12673 * shell.el:
12674 * mail/sendmail.el:
12675 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12676
25173000
JL
126772011-09-10 Juri Linkov <juri@jurta.org>
12678
12679 * isearch.el (isearch-edit-string): Remove obsolete mention of
12680 `C-w' (`isearch-yank-word-or-char') from docstring.
12681 (isearch-query-replace): Fix typo in docstring (bug#9466).
12682
056e44ef
JL
126832011-09-10 Juri Linkov <juri@jurta.org>
12684
12685 * paren.el (show-paren-function): Don't show escaped parens.
12686 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12687
c3760c17
EZ
126882011-09-10 Eli Zaretskii <eliz@gnu.org>
12689
12690 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12691 (mm-default-file-encoding): Remove autoload forms, they are
12692 replaced with autoload cookies in mml.el and mm-encode.el.
12693 (mail-add-attachment): New command.
12694 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12695 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12696 the doc string.
12697 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12698
fece895e
RT
126992011-09-10 Reuben Thomas <rrt@sc3d.org>
12700
e69df516
SM
12701 * simple.el (count-words-region): Use buffer if there's no region
12702 (bug#9429).
fece895e 12703
5e68ce4a
JL
127042011-09-09 Juri Linkov <juri@jurta.org>
12705
12706 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12707 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12708 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12709
0a6b9622
AM
127102011-09-09 Alan Mackenzie <acm@muc.de>
12711
12712 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12713 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12714
14a29deb
EZ
127152011-09-09 Eli Zaretskii <eliz@gnu.org>
12716
12717 Fix for Savannah bug#9392.
12718 * simple.el (mail-encode-mml): New defvar.
12719
12720 * mail/rmail.el (mail-encode-mml): Add a defvar.
12721 (rmail-enable-mime-composing): Default to t.
12722 (rmail-forward): Use MIME method of forwarding only if both
12723 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12724 Set mail-encode-mml non-nil if the MIME method was used.
12725
12726 * mail/sendmail.el (mml-to-mime): Add autoload form.
12727 (mail-encode-mml): Add a defvar.
12728 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12729 to nil.
12730 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12731 message through mml-to-mime, and reset mail-encode-mml to nil.
12732
28c45130
GM
127332011-09-09 Glenn Morris <rgm@gnu.org>
12734
12735 * woman.el (woman-if-body): When processing an .el block,
12736 do not delete the next .el block as well. (Bug#9447)
69f4b618 12737 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12738
9b1c252e
MR
127392011-09-08 Martin Rudalics <rudalics@gmx.at>
12740
12741 * window.el (window-deletable-p): Make sure window is live before
12742 invoking window-prev-buffers.
12743
567457e3
LL
127442011-09-08 Leo Liu <sdl.web@gmail.com>
12745
12746 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12747
97f05794
JL
127482011-09-08 Juri Linkov <juri@jurta.org>
12749
12750 * progmodes/compile.el (compilation-environment): Make it
12751 a defcustom (bug#8340).
12752
8b0874b5
MR
127532011-09-08 Martin Rudalics <rudalics@gmx.at>
12754
12755 * window.el (frame-auto-delete): Rename to window-auto-delete.
12756 Make it control auto-deletion of windows and/or frames.
12757 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12758 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12759 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12760 Rewrite handling of case when window/frame can be deleted.
12761 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12762 argument t. (Bug#9456)
8b0874b5 12763
4feb6e73
CY
127642011-09-07 Chong Yidong <cyd@stupidchicken.com>
12765
12766 * help-mode.el (help-mode): Restore autoload.
12767
91ab9c13
JL
127682011-09-07 Juri Linkov <juri@jurta.org>
12769
12770 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12771 `compilation-environment'. Set buffer-local
12772 `compilation-environment' to `thisenv' later after (funcall mode).
12773 (Bug#8340)
12774
12775 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12776 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12777 instead of replacing its value. (Bug#8340)
12778
0527e251
JL
127792011-09-07 Juri Linkov <juri@jurta.org>
12780
12781 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12782 based on text properties put by `grep-filter' instead of matching
12783 escape sequences.
12784 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12785 to the value of `grep-error-screen-columns' (bug#9438).
12786
249f792c
JL
127872011-09-07 Juri Linkov <juri@jurta.org>
12788
12789 * simple.el (next-error-highlight, next-error-highlight-no-select):
12790 Doc fix (bug#9432).
12791
ff7271b9
OT
127922011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12793
12794 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12795 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12796
183fc730
LL
127972011-09-07 Leo Liu <sdl.web@gmail.com>
12798
12799 * net/rcirc.el (rcirc-mode): Conditionally initialize
12800 rcirc-input-ring.
12801
77694924
SM
128022011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12803
12804 * emacs-lisp/find-func.el (find-function-C-source): Only set
12805 find-function-C-source-directory after checking that we found a source
12806 file there (bug#9440).
12807
d809b8eb
AM
128082011-09-06 Alan Mackenzie <acm@muc.de>
12809
12810 * isearch.el (isearch-other-meta-char): Wherever a key list is
12811 unread, "unread" the prefix arg, too. This fixes bug #8901.
12812
453de99f
OG
128132011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12814
12815 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12816
90439906
JL
128172011-09-05 Juri Linkov <juri@jurta.org>
12818
12819 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12820
f62bd846
JL
128212011-09-05 Juri Linkov <juri@jurta.org>
12822
12823 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12824 keeping point where processing of grep matches begins, and
12825 continue to delete remaining escape sequences from the same point.
12826 (grep-filter): Make leading zero optional in "0?1;31m" because
12827 git-grep emits "\033[1;31m" escape sequences unlike expected
12828 "\033[01;31m" as GNU Grep does (bug#9408).
12829 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12830
045820ec
JL
128312011-09-05 Juri Linkov <juri@jurta.org>
12832
12833 * subr.el (y-or-n-p): Capitalize "yes".
12834
f5e29b9b
MA
128352011-09-04 Michael Albinus <michael.albinus@gmx.de>
12836
12837 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12838 `tramp-cache-unload-hook' where appropriate.
12839 (tramp-methods): Rename `tramp-remote-sh' to
12840 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12841 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12842
12843 * net/tramp-sh.el (top): Don't require 'shell.
12844 (tramp-methods): Add `tramp-remote-shell' and
12845 `tramp-remote-shell-args' entries.
12846 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12847 (tramp-sh-handle-shell-command): Remove.
12848 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12849 Use `tramp-remote-shell'.
12850
2784c434
CY
128512011-09-03 Chong Yidong <cyd@stupidchicken.com>
12852
393a301e 12853 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12854 (sendmail-query-once): Save directly to send-mail-function.
12855 Update message-send-mail-function too.
12856
12857 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12858
464cdf56
CS
128592011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12860
12861 * progmodes/python.el (python-mode-map): Use correct function to
12862 start python interpreter from menu-bar (as reported by Geert
12863 Kloosterman).
12864 (inferior-python-mode-map): Fix typo.
393a301e 12865 (python-shell-map): Remove.
464cdf56 12866
d37e5c87
DD
128672011-09-03 Deniz Dogan <deniz@dogan.se>
12868
12869 * net/rcirc.el (rcirc-print): Simplify code for
12870 rcirc-scroll-show-maximum-output. There is no need to walk
12871 through all windows to find the right one.
12872
f3ada0ee
CS
128732011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12874
12875 * help.el (help-return-method): Doc fix.
12876
1f3c99ca
MR
128772011-09-03 Martin Rudalics <rudalics@gmx.at>
12878
12879 * window.el (window-deletable-p): Don't return a non-nil value
12880 when there's a buffer that was shown in the window before.
12881 (Bug#9419)
393a301e
SM
12882 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12883 Set window's previous buffers to nil.
1f3c99ca 12884
a3cf097f
EZ
128852011-09-03 Eli Zaretskii <eliz@gnu.org>
12886
12887 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12888 newline before and after the tag line, so it doesn't interfere
12889 with determining the paragraph direction of bidirectional text.
12890
3d03de90
LL
128912011-09-03 Leo Liu <sdl.web@gmail.com>
12892
12893 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12894
c3313451
CY
128952011-09-02 Chong Yidong <cyd@stupidchicken.com>
12896
393a301e 12897 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12898 (pop-to-buffer): Change interactive spec. Pass second argument
12899 directly to display-buffer.
12900 (display-buffer): Fix interactive spec. Use functionp to
12901 distinguish between a function and a list of functions.
12902
12903 * abbrev.el (edit-abbrevs):
12904 * arc-mode.el (archive-extract):
12905 * autoinsert.el (auto-insert):
12906 * bookmark.el (bookmark-bmenu-list):
12907 * files.el (find-file):
12908 * view.el (view-buffer):
12909 * progmodes/compile.el (compilation-goto-locus):
12910 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12911
89894cd8
CY
129122011-09-02 Chong Yidong <cyd@stupidchicken.com>
12913
12914 * window.el (display-buffer-alist): Doc fix.
12915 (display-buffer): Add docstring. Don't treat
12916 display-buffer-default specially.
12917 (display-buffer-reuse-selected-window)
12918 (display-buffer-same-window, display-buffer-maybe-same-window)
12919 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12920 (display-buffer-pop-up-window)
12921 (display-buffer-reuse-or-pop-window)
12922 (display-buffer-use-some-window): New functions.
12923 (display-buffer-default-action): Use them.
393a301e 12924 (display-buffer-default): Delete.
89894cd8
CY
12925 (pop-to-buffer-1): Fix choice of actions.
12926
ae0bc9fb
SM
129272011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12928
12929 * minibuffer.el (completion--insert-strings): Don't get confused by
12930 completion entries that end with an LF char.
12931
e9d90883
EZ
129322011-09-01 Eli Zaretskii <eliz@gnu.org>
12933
12934 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12935
437014c8
CY
129362011-09-01 Chong Yidong <cyd@stupidchicken.com>
12937
12938 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12939 (display-buffer-same-window, display-buffer-other-window):
12940 New functions.
437014c8
CY
12941 (pop-to-buffer-1): New function. Use the above.
12942 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12943 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12944
12945 * view.el (view-buffer-other-window, view-buffer-other-frame):
12946 Just use pop-to-buffer.
12947
a5e063d5
TV
129482011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12949
12950 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12951
793d32bb
WH
129522011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12953
12954 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12955
d65e4c15
RS
129562011-08-31 Richard Stallman <rms@gnu.org>
12957
12958 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12959 of the separation of rmail-view-buffer from rmail-buffer.
12960 If you say no to "replace original", the decrypt is in the
12961 view buffer. If you say yes, the decrypt goes into the
12962 rmail buffer also.
12963
f818cd2a
MR
129642011-08-31 Martin Rudalics <rudalics@gmx.at>
12965
12966 * window.el (display-buffer-window): Rewrite doc-string.
12967 (display-buffer-record-window): New function.
12968 (display-buffer-macro-specifiers)
12969 (display-buffer-even-window-sizes, display-buffer-set-height)
12970 (display-buffer-set-width, display-buffer-in-window)
12971 (display-buffer-reuse-window, display-buffer-split-specifiers)
12972 (display-buffer-side-specifiers, display-buffer-split-window-1)
12973 (display-buffer-split-window, display-buffer-split-atom-window)
12974 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12975 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12976 (display-buffer-other-window-means-other-frame)
12977 (display-buffer-normalize-special)
12978 (display-buffer-normalize-default)
12979 (display-buffer-normalize-argument)
12980 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12981 (display-buffer-normalize-specifiers, display-buffer-frame)
12982 (display-buffer-same-window, display-buffer-same-frame)
12983 (display-buffer-other-window)
12984 (display-buffer-same-frame-other-window)
12985 (display-buffer-other-frame, pop-to-buffer-same-window)
12986 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12987 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12988 (switch-to-buffer-same-frame)
12989 (switch-to-buffer-other-window-same-frame)
12990 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12991 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12992 (display-buffer-alist-set): Remove.
12993 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12994 (special-display-regexps, special-display-function):
12995 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12996 parameter.
12997 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12998 (special-display-frame-alist, special-display-popup-frame)
12999 (same-window-buffer-names, same-window-regexps, same-window-p)
13000 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13001 (split-window-preferred-function, split-height-threshold)
13002 (split-width-threshold, window-splittable-p)
13003 (split-window-sensibly, window--try-to-split-window)
13004 (window--frame-usable-p, even-window-heights)
13005 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13006 (window--display-buffer-2, display-buffer-other-frame):
13007 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13008 (display-buffer-default, display-buffer-assq-regexp): New functions.
13009 (display-buffer-alist): Rewrite doc-string.
13010 (display-buffer-default-action)
13011 (display-buffer-overriding-action): New variables.
13012 (display-buffer, switch-to-buffer): Rewrite.
13013 (pop-to-buffer): Restore Emacs 23 behavior but use
13014 window-normalize-buffer-to-display.
13015 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13016 Restore Emacs 23 behavior but use
13017 window-normalize-buffer-to-switch-to.
13018 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13019 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13020 Rewrite using Emacs 23 options.
f818cd2a 13021
5bc3b51d
MA
130222011-08-31 Michael Albinus <michael.albinus@gmx.de>
13023
13024 * net/tramp.el (tramp-root-regexp): Remove.
13025 (tramp-completion-file-name-regexp-unified)
13026 (tramp-completion-file-name-regexp-separate)
13027 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13028 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13029 (tramp-drop-volume-letter): Simplify definition.
13030 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13031
b1a4f8e1
SM
130322011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13033
13034 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13035 (bug#9356).
13036
5664fa7b
RT
130372011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13038
b1a4f8e1 13039 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13040
9a45d6c3
JL
130412011-08-29 Juri Linkov <juri@jurta.org>
13042
13043 * isearch.el (isearch-done): Don't display message "Mark saved"
13044 when arg `edit' is non-nil to prevent its flicker in the echo area.
13045
fb87e0fb
CY
130462011-08-28 Chong Yidong <cyd@stupidchicken.com>
13047
13048 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13049 obsolete packages for deletion.
13050
09ac1c2a
CS
130512011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13052
13053 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13054 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13055 view-mode from help-mode.
13056 (help-xref-override-view-map): Remove.
13057 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13058 view-mode is not used anymore.
13059
7a1ff57f
CY
130602011-08-28 Chong Yidong <cyd@stupidchicken.com>
13061
13062 * server.el (server-port): Doc fix.
13063
b9696605
CY
13064 * cus-theme.el (custom-theme-choose-mode): Inherit from
13065 special-mode (Bug#9124).
13066 (custom-theme-choose-mode-map): Add special-mode to parent.
13067
ef8cdf8c
AM
130682011-08-28 Alan Mackenzie <acm@muc.de>
13069
13070 * progmodes/cc-fonts.el
13071 (c-make-font-lock-BO-decl-search-function): New function.
13072 (c-basic-matchers-after - "Fontify the clauses after various
13073 keywords"): Extract the three keyword lists for the 3 erroneous
13074 constructs from the list of four, and use the new function above
13075 in place of an old one.
13076
27de4e20
DD
130772011-08-28 Deniz Dogan <deniz@dogan.se>
13078
13079 * net/rcirc.el (rcirc-insert-prev-input)
13080 (rcirc-insert-next-input): Remove unused argument.
13081
356a3681
SM
130822011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13083
13084 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13085
3fc9b218
AM
130862011-08-27 Alan Mackenzie <acm@muc.de>
13087
13088 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13089 handle function pointer parameters properly.
13090
538a061c
MR
130912011-08-27 Martin Rudalics <rudalics@gmx.at>
13092
13093 * window.el (display-buffer-reuse-window): Fix case where
13094 selected window was reused with non-nil OTHER-WINDOW argument.
13095 (Bug#9381)
13096
35b1c40c
DD
130972011-08-27 Deniz Dogan <deniz@dogan.se>
13098
13099 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13100 oftc's NickServ messages.
13101
2f6a3e79
GM
131022011-08-27 Glenn Morris <rgm@gnu.org>
13103
13104 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13105
7254299e
CY
131062011-08-26 Chong Yidong <cyd@stupidchicken.com>
13107
13108 * emacs-lisp/package.el (package-install): Call package-initialize
13109 if called interactively.
13110
f8ccf167
LL
131112011-08-26 Leo Liu <sdl.web@gmail.com>
13112
13113 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13114
3e8cd5ce
JL
131152011-08-25 Juri Linkov <juri@jurta.org>
13116
13117 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13118 `search-whitespace-regexp' (bug#9364).
13119
93eb7113
JL
131202011-08-25 Juri Linkov <juri@jurta.org>
13121
13122 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13123 `regexp-search-ring' to their global values to protect from
13124 updating by `read-from-minibuffer' (bug#9185).
13125
f65d1611
JL
131262011-08-25 Juri Linkov <juri@jurta.org>
13127
13128 * textmodes/ispell.el (ispell-command-loop): Add newline
13129 at the end of the "Use option `i'..." line.
13130
f1cf7a31
JL
131312011-08-25 Juri Linkov <juri@jurta.org>
13132
13133 * battery.el (display-battery-mode): If `battery-status-function'
13134 or `battery-mode-line-format' is nil, display the message and set
13135 `display-battery-mode' to nil (bug#9363).
13136
0c95fcf7
EZ
131372011-08-25 Eli Zaretskii <eliz@gnu.org>
13138
13139 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13140 bidi-string-mark-left-to-right; they are unnecessary now.
13141
a2ebe600
DD
131422011-08-25 Deniz Dogan <deniz@dogan.se>
13143
13144 * net/quickurl.el: Documentation typo fixes.
13145
e4ed06f1
CY
131462011-08-25 Chong Yidong <cyd@stupidchicken.com>
13147
13148 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13149
e5f1c99e
GM
131502011-08-25 Glenn Morris <rgm@gnu.org>
13151
b2948976
GM
13152 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13153
e5f1c99e
GM
13154 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13155 (smtpmail-via-smtp): Handle nil response from smtp.
13156
f22f4808
JL
131572011-08-24 Juri Linkov <juri@jurta.org>
13158
13159 * proced.el (proced-marked): Inherit from `error' instead of
13160 `font-lock-warning-face'.
13161
13162 * ibuffer.el (ibuffer-marked-face): Change default face from
13163 `font-lock-warning-face' to `warning'.
13164 (ibuffer-deletion-face): Change default face from
13165 `font-lock-type-face' to `error'.
13166
13167 * battery.el (battery-update): Use the face `error' instead of
13168 `font-lock-warning-face' (bug#6117).
13169
6a93965e
JL
131702011-08-24 Juri Linkov <juri@jurta.org>
13171
13172 * faces.el (success): Change face color from "Green3" to
13173 "ForestGreen" on light background (bug#9353).
13174
1ed43b09
CY
131752011-08-24 Chong Yidong <cyd@stupidchicken.com>
13176
5664fa7b
RT
13177 * window.el (quit-window): Rename from quit-restore-window.
13178 Use same arglist as old quit-window.
1ed43b09
CY
13179 (frame-auto-delete): Doc fix.
13180
13181 * view.el (view-mode-exit): Use quit-window.
13182
11dcdbb2
JL
131832011-08-24 Juri Linkov <juri@jurta.org>
13184
13185 * isearch.el (isearch-ring-adjust1): Start visiting previous
13186 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13187 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13188 for empty search string (when the last search string is reused
13189 automatically) to adjust the isearch ring to the last element and
13190 prepare the correct index for further M-p commands (bug#9185).
13191
de62b4df
KH
131922011-08-24 Kenichi Handa <handa@m17n.org>
13193
13194 * international/ucs-normalize.el: If decomposition property of
13195 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13196 nil.
13197 (nfd, nfkd): Likewise.
13198
963b492b
SM
131992011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13200
13201 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13202 from process filters aren't reliably transmitted to the surrounding
13203 accept-process-output.
13204 (mpc-proc-check): New function.
13205 (mpc-proc-sync): Use it (bug#8293)
13206
93b6b5e1
SM
132072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13208
13209 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13210 Add compatibility functions (bug#9313).
13211
bca633fb
EZ
132122011-08-23 Eli Zaretskii <eliz@gnu.org>
13213
b177498a
EZ
13214 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13215
6df6ae42 13216 * international/uni-bidi.el: Regenerate.
bca633fb 13217
0902a04e
KH
132182011-08-23 Kenichi Handa <handa@m17n.org>
13219
13220 * international/charprop.el:
13221 * international/uni-bidi.el:
13222 * international/uni-category.el:
13223 * international/uni-combining.el:
13224 * international/uni-comment.el:
13225 * international/uni-decimal.el:
13226 * international/uni-decomposition.el:
13227 * international/uni-digit.el:
13228 * international/uni-lowercase.el:
13229 * international/uni-mirrored.el:
13230 * international/uni-name.el:
13231 * international/uni-numeric.el:
13232 * international/uni-old-name.el:
13233 * international/uni-titlecase.el:
13234 * international/uni-uppercase.el: Regenerate.
13235
3bbf23bc
MR
132362011-08-23 Martin Rudalics <rudalics@gmx.at>
13237
13238 * help.el (help-window-setup): Fix message displayed when other
13239 window is reused. (Bug#9341)
13240
b3fd59bd
SM
132412011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13242
1802e444
SM
13243 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13244 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13245
b3fd59bd
SM
13246 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13247 Mark obsolete.
13248 * shell.el (shell-parse-pcomplete-arguments): New function.
13249 (shell-completion-vars): Use it instead (bug#9160).
13250
4eb61348
SM
132512011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13252
867cab74
SM
13253 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13254 strings and comments (bug#9333).
13255
4eb61348
SM
13256 * emacs-lisp/debug.el (debug-arglist): New function.
13257 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13258 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13259
262a1439
JL
132602011-08-22 Juri Linkov <juri@jurta.org>
13261
56ee679c
JL
13262 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13263 Revert regexp that highlights output switches to its old
13264 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13265
262a1439
JL
13266 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13267 to check for empty output (bug#9226).
13268
f13f86fb
CY
132692011-08-22 Chong Yidong <cyd@stupidchicken.com>
13270
13271 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13272 symbol-constituent as the default, as that stops font-lock from
13273 working properly (Bug#8843).
13274
c65c9622
LMI
132752011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13276
13277 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13278 `coding-system-for-*' around the process open call to avoid
13279 auth-source side effects.
e7f2c178 13280 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13281 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13282 probe hangs.
c65c9622 13283
23a8a5ab
CY
132842011-08-21 Chong Yidong <cyd@stupidchicken.com>
13285
ff98b2dd
CY
13286 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13287
23a8a5ab
CY
13288 * emacs-lisp/find-func.el (find-function-noselect): New arg
13289 lisp-only.
13290
13291 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13292 signal an error for built-in functions (Bug#6664).
13293
f5e3c598
LMI
132942011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13295
13296 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13297 (smtpmail-try-auth-methods): Use it.
13298
a3f2468a
CY
132992011-08-21 Chong Yidong <cyd@stupidchicken.com>
13300
2c34e8da
CY
13301 * font-lock.el (font-lock-fontify-region)
13302 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13303 (font-lock-default-unfontify-buffer)
13304 (font-lock-default-fontify-region)
13305 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13306
b3fd59bd
SM
13307 * progmodes/compile.el (compilation-error-properties):
13308 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13309 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13310 `ant' regexp.
ee31aabc 13311
a3f2468a
CY
13312 * net/browse-url.el (browse-url-firefox): Don't call
13313 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13314
8e999f70
GM
133152011-08-20 Glenn Morris <rgm@gnu.org>
13316
c21a496a
GM
13317 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13318
59ee0542
GM
13319 * tutorial.el (tutorial--default-keys): Update some default bindings.
13320
8e999f70
GM
13321 * files.el (hack-local-variables): Fully ignore case for "mode:".
13322
e3715033
AM
133232011-08-20 Alan Mackenzie <acm@muc.de>
13324
13325 Resolve invalid use of a regexp in regexp-opt.
13326
4d61f28d
JB
13327 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13328 detection for a java annotation.
e3715033 13329
4d61f28d 13330 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13331 detection for a java annotation.
13332
4d61f28d
JB
13333 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13334 handling for java.
e3715033
AM
13335 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13336
04ed2e9c
CY
133372011-08-20 Chong Yidong <cyd@stupidchicken.com>
13338
13339 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13340 (Bug#9274).
13341
826cee64
AM
133422011-08-20 Alan Mackenzie <acm@muc.de>
13343
58179cce 13344 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13345 such a construct. Mainly for when jit-lock etc. starts a chunk
13346 here.
13347
58179cce 13348 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13349 variable.
58179cce 13350 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13351 c-make-font-lock-search-function.
13352 (c-make-font-lock-search-function): Use the above function.
13353 (c-make-font-lock-context-search-function): New function.
13354 (c-cpp-matchers): Enhance the preprocessor expression case with
13355 the above function
13356 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13357 which takes an expression.
13358
13359 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13360
13009bd8
MR
133612011-08-20 Martin Rudalics <rudalics@gmx.at>
13362
13363 * window.el (display-buffer-reuse-window)
13364 (display-buffer-pop-up-window): Don't reuse or split a side
13365 window.
13366
9234ff7f
GM
133672011-08-19 Glenn Morris <rgm@gnu.org>
13368
13369 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13370 Downcase "Mode:". (Bug#9331)
9234ff7f 13371
f635daa1
CY
133722011-08-18 Chong Yidong <cyd@stupidchicken.com>
13373
13374 * international/characters.el: Add L and R categories.
13375
13376 * subr.el (bidi-string-mark-left-to-right): Rename from
13377 string-mark-left-to-right. Use category search.
13378
13379 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13380
bc987f8b
JL
133812011-08-18 Juri Linkov <juri@jurta.org>
13382
13383 * faces.el (error, warning, success): New faces with definitions
13384 copied from old default values of `font-lock-warning-face',
13385 `compilation-warning', `compilation-info' (bug#6117).
13386
13387 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13388
13389 * progmodes/compile.el (compilation-error): Inherit from `error'.
13390 (compilation-warning): Inherit from `warning'.
13391 (compilation-info): Inherit from `success'.
13392
13393 * dired.el (dired-marked): Inherit from `warning'.
13394 (dired-flagged): Inherit from `error'.
13395
57173b96
LMI
133962011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13397
3e79eb87
LMI
13398 * mail/smtpmail.el (auth-source): Require to avoid problems with
13399 binding variables (bug#9298). Also clean up some unused
13400 autoloads.
13401
b3fd59bd
SM
13402 * net/network-stream.el (network-stream-open-starttls):
13403 Support using starttls.el without using gnutls-cli.
57173b96 13404
02b404de
JL
134052011-08-17 Juri Linkov <juri@jurta.org>
13406
13407 * progmodes/grep.el (rgrep): Handle the case when
13408 `grep-find-command' is a cons cell (bug#9278).
13409
8c9177f2
MR
134102011-08-17 Martin Rudalics <rudalics@gmx.at>
13411
13412 * window.el (display-buffer-pop-up-frame): Run frame creation
13413 function with BUFFER current (as special-display-popup-frame
13414 does). Reported by Drew Adams.
13415
3644a0ab
DU
134162011-08-17 Daiki Ueno <ueno@unixuser.org>
13417
13418 * epa-mail.el: Simplify GnuPG group expansion using
13419 epg-expand-group.
13420 (epa-mail-group-alist, epa-mail-group-modtime)
13421 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13422 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13423 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13424 Remove.
13425
5e617bc2 134262011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13427
13428 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13429
9c4aeabf
AM
134302011-08-16 Alan Mackenzie <acm@muc.de>
13431
13432 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13433 Correct, to avoid the inside of macros.
13434
3a99bf64
RS
134352011-08-16 Richard Stallman <rms@gnu.org>
13436
04963aa8
RS
13437 * epa-mail.el: Handle GnuPG group definitions.
13438 (epa-mail-group-alist, epa-mail-group-modtime)
13439 (epa-mail-gnupg-conf-file): New variables.
13440 (epa-mail-parse-groups, epa-mail-sync-groups)
13441 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13442 (epa-mail-expand-recipients): New functions.
13443 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13444
177549d0
RS
13445 * mail/rmail.el (rmail-epa-decrypt): New command.
13446
fe38beef
RS
13447 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13448 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13449 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13450 (epa-decrypt-armor-in-region): Make error message clearer.
13451
934eacb9
SM
134522011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13455 and "a2b" to "ab" for `prefix'.
13456
d024fb4e
CY
134572011-08-14 Chong Yidong <cyd@stupidchicken.com>
13458
13459 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13460 filter groups.
de148fee
CY
13461 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13462 Fourquet (Bug#8804).
d024fb4e 13463
62f1ca49
JB
134642011-08-12 Juanma Barranquero <lekktu@gmail.com>
13465
13466 * startup.el (argi): Declare as global variable (bug#9275).
13467
9ccaaa4b
CY
134682011-08-12 Chong Yidong <cyd@stupidchicken.com>
13469
13470 * subr.el (string-mark-left-to-right): Search the entire string
13471 for RTL script, not just the terminating character. Doc fix.
13472
a3dae87a
SM
134732011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13474
6cd18349
SM
13475 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13476 New function.
13477 (js--regexp-literal, js-syntax-propertize-function): Remove.
13478 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13479 (js-mode-map): Don't rebind electric keys.
13480 (js-insert-and-indent): Remove.
13481 (js-mode): Setup electric-layout and electric-indent instead.
13482
a3dae87a
SM
13483 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13484
9d5cb631
DU
134852011-08-12 Daiki Ueno <ueno@unixuser.org>
13486
13487 * epa.el (epa-progress-callback-function): Fix the logic of
13488 displaying progress.
13489 * epa-file.el (epa-file-insert-file-contents): Make progress
13490 display more user-friendly.
13491 (epa-file-write-region): Ditto.
13492
3e26a4a2
CY
134932011-08-10 Chong Yidong <cyd@stupidchicken.com>
13494
13495 * subr.el (string-mark-left-to-right): New function.
13496
13497 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13498 Use string-mark-left-to-right.
13499 (list-buffers-noselect): Caller changed.
13500
a3dae87a
SM
13501 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13502 Use string-mark-left-to-right.
3e26a4a2
CY
13503 (tabulated-list-print): Recenter after moving point.
13504
ac8cf6e6
JL
135052011-08-10 Juri Linkov <juri@jurta.org>
13506
13507 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13508 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13509 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13510
8d96c9a4
CY
135112011-08-09 Chong Yidong <cyd@stupidchicken.com>
13512
13513 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13514 (Bug#7554).
13515
7be1c708 135162011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13517
13518 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13519 character. (Bug#6594)
13520
37e11a63
CY
135212011-08-08 Chong Yidong <cyd@stupidchicken.com>
13522
839dde57
CY
13523 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13524 (image-dired--with-db-file): New macro.
13525 (image-dired-write-tags, image-dired-remove-tag)
13526 (image-dired-create-gallery-lists, image-dired-write-comments)
13527 (image-dired-get-comment, image-dired-mark-tagged-files)
13528 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13529 (image-dired-gallery-generate): Use insert-file-contents.
13530
37e11a63
CY
13531 * time.el (display-time-world-list, display-time-world-display):
13532 * time-stamp.el (time-stamp-string):
13533 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13534 set-time-zone-rule (Bug#7337).
13535
0b4946c4
DU
135362011-08-08 Daiki Ueno <ueno@unixuser.org>
13537
13538 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13539 (epg-error-to-string, epg-errors-to-string): New function.
13540 (epg-wait-for-completion): Reverse errors list.
13541 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13542 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13543 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13544 (epg-sign-keys, epg-generate-key-from-file)
13545 (epg-generate-key-from-string): Format errors by using
13546 epg-errors-to-string (bug#9255).
13547 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13548
75bfc667
JL
135492011-08-07 Juri Linkov <juri@jurta.org>
13550
13551 * faces.el (list-faces-display): Remove extra angle bracket
13552 from `help-mode-map'.
13553
13554 * info.el (Info-history-toc-nodes): Doc fix.
13555
13556 * longlines.el (longlines-mode): Doc fix.
13557
673e08bb
SM
135582011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13559
4640dd88
SM
13560 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13561 of statements and in a few more cases (bug#9183).
13562
673e08bb
SM
13563 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13564 New functions.
13565 (cl-transform-lambda): Use them (bug#9239).
13566
89b3f019
MR
135672011-08-05 Martin Rudalics <rudalics@gmx.at>
13568
13569 * window.el (display-buffer-same-window)
13570 (display-buffer-same-frame, display-buffer-other-window)
13571 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13572 (pop-to-buffer-other-window)
13573 (pop-to-buffer-same-frame-other-window)
13574 (pop-to-buffer-other-frame): Make them defuns.
13575 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13576
640c8776
SM
135772011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * subr.el (make-composed-keymap): Move from C. Change calling
13580 convention, and improve docstring to bring attention to a subtle point.
13581 * minibuffer.el (completing-read-default): Adjust accordingly.
13582
63648a95
MA
135832011-08-03 Michael Albinus <michael.albinus@gmx.de>
13584
13585 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13586 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13587
13588 * net/trampver.el: Update release number.
13589
b796c9b7
SM
135902011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13591
13592 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13593 "in" (bug#9190).
13594
2239d7d5
LMI
135952011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13596
e07dd7c3
LMI
13597 * mail/sendmail.el (sendmail-query-once): Restore the current
13598 buffer after querying (bug#9074).
13599
0e6a2bd7
LMI
13600 * dired.el (dired-flagged): Use different faces for marked and
13601 flagged files (bug#6117).
13602
ce887515
LMI
13603 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13604 (bug#4433).
13605
92f2affc
LMI
13606 * ido.el (ido-mode): Switch off the message if called
13607 non-interactively.
13608
57d5aff0
LMI
13609 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13610 before 587, since it appears that that's more likely to work for
13611 more people.
13612
98cd6c18 13613 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13614 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13615 exist.
13616
b96dec83
LMI
13617 * info.el: Remove the `Info-beginning-of-buffer' function
13618 (bug#8325).
13619
b796c9b7
SM
13620 * net/network-stream.el (network-stream-open-starttls):
13621 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13622
d90e2ea0
MR
136232011-08-01 Martin Rudalics <rudalics@gmx.at>
13624
13625 * window.el (display-buffer-in-window): Don't set dedicated status
13626 of window here (Bug#9215).
13627 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13628 (display-buffer-pop-up-side-window)
b796c9b7 13629 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13630
cca09170
SM
136312011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13634 before binding generated-autoload-file.
13635
027b979c
DD
136362011-08-01 Deniz Dogan <deniz@dogan.se>
13637
13638 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13639
3c7ee4f3
MA
136402011-07-30 Michael Albinus <michael.albinus@gmx.de>
13641
13642 Sync with Tramp 2.2.2.
13643
13644 * net/trampver.el: Update release number.
13645
2cc8e51a
JL
136462011-07-30 Juri Linkov <juri@jurta.org>
13647
13648 * dired-aux.el (dired-touch-initial): Remove function.
13649 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13650 current time, and `default' to the last modification time of the
13651 current marked file (bug#6887).
13652
a514d856
JM
136532011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13654
13655 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13656 numeric argument to read-number (bug#9163).
a514d856 13657
8a7eddd7
MA
136582011-07-27 Michael Albinus <michael.albinus@gmx.de>
13659
13660 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13661 connection process, it could be nil.
13662
1ddd96f5
LL
136632011-07-27 Leo Liu <sdl.web@gmail.com>
13664
13665 Simplify url handling in rcirc-mode.
13666
13667 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13668 (rcirc-browse-url-at-mouse): Remove.
13669 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13670
b248a85d
AM
136712011-07-26 Alan Mackenzie <acm@muc.de>
13672
13673 Fontify bitfield declarations properly.
13674
13675 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13676 (c-symbol-chars): Now exported as a lang variable.
13677 (c-not-primitive-type-keywords): New lang variable.
13678
13679 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13680 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13681 parsed as a bitfield declaration.
b248a85d 13682
b796c9b7
SM
13683 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13684 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13685 (c-punctuation-in): New function.
13686 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13687 declarations properly.
13688
68575ab0
UJ
136892011-07-26 Ulf Jasper <ulf.jasper@web.de>
13690
13691 * calendar/icalendar.el (icalendar--all-events): Take care of
13692 multiple vcalendars in a single file.
b796c9b7 13693 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13694
0f0a88b9
DD
136952011-07-25 Deniz Dogan <deniz@dogan.se>
13696
13697 * image.el (insert-image): Clarifying docstring.
13698
0b3f36df
MA
136992011-07-24 Michael Albinus <michael.albinus@gmx.de>
13700
13701 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13702 `tramp-send-command-and-check' if there is no error.
13703 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13704
a9901f61
AM
137052011-07-22 Alan Mackenzie <acm@muc.de>
13706
13707 Prevent cc-langs.elc being loaded at run time.
13708
13709 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13710 cc-langs.
13711
4d61f28d 13712 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13713 "(require 'cc-langs)". Quote a form so it will evaluate at
13714 (cc-mode's) compilation time.
13715
11d074b2
MA
137162011-07-22 Michael Albinus <michael.albinus@gmx.de>
13717
13718 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13719 loading. (Bug#9114)
13720
938b94c8
MR
137212011-07-21 Martin Rudalics <rudalics@gmx.at>
13722
13723 * window.el (display-buffer-pop-up-window)
13724 (display-buffer-pop-up-side-window)
13725 (display-buffer-in-side-window): Call display-buffer-set-height
13726 and display-buffer-set-width after setting the new window's
b796c9b7 13727 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13728
bfa4f190
SS
137292011-07-20 Sam Steingold <sds@gnu.org>
13730
13731 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13732 (etags-tags-included-tables): Call `convert-standard-filename' on
13733 the file names contained in TAGS so that windows Emacs can handle
13734 TAGS files created by cygwin ctags.
13735
8ca42262
LMI
137362011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13737
13738 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13739 which apparently didn't work.
13740
5db2afd2 137412011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13742
5db2afd2
RW
13743 * proced.el (proced-send-signal): For *Marked Processes* buffer
13744 put point at beginning of buffer.
13745
92e15d10
SB
137462011-07-19 Stephen Berman <stephen.berman@gmx.net>
13747
13748 * proced.el (proced-format): Make header lines align with the text
13749 (bug#1779).
13750
1bfd59e5
LMI
137512011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13752
13753 * view.el (view-buffer): Allow running in `special' modes if we're
13754 visiting a file (bug#8615).
13755
f5aae37c
MR
137562011-07-19 Martin Rudalics <rudalics@gmx.at>
13757
13758 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13759 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13760 New functions.
f5aae37c
MR
13761 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13762 more accurately.
13763
bf2c1571
AM
137642011-07-18 Alan Mackenzie <acm@muc.de>
13765
13766 Fontify declarators properly when, e.g., a jit-lock chunk begins
13767 inside a declaration.
13768
13769 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13770
b796c9b7
SM
13771 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13772 New function.
bf2c1571
AM
13773 (c-complex-decl-matchers): Insert reference to
13774 c-font-lock-enclosing-decls.
13775
13776 * progmodes/cc-engine.el (c-backward-single-comment):
13777 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13778 to nil around calls to (forward-comment -1).
13779
4e190b80
LMI
137802011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13781
12dc863d
LMI
13782 * image.el (put-image): Doc typo fix.
13783
a762e966
LMI
13784 * progmodes/etags.el (tags-search): Doc typo fix.
13785
4e190b80
LMI
13786 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13787 password if we get errors 550 to 554.
13788
f019fb21
LMI
137892011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13790
b796c9b7 13791 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13792
81746738
LMI
13793 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13794 indentation character (bug#6380).
13795
3ee3a1b5
LMI
13796 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13797
c82f64de
LMI
13798 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13799 to clarify what the problem is (bug#4291).
13800
f019fb21
LMI
13801 * simple.el (current-kill): Clarify what
13802 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13803 (auto-fill-mode): Document `auto-fill-function' in relation to
13804 `auto-fill-mode' (bug#2470).
f019fb21 13805
0794775d
LM
138062011-07-16 Lawrence Mitchell <wence@gmx.li>
13807
13808 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13809 method if slot is read-only (bug#9035).
13810
be39b8cc
MR
138112011-07-16 Martin Rudalics <rudalics@gmx.at>
13812
b796c9b7 13813 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13814 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13815 selected before, see discussion of (Bug#8615), (Bug#6954).
13816 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13817
6ccf7859
GM
138182011-07-15 Glenn Morris <rgm@gnu.org>
13819
13820 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13821 Respect help-form.
6ccf7859 13822
87e86684
LM
138232011-07-09 Lawrence Mitchell <wence@gmx.li>
13824
13825 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13826 (gnutls-negotiate): Use it.
13827
d6066239
LMI
138282011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13829
b796c9b7
SM
13830 * net/gnutls.el (gnutls-negotiate):
13831 Upcase `gnutls-algorithm-priority'.
d6066239 13832
bd23ebc0
GM
138332011-07-15 Glenn Morris <rgm@gnu.org>
13834
c65bca65
GM
13835 * jka-compr.el (jka-compr-verbose): Move from here...
13836 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13837 Add missing :version tag.
13838 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13839
478615cc
LMI
138402011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13841
7b41decb
LMI
13842 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13843 (gnutls-negotiate): Use it.
13844
dbc44fcd
LMI
13845 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13846
06789f97
LMI
13847 * info.el (Info-beginning-of-buffer): New command.
13848 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13849 announcing `b' as the key (bug#8325).
ab896c37 13850 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13851
c39da690
LMI
13852 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13853
3aa5f34b
LMI
13854 * international/mule-cmds.el
13855 (describe-specified-language-support): Make the error message
13856 clearer (bug#8905).
13857
4bf0979f
LMI
13858 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13859
478615cc
LMI
13860 * isearch.el (isearch-barrier): Add a doc string, since it's
13861 mentioned in a function doc string (bug#8678).
13862
75c68aa1
MR
138632011-07-15 Martin Rudalics <rudalics@gmx.at>
13864
13865 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13866 buffer argument (Bug#9083) and self-identifying label argument.
13867
a7c33da2
GM
138682011-07-15 Glenn Morris <rgm@gnu.org>
13869
13870 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13871
2f5c6024
LMI
138722011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13873
13874 * man.el (Man-fontify-manpage): Fix message when formatting the
13875 man page (bug#7929).
13876
0bb23927 138772011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13878
13879 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13880 argument LRM; if non-nil, append an invisible LRM character to the
13881 buffer name.
13882 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13883 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13884 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13885 paragraph direction.
cce4b0a7 13886
621ef9ab
LMI
138872011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13888
d1583c48
LMI
13889 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13890 the man page name (bug#7929).
13891
6a57fb5f
LMI
13892 * image.el (put-image): Mention the `put-image' overlay property
13893 (bug#7834).
13894
d7956b14
LMI
13895 * scroll-bar.el (set-scroll-bar-mode): Mention that
13896 `scroll-bar-mode' lists the values (bug#7772).
13897
5b2d4a66
LMI
13898 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13899 command (bug#7729).
13900
7509a874
LMI
13901 * rect.el (apply-on-rectangle): Return the point after the last
13902 operation.
13903 (string-rectangle): Go to the point after the last operation
13904 (bug#7522).
13905
4fe74b19
LMI
13906 * printing.el (pr-toggle-region): Clarify the documentation
13907 slightly (bug#7493).
13908
b796c9b7
SM
13909 * time.el (display-time-update):
13910 Allow `display-time-mail-function' to return nil (bug#7158).
13911 Fix suggested by Detlev Zundel.
ab283561 13912
fc233c9d
LMI
13913 * vc/diff.el (diff): Clarify the order the file names are read
13914 (bug#7111).
13915
43f5740b
LMI
13916 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13917 the doc string (bug#7015).
13918
f2182a76
LMI
13919 * font-lock.el (font-lock-maximum-decoration): Mention what
13920 numeric levels mean (bug#6935).
13921
621ef9ab
LMI
13922 * startup.el (initial-buffer-choice): Don't mention the `none'
13923 selection, which is against policy.
13924
adc47434
MR
139252011-07-14 Martin Rudalics <rudalics@gmx.at>
13926
b796c9b7
SM
13927 * window.el (display-buffer-normalize-special):
13928 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13929
7e5bfb8f
EZ
139302011-07-14 Eli Zaretskii <eliz@gnu.org>
13931
13932 * subr.el (version<, version<=, version=): Mention "-CVS" and
13933 "-12345" alpha version numbers.
13934
27fa387a
CY
139352011-07-14 Chong Yidong <cyd@stupidchicken.com>
13936
13937 * bindings.el: Add advertised binding for set-mark-command
13938 (Bug#5772).
13939
8bdfa064
CY
139402011-07-14 Chong Yidong <cyd@stupidchicken.com>
13941
13942 * bindings.el (mode-line-other-buffer):
13943 * bookmark.el (bookmark-bmenu-2-window):
13944 * bs.el (bs-cycle-next, bs-cycle-previous):
13945 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13946 switch-to-buffer.
13947
13948 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13949 Delete.
8bdfa064 13950
5eba16a3
JB
139512011-07-14 Juanma Barranquero <lekktu@gmail.com>
13952
13953 * follow.el (follow-debug-message, follow-redisplay):
13954 * jka-cmpr-hook.el (with-auto-compression-mode):
13955 Fix typos in docstrings.
13956
15853710
LMI
139572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13958
a28e4607
LMI
13959 * subr.el (with-silent-modifications): Clarify somewhat what the
13960 macro inhibits (bug#6525).
13961
15853710
LMI
13962 * simple.el (eval-expression): Note what it does if called
13963 interactively (bug#6495).
13964
bee0fcef
CY
139652011-07-13 Chong Yidong <cyd@stupidchicken.com>
13966
b796c9b7
SM
13967 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13968 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13969
13970 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13971 Remove switch-to-buffer.
13972
58274504
LMI
139732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13974
bd2fcc8d
LMI
13975 * files.el (make-directory): Clarify that an error will be raised
13976 if there's an error (bug#6397).
13977
0f04b32c
LMI
13978 * startup.el (initial-buffer-choice): Add `none' as a choice
13979 (bug#6234).
13980
465c5fc8
LMI
13981 * subr.el (add-hook): Clarify section about buffer-local hooks
13982 (bug#6218).
13983
58274504
LMI
13984 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13985
bead9a43
JB
139862011-07-13 Juanma Barranquero <lekktu@gmail.com>
13987
13988 * tabify.el (untabify): Preserve the current column so that point
13989 doesn't move (bug#6032).
13990
3af98a7b
LMI
139912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13992
b796c9b7
SM
13993 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13994 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13995
6240145a
GM
139962011-07-13 Glenn Morris <rgm@gnu.org>
13997
13998 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13999 (dired-insert-directory): Give a message the first time
14000 if ls is found not to support --dired.
14001
1d8c2ccc
LMI
140022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14003
14004 * simple.el (toggle-truncate-lines): Clarify what is toggled
14005 (bug#5580). Text by Drew Adams.
14006
5fc4038e
CY
140072011-07-13 Chong Yidong <cyd@stupidchicken.com>
14008
14009 * simple.el (blink-matching-open): Make the error message from the
14010 last change less verbose.
14011
bf6012e5
DN
140122011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14013
14014 * font-lock.el (font-lock-comment-face): Use the high contrast
14015 "yellow" color for font-lock-comment-face on low color terminals
14016 using a dark background color (bug#4221).
14017
343c3b5a
LMI
140182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14019
7e9505c5
LMI
14020 * dired.el (dired-insert-set-properties): Make the doc string
14021 reflect what it does now (bug#5325).
14022
c26fdcf5
LMI
14023 * simple.el (blink-matching-open): Say that we were unable to find
14024 the match within the limit, if we're limited (bug#5122).
14025
bb388cc5
LMI
14026 * international/mule-cmds.el (prefer-coding-system): Add an
14027 example (bug#4869).
14028
343c3b5a
LMI
14029 * progmodes/etags.el (tags-search): Document `file-list-form'
14030 (bug#4731).
14031
2a517d45
LM
140322011-07-13 Lawrence Mitchell <wence@gmx.li>
14033
14034 * net/browse-url.el (browse-url-default-browser)
14035 (browse-url-browser-function): Make the default browser choice a
14036 bit more logical (bug#4300). Also clean up the doc string.
14037
b6c78ef2
JB
140382011-07-13 Juanma Barranquero <lekktu@gmail.com>
14039
14040 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14041 binary endings (bug#4440).
14042
1c4dd947
LMI
140432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14044
a2014063
LMI
14045 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14046 which can be pretty annoying (bug#8971).
14047
9c9c2d88
LMI
14048 * jka-compr.el (jka-compr-verbose): New variable, and use
14049 throughout (bug#8971).
14050
1c4dd947
LMI
14051 * info.el (Info-find-file): Fall back on the installation
14052 directory if we can't find the info node anywhere else.
14053
a1c9f41b
SO
140542011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14055
14056 * vc/vc.el (vc-revert-file):
14057 Don't set file time-stamp in the past. (Bug#5181)
14058
536f3d36
LMI
140592011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14060
7152b011
LMI
14061 * files.el (after-find-file): Give a better error message when
14062 trying to find a symlink that points to a file that doesn't exist
14063 (bug#4398).
14064
536f3d36
LMI
14065 * progmodes/cc-vars.el: Remove (probably) misleading comment
14066 (bug#4396).
14067
460c0fba
JB
140682011-07-12 Johan Bockgård <bojohan@gnu.org>
14069
14070 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14071
7a6bda45
CY
140722011-07-12 Chong Yidong <cyd@stupidchicken.com>
14073
14074 * mouse-sel.el: Hack restoring functionality, while keeping
14075 compatibility with 2010-07-03 changes to mouse selection.
14076 (mouse-sel-primary-overlay): New var.
14077 (mouse-sel-selection-alist): Use it.
14078 (mouse-sel-mode): Doc fix; remove points that are default features
14079 of mouse.el.
14080
c79598ef
JB
140812011-07-12 Johan Bockgård <bojohan@gnu.org>
14082
14083 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14084 Fix previous fix (bug#2490).
14085
ff8be6ef
RW
140862011-07-12 Roland Winkler <winkler@gnu.org>
14087
b796c9b7
SM
14088 * textmodes/bibtex.el (bibtex-initialize):
14089 Use pop-to-buffer-same-window.
ff8be6ef
RW
14090 (bibtex-search-entries): Fix interactive call.
14091
296ba3ee
LMI
140922011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14093
f5242a02 14094 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14095 Fontise bytecomp Error lines more correctly (bug#2490).
14096 Fix suggested by Johan Bockgård.
f5242a02 14097
296ba3ee
LMI
14098 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14099
14100 * dired-x.el (dired-guess-default): Use `delete-dups'.
14101
f69fd0d2
CY
141022011-07-12 Chong Yidong <cyd@stupidchicken.com>
14103
14104 * dired.el (dired-mark-prompt):
14105 * dired-aux.el (dired-read-shell-command): Doc fix.
14106
eab5dc07
LMI
141072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14108
b796c9b7
SM
14109 * mail/sendmail.el (sendmail-query-once):
14110 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14111 emacs -Q.
14112
14113 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14114
eab5dc07
LMI
14115 * cus-edit.el (custom-file): Take an optional no-error variable.
14116 (customize-save-variable): Set the variable, and give a warning if
14117 running under "emacs -q".
14118
a1e65d42
JB
141192011-07-11 Juanma Barranquero <lekktu@gmail.com>
14120
14121 * loadhist.el (unload-feature-special-hooks):
14122 Add `auto-coding-functions', `fill-nobreak-predicate' and
14123 `find-directory-functions' (bug#5327).
14124
1d52da10
LMI
141252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14126
be958f1d
LMI
14127 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14128
5bedb26c
LMI
14129 * cus-edit.el (custom-guess-name-alist): -alist variables should
14130 use the `alist' type (bug#3120). Suggested by Drew Adams.
14131
1d52da10
LMI
14132 * printing.el: Add documentation to all the `pr-toggle-' commands.
14133
cd394be1 141342011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14135
14136 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14137 backends where it makes sense (bug#2623).
14138
dcc88d8a
LMI
141392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14140
c3de9feb
LMI
14141 * dired-x.el (dired-guess-default): Remove duplicate shell command
14142 entries (bug#2028).
8a93078b 14143 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14144 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14145
dcc88d8a
LMI
14146 * subr.el (remove-duplicates): New conveniency function.
14147
505e3645
LMI
141482011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14149
14150 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14151 (bug#1526).
14152
141532011-07-10 Martin Rudalics <rudalics@gmx.at>
14154
14155 * window.el (display-buffer-normalize-default): Don't invert
14156 meaning of even-window-heights. Reported by Eli Zaretskii
14157 <eliz@gnu.org>.
14158
455e4fa1
BR
141592011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14160
14161 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14162
8e0bc3e9
CY
141632011-07-10 Chong Yidong <cyd@stupidchicken.com>
14164
14165 * window.el (display-buffer): Fix arguments to
14166 display-buffer-reuse-window in last change.
14167
fa7c3228
CY
14168 * faces.el (link): Use a less saturated blue on light backgrounds.
14169
14170 * startup.el (fancy-startup-text, fancy-about-text)
14171 (fancy-startup-tail): Use font-lock faces, for background safety.
14172
c0a7f300
BN
141732011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14174
b796c9b7
SM
14175 * emulation/viper-cmd.el (viper-change-state-to-vi):
14176 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14177
4dc2a129
MR
141782011-07-09 Martin Rudalics <rudalics@gmx.at>
14179
14180 * window.el (display-buffer-default-specifiers): Remove.
14181 (display-buffer-macro-specifiers): Remove default specifiers.
14182 (display-buffer-alist): Default to nil.
b796c9b7 14183 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14184 (display-buffer-pop-up-window): Allow splitting internal
14185 windows. Check whether a live window was created.
14186 (display-buffer-other-window-means-other-frame)
14187 (display-buffer-normalize-arguments): Rename to
14188 display-buffer-normalize-argument and rewrite. Set the
14189 other-window specifier.
14190 (display-buffer-normalize-special): New function.
14191 (display-buffer-normalize-options): Rename to
14192 display-buffer-normalize-default and rewrite.
14193 (display-buffer-normalize-options-inhibit): Remove.
14194 (display-buffer-normalize-specifiers): Rewrite.
14195 (display-buffer): Process other-window specifier and call
14196 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14197 more faithfully.
b796c9b7 14198 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14199 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14200 (display-buffer-in-window, display-buffer-alist-set):
14201 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14202 <tassilo@member.fsf.org>.
14203
2d43b8c9
LL
142042011-07-09 Leo Liu <sdl.web@gmail.com>
14205
14206 * register.el (insert-register): Restore accidental change on
14207 2011-06-26. (Bug#9028)
14208
7f9b7c53
GM
142092011-07-09 Glenn Morris <rgm@gnu.org>
14210
14211 * subr.el (remq): Handle the empty list. (Bug#9024)
14212
f042cfd8
AS
142132011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14214
14215 * mail/sendmail.el (send-mail-function): No longer delay custom
14216 initialization.
14217 * custom.el (custom-initialize-delay): Doc fix.
14218
856b2f11
SM
142192011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14220
14221 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14222
afae1d68
MA
142232011-07-08 Michael Albinus <michael.albinus@gmx.de>
14224
14225 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14226 human-friendly prompt.
14227
0757af94
SM
142282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14231 provided by a particular plugin.
14232
d760b731
LMI
142332011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14234
14235 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14236 save customizations (with "emacs -Q"), just set the variable
14237 instead of erroring out.
14238
14239 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14240
cd79ce90
JL
142412011-07-08 Juri Linkov <juri@jurta.org>
14242
14243 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14244 (archive-zip-update-case): Use 7z if found by `executable-find'.
14245 The order of searching the available programs is the same as in
14246 `archive-zip-extract' (bug#8968).
14247
14cc04aa
CY
142482011-07-07 Chong Yidong <cyd@stupidchicken.com>
14249
14250 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14251 (menu-bar-options-menu): Tweak descriptions.
14252
0a1848ec
LMI
142532011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14254
14255 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14256 menu items into verb phrases (bug#1421). Also refill to fit under
14257 80 columns.
14258
f5bd0689
CY
142592011-07-07 Chong Yidong <cyd@stupidchicken.com>
14260
538e85c6
CY
14261 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14262 (Info-read-node-name): Doc fix (Bug#1084).
14263
f5bd0689
CY
14264 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14265 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14266 (end-of-sexp, beginning-of-sexp)
14267 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14268 (forward-symbol, forward-same-syntax, word-at-point)
14269 (sentence-at-point): Doc fix (Bug#1144).
14270
56ec5115
LMI
142712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14272
f3f8e37f
LMI
14273 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14274 should cover it (bug#1281).
14275
0757af94 14276 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14277
e9fce1ac 14278 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14279 negotiation fails, then possibly try again with a non-encrypted
14280 connection (bug#9017).
14281
56ec5115
LMI
14282 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14283 be used.
14284
c2f9aec8
RS
142852011-07-07 Richard Stallman <rms@gnu.org>
14286
14287 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14288 property, and handle its changed format.
14289 Look for the correct line number.
14290 Use file's line contents (but not past first =) to find
14291 correct line in message.
14292
ef7b981d 142932011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14294
14295 * international/characters.el (build-unicode-category-table):
14296 Delete it.
0757af94 14297 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14298
0757af94 14299 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14300 to src/chartab.c.
14301 (get-char-code-property): Call unicode-property-table-internal to
14302 load a file. Call get-unicode-property-internal where necessary.
14303 (put-char-code-property): Call unicode-property-table-internal to
14304 load a file. Call put-unicode-property-internal where necessary.
14305 put-unicode-property-internal where necessary.
0757af94
SM
14306 (char-code-property-description):
14307 Call unicode-property-table-internal to load a file.
c805dec0
KH
14308
14309 * international/charprop.el:
14310 * international/uni-bidi.el:
14311 * international/uni-category.el:
14312 * international/uni-combining.el:
14313 * international/uni-comment.el:
14314 * international/uni-decimal.el:
14315 * international/uni-decomposition.el:
14316 * international/uni-digit.el:
14317 * international/uni-lowercase.el:
14318 * international/uni-mirrored.el:
14319 * international/uni-name.el:
14320 * international/uni-numeric.el:
14321 * international/uni-old-name.el:
14322 * international/uni-titlecase.el:
14323 * international/uni-uppercase.el: Regenerate.
14324
14325 * loadup.el: Load international/charprop.el before
14326 international/characters.
14327
e14b388a
CY
143282011-07-07 Chong Yidong <cyd@stupidchicken.com>
14329
14330 * window.el (next-buffer, previous-buffer): Signal an error if
14331 called from a minibuffer window.
14332
14333 * bindings.el: Revert 2011-07-04 change.
14334
354cf0ba
RS
143352011-07-06 Richard Stallman <rms@gnu.org>
14336
14337 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14338 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14339 Treat markers like ints.
14340 (rmail-mime-entity): Doc fix.
14341
a48868a7
LMI
143422011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14343
4906cd3d
LMI
14344 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14345 defcustom again for backwards compatibility.
14346
e0457abe
LMI
14347 * simple.el (shell-command-on-region): Fill.
14348
d67f7e1f
LMI
14349 * dired-aux.el (dired-kill-line): Add a doc string.
14350
fe204702
LMI
14351 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14352 to "\\sw\\|\\s_" (bug#358).
14353
a48868a7
LMI
14354 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14355 (dired-unmark-backward): Ditto.
14356 (dired-flag-backup-files): Ditto.
14357
14358 * dired-x.el (dired-mark-sexp): Ditto.
14359
aa8a705c
RS
143602011-07-06 Richard Stallman <rms@gnu.org>
14361
14362 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14363 (rmail-mime-entity): New arg TRUNCATED.
14364 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14365 New functions.
14366 (rmail-mime-save): Warn if entity is truncated.
14367 (rmail-mime-toggle-hidden): Likewise, for showing.
14368 (rmail-mime-process-multipart): Record when an entity is truncated.
14369
a9a936b9
RS
14370 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14371 if ENTITY is a string.
14372
1f2b92cb
LMI
143732011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14374
f4f73198 14375 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14376 of faces when `M-C-x'-ing their definitions (bug#8378).
14377 Also clean up the code slightly.
f4f73198 14378
12b16734 14379 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14380 because that makes the colors go away.
12b16734 14381
f0691d22
LMI
14382 * mail/sendmail.el (send-mail-function): Change the default to
14383 `sendmail-query-once'.
9e87df06 14384 (sendmail-query-once): Add an autoload cookie.
f0691d22 14385
1f2b92cb
LMI
14386 * net/network-stream.el (network-stream-open-starttls): Try using
14387 a plain connection even if the server offered STARTTLS, and we
14388 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14389 capability. This should make smtpmail.el work in slightly more
14390 configurations.
14391
1cdd2a1b
MA
143922011-07-06 Michael Albinus <michael.albinus@gmx.de>
14393
14394 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14395 New defun.
14396 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14397
fbcc67e2
MM
143982011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14399
14400 * progmodes/sql.el: Version 3.0
0757af94 14401 (sql-product-alist): Add product :completion-object,
fbcc67e2 14402 :completion-column, and :statement attributes.
0757af94 14403 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14404 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14405 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14406 ansi keywords.
14407 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14408 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14409 (sql-oracle-show-reserved-words): New function for development.
14410 (sql-product-font-lock): Simplify for source code buffers.
14411 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14412 New functions.
14413 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14414 (sql-mode-map): Add statement movement functions.
14415 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14416 New variable.
fbcc67e2
MM
14417 (sql-statement-regexp, sql-beginning-of-statement)
14418 (sql-end-of-statement, sql-signum): New functions.
0757af94 14419 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14420 (sql-show-sqli-buffer): Bug fix.
14421 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14422 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14423 with sql-interactive-mode.
14424 (sql-save-connection): Save buffer local settings.
0757af94 14425 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14426 (sql-product-interactive): Bug fix.
14427 (sql-preoutput-hold): New variable.
14428 (sql-interactive-remove-continuation-prompt): Bug fixes.
14429 (sql-debug-redirect): New variable.
14430 (sql-str-literal): New function.
14431 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14432 Redesign.
fbcc67e2
MM
14433 (sql-oracle-save-settings, sql-oracle-restore-settings)
14434 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14435 (sql-completion-object, sql-completion-column)
14436 (sql-completion-sqlbuf): New variables.
14437 (sql-build-completions-1, sql-build-completions)
14438 (sql-try-completion): New functions.
14439 (sql-read-table-name): Use them.
14440 (sql-contains-names): New buffer local variable.
14441 (sql-list-all, sql-list-table): Use it.
14442 (sql-oracle-completion-types): New variable.
14443 (sql-oracle-completion-object, sql-sqlite-completion-object)
14444 (sql-postgres-completion-object): New functions.
14445
d4eaeab1
GM
144462011-07-06 Glenn Morris <rgm@gnu.org>
14447
14448 * window.el (pop-to-buffer): Doc fix.
14449
322b7dab 144502011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14451
14452 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14453
322b7dab 144542011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14455
322b7dab 14456 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14457
322b7dab 14458 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14459
605dd5bf
CY
144602011-07-05 Chong Yidong <cyd@stupidchicken.com>
14461
14462 * button.el (button): Inherit from link face. Suggested by Dan
14463 Nicolaescu.
14464
7dbfa719
SM
144652011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14466
3db614b0
SM
14467 * progmodes/gdb-mi.el: Fit in 80 columns.
14468 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14469 switch-to-buffer.
14470
7dbfa719
SM
14471 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14472 if imenu is simply not configured (bug#8941).
14473
919d884a
KM
144742011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14475
14476 * allout.el (allout-post-undo-hook): New allout outline-change
14477 event hook to signal undo activity.
14478 (allout-post-command-business): Run allout-post-undo-hook if an
14479 undo just occurred.
7dbfa719
SM
14480 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14481 * allout-widgets.el (allout-widgets-after-undo-function):
14482 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14483 in the vicinity of an undo.
14484 (allout-widgets-mode): Include allout-widgets-after-undo-function
14485 on the new allout-post-undo-hook.
14486
450a0f09
SM
144872011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14488
14489 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14490 Let define-derived-mode define it.
14491 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14492 cycles of abbrev-table inheritance (bug#8998).
14493
2de69e00
RW
144942011-07-05 Roland Winkler <winkler@gnu.org>
14495
14496 * textmodes/bibtex.el: Add support for biblatex.
14497 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14498 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14499 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14500 (bibtex-entry-alist, bibtex-field-alist): New variables.
14501 (bibtex-entry-field-alist): Obsolete alias for
14502 bibtex-BibTeX-entry-alist.
14503 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14504 (bibtex-set-dialect): New command.
14505 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14506 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14507 Bind via bibtex-set-dialect.
2de69e00
RW
14508 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14509 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14510 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14511 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14512 Define via bibtex-set-dialect.
450a0f09
SM
14513 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14514 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14515 (bibtex-vec-push, bibtex-vec-incr): New functions.
14516 (bibtex-format-entry, bibtex-field-list)
14517 (bibtex-print-help-message, bibtex-validate)
14518 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14519
2dcdbdd9
SM
145202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14521
14522 * progmodes/compile.el (compilation-goto-locus):
14523 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14524 * bs.el (bs-cycle-next, bs-cycle-previous):
14525 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14526 * bindings.el (mode-line-other-buffer):
14527 * autoinsert.el (auto-insert):
14528 * arc-mode.el (archive-extract):
14529 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14530
b27640fe
JB
145312011-07-05 Juanma Barranquero <lekktu@gmail.com>
14532
14533 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14534 Fix check of `emacs-lock-unlockable-modes'.
14535 Coerce true values of `emacs-lock--try-unlocking' to t.
14536
53bbe3ad
JB
145372011-07-05 Juanma Barranquero <lekktu@gmail.com>
14538
14539 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14540 * emacs-lock.el: New file.
14541
1d3cdbc7
JD
145422011-07-05 Julien Danjou <julien@danjou.info>
14543
14544 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14545 than `boundp' to check if face is set.
14546
9173deec
JB
145472011-07-05 Juanma Barranquero <lekktu@gmail.com>
14548
14549 * register.el (registerv-make):
14550 * window.el (window-min-height): Fix typos in docstrings.
14551
869795d6
JD
145522011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14553
9173deec 14554 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14555 Update doc string.
14556
b768cdcd
JB
145572011-07-04 Juanma Barranquero <lekktu@gmail.com>
14558
14559 * server.el (server-execute): Catch quit and call
14560 `server-return-error' to pass the error back to emacsclient and
14561 close the connection (bug#8942).
14562
13aa217b
KM
145632011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14564
14565 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14566 insecure exception for current topic. Also note that auto-saves
14567 are handled differently.
14568
5d3385a0 14569 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14570 State variables for tracking auto-save inhibition situation.
14571
14572 (allout-write-contents-hook-handler): Rename from
14573 'allout-write-file-hook-handler', and describe how it depends on
14574 write-contents-functions sensitivity to non-nil value to prevent
14575 file write.
14576
14577 (allout-auto-save-hook-handler): Remove. auto-save does not check
14578 this in individual buffers, only in the starting buffer, so this
14579 is not the right way for us to inhibit auto-save in a buffer
14580 according to its condition.
14581
14582 (allout-mode): Use new allout-write-contents-hook-handler, and
14583 only with write-contents-functions. Remove auto-save provisions -
14584 they're implemented elsewhere.
14585
14586 (allout-before-change-handler): If undo is in progress, note that
14587 for attention of allout-post-command-business.
14588
14589 (allout-post-command-business): If the command we're following was
14590 an undo, check for change in the status of encrypted items and
14591 adjust auto-save inhibitions accordingly.
14592
14593 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14594 according to whether there are or aren't any plain-text topics
14595 pending encryption.
14596
2dcdbdd9 14597 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14598 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14599 if there are plain-text topics pending encryption.
13aa217b
KM
14600
14601 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14602 buffer-saved-size and some allout state to not inhibit auto-saves
14603 if there are no longer any plain-text topics pending encryption.
14604
0757af94
SM
14605 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14606 No longer provide for exemption of the current topic.
13aa217b 14607
ac89b32c
JL
146082011-07-04 Juri Linkov <juri@jurta.org>
14609
14610 Add 7z operations to delete and save changed members (bug#8968).
14611 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14612 New defcustoms.
14613 (archive-7z-write-file-member): New function.
14614 (archive-7z-summarize): Fix the number of dashes in the
14615 listing output.
14616
8fa39615
SM
146172011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14618
14619 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14620 (bug#8958).
14621
2f11b3f1
CY
146222011-07-04 Chong Yidong <cyd@stupidchicken.com>
14623
d66fef2b
CY
14624 * bindings.el: Ignore next-buffer and previous-buffer in
14625 minibuffer-local-map.
14626
2f11b3f1
CY
14627 * font-lock.el (font-lock-builtin-face): Change light background
14628 color to dark slate blue (Bug#6693).
14629
f932a347
WD
146302011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14631
14632 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14633
c8af70e1
SM
146342011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14637 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14638 Add switch-to-buffer.
14639
f158badc
LMI
146402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14641
14642 * isearch.el (isearch-search-fun-function): Clarify further the
14643 meaning of the function returned.
14644
6d95bd46
MA
146452011-07-04 Michael Albinus <michael.albinus@gmx.de>
14646
14647 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14648
14649 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14650 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14651 Use it.
14652 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14653 `tramp-default-remote-path' does not exist.
14654 (tramp-send-command-and-read): New optional argument NOERROR.
14655 (tramp-open-connection-setup-interactive-shell)
14656 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14657 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14658 (tramp-process-sentinel): Flush also process' connection property.
14659 (tramp-sh-handle-start-file-process): Do not set process
14660 sentinel. It is done now ...
14661 (tramp-maybe-open-connection): ... here. (Bug#8929)
14662
909e6b67
MK
146632011-07-04 MON KEY <monkey@sandpframing.com>
14664
14665 * play/animate.el (animate-string): Doc fixes and allow changing
14666 the buffer name (bug#5417).
14667
146682011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14669
c8af70e1 14670 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14671
f34755dc
PE
146722011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14673
396cec72
PE
14674 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14675 This is simpler and helps future-proof the code.
14676 (timer-until): Use time-subtract and float-time.
08235028 14677 (timer--time-less-p): Use time-less-p.
f34755dc 14678
56e6cc31
JB
146792011-07-04 Juanma Barranquero <lekktu@gmail.com>
14680
3abb79e5
JB
14681 * type-break.el (timep): Use the value of `float-time' to avoid a
14682 byte-compiler warning.
14683
56e6cc31
JB
14684 * server.el (server-eval-and-print): Return any result, even nil.
14685
7b9430b4
PE
146862011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14687
14688 * type-break.el: Accept time formats that the builtins accept.
14689 (timep, type-break-time-difference): Accept any format that
14690 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14691 This is simpler and helps future-proof the code.
14692 (type-break-time-difference): Round rather than ignoring
14693 subseconds components.
14694
3034e9e7
LMI
146952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14696
14697 * info.el (Info-apropos-matches): Make non-interactive, since it
14698 doesn't seem to do anything useful as a command (bug#8829).
14699
1485f4c0
CY
147002011-07-03 Chong Yidong <cyd@stupidchicken.com>
14701
14702 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14703 Move from faces.el.
1485f4c0
CY
14704 (frame-default-terminal-background): New function.
14705
14706 * custom.el (custom-push-theme): Don't record faces in `changed'
14707 theme; this doesn't work correctly for per-frame face settings.
14708 (disable-theme): Use face-set-after-frame-default to reset faces.
14709 (custom--frame-color-default): New function.
14710
9fa3dd45
LMI
147112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14712
c8af70e1 14713 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14714 (bug#8769).
14715
6cbbc20c
KR
147162011-03-29 Kevin Ryde <user42@zip.com.au>
14717
14718 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14719 `perl-Test2' extend to match possible "fail #N" rep count
14720 (bug#8377).
14721
c7f98048
LMI
147222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14723
65676592
LMI
14724 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14725 `smtpmail-via-smtp' now returns the error instead of nil.
14726
c7f98048
LMI
14727 * isearch.el (isearch-search-fun-function): Clarify the doc string
14728 (bug#8101).
14729
56e6cc31 147302011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14731
14732 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14733 unnecessary spaces (bug#8987).
14734
2b216704
LMI
147352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14736
14737 * net/network-stream.el (open-network-stream): Use the
14738 :end-of-capability command thoughout.
14739
147402011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14741
14742 * net/network-stream.el (open-network-stream): Add the
14743 :end-of-capability command parameter, used by pop3.el.
14744
36adf6ce
LMI
147452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14746
1ca0da0e
LMI
14747 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14748
fc00f69c
LMI
14749 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14750 for list)" (bug#6475).
14751
28fd8759 14752 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14753 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14754 an error (bug#6297).
14755
0dd8b6da
LMI
14756 * man.el (Man-reference-regexp): Allow matching possible
14757 word-wrapped references (bug#6289).
14758
ce1438d6
LMI
14759 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14760 for consistency with the other vc buffers (bug#6197).
14761 (vc-checkin): Ditto.
14762
14763 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14764
36adf6ce
LMI
14765 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14766
e83cc1f7
LMI
147672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14768
8a20ca4c
LMI
14769 * custom.el (defcustom): Clarify that :set is only used in the
14770 Customize user interface (bug#6089).
14771
83319045
LMI
14772 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14773 associated with a file, refuse to run instead of erroring out
14774 (bug#6084).
14775
a8392169
LMI
14776 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14777 the doc string, since it appears that using `fill-column' always
14778 controls the width (bug#7845).
14779
e83cc1f7
LMI
14780 * simple.el (shell-command-on-region): Say where the error output
14781 went if `shell-command-default-error-buffer' is set (bug#6857).
14782
e47ca23b
KM
147832011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14784
14785 * allout.el (allout-yank-processing): Adjust cursor position for
14786 backwards-deleted space.
14787
14788 (allout-rebullet-heading): Register changes with
14789 allout-exposure-changed-hook, so the modified topic is properly
14790 decorated.
14791
5cf56143
LMI
147922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14793
08549772
LMI
14794 * minibuffer.el (completion-in-region): Document PREDICATE
14795 (bug#7136).
14796
48e96771
LMI
14797 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14798 of keyword/argument pairs (bug#6904).
14799
c8af70e1
SM
14800 * replace.el (multi-occur):
14801 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14802
e17d05e2
LMI
148032011-07-02 Drew Adams <drew.adams@oracle.com>
14804
14805 * dired.el (dired-mark-if): Make the message about whether it's
14806 marking or unmarking clearer (bug#8523).
14807
063b0e45
LMI
148082011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14809
14810 * disp-table.el (display-table-print-array): New function.
14811 (describe-display-table): Use it to print the vectors more pretty
14812 (Bug#8859).
14813
28545e04
MR
148142011-07-02 Martin Rudalics <rudalics@gmx.at>
14815
14816 * window.el (window-state-get-1): Don't assign clone numbers.
14817 Add clone-of item to list of window parameters.
14818 (window-state-put-2): Don't process clone numbers.
14819 (display-buffer-alist): Fix doc-string.
14820
3349e122
SM
148212011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14822
14823 * subr.el (remq): Don't allocate if it's not needed.
14824 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14825 (keymap--merge-bindings): New functions.
14826 (keymap-canonicalize): Use them to refine the canonicalization.
14827 * minibuffer.el (minibuffer-local-completion-map)
14828 (minibuffer-local-must-match-map): Move initialization from C.
14829 (minibuffer-local-filename-completion-map): Move initialization from C;
14830 don't inherit from anything here.
14831 (minibuffer-local-filename-must-match-map): Make obsolete.
14832 (completing-read-default): Use make-composed-keymap to combine
14833 minibuffer-local-filename-completion-map with either
14834 minibuffer-local-must-match-map or
14835 minibuffer-local-filename-completion-map.
14836
d224ac83
GM
148372011-07-01 Glenn Morris <rgm@gnu.org>
14838
3de63bf8
GM
14839 * type-break.el (type-break-time-sum): Use dolist.
14840
d224ac83
GM
14841 * textmodes/flyspell.el (flyspell-word-search-backward):
14842 Replace CL function.
14843
1a1e3f32
SM
148442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14845
fe3f64d5
SM
14846 * mouse.el (mouse--strip-first-event): New function.
14847 (function-key-map): Use it to map fringe clicks to normal clicks
14848 by default.
14849
eb604e34
SM
14850 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14851 (vc-bzr-revision-completion-table): Add support for annotate and date.
14852
1a1e3f32
SM
14853 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14854 inherit from parent.
14855
5bd35902
LMI
148562011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14857
ace6c69c 14858 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14859 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14860
191e2bed
LMI
14861 * dired.el (dired-mode): Fix up the doc string as suggested by
14862 Drew Adams (bug#8817).
14863
5bd35902
LMI
14864 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14865 cookie, since the manual says that it should be possible to add
14866 this function to `find-file-hook' (bug#8709).
14867
eee8207a
TZ
148682011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14869
14870 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14871 here. Noted Ted Zlatanov as the maintainer.
14872 (cfengine-common-settings, cfengine-common-syntax): New functions
14873 to set up common things between `cfengine-mode' and
14874 `cfengine3-mode'.
14875 (cfengine3-mode): New mode.
14876 (cfengine3-defuns cfengine3-defuns-regex
14877 (cfengine3-class-selector-regex cfengine3-category-regex)
14878 (cfengine3-vartypes cfengine3-font-lock-keywords)
14879 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14880 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14881
36b148cf
MA
148822011-07-01 Michael Albinus <michael.albinus@gmx.de>
14883
14884 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14885
14886 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14887
0bf4ba9a
MR
148882011-07-01 Martin Rudalics <rudalics@gmx.at>
14889
14890 * window.el (same-window-buffer-names, same-window-regexps)
14891 (same-window-p, special-display-frame-alist)
14892 (special-display-popup-frame, special-display-function)
14893 (special-display-buffer-names, special-display-regexps)
14894 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14895 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14896 (split-window-preferred-function, split-height-threshold)
14897 (split-width-threshold, even-window-heights)
14898 (display-buffer-mark-dedicated, window-splittable-p)
14899 (split-window-sensibly, window-safely-shrinkable-p):
14900 Un-obsolete.
14901 (display-buffer): Don't spread args with function specifier
14902 because special-display-popup-frame won't like it.
14903
35837f51
PE
149042011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14905
d0672f86
PE
14906 Time-stamp simplifications and fixes.
14907 These improve accuracy slightly, and future-proof the code
14908 against some potential changes to current-time format.
14909
b9444d97
PE
14910 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14911 by using time-since and float-time.
14912
0ef923dc
PE
14913 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14914 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14915 + NNN microseconds".
14916
2f81380d
PE
14917 * type-break.el (type-break-time-sum): Rewrite using time-add.
14918
845b5c3e
PE
14919 * play/hanoi.el (hanoi-current-time-float): Remove.
14920 All uses replaced by float-time.
14921
ee6f1be0
PE
14922 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14923 This yields a more-accurate answer.
14924 (rng-time-to-float): Remove; no longer needed.
14925
fe955043
PE
14926 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14927
5777162a
PE
14928 * calendar/timeclock.el (timeclock-seconds-to-time):
14929 Defalias to seconds-to-time, since they're the same thing.
14930
3103f8b6 14931 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14932 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14933 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14934
0e61a35f
SM
149352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * window.el (bury-buffer): Don't iconify the only frame.
14938 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14939 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14940
ddd63a1e
CY
149412011-07-01 Chong Yidong <cyd@stupidchicken.com>
14942
0e61a35f
SM
14943 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14944 Add mouse-yank-primary.
ddd63a1e 14945
055f4923
TZ
149462011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14947
14948 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14949
6a2fb145
SM
149502011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14951
14952 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14953 (find-library-name): Use it to find relative load names when provided
14954 absolute file name (bug#8803).
14955
fd4983f2
LMI
149562011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14957
887d14ad
LMI
14958 * textmodes/flyspell.el (flyspell-word): Consider words that
14959 differ only in case as potential doublons (bug#5687).
14960
c53dc7fc
LMI
14961 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14962 Remove two rather uninteresting debugging-like messages to make
14963 debbugs.el more silent.
14964
fd4983f2
LMI
14965 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14966 a password-like phrase.
14967
7a71b18d 149682011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14969
14970 * progmodes/cc-guess.el: New file.
14971
6a2fb145 14972 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14973
14974 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14975 derived from `c-basic-common-init'.
14976
14977 * progmodes/cc-mode.el (top-level): Require cc-guess.
14978 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14979
1fa280a3
LM
149802011-06-30 Lawrence Mitchell <wence@gmx.li>
14981
14982 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14983
e6597158
AM
149842011-06-30 Alan Mackenzie <acm@muc.de>
14985
1fa280a3
LM
14986 * progmodes/cc-engine.el (c-guess-continued-construct):
14987 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14988 lock is disabled. Name this case as "CASE G".
14989
68ba37fb
KM
149902011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14991
14992 * allout.el (allout-yank-processing): Fix injection of extra space
14993 between bullet and non-whitespace character in first topic when
14994 pasting, ensuring that the actual spacing in the pasted topic
14995 following the bullet char is preserved. This extra space was
14996 causing pasted encrypted topics to get a decrypted status even
14997 when the content was actually still encrypted. Now the decryption
14998 status from before the paste is preserved.
14999
15000 (allout-flag-region): Set all allout overlays so they evaporate
15001 when reduced to zero length (evanescent), to prevent overlay
15002 leakage.
15003
887a0b34
GM
150042011-06-30 Glenn Morris <rgm@gnu.org>
15005
94b9acce
GM
15006 * w32-fns.el (w32-charset-info-alist): Declare.
15007
1d9b46d4
GM
15008 * find-dired.el (find-grep-options): Simplify.
15009
cc232200
GM
15010 * term/ns-win.el (ns-set-resource): Declare.
15011
28e77c46
GM
15012 * ses.el (row, col): Declare dynamic variables honestly.
15013
887a0b34
GM
15014 * textmodes/reftex-parse.el (index-tags): Declare.
15015
658d8eb8
CY
150162011-06-30 Chong Yidong <cyd@stupidchicken.com>
15017
15018 * cus-edit.el (customize-push-and-save): New function.
15019
15020 * files.el (hack-local-variables-confirm): Use it.
15021
1fa280a3
LM
15022 * custom.el (load-theme): New arg NO-CONFIRM.
15023 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15024 (custom-enabled-themes): Doc fix.
15025
15026 * cus-theme.el (customize-create-theme)
15027 (custom-theme-merge-theme): Callers to load-theme changed.
15028
bb617717
LMI
150292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15030
d61bdd5d
LMI
15031 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15032 short URLs have at least one dot in them (bug #7614).
15033
bb617717
LMI
15034 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15035 nil, because using a pty is apparently too slow (bug #895).
15036
2f31f37a
LMI
150372011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15038
15039 * mail/sendmail.el (sendmail-query-once): New function.
15040 (sendmail-query-once-function): New variable.
15041
3076b24e
GM
150422011-06-29 Glenn Morris <rgm@gnu.org>
15043
faf2a174
GM
15044 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15045
3076b24e
GM
15046 * ses.el (top-level): Require cl when compiling.
15047 (ses-set-localvars): Fix error statement.
15048 Call it at compile time to silence a storm of warnings.
15049
5386012d
MR
150502011-06-29 Martin Rudalics <rudalics@gmx.at>
15051
15052 * window.el (normalize-live-buffer): Rename to
15053 window-normalize-buffer.
15054 (normalize-live-frame): Rename to window-normalize-frame.
15055 (normalize-any-window): Rename to window-normalize-any-window.
15056 (normalize-live-window): Rename to window-normalize-live-window.
15057 (make-window-atom): Rename to window-make-atom.
15058 (window-resize-reset): Rename to window--resize-reset.
15059 (window-resize-reset-1): Rename to window--resize-reset-1.
15060 (resize-mini-window): Rename to window--resize-mini-window.
15061 (resize-subwindows-skip-p): Rename to
15062 window--resize-subwindows-skip-p.
15063 (resize-subwindows-normal): Rename to
15064 window--resize-subwindows-normal.
15065 (resize-subwindows): Rename to window--resize-subwindows.
15066 (resize-other-windows): Rename to window--resize-siblings.
15067 (resize-this-window): Rename to window--resize-this-window.
15068 (resize-root-window): Rename to window--resize-root-window.
15069 (resize-root-window-vertically): Rename to
15070 window--resize-root-window-vertically.
15071 (normalize-buffer-to-display): Rename to
15072 window-normalize-buffer-to-display.
15073 (normalize-buffer-to-switch-to): Rename to
15074 window-normalize-buffer-to-switch-to.
15075 Correspondingly update all callers of the functions listed
15076 above.
15077 (display-buffer-alist, display-buffer-normalize-arguments)
15078 (display-buffer-normalize-options, display-buffer)
15079 (display-buffer-alist-set): Use "function" instead of
15080 "fun-with-args".
15081
1176868d
CY
150822011-06-28 Chong Yidong <cyd@stupidchicken.com>
15083
15084 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15085 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15086 debbugs.gnu.org. Mention acknowledgment email.
15087
20a7a65f
LMI
150882011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15089
15090 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15091 buffer multibyteness, since it shouldn't matter.
15092
5f45cca5
MR
150932011-06-28 Martin Rudalics <rudalics@gmx.at>
15094
15095 * window.el (display-buffer-in-side-window): Handle dedicated
15096 windows as in display-buffer-reuse-window.
15097 (display-buffer-normalize-alist): Use value of override
15098 specifier.
15099 (display-buffer-normalize-specifiers): Use value of
15100 other-window-means-other-frame specifier.
15101 (display-buffer-alist): Rewrite some texts in widgets.
15102 (display-buffer): Spread arguments when calling function
15103 specified by fun-with-args.
15104
ad85fe1f
DD
151052011-06-28 Deniz Dogan <deniz@dogan.se>
15106
1fa280a3
LM
15107 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15108 Unnest `let'.
da68c4c8 15109
ad85fe1f
DD
15110 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15111 selectors (Bug#5732).
ec49bd31 15112 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15113
a08cc025
JA
151142011-06-27 Jari Aalto <jari.aalto@cante.net>
15115
15116 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15117 (eshell-ls-date-format): New defcustom.
15118 (eshell-ls-file): Use it.
15119
e2b551c5
SM
151202011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15123
8982b231
KY
151242011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15125
15126 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15127 (ange-ftp-make-tmp-name): New arg.
15128 (ange-ftp-file-local-copy): Use it.
15129
36c9fa27
J
151302011-06-27 Jambunathan K <kjambunathan@gmail.com>
15131
15132 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15133 no-conversion (Bug#8870).
15134
d68443dc
MR
151352011-06-27 Martin Rudalics <rudalics@gmx.at>
15136
15137 * window.el (window-right, window-left, window-child)
15138 (window-child-count, window-last-child)
15139 (window-iso-combination-p, walk-window-tree-1)
15140 (window-atom-check-1, window-tree-1, delete-window)
15141 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15142 new naming conventions - window-vchild, window-hchild,
15143 window-next and window-prev are now called window-top-child,
15144 window-left-child, window-next-sibling and window-prev-sibling
15145 respectively.
d615d6d2
MR
15146 (resize-window-reset): Rename to window-resize-reset.
15147 (resize-window-reset-1): Rename to window-resize-reset-1.
15148 (resize-window): Rename to window-resize.
15149 (window-min-height, window-min-width)
15150 (resize-mini-window, resize-this-window, resize-root-window)
15151 (resize-root-window-vertically, adjust-window-trailing-edge)
15152 (enlarge-window, shrink-window, maximize-window)
15153 (minimize-window, delete-window, quit-restore-window)
15154 (split-window, balance-windows, balance-windows-area-adjust)
15155 (balance-windows-area, window-state-put-2)
15156 (display-buffer-even-window-sizes, display-buffer-set-height)
15157 (display-buffer-set-width, set-window-text-height)
15158 (fit-window-to-buffer): Rename all "resize-window" prefixed
15159 calls to use the "window-resize" prefix convention.
15160 (display-buffer-alist): Fix symbol for label specifier.
15161 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15162 corresponding specifier.
15163 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15164
b6458526
VB
151652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15166
15167 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15168 convention.
15169 (ses-call-printer): Does not pass an empty string to formatter when the
15170 cell is empty to keep from barking printer Calc math-format-value.
15171
d31fd9ac
RS
151722011-06-27 Richard Stallman <rms@gnu.org>
15173
43d5bf84
RS
15174 * battery.el (battery-mode-line-limit): New variable.
15175 (battery-update): Handle it.
15176
d31fd9ac
RS
15177 * mail/rmailmm.el (rmail-mime-process-multipart):
15178 Handle truncated messages.
15179
819a6054
GM
151802011-06-27 Glenn Morris <rgm@gnu.org>
15181
15182 * progmodes/flymake.el (flymake-err-line-patterns):
15183 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15184
cedc73f2
VB
151852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15186
819a6054 15187 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15188 (ses--clean-!, ses--clean-_): New functions.
15189 (ses-range): Add configurability of readout order, and conversion
15190 to Calc vector.
15191
5e5d49b6
VB
15192 * ses.el (ses-repair-cell-reference-all): New function.
15193 (ses-cell-symbol): Set macro as safe, so that it can be used in
15194 formulas.
15195
56e6cc31 15196 * ses.el: Update cycle detection algorithm.
90ca8b49 15197 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15198 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15199 (ses-set-localvars): New function.
15200 (ses-make-cell): Add property-list as a cell element.
15201 (ses-cell-property-get-fun, ses-cell-property-get)
15202 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15203 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15204 New functions.
90ca8b49
VB
15205 (ses-cell-property-set, ses-cell-property-pop)
15206 (ses-cell-property-get-handle): New macro.
15207 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15208 New aliases, used for code readability.
15209 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15210 cycle detection.
15211 (ses-self-reference-early-detection): New defcustom.
fac916bf 15212 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15213 (ses-mode): Use ses-set-localvars.
15214 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15215 before lauching the update processing.
15216 (ses-initialize-Dijkstra-attempt): New function.
15217 (ses-recalculate-cell): Update for cycle detection based on
15218 Dijkstra algorithm.
15219
2bb63e81
VB
15220 * ses.el: Fix commenting and indenting convention.
15221
c9d29fb8
SM
152222011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15223
15224 * bs.el (bs-cycle-next): Complete last change.
15225
d8e4b68b
JB
152262011-06-27 Drew Adams <drew.adams@oracle.com>
15227
15228 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15229
40098786
LMI
152302011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15231
c9d29fb8
SM
15232 * net/network-stream.el (network-stream-open-starttls):
15233 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15234 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15235
40098786
LMI
15236 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15237 to binary to possibly avoid line encoding issues on Windows (among
15238 other things).
15239
468d09d4
LMI
152402011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15241
15242 * net/network-stream.el (open-network-stream): Return an :error
15243 saying what the problem was, if possible.
15244
15245 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15246 server.
15247
15248 * net/network-stream.el (network-stream-open-starttls): If we
15249 wanted to use STARTTLS, and the server offered it, but we weren't
15250 able to because we had no STARTTLS support, then close the connection.
15251 (open-network-stream): Return an :error element, if present.
15252
16f07dd7
CY
152532011-06-26 Chong Yidong <cyd@stupidchicken.com>
15254
88821ca0
CY
15255 * hl-line.el (hl-line-sticky-flag): Doc fix.
15256 (global-hl-line-sticky-flag): New option (Bug#8323).
15257 (global-hl-line-highlight): Obey it.
15258
16f07dd7
CY
15259 * vc/vc.el (vc-revert-show-diff): Default to t.
15260
6b5ccddf
KM
152612011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15262
c9d29fb8
SM
15263 * allout-widgets.el (allout-widgets-post-command-business):
15264 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15265 undecorated when an isearch is continued past, and isearch
15266 automatically collapses them. This leads to "widget leaks", where
15267 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15268 hidden widgets can slow down cursor travel, substantially.
15269 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15270 so we're doing without this nicety.
15271
15272 (allout-widgets-tally-string): Don't try to do a hash-table-count
15273 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15274 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15275 *Messages* when allout-widgets-maintain-tally is t.
15276
355f2e07
MR
152772011-06-26 Martin Rudalics <rudalics@gmx.at>
15278
15279 * window.el (display-buffer-normalize-argument): Rename to
15280 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15281 LABEL argument. Respect special-display-function when popping up
15282 a new frame. Fix code searching for a window showing the buffer
15283 on another frame.
c9d29fb8
SM
15284 (display-buffer-normalize-specifiers):
15285 Call display-buffer-normalize-arguments.
355f2e07
MR
15286 (display-buffer-in-window): Don't undedicate the window if its
15287 buffer remains the same.
15288 Reported by Drew Adams <drew.adams@oracle.com>.
15289 (display-buffer-alist): Add choice for same-window macro
15290 specfier.
15291 (display-buffer): Mention special meaning of LABEL argument in
15292 doc-string. Fix quoting. Don't pop up a new frame even as
15293 fallback.
15294
7ca8fc42
JB
152952011-06-26 Juanma Barranquero <lekktu@gmail.com>
15296
15297 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15298 avoid deleting the current window in some cases (bug#8911).
15299
bc312254
AS
153002011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15301
15302 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15303 (Bug#8934)
15304
2db18f3f
LMI
153052011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15306
c9d29fb8
SM
15307 * net/network-stream.el (network-stream-open-starttls):
15308 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15309 (network-stream-open-tls): Ditto.
15310
6302e0d3
LL
153112011-06-26 Leo Liu <sdl.web@gmail.com>
15312
15313 * register.el (registerv): New struct.
15314 (registerv-make): New function.
c9d29fb8
SM
15315 (jump-to-register, describe-register-1, insert-register):
15316 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15317 struct. (Bug#8415)
15318
5fdd4046
CY
153192011-06-26 Chong Yidong <cyd@stupidchicken.com>
15320
2afef60a
CY
15321 * vc/vc.el (vc-revert-show-diff): New defcustom.
15322 (vc-diff-internal): New arg specifying diff buffer.
15323 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15324 reuse an existing *vc-diff* buffer (Bug#8927).
15325
5fdd4046
CY
15326 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15327
e93db24a
GM
153282011-06-26 Glenn Morris <rgm@gnu.org>
15329
15330 * progmodes/f90.el (f90-critical-indent): New option.
15331 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15332 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15333 (f90-mode): Doc fix.
15334 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15335 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15336 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15337 (f90-match-end): Handle block, critical.
15338
eefff499
GM
153392011-06-25 Glenn Morris <rgm@gnu.org>
15340
f6ba4cc9
GM
15341 * calendar/diary-lib.el (diary-included-files): Doc fix.
15342 (diary-include-files): New function, extracted from
15343 diary-include-other-diary-files and diary-mark-included-diary-files.
15344 (diary-include-other-diary-files, diary-mark-included-diary-files):
15345 Just call diary-include-files.
15346 (diary-mark-entries): Reset diary-included-files on first call.
15347
16712304
GM
15348 * calendar/diary-lib.el (diary-mark-entries)
15349 (diary-mark-included-diary-files):
15350 Visit included diary-files in temp buffers.
15351
5d8e0d43
GM
15352 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15353 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15354 (f90-start-block-re, f90-imenu-generic-expression)
15355 (f90-looking-at-program-block-start, f90-no-block-limit):
15356 Add support for submodules.
15357
ccf7a5d5
GM
15358 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15359 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15360
11fdef7d 153612011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15362
15363 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15364 buffer-file-type before setting its value, to avoid disastrous
eefff499 15365 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15366
74f53697
JB
153672011-06-25 Juanma Barranquero <lekktu@gmail.com>
15368
15369 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15370
15371 * ses.el (ses-unload-function):
15372 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15373
15374 * proced.el (proced-unload-function):
15375 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15376
18a4ce5e
AR
153772011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15378
15379 * server.el (server-create-window-system-frame): Add parameters arg.
15380 (server-process-filter): Doc fix. Handle frame-parameters.
15381
519d22cc
JB
153822011-06-25 Juanma Barranquero <lekktu@gmail.com>
15383
15384 Fix bug#8730, bug#8781.
15385
15386 * loadhist.el (unload--set-major-mode): New function.
15387 (unload-feature): Use it.
15388
15389 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15390 (python-unload-function): New function.
15391
c206f5b0
SM
153922011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15393
15394 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15395
f9ad64f3
GS
153962011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15397
15398 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15399 the candidates list.
15400
7d0da90e
JB
154012011-06-24 Juanma Barranquero <lekktu@gmail.com>
15402
15403 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15404
14b4e83d
RS
154052011-06-23 Richard Stallman <rms@gnu.org>
15406
15407 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15408 (rmail-variables): Set next-error-move-function.
15409 (rmail-what-message): Take argument POS.
15410 (rmail-next-error-move): New function.
15411
273d2baf
SM
154122011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15413
15414 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15415 messages for adjacent non-terminals.
15416
56c2cc9a
RS
154172011-06-23 Richard Stallman <rms@gnu.org>
15418
15419 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15420 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15421 (rmail-start-mail): Don't specify use of rmail-mail-return;
15422 that's done by mail-bury now.
15423 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15424
d59eb518
MA
154252011-06-23 Michael Albinus <michael.albinus@gmx.de>
15426
15427 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15428 SIZE is a number.
15429
02cfc6d6
MR
154302011-06-23 Martin Rudalics <rudalics@gmx.at>
15431
15432 * window.el (get-lru-window, get-mru-window)
15433 (get-largest-window): Never return a minibuffer window.
15434 (display-buffer-pop-up-window): Fix a bug that could lead to
15435 reusing the minibuffer window.
15436 (display-buffer): Pass original specifier argument to
15437 display-buffer-function instead of the normalized one.
15438 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15439
4e323265
LL
154402011-06-22 Leo Liu <sdl.web@gmail.com>
15441
15442 * minibuffer.el (completing-read-function)
15443 (completing-read-default): Move from minibuf.c
15444
7a70468f
RS
154452011-06-22 Richard Stallman <rms@gnu.org>
15446
50718fc2
RS
15447 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15448 to Rmail even if not started by a special Rmail command.
15449
7a70468f
RS
15450 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15451 Copy the buffer currently showing just one message.
15452
297dde5a
RW
154532011-06-22 Roland Winkler <winkler@gnu.org>
15454
15455 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15456 (bibtex-clean-entry): First delete the old key so that a
15457 customized algorithm for generating the new key does not get
15458 confused by the old key.
15459 (bibtex-url): Obey regexp of first step.
15460 (bibtex-search-entries): Do not use add-to-list with local
15461 list-var.
15462
97bb1093
LMI
154632011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15464
15465 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15466 stored a user name, then query for the password first, instead of
15467 waiting for SMTP to give an error message and the trying again.
15468
1c0f1a19
JD
154692011-06-22 Lawrence Mitchell <wence@gmx.li>
15470
15471 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15472 BUFFER in call-process.
15473
396f7c9d
LMI
154742011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15475
15476 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15477 QUIT twice.
ddb7ffee
LMI
15478 (smtpmail-try-auth-methods): Require user name and password from
15479 auth-source.
396f7c9d 15480
8998d1b3
MR
154812011-06-22 Martin Rudalics <rudalics@gmx.at>
15482
15483 * window.el (display-buffer-default-specifiers)
15484 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15485 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15486 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15487
15488 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15489 (special-display-frame-alist, special-display-popup-frame):
15490 Remove duplicate declarations. These are now in window.el.
15491
4ea31e07
LMI
154922011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15493
c9d29fb8
SM
15494 * mail/smtpmail.el (smtpmail-via-smtp):
15495 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15496 server supports it. SMTP servers that support STARTTLS commonly
15497 require it.
15498
15499 * net/network-stream.el (network-stream-open-starttls): Support
15500 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15501 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15502
95f41d9a
LMI
15503 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15504 upgrades with `open-network-stream', and rely solely on
15505 auth-source for all credentials. Big changes throughout the file,
15506 but in particular:
c9d29fb8
SM
15507 (smtpmail-auth-credentials): Remove.
15508 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15509 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15510 MAIL FROM, too.
95f41d9a 15511
c9d29fb8
SM
15512 * net/network-stream.el (network-stream-open-starttls):
15513 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15514 STARTTLS.
15515 (auth-source): Require.
15516 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15517 (network-stream-certificate): Change cert-cert to cert and
15518 cert-key to key.
4ea31e07 15519
065ec2c7
MA
155202011-06-21 Michael Albinus <michael.albinus@gmx.de>
15521
15522 * net/tramp-cache.el (top): Don't load the persistency file when
15523 "emacs -Q" has been called.
15524
cd93b359
DR
155252011-06-21 Tim Harper <timcharper@gmail.com>
15526
d8e4b68b
JB
15527 * term/ns-win.el (ns-initialize-window-system):
15528 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15529 resource to NO as it is not yet supported by the NS port.
15530
ae9c0411
JB
155312011-06-21 Juanma Barranquero <lekktu@gmail.com>
15532
15533 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15534 (list-dynamic-libraries): ...not here.
15535
7f3f739f
LL
155362011-06-21 Leo Liu <sdl.web@gmail.com>
15537
15538 * subr.el (sha1): Implement sha1 using secure-hash.
15539
327c8fb1
MR
155402011-06-21 Martin Rudalics <rudalics@gmx.at>
15541
15542 * window.el (display-buffer-alist): In default value do not
15543 enforce searching a window on any but the selected frame.
15544 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15545 (display-buffer-select-window): Remove function.
15546 (display-buffer-in-window): When a window on another frame gets
15547 reused, do not select it any more but just raise its frame if
15548 necessary (Bug#8851) and (Bug#8856).
15549 (display-buffer-normalize-options): Handle pop-up-frames related
15550 options more faithfully.
15551 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15552 window if it is on another frame.
c9d29fb8
SM
15553 (display-buffer-alist, display-buffer-default-specifiers):
15554 Don't make new frame unsplittable by default.
9e9de014
MR
15555 (display-buffer-normalize-argument): Fix doc-string typo and use
15556 'same-frame-other-window instead of 'other-window when associating
15557 with display-buffer-macro-specifiers.
327c8fb1 15558
7cf3f556
VB
155592011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15560
15561 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15562 New functions.
15563 (5x5-mode-map, 5x5-mode-menu): Bind them.
15564 (5x5-draw-grid): Tweak the solver's rendering.
15565
60a406cf
SM
155662011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15567
15568 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15569 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15570
d8e4b68b 155712011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15572
15573 * menu-bar.el: Use function variable instead of switch-to-buffer.
15574 (menu-bar-select-buffer-function): New variable.
60a406cf 15575 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15576
478d6f95
SM
155772011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15580 variable's status.
15581
ca530739
JD
155822011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15583
15584 * x-dnd.el (x-dnd-version-from-flags)
15585 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15586 and long as number (Bug#8899).
15587 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15588
bcd70d97
SM
155892011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15590
60a406cf 15591 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15592 (completion-try-completion, completion-all-completions): Compute the
15593 metadata argument if it's missing; make it optional (bug#8795).
15594
60a406cf 15595 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15596 (widget-complete): Use new :completion-function property.
15597 (widget-completions-at-point): New function.
15598 (default): Use :completion-function instead of :complete.
60a406cf
SM
15599 (widget-default-completions): Rename from widget-default-complete;
15600 Rewrite.
bcd70d97
SM
15601 (widget-string-complete, widget-file-complete, widget-color-complete):
15602 Remove functions.
15603 (file, symbol, function, variable, coding-system, color):
15604 * international/mule-cmds.el (default-input-method, charset)
15605 (language-info-custom-alist):
15606 * cus-edit.el (face): Use new property :completions.
15607
15608 * progmodes/pascal.el (pascal-completions-at-point): New function.
15609 (pascal-mode): Use it.
15610 (pascal-mode-map): Use completion-at-point.
15611 (pascal-toggle-completions): Make obsolete.
15612 (pascal-complete-word, pascal-show-completions):
15613 * progmodes/octave-mod.el (octave-complete-symbol):
15614 Redefine as obsolete alias.
15615 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15616 Signal absence of completion info for old Octave,
15617 (inferior-octave-complete): Redefine as obsolete alias.
15618 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15619 (meta-completions-at-point): Rename from meta-complete-symbol and
15620 adapt it for use on completion-at-point-functions.
15621 (meta-common-mode): Use it.
15622 (meta-looking-at-backward, meta-match-buffer): Remove.
15623 (meta-complete-symbol): Redefine as obsolete alias.
15624 (meta-common-mode-map): Use completion-at-point.
15625 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15626 (makefile-mode-map): Use completion-at-point.
15627 (makefile-completions-at-point): Rename from makefile-complete and
15628 adapt it for use on completion-at-point-functions.
15629 (makefile-mode): Use it.
15630 (makefile-complete): Redefine as obsolete alias.
15631
aebf69c8
DD
156322011-06-20 Deniz Dogan <deniz@dogan.se>
15633
15634 * net/rcirc.el: Delete trailing whitespaces once and for all.
15635
bfbbb27d
DC
156362011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15637
15638 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15639
d264a46b
CY
156402011-06-19 Chong Yidong <cyd@stupidchicken.com>
15641
4ca009e5
CY
15642 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15643
d264a46b
CY
15644 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15645
fbf5b3ce
MR
156462011-06-19 Martin Rudalics <rudalics@gmx.at>
15647
15648 * window.el (display-buffer-other-window-means-other-frame):
15649 Call display-buffer-normalize-alist.
15650 (display-buffer-normalize-specifiers-1): Rename to
15651 display-buffer-normalize-argument. New argument other-frame.
15652 Rewrite.
15653 (display-buffer-normalize-specifiers-2): Rename to
15654 display-buffer-normalize-options.
15655 (display-buffer-normalize-alist-1): New function.
15656 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15657 display-buffer-normalize-alist.
15658 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15659 (display-buffer-normalize-options-inhibit): New variable.
15660 (display-buffer-normalize-specifiers): Rewrite calling
15661 display-buffer-normalize-alist,
15662 display-buffer-normalize-argument, and
15663 display-buffer-normalize-options. Don't call the latter if
15664 display-buffer-normalize-options-inhibit is non-nil.
15665 (frame-auto-delete): New option.
15666 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15667 (window-list-no-nils, window-state-ignored-parameters)
15668 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15669 (window-state-put-1, window-state-put-2, window-state-put):
15670 New functions.
9a028c23
MR
15671 (display-buffer-normalize-options): Move special-display-p group
15672 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15673
6d10d800
CY
156742011-06-18 Chong Yidong <cyd@stupidchicken.com>
15675
6420d28b
CY
15676 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15677 groups (Bug#8776).
15678 (rx-submatch-n): New function.
15679 (rx): Document it.
15680
ddb8b596
CY
15681 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15682 (Bug#8768).
15683
15684 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15685
77080289
CY
15686 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15687
61dfb316
CY
15688 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15689 anytime existing face settings are present (Bug#8889).
15690
6d10d800
CY
15691 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15692 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15693 Remove unused argument.
15694
be3fb2b8
MR
156952011-06-18 Martin Rudalics <rudalics@gmx.at>
15696
bcd70d97
SM
15697 * window.el (display-buffer-default-specifiers):
15698 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15699 pop-up-window-min-width, and another reuse-window specifier
15700 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15701 (display-buffer-normalize-specifiers-2):
15702 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15703 pop-up-windows is unset. Add a reuse-window specifier for the
15704 case popping up a new window fails.
15705 (special-display-popup-frame): Remove double quoting.
28dec25a 15706 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15707
1c6d8c76
SM
157082011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15709
15710 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15711 according to comint-completion-addsuffix.
15712
15713 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15714 (pcomplete-suffix-list): Mark as obsolete.
15715 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15716 pcomplete-seen in the closure.
15717 (pcomplete-comint-setup): Setup completion-at-point as well.
15718 (pcomplete--entries): New function.
15719 (pcomplete--env-regexp): New var.
15720 (pcomplete-entries): Rewrite to work with partial-completion and
15721 without relying on pcomplete-suffix-list.
15722 (pcomplete-pare-list): Remove, unused.
15723
25aef8b8
MR
157242011-06-17 Martin Rudalics <rudalics@gmx.at>
15725
15726 * window.el (display-buffer-alist): Set pop-up-window-min-height
15727 and pop-up-window-min-width in default value. Reported by
15728 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15729 other-window-means-other-frame.
15730 (display-buffer-macro-specifiers): Comment out entry for
15731 other-window specifier.
15732 (display-buffer-other-window-means-other-frame): New function.
15733 (display-buffer-normalize-specifiers-1): New arguments
15734 buffer-name and label. Treat other-window case specially.
15735 (display-buffer-normalize-specifiers-2): Treat other-window case
15736 specially.
15737 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15738 (display-buffer-normalize-specifiers):
15739 Call display-buffer-normalize-specifiers-3.
25aef8b8 15740
dbad4f69
MR
157412011-06-17 Martin Rudalics <rudalics@gmx.at>
15742
15743 * window.el (same-window-p): Fix two typos introduced when
15744 adding with-no-warnings.
d1067961
MR
15745 (display-buffer-normalize-specifiers-1): Don't check
15746 pop-up-frames for 'unset initialization.
15747 (display-buffer-normalize-specifiers-2): Major rewrite using
15748 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15749 (pop-up-frames, display-buffer-reuse-frames)
15750 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15751 Suggested by David Engster <deng@randomsample.de>.
15752 (even-window-heights): Initialize to 'unset.
15753 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15754 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15755 other window case.
dbad4f69 15756
9b9c9e3a
MR
157572011-06-16 Martin Rudalics <rudalics@gmx.at>
15758
bcd70d97
SM
15759 * window.el (display-buffer-normalize-specifiers-1):
15760 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15761 second argument of display-buffer (Bug#8865).
981d5c09
MR
15762 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15763 (switch-to-buffer-other-window-same-frame)
15764 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15765 Adams (Bug#8875).
9c2755e9
MR
15766 (display-buffer): Don't check noninteractive when calling
15767 display-buffer-pop-up-frame.
15768 (display-buffer-pop-up-frame): Never pop up a frame in
15769 noninteractive mode (Bug#8857).
67222e1d
MR
15770 (enlarge-window, shrink-window): Don't report an error when the
15771 window can't be resized as requested (Bug#8862).
9b9c9e3a 15772
2b75be67
SM
157732011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15774
9ffdd3ba
SM
15775 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15776
cb581a67
SM
15777 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15778
2b75be67
SM
15779 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15780
8c0e3589
AM
157812011-06-15 Alan Mackenzie <acm@muc.de>
15782
cb581a67
SM
15783 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15784 for declarators, disable knr checking to speed up for normal files.
15785 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15786
b96e6cde
LMI
157872011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15788
4bba86e6
LMI
15789 * net/network-stream.el (open-network-stream): Add the keyword
15790 :always-query-capabilities for the case where you want to force a
15791 `plain' network connection, but the protocol still requires the
15792 capabilitiy command (i.e., SMTP and EHLO).
15793
2b75be67 15794 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15795 consistency with other `-live-p' functions.
15796
efdcdbf8
SM
157972011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15798
15799 * window.el (same-window-buffer-names, same-window-regexps)
15800 (special-display-frame-alist, special-display-popup-frame)
15801 (special-display-function, special-display-buffer-names)
15802 (special-display-regexps, pop-up-frame-alist)
15803 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15804 (pop-up-windows, split-window-preferred-function)
15805 (split-height-threshold, split-width-threshold, even-window-heights)
15806 (display-buffer-mark-dedicated): Don't encourage the use of
15807 display-buffer-alist from Elisp code.
15808
c5cde042
DN
158092011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15810
15811 * progmodes/python.el (python-mode): Derive from prog-mode.
15812 * progmodes/ps-mode.el (ps-mode):
15813 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15814 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15815 * progmodes/ld-script.el (ld-script-mode): Likewise.
15816
baa1c9ab
MR
158172011-06-15 Martin Rudalics <rudalics@gmx.at>
15818
15819 * window.el (display-buffer-alist): Trim default value to avoid
15820 popping up a new frame (Bug#8857) or reusing an arbitrary window
15821 on another frame.
15822 (display-buffer): Do not fall back on popping up a new frame in
15823 batch mode (Bug#8857).
15824
c5dd5a51
CY
158252011-06-14 Chong Yidong <cyd@stupidchicken.com>
15826
15827 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15828 (custom-theme-summary): New function.
15829 (customize-themes): Use it.
15830
d647b7c4
GM
158312011-06-13 Glenn Morris <rgm@gnu.org>
15832
15833 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15834
9481c002
MR
158352011-06-13 Martin Rudalics <rudalics@gmx.at>
15836
357f93d2
MR
15837 * help.el (help-window): Remove variable.
15838 (help-window-point-marker, temp-buffer-max-height)
15839 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15840 (help-print-return-message): Don't set help-window.
15841 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15842 (help-window-setup-finish): Remove.
15843 (help-window-display-message, help-window-setup)
15844 (with-help-window): Major rewrite based on new
15845 display-buffer-window variable.
15846
15847 * help-mode.el (help-mode-finish): Remove help-window related
15848 code.
15849
15850 * view.el (view-exits-all-viewing-windows): Remove reference to
15851 view-return-to-alist in doc-string.
15852 (view-return-to-alist): Make obsolete.
15853 (view-buffer): Call pop-to-buffer-same-window and remove
15854 undo-window code.
15855 (view-buffer-other-window): Call pop-to-buffer-other-window and
15856 simplify code. Ignore second argument.
15857 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15858 simplify code. Ignore second argument.
15859 (view-return-to-alist-update): Make obsolete.
15860 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15861 Rewrite using quit-restore window parameters.
2b75be67
SM
15862 (view-mode-exit): Rename second argument to EXIT-ONLY.
15863 Rewrite using quit-restore-window.
357f93d2
MR
15864 (View-exit, View-exit-and-edit, View-leave, View-quit)
15865 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15866 appropriate arguments.
15867 (view-end-message): Use quit-restore window parameter.
15868
9481c002
MR
15869 * window.el (display-buffer-function): Rewrite doc-string.
15870 (display-buffer-window, display-buffer-alist): New variables.
15871 (display-buffer-split-specifiers)
15872 (display-buffer-side-specifiers)
15873 (display-buffer-macro-specifiers): New constants.
15874 (display-buffer-even-window-sizes, display-buffer-set-height)
15875 (display-buffer-set-width, display-buffer-select-window)
15876 (display-buffer-in-window, display-buffer-reuse-window)
15877 (display-buffer-split-window-1, display-buffer-split-window)
15878 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15879 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15880 (display-buffer-in-side-window, normalize-buffer-to-display)
15881 (display-buffer-normalize-specifiers-1)
15882 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15883 (display-buffer-normalize-specifiers, display-buffer-frame):
15884 New functions.
9481c002
MR
15885 (display-buffer): Major rewrite.
15886 (display-buffer-other-window, display-buffer-other-frame)
15887 (pop-to-buffer, switch-to-buffer-other-window)
15888 (switch-to-buffer-other-frame): Rewrite.
15889 (display-buffer-same-window, display-buffer-same-frame)
15890 (display-buffer-same-frame-other-window)
15891 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15892 (pop-to-buffer-other-window)
15893 (pop-to-buffer-same-frame-other-window)
15894 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15895 (switch-to-buffer-other-window-same-frame): New functions.
15896 (same-window-p, special-display-p): Rewrite disabling warnings.
15897 Make obsolete.
15898 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15899 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15900 Make obsolete
15901 (same-window-buffer-names, same-window-regexps)
15902 (special-display-frame-alist, special-display-popup-frame)
15903 (special-display-function, special-display-buffer-names)
15904 (special-display-regexps, pop-up-frame-alist)
15905 (pop-up-frame-function, split-window-preferred-function)
15906 (split-height-threshold, split-width-threshold)
15907 (even-window-heights): Make obsolete.
15908
9db51aca
GM
159092011-06-12 Glenn Morris <rgm@gnu.org>
15910
15911 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15912 Misc simplifications.
9db51aca 15913
39cffb44
MR
159142011-06-12 Martin Rudalics <rudalics@gmx.at>
15915
15916 * window.el (window-safely-shrinkable-p): Restore function which
15917 was inadvertently removed in change from 2011-06-11. Declare as
15918 obsolete.
15919
2b75be67
SM
15920 * calendar/calendar.el (calendar-generate-window):
15921 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15922 window-safely-shrinkable-p.
15923
a8955be7
GM
159242011-06-12 Glenn Morris <rgm@gnu.org>
15925
15926 * progmodes/fortran.el (fortran-mode-syntax-table):
15927 * progmodes/f90.el (f90-mode-syntax-table):
15928 Set % to punctuation. (Bug#8820)
15929 (f90-find-tag-default): Remove, no longer needed.
15930
f0d4059d
DC
159312011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15932
15933 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15934
1100a63c
CY
159352011-06-11 Chong Yidong <cyd@stupidchicken.com>
15936
15937 * image.el (image-animated-p): Return animation delay in seconds.
15938 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15939 (image-animate-timeout): Remove DELAY argument. Don't assume
15940 every subimage has the same delay; get it from image-animated-p.
15941 (image-animate): Caller changed.
15942
def722bf
MA
159432011-06-11 Michael Albinus <michael.albinus@gmx.de>
15944
15945 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15946 to ignored backtrace functions.
15947
0a2bb1a9
GM
159482011-06-11 Glenn Morris <rgm@gnu.org>
15949
15950 * calendar/appt.el (appt-disp-window-function): Doc fix.
15951 (appt-check): Handle overlapping appointments. (Bug#8337)
15952
6198ccd0
MR
159532011-06-11 Martin Rudalics <rudalics@gmx.at>
15954
15955 * window.el (window-tree-1, window-tree): New functions, moving
15956 the latter to window.el.
15957 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15958 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15959 (bw-refresh-edges): Remove.
15960 (balance-windows-1, balance-windows-2): New functions.
15961 (balance-windows): Rewrite in terms of window tree functions,
15962 balance-windows-1 and balance-windows-2.
15963 (bw-adjust-window): Remove.
15964 (balance-windows-area-adjust): New function with functionality of
15965 bw-adjust-window but using resize-window.
2b75be67
SM
15966 (set-window-text-height): Rewrite doc-string.
15967 Use normalize-live-window and resize-window.
15968 (enlarge-window-horizontally, shrink-window-horizontally):
15969 Rename argument to DELTA.
6198ccd0
MR
15970 (window-buffer-height): New function.
15971 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15972 Rewrite using new window resize routines.
2b75be67
SM
15973 (kill-buffer-and-window, mouse-autoselect-window-select):
15974 Use ignore-errors instead of condition-case.
6198ccd0
MR
15975 (quit-window): Call delete-frame instead of delete-windows-on
15976 for the only buffer on frame.
15977
9397e56f
MR
159782011-06-10 Martin Rudalics <rudalics@gmx.at>
15979
15980 * loadup.el (top-level): Load window before files for the sake
15981 of replace-buffer-in-windows.
15982
15983 * files.el (read-buffer-to-switch)
15984 (switch-to-buffer-other-window)
2b75be67
SM
15985 (switch-to-buffer-other-frame, display-buffer-other-frame):
15986 Move to window.el.
9397e56f
MR
15987
15988 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15989 (previous-buffer): Move to window.el.
15990
15991 * bindings.el (unbury-buffer): Move to window.el.
15992
15993 * window.el (delete-other-windows-vertically): Move after
15994 definition of delete-other-windows.
15995 (other-window, delete-windows-on, replace-buffer-in-windows):
15996 Move here from window.c.
15997 (record-window-buffer, unrecord-window-buffer)
15998 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15999 (switch-to-next-buffer): New functions.
16000 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16001 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16002 (previous-buffer): Move here from simple.el.
16003 Call switch-to-prev-buffer.
9397e56f
MR
16004 (bury-buffer): Move here from buffer.c. Switch to previous
16005 buffer when window cannot be deleted.
16006 (unbury-buffer): Move here from bindings.el.
16007 (ctl-x-map): Move binding for other-window from window.c to
16008 here.
16009 (read-buffer-to-switch, switch-to-buffer-other-window)
16010 (switch-to-buffer-other-frame): Move here from files.el.
16011 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16012 (switch-to-buffer): Move here from buffer.c.
16013 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16014
562dd5e9
MR
160152011-06-10 Martin Rudalics <rudalics@gmx.at>
16016
16017 * window.el (window-min-height, window-min-width): Move here
16018 from window.c. Add defcustoms and rewrite doc-strings.
16019 (resize-mini-window, resize-window): New functions.
16020 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16021 Move here from window.c.
16022 (maximize-window, minimize-window): New functions.
16023 (delete-window, delete-other-windows, split-window): Move here
16024 from window.c.
16025 (window-split-min-size): New function.
16026 (split-window-keep-point): Mention split-window-above-each-other
16027 instead of split-window-vertically.
2b75be67 16028 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16029 Rename split-window-vertically to split-window-above-each-other
16030 and provide defalias for old definition.
16031 (split-window-side-by-side, split-window-horizontally):
16032 Rename split-window-horizontally to split-window-side-by-side
16033 and provide defalias for the old definition.
562dd5e9
MR
16034 (ctl-x-map): Move bindings for delete-window,
16035 delete-other-windows and enlarge-window here from window.c.
16036 Replace bindings for split-window-vertically and
16037 split-window-horizontally by bindings for
16038 split-window-above-each-other and split-window-side-by-side.
16039
16040 * cus-start.el (all): Remove entries for window-min-height and
16041 window-min-width. Add entries for window-splits and
16042 window-nest.
16043
f0da764a
GM
160442011-06-09 Glenn Morris <rgm@gnu.org>
16045
80675c21
GM
16046 * calendar/appt.el (appt-mode-line): New function.
16047 (appt-check, appt-disp-window): Use it.
16048
f0da764a
GM
16049 * files.el (hack-one-local-variable-eval-safep):
16050 Allow minor-modes with explicit +/-1 arguments.
16051
59f623b7
TZ
160522011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16053
16054 * term/xterm.el (xterm): Add defgroup.
16055 (xterm-extra-capabilities): Add defcustom to supply known xterm
16056 capabilities, skip querying them, or query them (default).
16057 (terminal-init-xterm): Use it.
16058 (terminal-init-xterm-modify-other-keys): New function to set up
16059 modifyOtherKeys support to simplify `terminal-init-xterm'.
16060
9aab8e0d
MR
160612011-06-09 Martin Rudalics <rudalics@gmx.at>
16062
16063 * window.el (resize-window-reset, resize-window-reset-1)
16064 (resize-subwindows-skip-p, resize-subwindows-normal)
16065 (resize-subwindows, resize-other-windows, resize-this-window)
16066 (resize-root-window, resize-root-window-vertically)
16067 (window-deletable-p, window-or-subwindow-p)
16068 (frame-root-window-p): New functions.
16069
e8b08aee
GM
160702011-06-09 Glenn Morris <rgm@gnu.org>
16071
16072 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16073 (ange-ftp-get-files): Use it.
16074
254c37a5
AK
160752011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16076
16077 * mail/sendmail.el (mail-recover-1, mail-recover):
16078 * files.el (recover-file, recover-session):
16079 Handle dired-listing-switches not being just a single short option.
16080
35d7dbd3
GM
160812011-06-09 Glenn Morris <rgm@gnu.org>
16082
16083 * calendar/appt.el (appt-display-message, appt-disp-window):
16084 Handle lists of appointments.
16085
387522b2
MR
160862011-06-08 Martin Rudalics <rudalics@gmx.at>
16087
2b75be67
SM
16088 * window.el (one-window-p): Move down in code.
16089 Rewrite doc-string.
16090 (window-current-scroll-bars): Rewrite doc-string.
16091 Normalize live window argument.
387522b2
MR
16092 (walk-windows, get-window-with-predicate, count-windows):
16093 Rewrite doc-string. Use window-list-1.
16094 (window-in-direction-2, window-in-direction, get-mru-window):
16095 New functions.
16096
d8e4b68b 160972011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16098
16099 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16100 Doc fix (Bug#8713).
16101
161022011-06-08 Chong Yidong <cyd@stupidchicken.com>
16103
16104 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16105
161062011-06-08 Juanma Barranquero <lekktu@gmail.com>
16107
16108 * loadhist.el (unload-feature-special-hooks):
16109 Add `comint-output-filter-functions'.
16110
0de12c52
IK
161112011-06-08 Ivan Kanis <gnu@kanis.fr>
16112
16113 * calendar/appt.el (appt-check): Move some initializations into the let.
16114
f3d1777e
MR
161152011-06-08 Martin Rudalics <rudalics@gmx.at>
16116
16117 * window.el (window-height): Defalias to window-total-height.
16118 (window-width): Defalias to window-body-width.
16119
18af70d0
CY
161202011-06-07 Chong Yidong <cyd@stupidchicken.com>
16121
16122 * image-mode.el (image-toggle-animation): New command.
16123 (image-mode-map): Bind it to RET.
16124 (image-mode): Update message.
16125 (image-toggle-display-image): Avoid a spurious cache flush.
16126 (image-transform-rotation): Doc fix.
16127 (image-transform-properties): Return quickly in the normal case.
16128 (image-animate-loop): Rename from image-animate-max-time.
16129
2b75be67 16130 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16131 (create-animated-image): Remove unnecessary function.
16132 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16133 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16134 (image-animate-timer): Use car-safe.
16135 (image-animate-timeout): Rename argument.
16136
190b47e6
MR
161372011-06-07 Martin Rudalics <rudalics@gmx.at>
16138
16139 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16140 window.c. Rename first argument to ALL-FRAMES.
16141 Rephrase doc-strings.
16142 (get-buffer-window-list): Rewrite using window-list-1.
16143 Rephrase doc-string.
a1511caf
MR
16144 (window-safe-min-height, window-safe-min-width): New constants.
16145 (window-size-ignore, window-min-size, window-min-size-1)
16146 (window-sizable, window-sizable-p, window-size-fixed-1)
16147 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16148 (window-max-delta-1, window-max-delta, window-resizable)
16149 (window-resizable-p, window-total-height, window-total-width)
16150 (window-body-width): New functions.
16151 (window-full-height-p, window-full-width-p): Rewrite using
16152 window-total-size.
16153 (window-body-height): Rewrite using window-body-size.
190b47e6 16154
85cc1f11
MR
161552011-06-06 Martin Rudalics <rudalics@gmx.at>
16156
16157 * window.el (window-right, window-left, window-child)
16158 (window-child-count, window-last-child, window-any-p)
16159 (normalize-live-buffer, normalize-live-frame)
16160 (normalize-any-window, normalize-live-window)
16161 (window-iso-combination-p, window-iso-combined-p)
16162 (window-iso-combinations)
16163 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16164 (windows-with-parameter, window-with-parameter)
16165 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16166 (window-atom-check, window-side-check, window-check):
16167 New functions.
85cc1f11
MR
16168 (ignore-window-parameters, window-sides, window-sides-vertical)
16169 (window-sides-slots): New variables.
16170 (window-size-fixed): Move down in code. Minor doc-string fix.
16171
e7156492
AS
161722011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16173
16174 * comint.el (comint-dynamic-complete-as-filename)
16175 (comint-dynamic-complete-filename): Correctly call
16176 completion-in-region.
16177
7e821d0d
DD
161782011-06-05 Deniz Dogan <deniz@dogan.se>
16179
16180 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16181 in last change.
16182
ac09b8a1
DD
161832011-06-05 Deniz Dogan <deniz@dogan.se>
16184
16185 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16186 (rcirc): Use it to prompt for encryption.
16187
34699b85
RW
161882011-06-05 Roland Winkler <winkler@gnu.org>
16189
16190 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16191 (bibtex-search-entries): New command bound to C-c C-a.
16192 (bibtex-display-entries): New function.
16193
004dedd3
RW
161942011-06-05 Roland Winkler <winkler@gnu.org>
16195
16196 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16197 (bibtex-insert-kill): After yanking insert newline if necessary.
16198 (bibtex-initialize): Call bibtex-string-files-init only once.
16199 (bibtex-mode): Do not call easy-menu-add.
16200 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16201 (bibtex-yank): Set arg properly if nil.
16202
022fe7ce
RW
162032011-06-05 Roland Winkler <winkler@gnu.org>
16204
2b75be67
SM
16205 * textmodes/bibtex.el (bibtex-search-entry-globally):
16206 New variable.
022fe7ce
RW
16207 (bibtex-search-entry): Use it.
16208
b7c3692a
RW
162092011-06-05 Roland Winkler <winkler@gnu.org>
16210
16211 * textmodes/bibtex.el (bibtex-entry-format): New option
16212 sort-fields.
16213 (bibtex-format-entry, bibtex-reformat): Honor this option.
16214 (bibtex-parse-entry): Return fields in proper order.
16215
8eda563d
JB
162162011-06-05 Juanma Barranquero <lekktu@gmail.com>
16217
16218 * doc-view.el (doc-view-remove-if): Move computation of result out
16219 of `dolist' to silence misleading lexical-binding warning.
16220
7dbe3dbc
CY
162212011-06-04 Chong Yidong <cyd@stupidchicken.com>
16222
16223 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16224 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16225
0c33dd17
MA
162262011-06-04 Michael Albinus <michael.albinus@gmx.de>
16227
16228 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16229 "SunOS 5.10".
16230
f8f91c2b
MA
162312011-06-04 Michael Albinus <michael.albinus@gmx.de>
16232
16233 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16234 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16235 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16236 (tramp-parse-putty):
16237 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16238 (tramp-completion-function-alist-ssh)
16239 (tramp-completion-function-alist-telnet)
16240 (tramp-completion-function-alist-su)
16241 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16242 cookie.
16243
16244 * net/tramp-ftp.el:
16245 * net/tramp-sh.el:
16246 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16247 load "tramp.el" `tramp-set-completion-function'.
16248
e17d9003
SM
162492011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16250
16251 * shell.el: Require and use pcomplete.
16252 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16253 (shell-completion-vars): Set pcomplete-default-completion-function.
16254
6c4cab03
DD
162552011-06-04 Deniz Dogan <deniz@dogan.se>
16256
16257 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16258 `memq' (Bug#8799).
16259
ea9fafe0
SM
162602011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16261
16262 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16263
b3e945d3
JB
162642011-06-02 Juanma Barranquero <lekktu@gmail.com>
16265
16266 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16267 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16268 * vc/log-view.el (log-view-beginning-of-defun):
16269 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16270 (smerge-refine-forward, smerge-refine-chopup-region):
16271 Silence warning for unused `dotimes' counter variables.
16272
7d520089
SM
162732011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16274
16275 * net/tramp.el (tramp-with-progress-reporter): Rename from
16276 with-progress-reporter. Use `declare'.
16277 * net/tramp-smb.el:
16278 * net/tramp-sh.el:
16279 * net/tramp-gvfs.el: Update all uses.
16280
a1c2400f
JB
162812011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16282
16283 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16284 buffer isn't killed before making it current.
16285
2403c841
SM
162862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 Silence various byte-compiler warnings.
16289 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16290 `access-type' and new obsolescence format.
16291 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16292 new format.
16293 (byte-compile-check-variable): New `access-type' argument.
16294 Only warn if the access-type is obsolete.
16295 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16296 (byte-compile-variable-set): Adjust callers.
16297 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16298 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16299 setting it as obsolete.
16300 * simple.el (minibuffer-completing-symbol):
16301 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16302 access as obsolete.
16303 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16304 obsolete yet.
16305 * international/quail.el (quail-mouse-choose-completion): Remove unused
16306 code referring to obsolete var.
16307 (quail-choose-completion-string): Remove.
16308 * server.el (server-clients-with, server-kill-buffer-query-function)
16309 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16310 * proced.el (proced-send-signal):
16311 * emacs-lisp/lisp.el (lisp-complete-symbol):
16312 Replace completion-annotate-function with completion-extra-properties.
16313
2462470b
SM
163142011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16315
fb5b2591
SM
16316 * simple.el (goto-line): Use read-number.
16317 (overriding-map-is-bound): Remove.
16318 (saved-overriding-map): Change default.
16319 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16320 Take the map as argument.
16321 (universal-argument, negative-argument, digit-argument): Use it.
16322 (restore-overriding-map): Adjust.
16323 (do-auto-fill): Use fill-forward-paragraph.
16324 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16325
fd6fa53f
SM
16326 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16327 (minibuffer-inactive-mode): New major mode.
16328 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16329 the *Messages* buffer" hack.
16330 (mouse-popup-menubar): Don't burp if the event is a normal key.
16331
2462470b
SM
16332 Miscellaneous tweaks.
16333 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16334 lexical scoping as in subr.el's dolist and dotimes.
16335 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16336 Silence compiler warning.
16337 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16338 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16339 * international/ccl.el (ccl-compile): Trivial simplification.
16340 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16341 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16342 `printflag' argument.
16343 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16344 Purecopy the whole obsolescence data.
16345
108bf785
LL
163462011-06-01 Leo Liu <sdl.web@gmail.com>
16347
16348 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16349 improve doc-string as suggested by Marco Pessotto
16350 <melmothx@gmail.com>.
16351 (rcirc-print): Fix last change.
16352
30a23501
SM
163532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16354
16355 * minibuffer.el (complete-with-action): Return nil for the metadata and
16356 boundaries of non-functional tables.
16357 (completion-table-dynamic): Return nil for the metadata.
16358 (completion-table-with-terminator): Add default case, using
16359 complete-with-action.
16360 (completion--metadata): New function.
16361 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16362 to try and avoid pathological performance problems.
16363 (completion--embedded-envvar-table): Return `category' metadata.
16364
bcd54f83
LMI
163652011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16366
16367 * subr.el (process-alive-p): New tiny convenience function.
16368
e227544d
SM
163692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16370
16371 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16372 content but also its previous major mode.
16373
e8296fdc
HE
163742011-05-31 Helmut Eller <eller.helmut@gmail.com>
16375
4d61f28d 16376 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16377 *Backtrace* buffer when we exit with C-M-c.
16378
620c53a6
SM
163792011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16380
16381 * minibuffer.el: Add metadata method to completion tables.
16382 (completion-category-overrides): New defcustom.
16383 (completion-metadata, completion--field-metadata)
16384 (completion-metadata-get, completion--styles)
16385 (completion--cycle-threshold): New functions.
16386 (completion-try-completion, completion-all-completions):
16387 Add `metadata' argument to choose completion-styles.
16388 (completion--do-completion): Use metadata to choose cycling.
16389 (completion-all-sorted-completions): Use metadata for sorting.
16390 Remove :completion-cycle-penalty which is not needed any more.
16391 (completion--try-word-completion): Add `metadata' argument.
16392 (minibuffer-completion-help): Check metadata for annotation function
16393 and sorting.
16394 (completion-file-name-table): Return `category' metadata.
16395 (minibuffer-completing-file-name): Make obsolete.
16396 * simple.el (minibuffer-completing-symbol): Make obsolete.
16397 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16398 completion-try-completion.
16399
1257e755
SM
164002011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16401
16402 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16403
3767e706
LL
164042011-05-30 Leo Liu <sdl.web@gmail.com>
16405
16406 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16407 (rcirc-print): Decode all incoming messages (bug#8744).
16408 (rcirc-decode-coding-system): Allow value nil for automatic coding
16409 system detection.
3767e706 16410
d1a5d56a
GM
164112011-06-01 Glenn Morris <rgm@gnu.org>
16412
16413 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16414
e8cbec34
CY
164152011-05-29 Chong Yidong <cyd@stupidchicken.com>
16416
16417 * image.el (image-animate-max-time): Allow nil and t values.
16418 Default to nil.
16419 (create-animated-image): Doc fix.
16420 (image-animate-start): Remove second arg; just use
16421 image-animate-max-time.
16422 (image-animate-timeout): Doc fix. Args changed.
16423
16424 * image-mode.el (image-toggle-display-image): Ensure that the
16425 image spec passed to the animate timer is the same object as in
58179cce 16426 the buffer's display property (Bug#6981).
e8cbec34
CY
16427 (image-transform-properties): Doc fix.
16428
16429 * image.el (image-animate-max-time): Default to nil.
16430
159daf87
MR
164312011-05-29 Martin Rudalics <rudalics@gmx.at>
16432
16433 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16434 entire buffer list (Bug#8184).
16435
d66c4c7c
CY
164362011-05-29 Chong Yidong <cyd@stupidchicken.com>
16437
16438 * image.el (imagemagick-types-inhibit)
16439 (imagemagick-register-types): Doc fix.
16440
80aec780
DD
164412011-05-29 Deniz Dogan <deniz@dogan.se>
16442
16443 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16444 default.
16445
1dd3c2d9
CY
164462011-05-29 Chong Yidong <cyd@stupidchicken.com>
16447
16448 * select.el: Don't perform clipboard-manager saving in hooks;
16449 leave the hooks empty.
16450
60e56523
LL
164512011-05-28 Leo Liu <sdl.web@gmail.com>
16452
16453 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16454 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16455 (occur-edit-mode): New major mode (Bug#8463).
16456 (occur-after-change-function): New function.
16457 (occur-engine): Give Occur tags a read-only property.
16458
2b1e1a22
KR
164592011-05-28 Kevin Ryde <user42@zip.com.au>
16460
16461 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16462
5d344e88
CY
164632011-05-28 Chong Yidong <cyd@stupidchicken.com>
16464
8e6ca83d
CY
16465 * bindings.el (help-echo): Make the initial non-indicator dash
16466 empty on graphical terminals (Bug#7295).
16467
5d344e88
CY
16468 * files.el (auto-mode-alist): Move config rule after the
16469 in-stripping one (Bug#8547).
16470
bfbbace7
CY
16471 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16472
fbeba6e2
CY
16473 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16474 setting (Bug#8740).
16475
60ed8c72
AA
164762011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16477
4ac619f0
AA
16478 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16479 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16480 (Bug#8539).
60ed8c72 16481
23db196e
CY
164822011-05-28 Chong Yidong <cyd@stupidchicken.com>
16483
16484 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16485
5012f24c
DK
164862011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16487
16488 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16489 (hs-hide-block-at-point, hs-find-block-beginning)
16490 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16491 (Bug#8279).
16492
6a639b16
GM
164932011-05-28 Glenn Morris <rgm@gnu.org>
16494
16495 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16496
d43eaf2c
CY
164972011-05-28 Chong Yidong <cyd@stupidchicken.com>
16498
5199bde1
CY
16499 * help-fns.el (describe-function-1): If the function is a derived
16500 major mode, print the parent mode.
16501
d43eaf2c
CY
16502 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16503 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16504
423428a8
SM
165052011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16506
0ff8e1ba 16507 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16508 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16509 * progmodes/etags.el (tags-completion-at-point-function):
16510 * info-look.el (info-lookup-completions-at-point): Mark as
16511 non-exclusive.
16512 (info-complete): Adjust accordingly.
16513
423428a8
SM
16514 * info-look.el: Convert to lexical-binding and completion-at-point.
16515 (info-lookup-completions-at-point): New function.
16516 (info-complete): Use it and completion-in-region.
16517
b74aa22b
DA
165182011-05-28 Drew Adams <drew.adams@oracle.com>
16519
16520 * isearch.el: Let M-e start with point at the first mismatched char.
16521 (isearch-fail-pos): New function.
16522 (isearch-edit-string): Use it.
16523
66e2e71d
DK
165242011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16525
16526 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16527
b1890b0f 165282011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16529
16530 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16531 traversal functions for avl-trees.
16532 (avl-tree--stack): New struct.
16533 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16534 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16535 (avl-tree--do-enter): Add optional `updatefun' arg.
16536 Change return value.
eb95d01d 16537 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16538 (avl-tree--do-delete): Add `test' and `nilflag' args.
16539 Change return value.
eb95d01d
TC
16540 (avl-tree-member): Add optional `nilflag'
16541 (avl-tree-member-p): New function.
16542 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16543 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16544 (avl-tree-stack-empty-p): New functions.
16545
3769ddcf
TC
16546 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16547 avl-tree--del-balance1 and make it work both ways.
16548 (avl-tree--del-balance2): Remove.
16549 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16550 make it work both ways.
16551 (avl-tree--enter-balance2): Remove.
16552 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16553 New macros.
16554 (avl-tree--mapc, avl-tree-map): Add direction argument.
16555
eb95d01d 165562011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16557
16558 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16559
a9f737ee
CY
165602011-05-27 Chong Yidong <cyd@stupidchicken.com>
16561
16562 * select.el: Support clipboard managers with built-in function
16563 x-clipboard-manager-save, via delete-frame-functions and
16564 kill-emacs-hook.
16565 (xselect-convert-to-targets): Add MULTIPLE target to list.
16566 (xselect-convert-to-save-targets): New function.
16567
c92a1e54
KH
165682011-05-27 Kenichi Handa <handa@m17n.org>
16569
16570 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16571 let-binding rfc2047-encode-encoded-words to nil.
16572
e145f188
GM
165732011-05-27 Glenn Morris <rgm@gnu.org>
16574
5ec8a862
GM
16575 * mail/emacsbug.el: Don't require url-util.
16576
4b29d9fb
GM
16577 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16578
e145f188
GM
16579 * files.el (set-auto-mode):
16580 Also respect mode: entries at the end of the file. (Bug#8586)
16581
7d15102b
GM
165822011-05-26 Glenn Morris <rgm@gnu.org>
16583
98f593b8
GM
16584 * files.el (hack-local-variables-prop-line, hack-local-variables):
16585 Downcase mode names, as seems to be traditional.
27b48e63 16586 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16587
7d15102b
GM
16588 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16589 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16590
51d5b4ec
JD
165912011-05-25 Julien Danjou <julien@danjou.info>
16592
16593 * textmodes/rst.el (rst-define-level-faces): Do not define face
16594 symbol if it is already defined.
16595
91513f63
VB
165962011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16597
16598 * play/5x5.el (5x5-new-game, 5x5-randomize):
16599 Reset 5x5-solver-output to nil when a new grid is cast.
16600 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16601 these debugging traces, as defmacro breaks the compiled code.
16602
4d90d6d0
DK
166032011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16604
16605 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16606
e1b90ef6
LL
166072011-05-24 Leo Liu <sdl.web@gmail.com>
16608
16609 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16610 (vc-bzr-sha1): Adapt.
16611
d8e4b68b 16612 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16613
16614 * bindings.el: Provide sha1 feature.
16615
db0406bb 166162011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16617
16618 * mail/sendmail.el: Require `rfc2047'.
16619 (mail-insert-from-field): Do not perform RFC2047 encoding.
16620 (mail-encode-header): New function.
16621 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16622 buffer to the return value of select-message-coding-system.
16623 Call mail-encode-header.
b8d747b9
KH
16624
16625 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16626
db0406bb 166272011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16628
4d90d6d0
DK
16629 * mail/supercite.el (sc-default-cite-frame):
16630 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16631
eb8a5e9b
GM
166322011-05-24 Glenn Morris <rgm@gnu.org>
16633
f8630703
GM
16634 * progmodes/python.el (brm-menu): Declare.
16635
8831bbed
GM
16636 * emulation/viper.el (viper-set-hooks): Declare.
16637
eb8a5e9b
GM
16638 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16639 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16640 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16641 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16642 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16643 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16644
a2a25d24
SM
166452011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16646
16647 Add an :exit-function for completion-at-point.
16648
16649 * minibuffer.el (completion--done): New fun.
16650 (completion--do-completion): Use it. New arg `expect-exact'.
16651 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16652 since completion--do-completion does it for us now.
16653 (minibuffer-force-complete): Use completion--done and
16654 completion--replace. Handle sole-completion case with more care.
16655 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16656 (completion-extra-properties): New var.
16657 (completion-annotate-function): Make obsolete.
16658 (minibuffer-completion-help): Adjust accordingly.
16659 Use completion-list-insert-choice-function.
16660 (completion-at-point, completion-help-at-point):
16661 Bind completion-extra-properties.
16662 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16663 * simple.el (completion-list-insert-choice-function): New var.
16664 (completion-setup-function): Preserve it.
16665 (choose-completion): Pay attention to it, shuffle the code a bit.
16666 (choose-completion-string): New arg `insert-function'.
16667
16668 * textmodes/bibtex.el: Convert to lexical binding.
16669 (bibtex-mode-map): Use completion-at-point.
16670 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16671 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16672 (bibtex-complete): Define as obsolete alias.
16673 (bibtex-complete-internal): Remove.
16674 (bibtex-format-entry): Remove unused sub-group in regexp.
16675 * shell.el (shell--command-completion-data)
16676 (shell-environment-variable-completion):
16677 * pcomplete.el (pcomplete-completions-at-point):
16678 * comint.el (comint--complete-file-name-data): Use :exit-function
16679 instead of completion-table-with-terminator so it also works for
16680 choose-completion.
16681
e44e373d
SM
166822011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16683
4f91a816
SM
16684 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16685
782fc819
SM
16686 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16687 (bug#8710).
16688
e44e373d
SM
16689 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16690
381987c3
KM
166912011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16692
16693 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16694 customization variable and implement: If non-nil, auto-fill will
16695 be inhibited while on topic's header line.
16696
b776bc70
VB
166972011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16698
16699 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16700 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16701 always have a solution in grid size = 5 cases.
16702 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16703 (5x5-solver-output, 5x5-log-buffer): New vars.
16704 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16705 Make these variables buffer local to achieve 5x5 multi-session-ness.
16706 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16707 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16708 (5x5-solve-suggest): New funs.
16709 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16710 randomize a grid so that we ensure that there is always a solution.
16711 (5x5-make-random-grid): Allow other movement than flipping.
16712
7de88b6e
KR
167132011-05-23 Kevin Ryde <user42@zip.com.au>
16714
16715 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16716 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16717 advice and passes PREDICATE.
16718
b1ef1257
SM
167192011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16720
bbca48fe
SM
16721 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16722 byte-compile-lambda if it's actually a lambda.
16723
b1ef1257
SM
16724 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16725 Fix function quoting. Use backquote better.
16726
92a9cc65
YS
167272011-05-22 Yuanle Song <sylecn@gmail.com>
16728
16729 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16730 matching (Bug#8516).
16731
f0fb8059
JA
167322011-01-22 Jari Aalto <jari.aalto@cante.net>
16733
16734 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16735 different face (Bug#8178).
16736
d5b44c93
CY
167372011-05-22 Chong Yidong <cyd@stupidchicken.com>
16738
16739 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16740 defface (Bug#8144).
16741
79106a44
SM
167422011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16743
9c848d8a
SM
16744 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16745 funcall as well (bug#8712). Warn when performing those conversions.
16746 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16747
79106a44
SM
16748 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16749
88dfa756
GM
167502011-05-22 Glenn Morris <rgm@gnu.org>
16751
16752 * files.el (hack-local-variables-prop-line): Small simplifications.
16753 (hack-local-variables, hack-local-variables-prop-line):
16754 If MODE-ONLY, return the mode, rather than just `t'.
16755
b7cf2c79
SM
167562011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16757
16758 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16759
3f1a8558
GM
167602011-05-21 Glenn Morris <rgm@gnu.org>
16761
7e4ccca3
GM
16762 * files.el (hack-local-variables-prop-line, hack-local-variables):
16763 If only interested in the mode, don't bother doing the other stuff.
16764
637d46ca
GM
16765 * image-mode.el (image-after-revert-hook):
16766 Redraw all frames on which the image is visible. (Bug#8567)
16767
973d955b
GM
16768 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16769
3f1a8558
GM
16770 * wid-edit.el (widget-checklist-match-inline):
16771 Fix 2011-04-19 change. (Bug#8649)
16772
96479927
SM
167732011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16774
1dcf791f
SM
16775 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16776 Also allow singlespace after single-letter capitals followed by a dot.
16777
96479927
SM
16778 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16779 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16780
35fd0881
N
167812011-05-20 Nix <nix@esperi.org.uk>
16782
16783 * files.el (basic-save-buffer-2):
16784 Fix handling of break-hardlink-on-save with non-existent files.
16785
82745640
DD
167862011-05-19 Deniz Dogan <deniz@dogan.se>
16787
16788 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16789 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16790
4a720484
GM
167912011-05-19 Glenn Morris <rgm@gnu.org>
16792
d1f21341
GM
16793 * progmodes/f90.el (f90-type-def-re):
16794 Handle "type, bind(c)". (Bug#8691)
16795
4a720484
GM
16796 * emacs-lisp/autoload.el (batch-update-autoloads):
16797 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16798
2fb0a219
MA
167992011-05-18 Michael Albinus <michael.albinus@gmx.de>
16800
16801 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16802 property for the correct connection in case of multihops.
16803
e565dd37
GM
168042011-05-18 Glenn Morris <rgm@gnu.org>
16805
c2571358 16806 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16807 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16808
e565dd37
GM
16809 Rationalize calendar handling of day and month abbrev-arrays.
16810 * calendar/calendar.el (calendar-customized-p): New function.
16811 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16812 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16813 Add :set function.
16814 (calendar-abbrev-length, calendar-day-abbrev-array)
16815 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16816 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16817 Elements may no longer be nil.
16818 (calendar-day-name, calendar-month-name):
16819 Update for changed nature of abbrev arrays.
16820 * calendar/diary-lib.el (diary-name-pattern):
16821 Update for changed nature of abbrev arrays.
16822 (diary-mark-entries-1): Update calendar-make-alist calls.
16823 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16824 * calendar/cal-html.el (cal-html-day-abbrev-array):
16825 Simply inherit from calendar-day-abbrev-array.
16826
1d99a745
SM
168272011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16828
16829 * progmodes/grep.el (grep-mode): Disable default
16830 compilation-directory-matcher setting (bug#8684).
16831
7c1d9aa0
MA
168322011-05-17 Michael Albinus <michael.albinus@gmx.de>
16833
16834 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16835 instead of "head" and "tail". There were problems with SunOS 5.9,
16836 and it performs better.
16837
3952e9d8
GM
168382011-05-17 Glenn Morris <rgm@gnu.org>
16839
2dd12e7f
GM
16840 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16841
e4157b9c
GM
16842 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16843 Replace obsolete function.
16844
8e249bbd
GM
16845 * shell.el (pcomplete-parse-arguments-function): Declare.
16846
3952e9d8
GM
16847 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16848 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16849 (appt-check): Doc fixes.
16850 (appt-disp-window-function, appt-delete-window-function):
16851 Remove needless special case in custom :type.
16852 (appt-display-count): Default to 0, not nil.
16853 (appt-check): Reset appt-display-count to 0, not nil.
16854
c71a0d48 168552011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16856
c71a0d48
GM
16857 * progmodes/python.el (python-font-lock-keywords):
16858 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16859
31d55be9
SM
168602011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16861
16862 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16863
3bfacb2f
KR
168642011-05-16 Kevin Ryde <user42@zip.com.au>
16865
16866 * info-look.el (makefile-automake-mode): New setups, looking in
16867 automake manual, then makefile-mode.
16868 (makefile-mode): Remove automake manual, have it just in
16869 makefile-automake-mode since there's various things different or
16870 not relevant to plain make.
16871 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16872 believe a hypothetical automake-mode would go to makefile-mode,
16873 not the other way around.
16874
c8e83751
CY
168752011-05-15 Chong Yidong <cyd@stupidchicken.com>
16876
5e9e35cd
CY
16877 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16878 hunk-end tags (Bug#8672).
16879
c8e83751
CY
16880 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16881 vc-annotate-show-diff-revision-at-line (Bug#8671).
16882
50b23e5a
GM
168832011-05-14 Glenn Morris <rgm@gnu.org>
16884
7210a739
GM
16885 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16886 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16887 (change-log-font-lock-keywords): Also handle multiple author lines
16888 with leading tabs. (Bug#8644)
7210a739 16889
4691905a
GM
16890 * calendar/appt.el (appt-check): Rename some local variables.
16891 Some simplification/reordering.
16892
50b23e5a
GM
16893 * mail/feedmail.el (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)
16897 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16898 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16899 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16900 (feedmail-binmail-gnulinuxish-template):
16901 Rename from feedmail-binmail-linuxish-template.
16902 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16903 Use insert-buffer-substring.
16904
215cda7c
BC
169052011-05-14 Bill Carpenter <bill@carpenter.org>
16906
16907 * mail/feedmail.el (feedmail-patch-level): Increase.
16908 (feedmail-debug): New custom group.
16909 (feedmail-confirm-outgoing-timeout)
16910 (feedmail-sendmail-f-doesnt-sell-me-out)
16911 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16912 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16913 (feedmail-sender-line, feedmail-from-line)
16914 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16915 (feedmail-spray-this-address)
215cda7c
BC
16916 (feedmail-spray-address-fiddle-plex-list)
16917 (feedmail-queue-use-send-time-for-date)
16918 (feedmail-queue-use-send-time-for-message-id)
16919 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16920 (feedmail-buffer-eating-function):
16921 Doc fixes.
16922 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16923 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16924 (feedmail-message-action-scroll-down): New functions.
16925 (feedmail-queue-directory, feedmail-queue-draft-directory):
16926 Use expand-file-name.
16927 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16928 Remove C-v help entry.
16929 (feedmail-queue-buffer-file-name): New variable.
16930 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16931 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16932 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16933 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16934 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16935 (feedmail-message-action-toggle-spray)
16936 (feedmail-run-the-queue-no-prompts)
16937 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16938 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16939 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16940 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16941 (feedmail-envelope-deducer, feedmail-fiddle-from)
16942 (feedmail-fiddle-sender, feedmail-default-date-generator)
16943 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16944 (feedmail-fiddle-spray-address)
16945 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16946 (feedmail-fiddle-list-of-fiddle-plexes)
16947 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16948 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16949 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16950 Change default. Doc fix.
16951 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16952 (feedmail-binmail-linuxish-template): New constant.
16953 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16954 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16955 (feedmail-send-it): Add debug call.
16956 Use feedmail-queue-buffer-file-name, and
16957 feedmail-send-it-immediately-wrapper.
16958 (feedmail-message-action-send): Add debug call.
16959 Use feedmail-send-it-immediately-wrapper.
16960 (feedmail-queue-express-to-queue): Add debug call.
16961 Run feedmail-queue-express-hook.
16962 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16963 (feedmail-message-action-help-blat):
16964 Rename from feedmail-queue-send-edit-prompt-help-first.
16965 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16966 Check line-endings. Handle errors better.
16967 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16968 Doc fix. Add debug call.
16969 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16970 Use feedmail-queue-send-edit-prompt-inner.
16971 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16972 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16973 from feedmail-queue-send-edit-prompt.
16974 (feedmail-queue-send-edit-prompt-help)
16975 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16976 (feedmail-tidy-up-slug): Add debug call.
16977 Respect feedmail-queue-slug-suspect-regexp.
16978 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16979 (feedmail-dump-message-to-queue): Add debug call.
16980 Expand queue-directory.
16981 (feedmail-dump-message-to-queue): Change message slightly.
16982 Use feedmail-say-chatter.
16983 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16984 (feedmail-send-it-immediately-wrapper): New function.
16985 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16986 Insert empty string rather than newline. Handle full-frame case.
16987 Use catch/throw. Use feedmail-say-chatter.
16988 (feedmail-fiddle-from): Try mail-host-address.
16989 (feedmail-default-message-id-generator): Doc fix.
16990 Bind system-time-locale. Handle missing end.
16991 (feedmail-fiddle-x-mailer): Add debug call.
16992 Handle feedmail-x-mailer-line being nil.
16993 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16994 Add debug call. Use buffer-substring-no-properties.
16995 (feedmail-say-debug, feedmail-say-chatter): New functions.
16996 (feedmail-find-eoh): Give an explicit error.
16997
42c7e61e
UJ
169982011-05-13 Ulf Jasper <ulf.jasper@web.de>
16999
c2571358 17000 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17001 family from helvetica to sans.
c2571358 17002 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17003 etc/images/newsticker.
17004
c2571358 17005 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17006 family from helvetica to sans.
17007
17008 * net/newst-plainview.el (newsticker-new-item-face)
17009 (newsticker-old-item-face, newsticker-immortal-item-face)
17010 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17011 (newsticker-statistics-face): Change default family from
42c7e61e 17012 helvetica to sans.
c2571358 17013 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17014 etc/images/newsticker.
17015
5d3385a0
JB
17016 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17017 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17018 auto-marking.
17019
8497a297
DV
170202011-05-13 Didier Verna <didier@xemacs.org>
17021
17022 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17023 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17024 TODO entries.
8497a297
DV
17025 (lisp-lambda-list-keyword-parameter-indentation)
17026 (lisp-lambda-list-keyword-parameter-alignment)
17027 (lisp-lambda-list-keyword-alignment): New customizable user options.
17028 (lisp-indent-defun-method): Improve docstring.
17029 (extended-loop-p): Fix comment.
17030 (lisp-indent-lambda-list-keywords-regexp): New variable.
17031 (lisp-indent-lambda-list): New function.
17032 (lisp-indent-259): Use it.
17033 (lisp-indent-defmethod): Support for more than one
17034 method qualifier and properly indent methods lambda-lists.
17035 (defgeneric): Provide a missing common-lisp-indent-function property.
17036
f278f87f
SM
170372011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17038
17039 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17040 bounds for the empty string (bug#8667).
17041
5233edd7
GM
170422011-05-13 Glenn Morris <rgm@gnu.org>
17043
5237a44f
GM
17044 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17045
8340026c 17046 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17047 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17048
5233edd7 17049 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17050 (appt-time-msg-list): Doc fix.
a5464014 17051 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17052
92d10796
AS
170532011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17054
17055 * progmodes/ld-script.el (ld-script-keywords)
17056 (ld-script-builtins): Update keywords list.
17057
914a0ae1
SM
170582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17059
c89be45f
SM
17060 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17061
914a0ae1
SM
17062 * shell.el (shell-completion-vars): New function.
17063 (shell-mode):
17064 * simple.el (read-shell-command): Use it.
17065 (blink-matching-open): No need for " [...]" in minibuffer-message.
17066
98dc3df3
GM
170672011-05-12 Glenn Morris <rgm@gnu.org>
17068
17069 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17070 (appt-check): Simplify.
17071
d2fc7e3d 170722011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17073
4d61f28d 17074 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17075 literal "/dev/null".
17076
d2fc7e3d 170772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17078
17079 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17080 Fix typo.
17081
d2fc7e3d 170822011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17083
3f254caa
SM
17084 * progmodes/which-func.el (which-function):
17085 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17086 which might not be defined (Bug#8260).
17087
d45885f7
GM
170882011-05-12 Glenn Morris <rgm@gnu.org>
17089
17090 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17091 Let byte-compile-initial-macro-environment always take precedence.
17092
488086f4
SM
170932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17094
17095 * net/rcirc.el: Add support for SSL/TLS connections.
17096 (rcirc-server-alist): New field `encryption'.
17097 (rcirc): Check `encryption' settings.
17098 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17099 Merge make-local-variable into `set'.
17100 (rcirc--connection-open-p): New function.
17101 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17102 the process is not a network process (e.g. running gnutls-cli).
17103 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17104 Make rcirc-(en|de)code-coding-system local here.
17105 (rcirc-mode): Merge make-local-variable into `set'.
17106 (rcirc-parent-buffer): Make permanent buffer-local.
17107 (rcirc-multiline-minor-mode): Don't do it here.
17108 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17109 there's no server buffer.
17110
7d3b9d44
GM
171112011-05-11 Glenn Morris <rgm@gnu.org>
17112
f64049c6
GM
17113 * newcomment.el (comment-kill): Prefix "unused" local.
17114
93c9df73
GM
17115 * term/w32console.el (get-screen-color): Declare.
17116
7d3b9d44
GM
17117 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17118 Handle symbol elements of byte-compile-initial-macro-environment.
17119
9e2dd53f
LL
171202011-05-10 Leo Liu <sdl.web@gmail.com>
17121
488086f4
SM
17122 * bookmark.el (bookmark-bmenu-mode-map):
17123 Bind bookmark-bmenu-search to `/'.
8b340240 17124
9e2dd53f 17125 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17126 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17127 (Footnote-unicode): New function.
17128 (footnote-style-alist): Add unicode style to the list.
17129 (footnote-style): Doc fix.
9e2dd53f 17130
79b70037
GM
171312011-05-10 Jim Meyering <meyering@redhat.com>
17132
17133 Fix doubled-word typos.
17134 * international/quail.el (quail-insert-kbd-layout): and and -> and
17135 * kermit.el: and and -> and
17136 * net/ldap.el (ldap-search-internal): to to -> to
17137 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17138 * progmodes/js.el (js-mode): and and -> and
17139 * textmodes/artist.el (artist-move-to-xy): at at -> at
17140 (artist-draw-region-trim-line-endings): if if -> if
17141 And Safetyc -> Safety.
17142 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17143
b8f82dc1 171442011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17145 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17146
17147 * files.el (hack-one-local-variable-eval-safep):
17148 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17149
4f99f44b
GM
171502011-05-10 Glenn Morris <rgm@gnu.org>
17151
17152 * calendar/diary-lib.el (diary-list-entries-hook)
17153 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17154 (diary-nongregorian-marking-hook, diary-list-entries)
17155 (diary-include-other-diary-files, diary-mark-entries)
17156 (diary-mark-included-diary-files): Doc fixes.
17157
84f29e6b
JB
171582011-05-09 Juanma Barranquero <lekktu@gmail.com>
17159
17160 * misc.el: Require tabulated-list.el during compilation.
17161
9bedd73a
CY
171622011-05-09 Chong Yidong <cyd@stupidchicken.com>
17163
488086f4
SM
17164 * progmodes/compile.el (compilation-start):
17165 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17166 (compilation-filter-hook): Doc fix.
17167
797c735c
DD
171682011-05-09 Deniz Dogan <deniz@dogan.se>
17169
17170 * wdired.el: Remove outdated installation comment. Fix usage
17171 comment.
17172
5f4b1dfe
JB
171732011-05-09 Juanma Barranquero <lekktu@gmail.com>
17174
17175 * misc.el: Implement new command `list-dynamic-libraries'.
17176 (list-dynamic-libraries--loaded-only-p): New variable.
17177 (list-dynamic-libraries--refresh): New function.
17178 (list-dynamic-libraries): New command.
17179
4c44026c
CY
171802011-05-09 Chong Yidong <cyd@stupidchicken.com>
17181
488086f4
SM
17182 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17183 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17184 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17185 higher priority to avoid clobbering by gnu.
17186
027f966d
CY
171872011-05-08 Chong Yidong <cyd@stupidchicken.com>
17188
17189 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17190 if the face has existing theme settings (Bug#8454).
17191
085f5d7d
CY
171922011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17193
488086f4
SM
17194 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17195 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17196
2a86a00c
RS
17197 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17198 special file names `.' and `..' (Bug#8259).
17199
d9c54a06
CY
172002011-05-08 Chong Yidong <cyd@stupidchicken.com>
17201
488086f4
SM
17202 * progmodes/grep.el (grep-mode-font-lock-keywords):
17203 Remove buffer-changing entries.
d9c54a06
CY
17204 (grep-filter): New function.
17205 (grep-mode): Add it to compilation-filter-hook.
17206
17207 * progmodes/compile.el (compilation-filter-hook)
17208 (compilation-filter-start): New defvars.
17209 (compilation-filter): Call compilation-filter-hook prior to
17210 updating the process mark.
17211
c4662635
SM
172122011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17213
17214 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17215
b0512a1d
EZ
172162011-05-07 Eli Zaretskii <eliz@gnu.org>
17217
605c9376
EZ
17218 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17219 mailclient-send-it even if window-system is nil. (Bug#8595)
17220
c4662635
SM
17221 * term/w32console.el (terminal-init-w32console):
17222 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17223 background-mode. (Bug#8597)
17224
d1dc2cc2
SM
172252011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17226
17227 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17228 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17229 New functions.
17230 (defgeneric, eieio--defmethod): Use them.
17231 (eieio-defgeneric): Remove.
17232 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17233
915d1300
GM
172342011-05-07 Glenn Morris <rgm@gnu.org>
17235
a3961c3e
GM
17236 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17237 Use let rather than let*.
17238 (timeclock-find-discrep): Remove unused local.
17239
314347b9
GM
17240 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17241
915d1300
GM
17242 * calendar/appt.el (appt-time-msg-list): Doc fix.
17243
275b59b0
NF
172442011-05-06 Noah Friedman <friedman@splode.com>
17245
17246 * apropos.el (apropos-print-doc): Only use
17247 emacs-lisp-docstring-fill-column when it is bound to an integer,
17248 per that variable's documentation.
17249
6c19f744
SM
172502011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17251
17252 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17253 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17254
60f884b2
GM
172552011-05-06 Glenn Morris <rgm@gnu.org>
17256
5006e634
GM
17257 * calendar/appt.el (appt-message-warning-time): Doc fix.
17258 (appt-warning-time-regexp): New option.
17259 (appt-make-list): Respect appt-message-warning-time.
17260
548d0a63
GM
17261 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17262 New options.
17263 (diary-add-to-list): Strip comments from the displayed string.
17264 (diary-mode): Set comment-start and comment-end.
17265
60f884b2
GM
17266 * vc/diff-mode.el (smerge-refine-subst): Declare.
17267 (diff-refine-hunk): Don't require smerge-mode when compiling.
17268
989681bb
JB
172692011-05-06 Juanma Barranquero <lekktu@gmail.com>
17270
17271 * simple.el (list-processes): Return nil as the docstring says.
17272
a6bc05e1
MA
172732011-05-05 Michael Albinus <michael.albinus@gmx.de>
17274
17275 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17276 to "".
17277 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17278 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17279 determining of binary transfer. (Bug#7383)
17280
23c22e9a
MA
172812011-05-05 Michael Albinus <michael.albinus@gmx.de>
17282
c4662635
SM
17283 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17284 Fix port computation bug. (Bug#8618)
23c22e9a 17285
0bff894f
GM
172862011-05-05 Glenn Morris <rgm@gnu.org>
17287
b8296902
GM
17288 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17289
1f522ce8
GM
17290 * simple.el (shell-dynamic-complete-functions)
17291 (comint-dynamic-complete-functions): Declare.
17292
cf5bee67
GM
17293 * net/network-stream.el (gnutls-negotiate):
17294 * simple.el (tabulated-list-print): Fix declarations.
17295
17296 * progmodes/gud.el (syntax-symbol, syntax-point):
17297 Remove unnecessary and incorrect declarations.
17298
0bff894f
GM
17299 * emacs-lisp/check-declare.el (check-declare-scan):
17300 Handle byte-compile-initial-macro-environment in bytecomp.el
17301
9869b3ae
SM
173022011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17303
17304 Fix earlier half-done eieio-defmethod change (bug#8338).
17305 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17306 Streamline and change calling convention.
17307 (defmethod): Adjust accordingly and simplify.
17308 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17309 new eieio--defmethod.
17310 (slot-boundp): Minor CSE simplification.
17311
9c1d5ac5
MZ
173122011-05-05 Milan Zamazal <pdm@zamazal.org>
17313
17314 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17315 (glasses-make-readable): Use glasses-separate-capital-groups.
17316
455c834e
JB
173172011-05-05 Juanma Barranquero <lekktu@gmail.com>
17318
17319 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17320 (warning-series): Doc fix.
17321 (display-warning): Don't try to create the buffer if we just found it.
17322
9ed7c8cb
CY
173232011-05-04 Chong Yidong <cyd@stupidchicken.com>
17324
17325 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17326 (autoload-find-generated-file): New function.
17327 (generate-file-autoloads): Bind generated-autoload-file to
17328 buffer-file-name.
9869b3ae
SM
17329 (update-file-autoloads, update-directory-autoloads):
17330 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17331 output file (Bug#7989).
17332 (batch-update-autoloads): Doc fix.
17333
0898ca10
JB
173342011-05-04 Juanma Barranquero <lekktu@gmail.com>
17335
17336 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17337
31dfb76c
GM
173382011-05-04 Glenn Morris <rgm@gnu.org>
17339
f330b642
GM
17340 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17341 function, so it follows changes in calendar-date-style.
17342 (diary-fancy-date-matcher): New function.
17343 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17344 (diary-fancy-font-lock-fontify-region-function):
17345 Use diary-fancy-date-pattern as a function.
17346
31dfb76c
GM
17347 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17348 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17349
48e79d6a
TZ
173502011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17351
17352 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17353 instead of positional arguments. Allow :keylist and :crlfiles
17354 arguments.
17355 (open-gnutls-stream): Call it.
17356
17357 * net/network-stream.el (network-stream-open-starttls): Adjust to
17358 call `gnutls-negotiate' with :process and :hostname arguments.
17359
dd5a5ee0
SM
173602011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17361
ef80fc09
SM
17362 * minibuffer.el (completion--message): New function.
17363 (completion--do-completion, minibuffer-complete)
17364 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17365 (completion--do-completion): Don't ignore completion-auto-help when in
17366 icomplete-mode.
17367
dd5a5ee0
SM
17368 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17369 internal encoding (e.g. tibetan zero is not whitespace).
17370 (global-whitespace-mode): Prefer save-current-buffer.
17371 (whitespace-trailing-regexp): Remove useless save-match-data.
17372 (whitespace-empty-at-bob-regexp): Minor simplification.
17373
b7d22a83
CY
173742011-05-03 Chong Yidong <cyd@stupidchicken.com>
17375
17376 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17377
5192af46
AM
173782011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17379
17380 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17381 Use `concat' to create string for insertion.
5192af46 17382
5767d190
SM
173832011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17384
17385 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17386 Avoid open-line which runs post-self-insert-hook.
17387 (bibtex-fill-entry): Remove unused `end' var.
17388
bf242939
AM
173892011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17390
5767d190
SM
17391 * textmodes/ispell.el (ispell-add-per-file-word-list):
17392 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17393
25666126
LL
173942011-05-03 Leo Liu <sdl.web@gmail.com>
17395
17396 * isearch.el (isearch-yank-pop): New command.
5767d190 17397 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17398 (isearch-forward): Mention it.
17399
52d3c2d0
SM
174002011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17401
1bcace58
SM
17402 * simple.el (minibuffer-complete-shell-command): Remove.
17403 (minibuffer-local-shell-command-map): Use completion-at-point.
17404 (read-shell-command): Setup completion vars here instead.
17405 (read-expression-map): Bind TAB to symbol completion.
17406
52d3c2d0
SM
17407 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17408 error directly rather via storing it into `results'.
17409
35813471
LL
174102011-05-02 Leo Liu <sdl.web@gmail.com>
17411
17412 * vc/diff.el: Fix description.
17413
e793a940
LMI
174142011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17415
17416 * server.el (server-eval-at): New function.
17417
8de66e05
LMI
174182011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17419
17420 * net/network-stream.el (open-network-stream): Take a :nowait
17421 parameter and pass it on to `make-network-process'.
17422 (network-stream-open-plain): Ditto.
17423
dcb79f20
AS
174242011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17425
17426 * faces.el (face-spec-set-match-display): Don't match toolkit
17427 options on terminal frames.
17428
14a7fbd8
SM
174292011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17430
7eabc1be
SM
17431 * progmodes/pascal.el: Use lexical binding.
17432 (pascal-mode-map): Remove author preferences.
17433
14a7fbd8
SM
17434 * pcomplete.el (pcomplete-std-complete): Don't abuse
17435 completion-at-point.
17436
50f84510
JB
174372011-04-28 Juanma Barranquero <lekktu@gmail.com>
17438
6e087a44
JB
17439 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17440 removing code that has been dead since 1991 or so.
17441
50f84510
JB
17442 * startup.el (command-line): When warning about "_emacs", use a
17443 delayed warning to allow the user to filter it out.
17444
0ba690bd
DD
174452011-04-28 Deniz Dogan <deniz@dogan.se>
17446
17447 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17448 user has not joined.
17449
08abfaad
SM
174502011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17451
17452 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17453 aren't any completions at point.
17454
638f053a
JB
174552011-04-28 Juanma Barranquero <lekktu@gmail.com>
17456
17457 * subr.el (display-delayed-warnings): New function.
17458 (delayed-warnings-hook): New variable.
17459
8fff8daa
SM
174602011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17461
08abfaad
SM
17462 * minibuffer.el (completion-at-point, completion-help-at-point):
17463 Don't presume that a given completion-at-point-function will always
17464 use the same calling convention.
17465
8fff8daa
SM
17466 * pcomplete.el (pcomplete-completions-at-point):
17467 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17468 pcomplete-seen is non-nil.
17469 (pcomplete-comint-setup): Also recognize the new comint/shell
17470 completion functions.
17471 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17472 pcomplete-seen is non-nil.
17473
841a1577 174742011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17475
841a1577 17476 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17477 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17478 the first character in the entry. This allows for code to add its
211ec907
UJ
17479 own uid to the entry.
17480 (icalendar--convert-float-to-ical): Add export of
17481 `diary-float'-entries save for those with the optional DAY
17482 argument.
17483
2a782793
DC
174842011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17485
17486 * subr.el (shell-quote-argument): Use alternate escaping strategy
17487 when we spot a variable reference in a string.
17488
0438ce91
DC
174892011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17490
17491 * cus-start.el (all): Define customization for debug-on-event.
17492
841a1577 174932011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17494
17495 * subr.el (shell-quote-argument): Escape correctly under Windows.
17496
d090ed6c
SM
174972011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17498
17499 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17500
bfd31217
MA
175012011-04-25 Michael Albinus <michael.albinus@gmx.de>
17502
d090ed6c
SM
17503 * net/tramp.el (tramp-process-actions): Add POS argument.
17504 Delete region between POS and (pos).
bfd31217 17505
d090ed6c
SM
17506 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17507 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17508 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17509
17510 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17511 position in `tramp-process-actions' call.
17512
17513 * net/trampver.el: Update release number.
17514
e92f3bd3
SM
175152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17516
850256b5
SM
17517 * custom.el (defcustom): Obey lexical-binding.
17518
e92f3bd3
SM
17519 Fix octave-inf completion problems reported by Alexander Klimov.
17520 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17521 Inherit from octave-mode-syntax-table.
17522 (inferior-octave-mode): Set info-lookup-mode.
17523 (inferior-octave-completion-at-point): New function.
17524 (inferior-octave-complete): Use it and completion-in-region.
17525 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17526 comint-filename-completion.
17527 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17528 symbol elements which shouldn't be word elements.
17529 (octave-font-lock-keywords, octave-beginning-of-defun)
17530 (octave-function-header-regexp): Adjust regexps accordingly.
17531 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17532
cd22b309
JB
175332011-04-25 Juanma Barranquero <lekktu@gmail.com>
17534
17535 * net/gnutls.el (gnutls-errorp): Declare before first use.
17536
8b492194
TZ
175372011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17538
17539 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17540 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17541 default trustfile exists before going to use it. Add missing
5a5fa834 17542 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17543 Reported by Claudio Bley <claudio.bley@gmail.com>.
17544 (open-gnutls-stream): Add usage example.
17545
17546 * net/network-stream.el (network-stream-open-starttls): Give host
17547 parameter to `gnutls-negotiate'.
17548 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17549 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17550
841a1577 175512011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17552
cd22b309
JB
17553 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17554 Use correct match group (bug#8438).
05842630 17555
3ba7869c
CY
175562011-04-24 Chong Yidong <cyd@stupidchicken.com>
17557
512e3ae1
CY
17558 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17559 (package-menu--generate): New arg specifying packages to show.
17560 (package-menu-refresh, package-menu-execute, list-packages):
17561 Callers changed.
17562 (package-show-package-list): New function, replacing deleted
17563 package--list-packages (renamed because it is non-internal).
17564
17565 * finder.el (finder-list-matches): Use package-show-package-list
17566 instead of deleted package--list-packages.
17567
e92f3bd3
SM
17568 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17569 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17570 (vc-annotate-mode-map): Bind it to RET.
17571
7031be6d
UR
175722011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17573
17574 * progmodes/etags.el (next-file): Don't use set-buffer to change
17575 buffers (Bug#8478).
17576
4ef177aa
CY
175772011-04-24 Chong Yidong <cyd@stupidchicken.com>
17578
c8d173eb
CY
17579 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17580
4ef177aa
CY
17581 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17582 (apropos-accumulator): Doc fix.
17583 (apropos-function, apropos-macro, apropos-command)
17584 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17585 (apropos-plist): Add face property.
17586 (apropos-symbols-internal): Fix indentation.
17587 (apropos-print): Simplify help, and recognize apropos-multi-type.
17588 (apropos-print-doc): Use button-type-get to extract the button's
17589 face property. Fill docstring (Bug#8352).
17590
4ffd0d6b 175912011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17592
17593 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17594
c6c32125 17595 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17596 (mpuz-mode-map): Use mapc.
c6c32125
JB
17597 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17598 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17599 Fix typos in docstrings.
17600
58d468b4
JB
17601 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17602 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17603
6470c3c6
JB
17604 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17605
4ffd0d6b 176062011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17607
17608 * minibuffer.el (completion--do-completion): Avoid the "Next char
17609 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17610
3ad8bad0
CY
17611 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17612 mouse-2 into unread-command-events, it is interpreted correctly.
17613
71d73c9c 17614 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17615 (image-toggle-display): Doc fix.
71d73c9c 17616
841a1577 176172011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17618
4ffd0d6b
GM
17619 * textmodes/page.el (what-page): Use line-number-at-pos to
17620 calculate line number (Bug#6825).
6e1dbaa9 17621
c2fb1b60
JB
176222011-04-22 Juanma Barranquero <lekktu@gmail.com>
17623
17624 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17625 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17626 Pass argument NO-DEFAULT to `find-tag-interactive'.
17627
e02f48d7
JB
176282011-04-22 Juanma Barranquero <lekktu@gmail.com>
17629
17630 Lexical-binding cleanup.
17631
17632 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17633 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17634 * progmodes/ada-prj.el (ada-prj-initialize-values)
17635 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17636 (ada-prj-show-value):
17637 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17638 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17639 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17640 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17641 * progmodes/bug-reference.el (bug-reference-push-button):
17642 * progmodes/fortran.el (fortran-line-length):
17643 * progmodes/glasses.el (glasses-change):
17644 * progmodes/octave-mod.el (octave-fill-paragraph):
17645 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17646 (python-pdbtrack-grub-for-buffer, python-sentinel):
17647 * progmodes/sql.el (sql-save-connection):
17648 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17649 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17650 Mark unused parameters.
17651
17652 * progmodes/compile.el (compilation--flush-directory-cache)
17653 (compilation--flush-parse, compile-internal): Mark unused parameters.
17654 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17655 (compilation-next-error-function): Remove unused variable `timestamp'.
17656
17657 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17658 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17659
17660 * progmodes/dcl-mode.el (dcl-end-of-command):
17661 Remove unused variable `start'.
17662 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17663 (dcl-option-value-basic, dcl-option-value-offset)
17664 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17665 Mark unused parameters.
17666 (dcl-save-local-variable): Remove unused variable `val'.
17667 (mode): Declare.
17668
17669 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17670 Mark unused parameters.
17671 (delphi-ignore-changes): Move before first use.
17672 (delphi-charset-token-at): Remove unused variable `start'.
17673 (delphi-else-start): Remove unused variable `if-count'.
17674 (delphi-comment-block-start, delphi-comment-block-end):
17675 Remove unused variable `kind'.
17676 (delphi-indent-line): Remove unused variable `new-point'.
17677
17678 * progmodes/ebrowse.el (ebrowse-files-list)
17679 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17680 Mark unused parameters. Don't quote `lambda'.
17681 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17682 Don't quote `lambda'.
17683 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17684 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17685 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17686 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17687 Use `ignore-errors'.
17688 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17689 (ebrowse-view/find-file-and-search-pattern)
17690 (ebrowse-view/find-member-declaration/definition):
17691 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17692 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17693 Rename parameter PREFIX-ARG to PREFIX.
17694 (ebrowse-tags-read-name): Remove unused variables `start' and
17695 `member-info'.
17696 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17697 to `tags-file'.
17698
17699 * progmodes/etags.el (local-find-tag-hook): Declare.
17700 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17701 Mark unused parameters.
17702
17703 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17704 (executable-interpret): Mark unused parameter.
17705
17706 * progmodes/flymake.el (flymake-process-sentinel)
17707 (flymake-after-change-function)
17708 (flymake-create-temp-with-folder-structure)
17709 (flymake-get-include-dirs-dot): Mark unused parameters.
17710 (flymake-safe-delete-directory): Remove unused variable `err'.
17711
17712 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17713 (speedbar-timer-fn, speedbar-line-text)
17714 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17715 (speedbar-center-buffer-smartly): Declare functions.
17716 (gdb-find-watch-expression): Remove unused variable `array'.
17717 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17718 (gdb-starting): Mark unused parameters.
17719 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17720 (gdb-table-string): Remove unused variable `res'.
17721 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17722 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17723 (gdb-display-buffer): Remove unused variable `cur-size'.
17724
17725 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17726 allow lexical-binding compilation.
17727 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17728 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17729 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17730 Mark unused parameters.
17731 (gud-gdb-marker-filter): Remove unused variable `match'.
17732 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17733 lambda expressions and funcall them, instead of using `fset'.
17734
17735 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17736 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17737
17738 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17739 variable `header-beg'; use `let'.
17740
17741 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17742 `restart', `last-sexp' and `at-do'.
17743
17744 * progmodes/js.el (js--debug): Mark unused parameter.
17745 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17746 (js--splice-into-items): Remove unused variable `item'.
17747 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17748
17749 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17750 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17751 (makefile-complete): Remove unused variable `try'.
17752 (makefile-fill-paragraph, makefile-match-function-end):
17753 Mark unused parameters.
17754
17755 * progmodes/octave-inf.el (inferior-octave-complete):
17756 Remove unused variable `proc'.
17757 (inferior-octave-output-digest): Mark unused parameter.
17758
17759 * progmodes/perl-mode.el (perl-calculate-indent):
17760 Remove unused variable `err'.
17761
17762 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17763 (prolog-indent-line): Mark unused parameters.
17764 (prolog-indent-line): Remove unused variable `beg'.
17765
17766 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17767 (reporter-dont-compact-list): Declare.
17768
17769 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17770 Remove unused variable `char'.
17771 (sh-debug): Mark unused parameter.
17772 (sh-get-indent-info): Remove unused variable `start'.
17773 (sh-calculate-indent): Remove unused variable `var'.
17774
17775 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17776 (simula-electric-keyword): Remove unused variable `null'.
17777 (simula-search-backward, simula-search-forward): Remove unused
17778 variables `begin' and `end'.
17779
17780 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17781 Remove unused variable `pos'.
17782 (vera-electric-tab, vera-comment-uncomment-region):
17783 Mark unused parameters.
17784 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17785
7ede3b65
CY
177862011-04-22 Chong Yidong <cyd@stupidchicken.com>
17787
17788 * emacs-lisp/package.el (package--builtins, package-alist)
17789 (package-load-descriptor, package-built-in-p, package-activate)
17790 (define-package, package-installed-p)
17791 (package-compute-transaction, package-buffer-info)
17792 (package--push): Doc fix. Distinguish more clearly between
17793 version strings and version lists.
17794
121656e9
JB
177952011-04-21 Juanma Barranquero <lekktu@gmail.com>
17796
17797 Lexical-binding cleanup.
17798
17799 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17800 (5x5-make-mutate-best):
17801 * play/fortune.el (fortune-in-buffer):
17802 * play/gomoku.el (gomoku-init-display):
17803 * play/solitaire.el (solitaire, solitaire-do-check):
17804 * play/tetris.el (tetris-default-update-speed-function):
17805 Mark unused parameters.
17806
17807 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17808 (bubbles--shift): Remove unused variable `char-org'.
17809 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17810 (bubbles--show-images): Remove unused variable `char'.
17811
17812 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17813 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17814 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17815 (decipher-analyze-buffer): Use ?\s.
17816 (decipher-make-checkpoint): Remove unused variable `mapping'.
17817
17818 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17819
17820 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17821 Remove unused variable `result'; use `let'.
17822
17823 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17824 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17825 (gametree-children-shown-p, gametree-compute-reduced-score):
17826 Use `ignore-errors'.
17827
17828 * play/handwrite.el (ps-lpr-switches): Declare.
17829 (handwrite): Remove unused variables `pmin' and `lastp'.
17830
17831 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17832
17833 * play/landmark.el (landmark-init-display)
17834 (landmark-update-naught-weights): Mark unused parameters.
17835 (landmark-y): Remove unused variable `noise'. Simplify.
17836 (landmark-human-plays): Remove unused variable `score'.
17837
17838 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17839 (mpuz-try-proposal): Remove unused variable `game'.
17840
17841 * play/zone.el (life-patterns): Declare.
17842
80f499c7
JB
178432011-04-20 Juanma Barranquero <lekktu@gmail.com>
17844
17845 * vc/vc.el (ediff-vc-internal): Declare function.
17846
024ff170
SM
178472011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17848
c0a193ea
SM
17849 * shell.el: Use lexical-binding and std completion UI.
17850 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17851 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17852 comint-preoutput-filter-functions rather than on
17853 comint-output-filter-functions.
17854 (shell-command-completion, shell--command-completion-data)
17855 (shell-filename-completion, shell-environment-variable-completion)
17856 (shell-c-a-p-replace-by-expanded-directory): New functions.
17857 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17858 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17859 (shell-dynamic-complete-environment-variable): Use them.
17860 (shell-dynamic-complete-as-environment-variable)
17861 (shell-dynamic-complete-as-command): Remove.
17862 (shell-match-partial-variable): Match past point.
17863 * comint.el: Clean up use of completion-at-point-functions.
17864 (comint-completion-at-point): New function.
17865 (comint-mode): Use it completion-at-point-functions.
17866 (comint-dynamic-complete): Make it obsolete.
17867 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17868 (comint-c-a-p-replace-by-expanded-history): New function.
17869 (comint-dynamic-complete-functions)
17870 (comint-replace-by-expanded-history): Use it.
17871 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17872 termination strings. Try harder to avoid second try-completion.
17873 (completion-in-region-mode-map): Disable bindings that don't work yet.
17874
2dbaa080
SM
17875 * comint.el: Use lexical-binding. Require CL.
17876 (comint-dynamic-complete-functions): Use comint-filename-completion.
17877 (comint-completion-addsuffix): Tweak custom type.
17878 (comint-filename-completion, comint--common-suffix)
17879 (comint--common-quoted-suffix, comint--table-subvert)
17880 (comint--complete-file-name-data): New functions.
17881 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17882 (comint-dynamic-list-filename-completions): Use them.
17883 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17884
2dbaa080
SM
17885 * minibuffer.el (completion-in-region-mode):
17886 Keep completion-in-region-mode--predicate global.
17887 (completion-in-region--postch):
17888 Assume completion-in-region-mode--predicate is not null.
17889
c79a6f38
SM
17890 * progmodes/flymake.el (flymake-start-syntax-check-process):
17891 Obey `dir'. Simplify.
17892
024ff170
SM
17893 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17894 we're in VC after all.
17895
1c6c854e
CS
178962011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17897
17898 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17899 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17900 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17901
bed7f140
SM
179022011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17903
332e62ab
SM
17904 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17905 add sanity check.
17906
bed7f140
SM
17907 * obsolete/erc-hecomplete.el: Make obsolete.
17908 * obsolete/: Standardize obsolescence info in the header.
17909
f195c582
GM
179102011-04-20 Glenn Morris <rgm@gnu.org>
17911
17912 * calendar/solar.el (solar-horizontal-coordinates):
17913 Use the longitude argument rather than `calendar-longitude'.
17914 (solar-date-next-longitude): Remove unused locals.
17915
cb79b8c0
VJL
179162011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17917
17918 * whitespace.el: New version 13.2.1.
17919
179202011-04-20 felix <EmacsWiki> (tiny change)
17921
d8e4b68b 17922 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17923 switching between major modes on a file.
17924
602ea69d
SM
179252011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17926
17927 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17928 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17929 multi-line comments as well.
17930
06b60517
JB
179312011-04-19 Juanma Barranquero <lekktu@gmail.com>
17932
17933 Lexical-binding cleanup.
17934
17935 * arc-mode.el (archive-mode-revert):
17936 * cmuscheme.el (scheme-interactively-start-process):
17937 * custom.el (custom-initialize-delay):
17938 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17939 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17940 * emacs-lock.el (emacs-lock-clear-sentinel):
17941 * ezimage.el (defezimage):
17942 * follow.el (follow-avoid-tail-recenter):
17943 * fringe.el (set-fringe-mode-1):
17944 * generic-x.el (bat-generic-mode-compile):
17945 * help-mode.el (help-info-variable, help-do-xref)
17946 (help-mode-revert-buffer):
17947 * help.el (view-emacs-todo):
17948 * iswitchb.el (iswitchb-completion-help):
17949 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17950 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17951 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17952 * locate.el (locate-update):
17953 * longlines.el (longlines-encode-region)
17954 (longlines-after-change-function):
17955 * outline.el (outline-isearch-open-invisible):
17956 * ps-def.el (declare-function, charset-dimension, char-width)
17957 (encode-char):
17958 * ps-mule.el (ps-mule-plot-string):
17959 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17960 (recentf-edit-list-select, recentf-edit-list-validate)
17961 (recentf-open-files-action):
17962 * rect.el (delete-whitespace-rectangle-line)
17963 (rectangle-number-line-callback):
17964 * register.el (window-configuration-to-register)
17965 (frame-configuration-to-register):
17966 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17967 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17968 (xselect-convert-to-targets, xselect-convert-to-delete)
17969 (xselect-convert-to-filename, xselect-convert-to-charpos)
17970 (xselect-convert-to-lineno, xselect-convert-to-colno)
17971 (xselect-convert-to-os, xselect-convert-to-host)
17972 (xselect-convert-to-user, xselect-convert-to-class)
17973 (xselect-convert-to-name, xselect-convert-to-integer)
17974 (xselect-convert-to-atom, xselect-convert-to-identity):
17975 * subr.el (declare, ignore, process-kill-without-query)
17976 (text-clone-maintain):
17977 * terminal.el (te-get-char, te-tic-sentinel):
17978 * tool-bar.el (tool-bar-make-keymap):
17979 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17980 * type-break.el (type-break-mode, type-break-noninteractive-query):
17981 * view.el (View-back-to-mark):
17982 * wid-browse.el (widget-browse-action, widget-browse-widget)
17983 (widget-browse-widgets, widget-browse-sexp):
17984 * widget.el (define-widget-keywords):
17985 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17986 Mark unused parameters.
17987
17988 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17989 (align-areas): Remove unused variable `look'.
17990 (align-region): Remove unused variables `real-end' and `pos-list'.
17991
17992 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17993
17994 * bindings.el (mode-line-modified, mode-line-remote):
17995 Mark unused parameters.
17996 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17997
17998 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17999 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18000
18001 * comint.el (comint-history-isearch-pop-state)
18002 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18003 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18004 (comint-substitute-in-file-name): Doc fix.
18005
18006 * completion.el (cmpl-statistics-block): Mark unused parameter.
18007 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18008 (save-completions-to-file, load-completions-from-file):
18009 Remove unused local variable `e'.
18010
18011 * composite.el (compose-chars): Remove unused variable `len'.
18012 (lgstring-insert-glyph): Remove unused variable `g'.
18013 (compose-glyph-string): Remove unused variables `ascent',
18014 `descent', `lbearing' and `rbearing'.
18015 (compose-glyph-string-relative): Remove unused variables
18016 `lbearing', `rbearing' and `wadjust'.
18017 (compose-gstring-for-graphic): Remove unused variables `header',
18018 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18019 (compose-gstring-for-terminal): Remove unused variables `header'
18020 and `nchars'. Use `let', not `let*'.
18021
18022 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18023 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18024 (Custom-buffer-done, custom-buffer-create-internal)
18025 (custom-browse-visibility-action, custom-browse-group-tag-action)
18026 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18027 (widget-magic-mouse-down-action, custom-toggle-parent)
18028 (custom-add-parent-links, custom-toggle-hide-variable)
18029 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18030 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18031 (custom-face-menu-create, custom-variable-menu-create, get)
18032 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18033 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18034 (customize-apropos): Remove unused variable `tests'.
18035 (custom-group-value-create): Remove unused variable `hidden-p'.
18036 (sort-fold-case): Declare.
18037
18038 * cus-theme.el (custom-reset-standard-faces-list)
18039 (custom-reset-standard-variables-list): Declare.
18040 (customize-create-theme, custom-theme-revert, custom-theme-write)
18041 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18042 Mark unused parameters.
18043
18044 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18045
18046 * delim-col.el (delimit-columns-max): Move defvar before first use.
18047
18048 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18049 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18050
18051 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18052 (auto-insert): Declare.
18053 (desktop-restore-file-buffer): Rename desktop-* parameters;
18054 mark unused ones.
18055 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18056 (desktop-buffer): Rename desktop-* parameters.
18057
18058 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18059 (dframe-reposition-frame-xemacs, dframe-help-echo)
18060 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18061 Mark unused parameters.
18062
18063 * dired-aux.el (backup-extract-version-start, overwrite-query)
18064 (overwrite-backup-query, rename-regexp-query)
18065 (rename-non-directory-query): Declare.
18066 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18067 (dired-add-entry): Remove unused variable `orig-file-name'.
18068 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18069 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18070 `dired-copy-preserve-time' directly.
18071 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18072 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18073
18074 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18075 (dired-virtual-revert, dired-make-relative-symlink):
18076 Mark unused parameters.
18077 (manual-program): Declare.
18078 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18079 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18080 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18081
18082 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18083
18084 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18085
18086 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18087 Declare.
18088
18089 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18090
18091 * electric.el (Electric-command-loop): Rename parameter
18092 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18093
18094 * expand.el (expand-in-literal): Remove unused variable `here'.
18095
18096 * facemenu.el (facemenu-add-new-color):
18097 Remove unused variable `docstring'.
18098
18099 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18100 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18101 (face-attr-construct): Mark unused parameter. Doc fix.
18102 (read-color): Remove unused variable `hex-string'.
18103
18104 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18105 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18106 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18107 (display-buffer-other-frame): Remove unused variable `old-window'.
18108 (kill-buffer-hook): Declare.
18109 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18110 Mark unused parameters.
18111 (after-find-file): Pass 1 to `auto-save-mode', not t.
18112
18113 * files-x.el (auto-insert): Declare.
18114 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18115
18116 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18117 variable `buf'. Mark unused parameter.
06b60517
JB
18118 (find-lisp-insert-directory): Mark unused parameter.
18119
18120 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18121 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18122 (format-common-tail): Remove, unused.
18123 (format-deannotate-region): Remove unused variable `loc'.
18124 (format-annotate-region): Remove unused variable `p'.
18125 (format-annotate-single-property-change): Remove unused variables
18126 `default' and `tail'.
18127
18128 * forms.el (read-file-filter): Declare.
18129 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18130
18131 * frame.el (frame-creation-function-alist): Mark unused parameter.
18132 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18133
18134 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18135 Remove unused parameters.
18136 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18137 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18138
18139 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18140 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18141 (hfy-prepare-tag-map): Mark unused parameters.
18142 (htmlfontify-buffer): Use `called-interactively-p'.
18143
18144 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18145 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18146 (ibuffer-do-occur): Mark unused parameters.
18147 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18148 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18149
18150 * ibuffer.el: Don't quote `lambda'.
18151 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18152 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18153 Mark unused parameters.
18154
18155 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18156 (ido-completing-read): Mark unused parameters.
18157 (ido-copy-current-word): Mark unused parameters;
18158 remove unused variable `name'.
18159 (ido-sort-merged-list): Remove unused parameter `dirs'.
18160
18161 * ielm.el (ielm-input-sender): Mark unused parameter.
18162 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18163 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18164 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18165 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18166 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18167
18168 * image-dired.el (image-dired-display-thumbs): Remove unused
18169 variables `curr-file' and `count'.
18170 (image-dired-remove-tag): Remove unused variable `start'.
18171 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18172 variable `curr-file'
18173 (image-dired-rotate-original): Remove unused variable `temp-file'.
18174 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18175 Remove unused variable `file'.
18176 (image-dired-gallery-generate): Remove unused variable `curr'.
18177 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18178
18179 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18180
18181 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18182
18183 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18184
18185 * isearch.el (minibuffer-history-symbol): Declare.
18186 (isearch-edit-string): Remove unused variable `err'.
18187 (isearch-message-prefix, isearch-message-suffix):
18188 Mark unused parameters.
18189
18190 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18191
18192 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18193
18194 * makesum.el (double-column): Remove unused variable `cnt'.
18195
18196 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18197 (ido-ignore-item-temp-list): Declare.
18198
18199 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18200 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18201 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18202 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18203 `mouse-col-delta'.
18204
18205 * mouse-sel.el (mouse-extend-internal):
18206 Remove unused variable `orig-window-frame'.
18207
18208 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18209 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18210 Move declarations before first use.
18211 (pcomplete-opt): Mark unused parameters; doc fix.
18212
18213 * proced.el (proced-revert): Mark unused parameter.
18214 (proced-send-signal): Remove unused variable `err'.
18215
18216 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18217 Rename parameter PREFIX-ARG to ARG.
18218 (ps-basic-plot-string, ps-basic-plot-whitespace):
18219 Mark unused parameters.
18220
18221 * replace.el (replace-count): Define.
18222 (occur-revert-function): Mark unused parameters.
18223 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18224 (isearch-case-fold-search, isearch-string): Declare.
18225 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18226 bind `case-fold-search'. Remove unused variables `beg' and `end',
18227 and simplify.
18228 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18229 COUNT and bind `replace-count'.
18230 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18231 to COUNT.
18232
18233 * savehist.el (print-readably, print-string-length): Declare.
18234
18235 * shadowfile.el (shadow-expand-cluster-in-file-name):
18236 Remove unused variable `cluster'.
18237 (shadow-copy-file): Remove unused variable `i'.
18238 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18239 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18240 (shadow-define-literal-group, shadow-define-regexp-group)
18241 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18242
18243 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18244 (shell): Use `called-interactively-p'.
18245 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18246
18247 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18248 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18249 (delete-backward-char): Remove unused variable `ocol'.
18250 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18251 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18252 (event-apply-hyper-modifier, event-apply-shift-modifier)
18253 (event-apply-control-modifier, event-apply-meta-modifier):
18254 Mark unused parameters.
18255 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18256 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18257
18258 * speedbar.el (speedbar-ignored-directory-expressions)
18259 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18260 (speedbar-find-file, speedbar-dir-follow)
18261 (speedbar-directory-buttons-follow, speedbar-tag-find)
18262 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18263 (speedbar-buffers-line-directory, speedbar-buffer-click):
18264 Mark unused parameters.
18265 (speedbar-tag-file): Remove unused variable `mode'.
18266 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18267
18268 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18269
18270 * talk.el (talk): Remove unused variable `display'.
18271
18272 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18273 (tar-write-region-annotate): Mark unused parameter.
18274
18275 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18276 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18277 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18278 warning by another.
18279
18280 * time-stamp.el (time-stamp-string-preprocess):
18281 Remove unused variable `require-padding'.
18282
18283 * tree-widget.el (widget-glyph-enable): Declare.
18284 (tree-widget-action): Mark unused parameter.
18285
18286 * w32-fns.el (x-get-selection): Mark unused parameter.
18287 (autoload-make-program, generated-autoload-file): Declare.
18288
18289 * wdired.el (wdired-revert): Mark unused parameters.
18290 (wdired-xcase-word): Remove unused variable `err'.
18291
18292 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18293 (whitespace-help-scroll): Remove unused variable `data-help'.
18294
18295 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18296 (widget-image-insert, widget-after-change, default)
18297 (widget-default-format-handler, widget-default-notify)
18298 (widget-default-prompt-value, widget-info-link-action)
18299 (widget-url-link-action, widget-function-link-action)
18300 (widget-variable-link-action, widget-file-link-action)
18301 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18302 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18303 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18304 (widget-insert-button-action, widget-delete-button-action, visibility)
18305 (widget-documentation-link-action, widget-documentation-string-action)
18306 (widget-const-prompt-value, widget-regexp-match, symbol)
18307 (widget-coding-system-prompt-value)
18308 (widget-key-sequence-value-to-external, sexp)
18309 (widget-sexp-value-to-internal, character, vector, cons)
18310 (widget-choice-prompt-value, widget-boolean-prompt-value)
18311 (widget-color--choose-action): Mark unused parameters.
18312 (widget-item-match-inline, widget-choice-match-inline)
18313 (widget-checklist-match, widget-checklist-match-inline)
18314 (widget-group-match): Rename parameter VALUES to VALS.
18315 (widget-field-value-set): Remove unused variable `size'.
18316 (widget-color-action): Remove unused variables `value' and `start'.
18317
18318 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18319 variable `dir'. Doc fix.
06b60517
JB
18320 (windmove-find-other-window): Don't pass it.
18321
18322 * window.el (count-windows): Mark unused parameter.
18323 (bw-adjust-window): Remove unused variable `err'.
18324
18325 * woman.el (woman-file-name): Remove unused variable `default'.
18326 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18327 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18328 (global-font-lock-mode): Declare.
18329 (woman-decode-region): Mark unused parameter.
18330 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18331
18332 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18333 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18334 (x-dnd-handle-moz-url): Remove unused variable `title'.
18335 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18336
18337 * xml.el (xml-parse-tag, xml-parse-attlist):
18338 Remove unused variable `pos'.
18339
bc4f7f3d
GM
183402011-04-19 Glenn Morris <rgm@gnu.org>
18341
18342 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18343 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18344 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18345 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18346 * calendar/cal-html.el (cal-html-insert-minical):
18347 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18348 (calendar-mark-date-pattern):
18349 Prefix "unused" locals.
18350
18351 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18352 optional argument `style'.
18353
18354 * calendar/appt.el (appt-make-list):
18355 * calendar/cal-china.el (calendar-chinese-date-string):
18356 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18357 (diary-hebrew-yahrzeit):
18358 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18359 * calendar/calendar.el (calendar-generate-window):
18360 * calendar/time-date.el (time-to-days):
18361 Remove unused local variables.
18362
16a43933
CY
183632011-04-18 Chong Yidong <cyd@stupidchicken.com>
18364
18365 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18366 glyphless-char-display table.
18367 (tabulated-list-glyphless-char-display): New var.
18368
7eed1860
SS
183692011-04-18 Sam Steingold <sds@gnu.org>
18370
18371 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18372 to acknowledgments.
18373
4d2d1ccd
GM
183742011-04-17 Glenn Morris <rgm@gnu.org>
18375
18376 * calendar/diary-lib.el (diary-sexp-entry):
18377 * calendar/holidays.el (holiday-sexp):
18378 Set debug-on-error rather than the removed stack-trace-on-error.
18379
239da61d
GM
183802011-04-16 Glenn Morris <rgm@gnu.org>
18381
18382 * progmodes/f90.el: Use lexical-binding.
18383 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18384
8b05752a
SM
183852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18386
daca8ba5
SM
18387 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18388 (mail-mode): Setup mailalias completion here instead.
18389 * mail/mailalias.el: Use lexical-binding.
18390 (pattern, mailalias-done): Declare dynamic.
18391 (mail-completion-at-point-function): New function, from mail-complete.
18392 (mail-complete): Use it.
18393 (mail-completion-expand): New function.
18394 (mail-get-names): Use it.
18395 (mail-directory, mail-directory-process, mail-directory-stream):
18396 Don't use `pattern' for lexically bound arg.
18397
6f542485
SM
18398 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18399
037e7c3f
SM
18400 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18401 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18402 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18403
8b05752a
SM
18404 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18405 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18406 (byte-interactive-p): Define them again, for use when inlining
18407 old code.
18408
49093f60
JB
184092011-04-15 Juanma Barranquero <lekktu@gmail.com>
18410
18411 * loadup.el: Use `string-to-number', not `string-to-int'.
18412
b5b8e7de
SM
184132011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18414
18415 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18416 gud-gdb-complete-command.
18417 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18418 (gud-gdb-completion-at-point): New function.
18419 (gud-gdb-completions): Remove.
18420
f42efeb5
MA
184212011-04-14 Michael Albinus <michael.albinus@gmx.de>
18422
49093f60
JB
18423 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18424 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18425 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18426 whether `executable-find' is bound.
f42efeb5
MA
18427
18428 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18429
e240cc21
SM
184302011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18431
18432 * minibuffer.el (completion-in-region-mode-predicate)
18433 (completion-in-region-mode--predicate): New vars.
18434 (completion-in-region, completion-in-region--postch)
18435 (completion-in-region-mode): Use them.
18436 (completion--capf-wrapper): Also return the hook function.
18437 (completion-at-point, completion-help-at-point):
18438 Adjust and provide a predicate.
c2bd2ab0
SM
18439
18440 Preserve arg names for advice of subr and lexical functions (bug#8457).
18441 * help-fns.el (help-function-arglist): Consolidate the subr and
18442 new-byte-code cases. Add argument `preserve-names' to extract names
18443 from the docstring when needed.
18444 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18445 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18446 (ad-arglist): Use help-function-arglist's new arg.
18447 (ad-definition-type): Use cond.
18448
c183f693
JB
184492011-04-13 Juanma Barranquero <lekktu@gmail.com>
18450
06641a47
JB
18451 * autorevert.el (auto-revert-handler):
18452 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18453 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18454 Don't quote lambda.
18455
c183f693
JB
18456 * image-mode.el (image-transform-set-scale):
18457 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18458
1e3b6001
G
184592011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18460
18461 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18462 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18463 Upgrades via gnutls-cli are too slow to be done opportunistically.
18464
2d6af8dd
JB
184652011-04-12 Juanma Barranquero <lekktu@gmail.com>
18466
18467 * dframe.el (dframe-current-frame): Remove spurious quote.
18468
c0749a51
GM
184692011-04-12 Glenn Morris <rgm@gnu.org>
18470
088d0d61
GM
18471 * calendar/cal-tex.el (cal-tex-end-document):
18472 Try to automatically use latin1 input if needed.
18473
c0749a51
GM
18474 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18475 Don't try to cons a mark onto an empty element.
18476
5c90fde0
LL
184772011-04-11 Leo Liu <sdl.web@gmail.com>
18478
18479 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18480 buffers.
18481 (ido-kill-buffer-at-head): Support killing virtual buffers.
18482
369e974d
CY
184832011-04-10 Chong Yidong <cyd@stupidchicken.com>
18484
18485 * minibuffer.el (completion-show-inline-help): New var.
18486 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18487 (minibuffer-force-complete, minibuffer-complete-word):
18488 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18489
18490 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18491 to avoid interference from inline help (Bug#5849).
18492
37f1c930
LL
184932011-04-10 Leo Liu <sdl.web@gmail.com>
18494
099c39a4
JB
18495 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18496 Fix typo.
37f1c930 18497
a32d4040
CY
184982011-04-09 Chong Yidong <cyd@stupidchicken.com>
18499
18500 * image-mode.el (image-toggle-display-image): Signal an error if
18501 not in Image mode.
18502 (image-transform-mode, image-transform-resize)
18503 (image-transform-set-rotation): Doc fix.
daca8ba5 18504 (image-transform-set-resize): Delete.
a32d4040
CY
18505 (image-transform-set-scale, image-transform-fit-to-height)
18506 (image-transform-fit-to-width): Handle image-toggle-display-image
18507 and image-transform-resize directly.
18508
099c39a4 185092011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18510
18511 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18512 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18513 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18514 (doc-view-mode-map): Add bindings for the new functions.
18515
099c39a4 185162011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18517
4d61f28d 18518 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18519 Fix typo in docstring.
18520
3726838a
EZ
185212011-04-08 Eli Zaretskii <eliz@gnu.org>
18522
04f33f1e
EZ
18523 * files.el (file-size-human-readable): Produce one digit after
18524 decimal, like "ls -lh" does.
18525
18526 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18527 the file size representation.
18528
3726838a
EZ
18529 * simple.el (list-processes): If async subprocesses are not
18530 available, error out with a clear error message.
18531
cbb59342
CY
185322011-04-08 Chong Yidong <cyd@stupidchicken.com>
18533
18534 * help.el (help-form-show): New function, to be called from C.
18535 Put help-form output in a buffer named differently than *Help*.
18536
e3971c44
EZ
185372011-04-08 Eli Zaretskii <eliz@gnu.org>
18538
18539 * files.el (file-size-human-readable): New function.
18540
18541 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18542 computing the representation inline. Don't require `cl'.
18543
12544bbe
GM
185442011-04-08 Glenn Morris <rgm@gnu.org>
18545
a1de6c6a
GM
18546 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18547
3c4671f4
GM
18548 * net/browse-url.el (browse-url-firefox):
18549 Test system-type, not system-configuration.
18550
b605679c
GM
18551 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18552 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18553 Use log-edit-empty-buffer-p. (Bug#7598)
18554
56442f0c
GM
18555 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18556 (rlogin-mode-map): Initialize in the defvar.
18557 (rlogin): Use ignore-errors.
18558
12544bbe
GM
18559 * replace.el (occur-mode-map): Some fixes for menu items.
18560
eb237b0f
AH
185612011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18562
18563 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18564
7d668f2c
CY
185652011-04-06 Chong Yidong <cyd@stupidchicken.com>
18566
e67a13ab
CY
18567 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18568 issuing unused warnings.
18569
18570 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18571 macro directly.
18572
7d668f2c
CY
18573 * simple.el: Lisp reimplement of list-processes. Based on an
18574 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18575 (process-menu-mode): New major mode.
18576 (list-processes--refresh, list-processes):
18577 (process-menu-visit-buffer): New functions.
18578
18579 * files.el (save-buffers-kill-emacs): Don't assume any return
18580 value of list-processes, which is undocumented anyway.
18581
a83ec3c9
CY
185822011-04-06 Chong Yidong <cyd@stupidchicken.com>
18583
18584 * emacs-lisp/tabulated-list.el: New file.
18585
e91a96fe
CY
18586 * emacs-lisp/package.el: Use Tabulated List mode.
18587 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18588 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18589 table format using Tabulated List mode variables.
18590 (package--push): New macro, replacing package-list-maybe-add.
18591 (package-menu--generate): Use package--push. Renamed from
18592 package--generate-package-list.
18593 (package-menu-refresh, list-packages): Use it.
daca8ba5 18594 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18595 Return insertion data instead of inserting it directly.
099c39a4
JB
18596 (package-menu-describe-package, package-menu-execute):
18597 Use tabulated-list-get-id.
e91a96fe
CY
18598 (package-menu-mark-delete, package-menu-mark-install)
18599 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18600 (package-menu-mark-obsolete-for-deletion):
18601 Use tabulated-list-put-tag.
e91a96fe
CY
18602 (package--list-packages, package-menu-revert)
18603 (package-menu-get-package, package-menu-get-version)
18604 (package-menu-sort-by-column): Functions deleted.
18605 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18606 (package-menu--status-predicate, package-menu--version-predicate)
18607 (package-menu--name-predicate)
18608 (package-menu--description-predicate): Handle arguments in the
18609 Tabulated List format.
18610 (package-list-packages-no-fetch): Call list-packages.
18611
3e214b50
JB
186122011-04-06 Juanma Barranquero <lekktu@gmail.com>
18613
18614 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18615 (after-find-file): Don't bind it.
3e214b50
JB
18616 (revert-buffer-in-progress-p): New variable.
18617 (revert-buffer): Bind it.
18618 Pass nil for `after-find-file-from-revert-buffer'.
18619
18620 * saveplace.el (save-place-find-file-hook): Use new variable
18621 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18622
3f0f1700
GM
186232011-04-06 Glenn Morris <rgm@gnu.org>
18624
c0274801
GM
18625 * Makefile.in (AUTOGEN_VCS): New variable.
18626 (autoloads): Use $AUTOGEN_VCS.
18627
3f0f1700
GM
18628 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18629 * calendar/calendar.el (calendar-mode-map):
18630 Check for toolkit scroll bars. (Bug#8305)
18631
41ea9e48
CY
186322011-04-05 Chong Yidong <cyd@stupidchicken.com>
18633
18634 * minibuffer.el (completion-in-region--postch)
18635 (completion-in-region-mode): Remove unnecessary messages.
18636
6194c800
JB
186372011-04-05 Juanma Barranquero <lekktu@gmail.com>
18638
33256f14
JB
18639 * font-lock.el (font-lock-refresh-defaults):
18640 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18641 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18642
6194c800
JB
18643 * info.el (Info-directory-list, Info-read-node-name-2)
18644 (Info-split-parameter-string): Doc fixes.
18645 (Info-virtual-nodes): Reflow docstring.
18646 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18647 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18648 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18649 Fix typos in docstrings.
18650 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18651 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18652 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18653 (Info-restore-desktop-buffer): Mark unused parameters.
18654 (Info-directory-find-file, Info-directory-find-node)
18655 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18656 (Info-virtual-index-find-node, Info-apropos-find-file)
18657 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18658 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18659 (Info-virtual-index): Remove unused local variable `nodename'.
18660
b87a8200 186612011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18662
b87a8200
DD
18663 * net/rcirc.el: Update my e-mail address.
18664 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18665
3b2ff876
CY
186662011-04-05 Chong Yidong <cyd@stupidchicken.com>
18667
18668 * startup.el (command-line): Save the cursor's theme-face
18669 directly, instead of using face-override-spec.
18670
18671 * custom.el (load-theme): Minor optimization in assigning faces.
18672
8d17e7ca
JB
186732011-04-04 Juanma Barranquero <lekktu@gmail.com>
18674
18675 * help-fns.el (describe-variable): Complete all variables having
18676 documentation, including keywords.
18677 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18678
2fbc1934
JB
186792011-04-04 Juanma Barranquero <lekktu@gmail.com>
18680
18681 Convert to lexical-binding.
18682
18683 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18684 (bs--get-marked-string, bs--get-modified-string)
18685 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18686 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18687 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18688
18689 * ehelp.el (electric-help-execute-extended)
18690 (electric-help-ctrl-x-prefix):
18691 * hexl.el (hexl-revert-buffer-function):
18692 * linum.el (linum-after-change, linum-after-scroll):
18693 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18694
18695 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18696
74f50695
DU
186972011-04-04 Daiki Ueno <ueno@unixuser.org>
18698
18699 * epa-dired.el:
18700 * epa-mail.el:
18701 * epa-hook.el:
18702 * epa-file.el:
18703 * epa.el:
18704 * epg.el: Use lexical binding.
18705
c11325f7
CY
187062011-04-03 Chong Yidong <cyd@stupidchicken.com>
18707
0d9e9a12
CY
18708 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18709
c11325f7 18710 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18711 dictionary case for flyspell-mark-duplications-exceptions.
18712 Use regexp matching for languages.
c11325f7
CY
18713 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18714 default dictionary (Bug#7926).
18715
da91b5f2
CY
187162011-04-02 Chong Yidong <cyd@stupidchicken.com>
18717
099c39a4
JB
18718 * emacs-lisp/package.el (package--with-work-buffer):
18719 Recognize https URLs.
da91b5f2 18720
099c39a4
JB
18721 * net/network-stream.el: Move from gnus/proto-stream.el.
18722 Change prefix to network-stream throughout.
da91b5f2
CY
18723 (open-protocol-stream): Merge into open-network-stream, leaving
18724 open-protocol-stream as an alias. Handle nil BUFFER args.
18725
18726 * subr.el (open-network-stream): Move to net/network-stream.el.
18727
afa8e9f6
GM
187282011-04-02 Glenn Morris <rgm@gnu.org>
18729
1d2e369d
GM
18730 * find-dired.el (find-exec-terminator): New option.
18731 (find-ls-option): Test for -ls support.
18732 (find-ls-subdir-switches): Test for -b in find-ls-option.
18733 (find-dired, find-grep-dired): Doc fixes.
18734 (find-dired): Use find-exec-terminator.
18735
8abb7da8 18736 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18737 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18738 (find-name-arg): Remove purecopy.
8abb7da8 18739
f3ca7378
GM
18740 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18741 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18742 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18743 accordingly. Don't add the null-device if not needed.
18744
afa8e9f6
GM
18745 * files.el (save-some-buffers): Doc fix.
18746
35eae264
EZ
187472011-04-02 Eli Zaretskii <eliz@gnu.org>
18748
18749 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18750
26b51db5
JB
187512011-04-01 Juanma Barranquero <lekktu@gmail.com>
18752
18753 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18754 Use `dolist' rather than `mapcar'.
18755
7200d79c
SM
187562011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18757
03408648 18758 Add lexical binding.
7200d79c 18759
03408648
SM
18760 * subr.el (apply-partially): Use new closures rather than CL.
18761 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18762 (dolist, dotimes): Use slightly different expansion for lexical code.
18763 (functionp): Move to C.
18764 (letrec): New macro.
18765 (with-wrapper-hook): Use it and apply-partially instead of CL.
18766 (eval-after-load): Preserve lexical-binding.
18767 (save-window-excursion, with-output-to-temp-buffer): Turn them
18768 into macros.
7200d79c 18769
03408648
SM
18770 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18771
18772 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18773 than the arglist.
18774 (help-add-fundoc-usage): Don't add `Not documented'.
18775 (help-function-arglist): Handle closures, subroutines, and new
18776 byte-code-functions.
18777 (help-make-usage): Remove leading underscores.
18778 (describe-function-1): Handle closures.
18779 (describe-variable): Use special-variable-p for completion.
18780
18781 * files.el (lexical-binding): Declare safe.
f488fb65 18782
03408648
SM
18783 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18784 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18785 (pcase): Add `let' pattern.
18786 Change memoization so it actually works.
18787 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18788 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18789 <let>: New case.
f488fb65 18790
03408648
SM
18791 * emacs-lisp/macroexp.el: Use lexical binding.
18792 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18793 Don't convert ' to #' without checking that it's indeed quoting
18794 a lambda.
18795
18796 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18797 Use eval-sexp-add-defvars.
03408648
SM
18798 (eval-sexp-add-defvars): New fun.
18799
18800 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18801
18802 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18803 Don't autoload.
18804 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18805 than the internal `byte-compile-lambda'.
18806 (defmethod): Don't hide code under quotes.
18807 (eieio-defmethod): New `code' argument.
18808
18809 * emacs-lisp/eieio-comp.el: Remove.
18810
18811 * emacs-lisp/edebug.el (edebug-eval-defun)
18812 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18813 (edebug-toggle): Avoid `eval'.
18814
18815 * emacs-lisp/disass.el (disassemble-internal): Handle new
18816 `closure' objects.
18817 (disassemble-1): Handle new byte codes.
18818
18819 * emacs-lisp/cl.el (pushnew): Silence warning.
18820
18821 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18822 (cl-byte-compile-throw): Remove.
18823 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18824
18825 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18826 closures.
18827
18828 * emacs-lisp/cconv.el: New file.
18829
18830 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18831 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18832 (byte-compile-initial-macro-environment):
18833 Handle declare-function here.
18834 (byte-compile--lexical-environment): New var.
18835 (byte-stack-ref, byte-stack-set, byte-discardN)
18836 (byte-discardN-preserve-tos): New lap codes.
18837 (byte-interactive-p): Don't use any more.
18838 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18839 New macros.
18840 (byte-compile-lapcode): Use them and handle new lap codes.
18841 (byte-compile-obsolete): Remove.
18842 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18843 (byte-compile-arglist-warn): Check late def of inlinable funs.
18844 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18845 since they should have been expanded by now.
18846 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18847 (byte-compile-from-buffer): Remove unused second arg.
18848 (byte-compile-preprocess): New function.
18849 (byte-compile-toplevel-file-form): New function to distinguish
18850 file-form calls from outside from file-form calls from hunk-handlers.
18851 (byte-compile-file-form): Simplify.
18852 (byte-compile-file-form-defsubst): Remove.
18853 (byte-compile-file-form-defmumble): Simplify now that
18854 byte-compile-lambda always returns a byte-code-function.
18855 (byte-compile): Preprocess.
18856 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18857 Remove, not used any more.
18858 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18859 (byte-compile-make-args-desc): New funs.
18860 (byte-compile-lambda): Handle lexical functions. Always return
18861 a byte-code-function.
18862 (byte-compile-reserved-constants): New var, to make up room for
18863 closed-over variables.
18864 (byte-compile-constants-vector): Obey it.
18865 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18866 (byte-compile-macroexpand-declare-function): New function.
18867 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18868 byte-code-functions.
18869 (byte-compile-form): Check obsolescence here.
18870 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18871 (byte-compile-variable-ref): Remove.
18872 (byte-compile-dynamic-variable-op): New fun.
18873 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18874 (byte-compile-variable-set): New funs.
18875 (byte-compile-discard): Add 2 args.
18876 (byte-compile-stack-ref, byte-compile-stack-set)
18877 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18878 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18879 macroexpand-all instead.
18880 (byte-compile-quote-form): Remove.
18881 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18882 (byte-compile-bind, byte-compile-unbind): New funs.
18883 (byte-compile-let): Handle let* and lexical binding.
18884 (byte-compile-let*): Remove.
18885 (byte-compile-catch, byte-compile-unwind-protect)
18886 (byte-compile-track-mouse, byte-compile-condition-case):
18887 Handle a new :fun-body form, used for lexical scoping.
18888 (byte-compile-save-window-excursion)
18889 (byte-compile-with-output-to-temp-buffer): Remove.
18890 (byte-compile-defun): Simplify.
18891 (byte-compile-stack-adjustment): New fun.
18892 (byte-compile-out): Use it.
18893 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18894
18895 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18896 handler any more.
18897
18898 * emacs-lisp/byte-opt.el: Use lexical binding.
18899 (byte-inline-lapcode): Remove (to bytecomp).
18900 (byte-compile-inline-expand): Pay attention to inlining to/from
18901 lexically bound code.
18902 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18903 any more.
18904 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18905 any more and don't call compiler-macros.
18906 (byte-compile-splice-in-already-compiled-code): Remove.
18907 (byte-code): Don't inline any more.
18908 (disassemble-offset): Receive `bytes' as argument rather than via
18909 dynamic scoping.
18910 (byte-compile-tag-number): Declare before first use.
18911 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18912 `return' even if make-spliceable.
18913 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18914 obsolete interactive-p.
18915 (byte-optimize-lapcode): Optimize new lap-codes.
18916 Don't trip up on new form of `byte-constant' lap code.
18917
18918 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18919
18920 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18921
18922 * custom.el (custom-initialize-default, custom-declare-variable):
18923 Use `defvar'.
18924
18925 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18926 New variables.
18927 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18928 (COMPILE_FIRST): Add macroexp and cconv.
18929 * makefile.w32-in: Mirror changes in Makefile.in.
18930
18931 * vc/cvs-status.el:
18932 * vc/diff-mode.el:
18933 * vc/log-edit.el:
18934 * vc/log-view.el:
18935 * vc/smerge-mode.el:
18936 * textmodes/bibtex-style.el:
090bd7cb 18937 * textmodes/css-mode.el:
03408648
SM
18938 * startup.el:
18939 * uniquify.el:
da91b5f2
CY
18940 * minibuffer.el:
18941 * newcomment.el:
18942 * reveal.el:
18943 * server.el:
18944 * mpc.el:
18945 * emacs-lisp/smie.el:
18946 * doc-view.el:
18947 * dired.el:
03408648
SM
18948 * abbrev.el: Use lexical binding.
18949
0f0c1f27
EZ
189502011-04-01 Eli Zaretskii <eliz@gnu.org>
18951
18952 * info.el (info-display-manual): New function.
18953
c82b2579
SM
189542011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18955
18956 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18957
221ddf68
TH
189582011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18959
18960 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18961 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18962
cba6e77e
GM
189632011-03-31 Glenn Morris <rgm@gnu.org>
18964
e040639f
GM
18965 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18966
cba6e77e
GM
18967 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18968
6d0f1c9e
CS
189692011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18970
18971 * progmodes/python.el (python-default-interpreter)
18972 (python-python-command-args, python-jython-command-args)
18973 (python-which-shell, python-which-args, python-which-bufname)
18974 (python-file-queue, python-comint-output-filter-function)
18975 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18976 variables and functions.
18977
3e2d70fd
SM
189782011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18979
18980 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18981 (completion-in-region-mode): New minor mode.
18982 (completion-in-region): Use it.
18983 (completion-in-region--data, completion-in-region-mode-map): New vars.
18984 (completion-in-region--postch): New function.
18985 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18986 New vars.
18987 (completion--capf-wrapper): New function.
18988 (completion-at-point): Use it to track well-behavedness of
18989 hook functions.
18990 (completion-help-at-point): New command.
18991
f3e4086c
JM
189922011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18993
18994 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18995 syntax class to search for whitespace on a single line
18996 (Message-ID: <4D938140.4030905@redhat.com>).
18997
eb7ffc14
LL
189982011-03-30 Leo Liu <sdl.web@gmail.com>
18999
19000 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19001 New commands.
19002 (edit-abbrevs-map): Bind them here.
19003 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19004
d806ab68
KM
190052011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19006
19007 * allout.el (allout-hide-by-annotation, allout-flag-region):
19008 Reduce possibility of overlay leakage by making them volatile.
19009
19010 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19011 hash is not shared between buffers. Mode initialization is
19012 responsible for giving it a useful starting value.
19013 (allout-item-span): Reduce possibility of overlay leakage by
19014 making them volatile.
19015 (allout-widgets-count-buttons-in-region): Add diagnostic function
19016 for tracking down button overlay leaks.
19017
ea622834
LL
190182011-03-29 Leo Liu <sdl.web@gmail.com>
19019
19020 * ido.el (ido-read-internal): Use the default history var
19021 minibuffer-history if no HISTORY is specified.
19022
b62f8267
G
190232011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19024
03408648
SM
19025 * net/imap.el (imap-shell-open, imap-process-connection-type):
19026 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19027 Kerberos, SSL, other subprocesses.
19028
947b6566
LL
190292011-03-28 Leo Liu <sdl.web@gmail.com>
19030
19031 * abbrev.el (abbrev-table-empty-p): New function.
19032 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19033 nonempty ones. (Bug#5937)
19034
5ffb62aa
JD
190352011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19036
19037 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19038
7a097943
LL
190392011-03-27 Leo Liu <sdl.web@gmail.com>
19040
19041 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19042 for foreground and background colors.
19043 (ansi-color-make-color-map): Adapt.
19044
c5b40130
LL
190452011-03-25 Leo Liu <sdl.web@gmail.com>
19046
1f48f7d2
LL
19047 * midnight.el (midnight-time-float): Remove. Note it calculates
19048 the microsecond component incorrectly and seconds-to-time does the
19049 same job.
625897ec 19050 Remove redundant (require 'timer).
1f48f7d2 19051
c5b40130
LL
19052 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19053 (ido-completions): Remove unused arguments. (Bug#8329)
19054
d86d2721
SM
190552011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19056
19057 * minibuffer.el (completion--flush-all-sorted-completions):
19058 Remove itself from hook.
19059 (completion-at-point): Let the functions perform the completion
19060 immediately and return nil or t.
19061 * comint.el (comint-dynamic-complete-functions): Now identical to
19062 completion-at-point-functions.
19063 (comint-dynamic-list-input-ring): Remove unused var `index'.
19064 (comint--match-partial-filename, comint--unquote&expand-filename):
19065 New funs, split from comint-match-partial-filename.
19066 (comint-dynamic-complete): Use completion-at-point.
19067 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19068
e8974c48
DA
190692011-03-24 Drew Adams <drew.adams@oracle.com>
19070
19071 * thingatpt.el: Support `defun'.
19072
def71b5e
LL
190732011-03-23 Leo Liu <sdl.web@gmail.com>
19074
cb5af48e
LL
19075 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19076
def71b5e
LL
19077 * help-mode.el (help-mode-finish): Tweak regexp.
19078
927c53e7
GM
190792011-03-23 Glenn Morris <rgm@gnu.org>
19080
18d05bed
GM
19081 * eshell/esh-opt.el (eshell-eval-using-options):
19082 Do not bind unused local variable `eshell-option-stub'.
19083
927c53e7
GM
19084 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19085
9d0da923
JB
190862011-03-22 Juanma Barranquero <lekktu@gmail.com>
19087
19088 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19089 keymap variable in `with-no-warnings' to avoid a warning when the
19090 keymap has been already `defconst'ed.
19091
4b978a67
LL
190922011-03-22 Leo Liu <sdl.web@gmail.com>
19093
19094 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19095 encode all chars in abbrevs; otherwise use emacs-mule or
19096 utf-8-emacs. (Bug#8308)
19097
5fd62452
JB
190982011-03-22 Juanma Barranquero <lekktu@gmail.com>
19099
0b1596c6
JB
19100 * simple.el (backward-delete-char-untabify):
19101 Avoid warning about using `delete-backward-char'.
19102
5fd62452
JB
19103 * image.el (image-type-file-name-regexps): Make it variable.
19104 `imagemagick-register-types' modifies it, and the user may want
19105 to add new extensions for known image types.
19106 (imagemagick-register-types): Throw error if not using ImageMagick.
19107
0b4e93f1
LL
191082011-03-22 Leo Liu <sdl.web@gmail.com>
19109
19110 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19111 located before rcirc-prompt-end-marker.
19112 (rcirc-complete): Error if point is not after rcirc prompt.
19113 Handle the case when table is nil.
9882e214 19114 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19115
fccee4ab
CY
191162011-03-22 Chong Yidong <cyd@stupidchicken.com>
19117
19118 * custom.el (custom--inhibit-theme-enable): Make it affect only
19119 custom-theme-set-variables and custom-theme-set-faces.
19120 (provide-theme): Ignore custom--inhibit-theme-enable.
19121 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19122 (custom-enabling-themes): Delete variable.
d86d2721
SM
19123 (enable-theme): Accept only loaded themes as arguments.
19124 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19125 (custom-enabled-themes): Forbid themes from setting this.
19126 Eliminate use of custom-enabling-themes.
19127 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19128
af896da6
LL
191292011-03-21 Leo Liu <sdl.web@gmail.com>
19130
19131 * ido.el (ido-read-internal): Add ido-selected to history instead
19132 of user input.
19133
78f64af0
SM
191342011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19135
19136 * subr.el (deferred-action-list, deferred-action-function):
19137 Mark obsolete.
19138
b16ac1ec
LL
191392011-03-21 Leo Liu <sdl.web@gmail.com>
19140
810f7698
LL
19141 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19142 change on 2011-02-13 (bug#8309).
19143
b16ac1ec
LL
19144 * minibuffer.el (read-file-name-function): Change default value.
19145 (read-file-name--defaults): Rename from read-file-name-defaults.
19146 (read-file-name-default): Rename from read-file-name.
19147 (read-file-name): Call read-file-name-function.
19148
4e05e67e
GM
191492011-03-21 Glenn Morris <rgm@gnu.org>
19150
19151 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19152 Doc fixes.
19153
4359915b
CY
191542011-03-21 Chong Yidong <cyd@stupidchicken.com>
19155
19156 * cus-theme.el: Add missing provide statement.
19157 (customize-create-theme): Extract theme value correctly.
19158 (custom-theme-visit-theme): Autoload.
19159 (customize-create-theme): Prompt before inserting default faces.
19160
1fe275ee
JB
191612011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19162
19163 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19164 units and musical notes.
19165
cd394be1 191662011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19167
19168 * ido.el (ido-read-internal): Use completing-read-default.
19169 (ido-completing-read): Fix compatibility with completing-read.
19170
7d476bde
CO
191712011-03-20 Christian Ohler <ohler@gnu.org>
19172
19173 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19174 (ert-delete-all-tests): Use `called-interactively-p' rather than
19175 `interactive-p'.
19176 (ert--make-xrefs-region): Respect END.
19177
fe0fb33e
CY
191782011-03-19 Chong Yidong <cyd@stupidchicken.com>
19179
ff854b0b
CY
19180 * dired-aux.el (dired-create-directory): Signal an error if the
19181 directory already exists (Bug#8246).
19182
fe0fb33e
CY
19183 * facemenu.el (list-colors-display): Call list-faces-display
19184 inside with-help-window.
19185 (list-colors-print): Use display property to align the final
19186 column, instead of checking window-width.
19187
576bce32
EZ
191882011-03-19 Eli Zaretskii <eliz@gnu.org>
19189
4d61f28d 19190 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19191 windows-nt systems.
19192 (emerge-protect-metachars): Quote correctly for ms-dos and
19193 windows-nt systems.
19194
89c41d68 191952011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19196
19197 * info.el (info-initialize): Replace all uses of `:' with
19198 path-separator for compatibility with non-Unix systems.
19199 Cache quoting of path-separator. (Bug#8258)
19200
b14e3e21 192012011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19202
19203 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19204 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19205 (mouse-avoidance-mode): Fix typos in docstrings.
19206
4525ce3e
CY
192072011-03-19 Chong Yidong <cyd@stupidchicken.com>
19208
19209 * startup.el (package-subdirectory-regexp): Move from package.el.
19210 Omit \\` and \\', and let callers add them.
19211
19212 * emacs-lisp/package.el (package-strip-version)
19213 (package-load-all-descriptors): Add \\` and \\' to
19214 package-subdirectory-regexp before using it.
19215 (package-untar-buffer): New arg DIR; ensure that file untars only
19216 into this expected directory. Remove superfluous delete-region.
19217 (package-unpack): Caller changed.
19218 (package-tar-file-info): Use package-subdirectory-regexp.
19219
a904a09a 192202011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19221
a904a09a
SM
19222 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19223 diff-mode-shared-map (bug#8284).
19224 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19225
192262011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19227
19228 * calendar/time-date.el (format-seconds): Use assoc instead of
19229 assoc-string, since assoc-string doesn't exist in XEmacs.
19230
171fc304
JB
192312011-03-17 Juanma Barranquero <lekktu@gmail.com>
19232
19233 * custom.el (custom-known-themes): Reflow docstring.
19234 (custom-theme-load-path): Fix typo in docstring.
19235 (load-theme): Fix typo in error message.
19236 (custom-available-themes, custom-variable-theme-value):
19237 Use `let', not `let*'.
19238
d71990a1
JB
192392011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19240
19241 * calc/README: Mention inclusion of musical notes.
19242
19243 * calc/calc-units.el (calc-lu-quant): Rename from
19244 `calc-logunits-quantity'.
19245 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19246 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19247 (calc-db): Rename from `calc-dblevel'.
19248 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19249 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19250 (calc-np): Rename from `calc-nplevel'.
19251 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19252 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19253 (calc-lu-plus): Rename from `calc-logunits-add'.
19254 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19255 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19256 (calc-lu-minus): Rename from `calc-logunits-sub'.
19257 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19258 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19259 (calc-lu-times): Rename from `calc-logunits-mul'.
19260 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19261 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19262 (calc-lu-divide): Rename from `calc-logunits-div'.
19263 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19264 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19265
19266 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19267 functions being autoloaded.
19268
19269 * calc/calc.el (calc-lu-power-reference): Rename from
19270 `calc-logunits-power-reference'.
19271 (calc-lu-field-reference): Rename from
19272 `calc-logunits-field-reference'.
19273
7a71b18d
GM
19274 * calc/calc-help.el (calc-l-prefix-help):
19275 Mention musical note functions.
d71990a1 19276
40c2934b
SM
192772011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19278
19279 * minibuffer.el (completion-all-sorted-completions):
19280 Use :completion-cycle-penalty text property if present.
19281
b0911414
KM
192822011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19283
19284 * allout.el (allout-yank-processing): Adjust for new rebulleting
19285 regime so bullet being yanked is used without prompting the user
19286 for a choice.
19287
8a05b668
JB
192882011-03-16 Juanma Barranquero <lekktu@gmail.com>
19289
19290 * startup.el (command-line): Warn the user that _emacs is deprecated.
19291
5ba5fb81
JB
192922011-03-16 Juanma Barranquero <lekktu@gmail.com>
19293
19294 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19295 (delphi-verbose, delphi-comment-face, delphi-string-face)
19296 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19297 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19298 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19299 (delphi-new-comment-line, delphi-font-lock-defaults)
19300 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19301 Fix typos in docstrings.
19302
2dab465b
KM
193032011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19304
5ba5fb81 19305 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19306 Invert the roles of character and string values for INSTEAD, so a
19307 string is used for the more common case of a defaulting prompt.
19308
0adf5618
SM
193092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * progmodes/ruby-mode.el (ruby-backward-sexp):
19312 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19313 * play/gamegrid.el (gamegrid-make-face):
19314 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19315 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19316 * notifications.el (notifications-notify):
19317 * net/xesam.el (xesam-search-engines):
19318 * net/quickurl.el (quickurl-list-insert):
19319 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19320
d72700e5
CY
193212011-03-15 Chong Yidong <cyd@stupidchicken.com>
19322
19323 * startup.el (command-line): Update package subdirectory regexp.
19324
49c5410a
SM
193252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19326
c6eee9aa
SM
19327 * allout.el (allout-abbreviate-flattened-numbering)
19328 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19329
49c5410a
SM
19330 * subr.el (read-char-choice): Only show the cursor after the prompt,
19331 not after the answer.
19332
047b2bb9
KR
193332011-03-15 Kevin Ryde <user42@zip.com.au>
19334
19335 * help-fns.el (variable-at-point): Skip leading quotes, if any
19336 (bug#8253).
19337
0a57d256
SM
193382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19339
19340 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19341 warning message.
19342
77c992bc
MA
193432011-03-14 Michael Albinus <michael.albinus@gmx.de>
19344
19345 * shell.el (shell): When called interactively, offer to change the
19346 shell file name on remote hosts.
19347
eebc475d
TZ
193482011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19349
19350 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19351 integration for LDAP parameters. The host, base, user or binddn,
19352 and secret tokens can be specified in a netrc file, for instance.
19353 This is optional because an `auth-source' parameter must be
19354 specified in the search attributes.
19355
9d05d1ba
JB
193562011-03-13 Juanma Barranquero <lekktu@gmail.com>
19357
19358 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19359
09d9db2c
GM
193602011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19361
19362 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19363 into declaration. Remove redundant and harmful binding.
19364
193652011-03-12 Eli Zaretskii <eliz@gnu.org>
19366
19367 * files.el (file-ownership-preserved-p): Pass `integer' as an
19368 explicit 2nd argument to `file-attributes'. If the file's owner
19369 is the Administrators group on Windows, and the current user is
19370 Administrator, consider that a match.
19371
19372 * server.el (server-ensure-safe-dir): Consider server directory
19373 safe on MS-Windows if its owner is the Administrators group while
19374 the current Emacs user is Administrator. Use `=' to compare
19375 numerical UIDs, since they could be integers or floats.
19376
219bd536
JB
193772011-03-12 Juanma Barranquero <lekktu@gmail.com>
19378
19379 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19380
f3afd36b
MA
193812011-03-12 Michael Albinus <michael.albinus@gmx.de>
19382
19383 Sync with Tramp 2.2.1.
19384
19385 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19386
19387 * net/trampver.el: Update release number.
19388
3aaaa6f1
SM
193892011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19390
94642599
SM
19391 * progmodes/compile.el (compilation--previous-directory): Fix up
19392 various nil/dead-marker mismatches (bug#8014).
19393 (compilation-directory-properties, compilation-error-properties):
19394 Don't call it at a position past the one we're about to change.
19395
3aaaa6f1
SM
19396 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19397 Disable obsolescence warnings in the file that declares it.
19398
14239447
KM
193992011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19400
099c39a4
JB
19401 * allout-widgets.el (allout-widgets-tally):
19402 Initialize allout-widgets-tally as a hash table rather than nil to
19403 prevent mode-line redisplay warnings. Also, clarify the module
19404 description and fix a comment typo.
14239447 19405
135e287c
JB
194062011-03-11 Juanma Barranquero <lekktu@gmail.com>
19407
19408 * help-fns.el (describe-variable): Don't complete keywords.
19409 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19410
ffbf300e
CY
194112011-03-10 Chong Yidong <cyd@stupidchicken.com>
19412
ba08b241
CY
19413 * emacs-lisp/package.el (package-version-join): Impose a standard
19414 string representation for pre/alpha/beta version lists.
19415 (package-unpack-single): Standardize the directory name by passing
19416 it through package-version-join.
19417 (package-strip-rcs-id): Accept any version string that does not
19418 signal an error in version-to-list.
ffbf300e 19419
f346fd6b
MA
194202011-03-10 Michael Albinus <michael.albinus@gmx.de>
19421
19422 * simple.el (delete-trailing-whitespace): Return nil for the
19423 benefit of `write-file-functions'.
19424
ccb55d27
GM
194252011-03-10 Glenn Morris <rgm@gnu.org>
19426
5ceaac0c
GM
19427 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19428
02da65ff
GM
19429 * vc/vc-git.el (vc-git-program): New option.
19430 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19431 (vc-git--call): Use it.
19432
b2f603cc
GM
19433 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19434
5772caab
GM
19435 * cus-edit.el (Custom-newline): If no button at point, look
19436 for a subgroup button at start-of-line. (Bug#2298)
19437
ccb55d27
GM
19438 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19439
ec6ecaed
JD
194402011-03-10 Julien Danjou <julien@danjou.info>
19441
19442 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19443 `cursor-type' is nil.
19444
9d5aa01d
JB
194452011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19446
19447 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19448
b6a5875b
KM
194492011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19450
7a71b18d 19451 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19452 preserves the existing header prefix, rebulleting it if necessary,
19453 rather than replacing it. This is necessary for proper operation
19454 of cooperative addons like allout-widgets.
1154d12e
JB
19455 (allout-make-topic-prefix, allout-rebullet-heading):
19456 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19457 value as alternate bullet to be used, instead of prompting the user
19458 for a bullet character.
b6a5875b 19459
ee545c35
MA
194602011-03-09 Michael Albinus <michael.albinus@gmx.de>
19461
d86d2721
SM
19462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19463 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19464 `tramp-default-port'.
19465
c47971d7
DD
194662011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19467
19468 * net/rcirc.el (rcirc-handler-001): Remove useless
19469 with-rcirc-process-buffer.
19470 (rcirc-check-auth-status): Swap arguments to string-match.
19471
13522cb4
GM
194722011-03-09 Glenn Morris <rgm@gnu.org>
19473
0be6f4f1
GM
19474 * shell.el (shell-mode):
19475 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19476
13522cb4
GM
19477 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19478 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19479
515de2e3
CY
194802011-03-08 Chong Yidong <cyd@stupidchicken.com>
19481
19482 * emacs-lisp/package.el (package-refresh-contents)
19483 (package-menu-execute): Use condition-case-no-debug.
19484
b511b994
MA
194852011-03-08 Michael Albinus <michael.albinus@gmx.de>
19486
19487 * simple.el (shell-command-to-string): Use `process-file'.
19488
19489 * emacs-lisp/package.el (package-tar-file-info): Handle also
19490 remote files.
19491
d86d2721
SM
19492 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19493 Use `equal' for upload base check.
b511b994 19494
25bbfb31
AM
194952011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19496
19497 * textmodes/texinfo.el (texinfo-environments):
19498 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19499
be996521
GM
195002011-03-08 Glenn Morris <rgm@gnu.org>
19501
e9c8529f
GM
19502 * cus-start.el (cursor-in-non-selected-windows):
19503 Fix :set quoting oddness. (Bug#8192)
19504
be996521
GM
19505 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19506 in some setf expressions. (Bug#2159)
19507
2bb5649e
CY
195082011-03-08 Chong Yidong <cyd@stupidchicken.com>
19509
19510 * custom.el (custom-available-themes): Return themes in
19511 alphabetical order.
19512
33383987 19513See ChangeLog.15 for earlier changes.
e3d51b27
MR
19514
19515;; Local Variables:
19516;; coding: utf-8
e3d51b27
MR
19517;; End:
19518
acaf905b 19519 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19520
19521 This file is part of GNU Emacs.
19522
19523 GNU Emacs is free software: you can redistribute it and/or modify
19524 it under the terms of the GNU General Public License as published by
19525 the Free Software Foundation, either version 3 of the License, or
19526 (at your option) any later version.
19527
19528 GNU Emacs is distributed in the hope that it will be useful,
19529 but WITHOUT ANY WARRANTY; without even the implied warranty of
19530 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19531 GNU General Public License for more details.
19532
19533 You should have received a copy of the GNU General Public License
19534 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.